diff --git a/services/basic_types.proto b/services/basic_types.proto index 15f7db3f..06fcf9c0 100644 --- a/services/basic_types.proto +++ b/services/basic_types.proto @@ -1480,7 +1480,7 @@ message TokenRelationship { * For token of type FUNGIBLE_COMMON - the balance that the Account holds in the smallest * denomination. For token of type NON_FUNGIBLE_UNIQUE - the number of NFTs held by the account */ - uint64 balance = 3; + int64 balance = 3; /** * The KYC status of the account (KycNotApplicable, Granted or Revoked). If the token does not @@ -1497,7 +1497,7 @@ message TokenRelationship { /** * Tokens divide into 10decimals pieces */ - uint32 decimals = 6; + int32 decimals = 6; /** * Specifies if the relationship is created implicitly. False : explicitly associated, True : @@ -1528,12 +1528,12 @@ message TokenBalance { * balance in the smallest denomination. For token of type NON_FUNGIBLE_UNIQUE - the number of * NFTs held by the account */ - uint64 balance = 2; + int64 balance = 2; /** * Tokens divide into 10decimals pieces */ - uint32 decimals = 3; + int32 decimals = 3; } /** diff --git a/services/crypto_create.proto b/services/crypto_create.proto index c01ae7bc..7bd3d8d3 100644 --- a/services/crypto_create.proto +++ b/services/crypto_create.proto @@ -69,7 +69,7 @@ message CryptoCreateTransactionBody { /** * The initial number of tinybars to put into the account */ - uint64 initialBalance = 2; + int64 initialBalance = 2; /** * [Deprecated] ID of the account to which this account is proxy staked. If proxyAccountID is null, or is an diff --git a/services/crypto_get_account_balance.proto b/services/crypto_get_account_balance.proto index 6516be25..9b3f6991 100644 --- a/services/crypto_get_account_balance.proto +++ b/services/crypto_get_account_balance.proto @@ -73,7 +73,7 @@ message CryptoGetAccountBalanceResponse { /** * The current balance, in tinybars. */ - uint64 balance = 3; + int64 balance = 3; /** * [DEPRECATED] The balances of the tokens associated to the account. This field was diff --git a/services/schedulable_transaction_body.proto b/services/schedulable_transaction_body.proto index 8bbdfa89..26a21dae 100644 --- a/services/schedulable_transaction_body.proto +++ b/services/schedulable_transaction_body.proto @@ -81,7 +81,7 @@ message SchedulableTransactionBody { /** * The maximum transaction fee the client is willing to pay */ - uint64 transactionFee = 1; + int64 transactionFee = 1; /** * A memo to include the execution record; the UTF-8 encoding may be up to 100 bytes and must not diff --git a/services/token_burn.proto b/services/token_burn.proto index b8283e00..510580ec 100644 --- a/services/token_burn.proto +++ b/services/token_burn.proto @@ -57,7 +57,7 @@ message TokenBurnTransactionBody { * Amount must be a positive non-zero number, not bigger than the token balance of the treasury * account (0; balance], represented in the lowest denomination. */ - uint64 amount = 2; + int64 amount = 2; /** * Applicable to tokens of type NON_FUNGIBLE_UNIQUE. The list of serial numbers to be burned. diff --git a/services/token_create.proto b/services/token_create.proto index 8bb7e5b6..8ce76257 100644 --- a/services/token_create.proto +++ b/services/token_create.proto @@ -89,7 +89,7 @@ message TokenCreateTransactionBody { * token is divisible by. For tokens of type NON_FUNGIBLE_UNIQUE - value * must be 0 */ - uint32 decimals = 3; + int32 decimals = 3; /** * Specifies the initial supply of tokens to be put in circulation. The @@ -97,7 +97,7 @@ message TokenCreateTransactionBody { * lowest denomination possible. In the case for NON_FUNGIBLE_UNIQUE Type * the value must be 0 */ - uint64 initialSupply = 4; + int64 initialSupply = 4; /** * The account which will act as a treasury for the token. This account diff --git a/services/token_mint.proto b/services/token_mint.proto index c2091b67..c36773b4 100644 --- a/services/token_mint.proto +++ b/services/token_mint.proto @@ -56,7 +56,7 @@ message TokenMintTransactionBody { * Amount must be a positive non-zero number represented in the lowest denomination of the * token. The new supply must be lower than 2^63. */ - uint64 amount = 2; + int64 amount = 2; /** * Applicable to tokens of type NON_FUNGIBLE_UNIQUE. A list of metadata that are being created. diff --git a/services/token_wipe_account.proto b/services/token_wipe_account.proto index 357b1fdb..1f47d124 100644 --- a/services/token_wipe_account.proto +++ b/services/token_wipe_account.proto @@ -72,7 +72,7 @@ message TokenWipeAccountTransactionBody { * account. Amount must be a positive non-zero number in the lowest denomination possible, not * bigger than the token balance of the account (0; balance] */ - uint64 amount = 3; + int64 amount = 3; /** * Applicable to tokens of type NON_FUNGIBLE_UNIQUE. The list of serial numbers to be wiped. diff --git a/services/transaction_body.proto b/services/transaction_body.proto index 07d21ebf..86e049f8 100644 --- a/services/transaction_body.proto +++ b/services/transaction_body.proto @@ -102,7 +102,7 @@ message TransactionBody { /** * The maximum transaction fee the client is willing to pay */ - uint64 transactionFee = 3; + int64 transactionFee = 3; /** * The transaction is invalid if consensusTimestamp > transactionID.transactionValidStart + diff --git a/services/transaction_receipt.proto b/services/transaction_receipt.proto index 0a59e1d8..0bb34fce 100644 --- a/services/transaction_receipt.proto +++ b/services/transaction_receipt.proto @@ -144,7 +144,7 @@ message TransactionReceipt { * supply of this token. For non fungible tokens - the total number of NFTs issued for a given * tokenID */ - uint64 newTotalSupply = 11; + int64 newTotalSupply = 11; /** * In the receipt of a ScheduleCreate, the id of the newly created Scheduled Entity diff --git a/services/transaction_record.proto b/services/transaction_record.proto index cd37ad9f..f0cc285f 100644 --- a/services/transaction_record.proto +++ b/services/transaction_record.proto @@ -67,7 +67,7 @@ message TransactionRecord { * The actual transaction fee charged, not the original transactionFee value from * TransactionBody */ - uint64 transactionFee = 6; + int64 transactionFee = 6; oneof body { /** diff --git a/services/transaction_response.proto b/services/transaction_response.proto index 38061cf3..73969765 100644 --- a/services/transaction_response.proto +++ b/services/transaction_response.proto @@ -45,5 +45,5 @@ message TransactionResponse { * If the response code was INSUFFICIENT_TX_FEE, the actual transaction fee that would be * required to execute the transaction. */ - uint64 cost = 2; + int64 cost = 2; }