19 lines
449 B
Protocol Buffer
19 lines
449 B
Protocol Buffer
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;
|
|
}
|
|
|