Skip to content

Commit

Permalink
added comments to explain the demonimation of "amount"
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Li authored and Jason Li committed Nov 24, 2023
1 parent 9f9328d commit 3326c05
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions mpcvault/platform/v1/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ message EVMSendERC20 {
string to = 3;
// token_contract_address is the address of the ERC20 token contract.
string token_contract_address = 4;
// amount is the amount of tokens to send.
// amount is the amount of tokens to send. You should use whole integer representation. [amount * 10^decimals]
string amount = 5;
EVMGas gas_fee = 6;
}
Expand Down Expand Up @@ -114,7 +114,7 @@ message TronSendTRC10 {
string to = 2;
// asset_name identifies the token to be sent.
string asset_name = 3;
// amount is the amount of coins to send.
// amount is the amount of tokens to send. You should use whole integer representation. [amount * 10^decimals]
string amount = 4;
}

Expand All @@ -125,7 +125,7 @@ message TronSendTRC20 {
string to = 2;
// contract_address is the address of the token.
string contract_address = 3;
// amount is the amount of the token to send
// amount is the amount of tokens to send. You should use whole integer representation. [amount * 10^decimals]
string amount = 4;
// (optional) fee_limit is the maximum fee that the user is willing to pay, denominated in sun.
google.protobuf.StringValue fee_limit = 5;
Expand Down Expand Up @@ -160,7 +160,7 @@ message AptosSendCoin {
string to = 3;
// coin_tag identifies the coin to be sent.
string coin_tag = 4;
// amount is the amount of coins to send.
// amount is the amount of tokens to send. You should use whole integer representation. [amount * 10^decimals]
string amount = 5;
// (optional) specify the gas fee for the transaction.
AptosGas gas_fee = 6;
Expand Down Expand Up @@ -201,7 +201,7 @@ message SuiSendCoin {
string to = 2;
// coin_tag identifies the coin to be sent.
string coin_tag = 3;
// amount is the amount of coins to send.
// amount is the amount of coins to send. You should use whole integer representation. [amount * 10^decimals]
string amount = 4;
// (optional) specify the gas fee for the transaction.
SuiGas gas_fee = 5;
Expand Down Expand Up @@ -230,7 +230,7 @@ message SolanaSendSPLToken {
string to = 2;
// mint_address is the address of the token.
string mint_address = 3;
// amount is the amount of tokens to send.
// amount is the amount of tokens to send. You should use whole integer representation. [amount * 10^decimals]
string amount = 4;
}

Expand Down

0 comments on commit 3326c05

Please sign in to comment.