Fixes + stable gateway ids
This commit is contained in:
18
api/proto/common/payment/v1/asset.proto
Normal file
18
api/proto/common/payment/v1/asset.proto
Normal file
@@ -0,0 +1,18 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package common.payment.v1;
|
||||
|
||||
option go_package = "github.com/tech/sendico/pkg/proto/common/payment/v1;paymentv1";
|
||||
|
||||
// ChainAssetKey identifies an on-chain asset by network and token symbol.
|
||||
message ChainAssetKey {
|
||||
string chain = 1;
|
||||
string token_symbol = 2;
|
||||
}
|
||||
|
||||
// ChainAsset extends ChainAssetKey with optional contract address override.
|
||||
message ChainAsset {
|
||||
ChainAssetKey key = 1;
|
||||
optional string contract_address = 2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user