
com.hederahashgraph.api.proto.java.ResponseCodeEnum Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ResponseCode.proto
package com.hederahashgraph.api.proto.java;
/**
* Protobuf enum {@code proto.ResponseCodeEnum}
*/
public enum ResponseCodeEnum
implements com.google.protobuf.ProtocolMessageEnum {
/**
*
* The transaction passed the precheck validations.
*
*
* OK = 0;
*/
OK(0),
/**
*
* For any error not handled by specific error codes listed below.
*
*
* INVALID_TRANSACTION = 1;
*/
INVALID_TRANSACTION(1),
/**
*
*Payer account does not exist.
*
*
* PAYER_ACCOUNT_NOT_FOUND = 2;
*/
PAYER_ACCOUNT_NOT_FOUND(2),
/**
*
*Node Account provided does not match the node account of the node the transaction was submitted to.
*
*
* INVALID_NODE_ACCOUNT = 3;
*/
INVALID_NODE_ACCOUNT(3),
/**
*
* Pre-Check error when TransactionValidStart + transactionValidDuration is less than current consensus time.
*
*
* TRANSACTION_EXPIRED = 4;
*/
TRANSACTION_EXPIRED(4),
/**
*
* Transaction start time is greater than current consensus time
*
*
* INVALID_TRANSACTION_START = 5;
*/
INVALID_TRANSACTION_START(5),
/**
*
*valid transaction duration is a positive non zero number that does not exceed 120 seconds
*
*
* INVALID_TRANSACTION_DURATION = 6;
*/
INVALID_TRANSACTION_DURATION(6),
/**
*
* The transaction signature is not valid
*
*
* INVALID_SIGNATURE = 7;
*/
INVALID_SIGNATURE(7),
/**
*
*Transaction memo size exceeded 100 bytes
*
*
* MEMO_TOO_LONG = 8;
*/
MEMO_TOO_LONG(8),
/**
*
* The fee provided in the transaction is insufficient for this type of transaction
*
*
* INSUFFICIENT_TX_FEE = 9;
*/
INSUFFICIENT_TX_FEE(9),
/**
*
* The payer account has insufficient cryptocurrency to pay the transaction fee
*
*
* INSUFFICIENT_PAYER_BALANCE = 10;
*/
INSUFFICIENT_PAYER_BALANCE(10),
/**
*
* This transaction ID is a duplicate of one that was submitted to this node or reached consensus in the last 180 seconds (receipt period)
*
*
* DUPLICATE_TRANSACTION = 11;
*/
DUPLICATE_TRANSACTION(11),
/**
*
*If API is throttled out
*
*
* BUSY = 12;
*/
BUSY(12),
/**
*
*The API is not currently supported
*
*
* NOT_SUPPORTED = 13;
*/
NOT_SUPPORTED(13),
/**
*
*The file id is invalid or does not exist
*
*
* INVALID_FILE_ID = 14;
*/
INVALID_FILE_ID(14),
/**
*
*The account id is invalid or does not exist
*
*
* INVALID_ACCOUNT_ID = 15;
*/
INVALID_ACCOUNT_ID(15),
/**
*
*The contract id is invalid or does not exist
*
*
* INVALID_CONTRACT_ID = 16;
*/
INVALID_CONTRACT_ID(16),
/**
*
*Transaction id is not valid
*
*
* INVALID_TRANSACTION_ID = 17;
*/
INVALID_TRANSACTION_ID(17),
/**
*
*Receipt for given transaction id does not exist
*
*
* RECEIPT_NOT_FOUND = 18;
*/
RECEIPT_NOT_FOUND(18),
/**
*
*Record for given transaction id does not exist
*
*
* RECORD_NOT_FOUND = 19;
*/
RECORD_NOT_FOUND(19),
/**
*
*The solidity id is invalid or entity with this solidity id does not exist
*
*
* INVALID_SOLIDITY_ID = 20;
*/
INVALID_SOLIDITY_ID(20),
/**
*
* The responding node has submitted the transaction to the network. Its final status is still unknown.
*
*
* UNKNOWN = 21;
*/
UNKNOWN(21),
/**
*
* The transaction succeeded
*
*
* SUCCESS = 22;
*/
SUCCESS(22),
/**
*
* There was a system error and the transaction failed because of invalid request parameters.
*
*
* FAIL_INVALID = 23;
*/
FAIL_INVALID(23),
/**
*
* There was a system error while performing fee calculation, reserved for future.
*
*
* FAIL_FEE = 24;
*/
FAIL_FEE(24),
/**
*
* There was a system error while performing balance checks, reserved for future.
*
*
* FAIL_BALANCE = 25;
*/
FAIL_BALANCE(25),
/**
*
*Key not provided in the transaction body
*
*
* KEY_REQUIRED = 26;
*/
KEY_REQUIRED(26),
/**
*
*Unsupported algorithm/encoding used for keys in the transaction
*
*
* BAD_ENCODING = 27;
*/
BAD_ENCODING(27),
/**
*
*When the account balance is not sufficient for the transfer
*
*
* INSUFFICIENT_ACCOUNT_BALANCE = 28;
*/
INSUFFICIENT_ACCOUNT_BALANCE(28),
/**
*
*During an update transaction when the system is not able to find the Users Solidity address
*
*
* INVALID_SOLIDITY_ADDRESS = 29;
*/
INVALID_SOLIDITY_ADDRESS(29),
/**
*
*Not enough gas was supplied to execute transaction
*
*
* INSUFFICIENT_GAS = 30;
*/
INSUFFICIENT_GAS(30),
/**
*
*contract byte code size is over the limit
*
*
* CONTRACT_SIZE_LIMIT_EXCEEDED = 31;
*/
CONTRACT_SIZE_LIMIT_EXCEEDED(31),
/**
*
*local execution (query) is requested for a function which changes state
*
*
* LOCAL_CALL_MODIFICATION_EXCEPTION = 32;
*/
LOCAL_CALL_MODIFICATION_EXCEPTION(32),
/**
*
*Contract REVERT OPCODE executed
*
*
* CONTRACT_REVERT_EXECUTED = 33;
*/
CONTRACT_REVERT_EXECUTED(33),
/**
*
*For any contract execution related error not handled by specific error codes listed above.
*
*
* CONTRACT_EXECUTION_EXCEPTION = 34;
*/
CONTRACT_EXECUTION_EXCEPTION(34),
/**
*
*In Query validation, account with +ve(amount) value should be Receiving node account, the receiver account should be only one account in the list
*
*
* INVALID_RECEIVING_NODE_ACCOUNT = 35;
*/
INVALID_RECEIVING_NODE_ACCOUNT(35),
/**
*
* Header is missing in Query request
*
*
* MISSING_QUERY_HEADER = 36;
*/
MISSING_QUERY_HEADER(36),
/**
*
* The update of the account failed
*
*
* ACCOUNT_UPDATE_FAILED = 37;
*/
ACCOUNT_UPDATE_FAILED(37),
/**
*
* Provided key encoding was not supported by the system
*
*
* INVALID_KEY_ENCODING = 38;
*/
INVALID_KEY_ENCODING(38),
/**
*
* null solidity address
*
*
* NULL_SOLIDITY_ADDRESS = 39;
*/
NULL_SOLIDITY_ADDRESS(39),
/**
*
* update of the contract failed
*
*
* CONTRACT_UPDATE_FAILED = 40;
*/
CONTRACT_UPDATE_FAILED(40),
/**
*
* the query header is invalid
*
*
* INVALID_QUERY_HEADER = 41;
*/
INVALID_QUERY_HEADER(41),
/**
*
* Invalid fee submitted
*
*
* INVALID_FEE_SUBMITTED = 42;
*/
INVALID_FEE_SUBMITTED(42),
/**
*
* Payer signature is invalid
*
*
* INVALID_PAYER_SIGNATURE = 43;
*/
INVALID_PAYER_SIGNATURE(43),
/**
*
* The keys were not provided in the request.
*
*
* KEY_NOT_PROVIDED = 44;
*/
KEY_NOT_PROVIDED(44),
/**
*
* Expiration time provided in the transaction was invalid.
*
*
* INVALID_EXPIRATION_TIME = 45;
*/
INVALID_EXPIRATION_TIME(45),
/**
*
*WriteAccess Control Keys are not provided for the file
*
*
* NO_WACL_KEY = 46;
*/
NO_WACL_KEY(46),
/**
*
*The contents of file are provided as empty.
*
*
* FILE_CONTENT_EMPTY = 47;
*/
FILE_CONTENT_EMPTY(47),
/**
*
* The crypto transfer credit and debit do not sum equal to 0
*
*
* INVALID_ACCOUNT_AMOUNTS = 48;
*/
INVALID_ACCOUNT_AMOUNTS(48),
/**
*
* Transaction body provided is empty
*
*
* EMPTY_TRANSACTION_BODY = 49;
*/
EMPTY_TRANSACTION_BODY(49),
/**
*
* Invalid transaction body provided
*
*
* INVALID_TRANSACTION_BODY = 50;
*/
INVALID_TRANSACTION_BODY(50),
/**
*
* the type of key (base ed25519 key, KeyList, or ThresholdKey) does not match the type of signature (base ed25519 signature, SignatureList, or ThresholdKeySignature)
*
*
* INVALID_SIGNATURE_TYPE_MISMATCHING_KEY = 51;
*/
INVALID_SIGNATURE_TYPE_MISMATCHING_KEY(51),
/**
*
* the number of key (KeyList, or ThresholdKey) does not match that of signature (SignatureList, or ThresholdKeySignature). e.g. if a keyList has 3 base keys, then the corresponding signatureList should also have 3 base signatures.
*
*
* INVALID_SIGNATURE_COUNT_MISMATCHING_KEY = 52;
*/
INVALID_SIGNATURE_COUNT_MISMATCHING_KEY(52),
/**
*
* the livehash body is empty
*
*
* EMPTY_LIVE_HASH_BODY = 53;
*/
EMPTY_LIVE_HASH_BODY(53),
/**
*
* the livehash data is missing
*
*
* EMPTY_LIVE_HASH = 54;
*/
EMPTY_LIVE_HASH(54),
/**
*
* the keys for a livehash are missing
*
*
* EMPTY_LIVE_HASH_KEYS = 55;
*/
EMPTY_LIVE_HASH_KEYS(55),
/**
*
* the livehash data is not the output of a SHA-384 digest
*
*
* INVALID_LIVE_HASH_SIZE = 56;
*/
INVALID_LIVE_HASH_SIZE(56),
/**
*
* the query body is empty
*
*
* EMPTY_QUERY_BODY = 57;
*/
EMPTY_QUERY_BODY(57),
/**
*
* the crypto livehash query is empty
*
*
* EMPTY_LIVE_HASH_QUERY = 58;
*/
EMPTY_LIVE_HASH_QUERY(58),
/**
*
* the livehash is not present
*
*
* LIVE_HASH_NOT_FOUND = 59;
*/
LIVE_HASH_NOT_FOUND(59),
/**
*
* the account id passed has not yet been created.
*
*
* ACCOUNT_ID_DOES_NOT_EXIST = 60;
*/
ACCOUNT_ID_DOES_NOT_EXIST(60),
/**
*
* the livehash already exists for a given account
*
*
* LIVE_HASH_ALREADY_EXISTS = 61;
*/
LIVE_HASH_ALREADY_EXISTS(61),
/**
*
* File WACL keys are invalid
*
*
* INVALID_FILE_WACL = 62;
*/
INVALID_FILE_WACL(62),
/**
*
* Serialization failure
*
*
* SERIALIZATION_FAILED = 63;
*/
SERIALIZATION_FAILED(63),
/**
*
* The size of the Transaction is greater than transactionMaxBytes
*
*
* TRANSACTION_OVERSIZE = 64;
*/
TRANSACTION_OVERSIZE(64),
/**
*
* The Transaction has more than 50 levels
*
*
* TRANSACTION_TOO_MANY_LAYERS = 65;
*/
TRANSACTION_TOO_MANY_LAYERS(65),
/**
*
*Contract is marked as deleted
*
*
* CONTRACT_DELETED = 66;
*/
CONTRACT_DELETED(66),
/**
*
* the platform node is either disconnected or lagging behind.
*
*
* PLATFORM_NOT_ACTIVE = 67;
*/
PLATFORM_NOT_ACTIVE(67),
/**
*
* one public key matches more than one prefixes on the signature map
*
*
* KEY_PREFIX_MISMATCH = 68;
*/
KEY_PREFIX_MISMATCH(68),
/**
*
* transaction not created by platform due to large backlog
*
*
* PLATFORM_TRANSACTION_NOT_CREATED = 69;
*/
PLATFORM_TRANSACTION_NOT_CREATED(69),
/**
*
* auto renewal period is not a positive number of seconds
*
*
* INVALID_RENEWAL_PERIOD = 70;
*/
INVALID_RENEWAL_PERIOD(70),
/**
*
* the response code when a smart contract id is passed for a crypto API request
*
*
* INVALID_PAYER_ACCOUNT_ID = 71;
*/
INVALID_PAYER_ACCOUNT_ID(71),
/**
*
* the account has been marked as deleted
*
*
* ACCOUNT_DELETED = 72;
*/
ACCOUNT_DELETED(72),
/**
*
* the file has been marked as deleted
*
*
* FILE_DELETED = 73;
*/
FILE_DELETED(73),
/**
*
* same accounts repeated in the transfer account list
*
*
* ACCOUNT_REPEATED_IN_ACCOUNT_AMOUNTS = 74;
*/
ACCOUNT_REPEATED_IN_ACCOUNT_AMOUNTS(74),
/**
*
* attempting to set negative balance value for crypto account
*
*
* SETTING_NEGATIVE_ACCOUNT_BALANCE = 75;
*/
SETTING_NEGATIVE_ACCOUNT_BALANCE(75),
/**
*
* when deleting smart contract that has crypto balance either transfer account or transfer smart contract is required
*
*
* OBTAINER_REQUIRED = 76;
*/
OBTAINER_REQUIRED(76),
/**
*
*when deleting smart contract that has crypto balance you can not use the same contract id as transferContractId as the one being deleted
*
*
* OBTAINER_SAME_CONTRACT_ID = 77;
*/
OBTAINER_SAME_CONTRACT_ID(77),
/**
*
*transferAccountId or transferContractId specified for contract delete does not exist
*
*
* OBTAINER_DOES_NOT_EXIST = 78;
*/
OBTAINER_DOES_NOT_EXIST(78),
/**
*
*attempting to modify (update or delete a immutable smart contract, i.e. one created without a admin key)
*
*
* MODIFYING_IMMUTABLE_CONTRACT = 79;
*/
MODIFYING_IMMUTABLE_CONTRACT(79),
/**
*
*Unexpected exception thrown by file system functions
*
*
* FILE_SYSTEM_EXCEPTION = 80;
*/
FILE_SYSTEM_EXCEPTION(80),
/**
*
* the duration is not a subset of [MINIMUM_AUTORENEW_DURATION,MAXIMUM_AUTORENEW_DURATION]
*
*
* AUTORENEW_DURATION_NOT_IN_RANGE = 81;
*/
AUTORENEW_DURATION_NOT_IN_RANGE(81),
/**
*
* Decoding the smart contract binary to a byte array failed. Check that the input is a valid hex string.
*
*
* ERROR_DECODING_BYTESTRING = 82;
*/
ERROR_DECODING_BYTESTRING(82),
/**
*
* File to create a smart contract was of length zero
*
*
* CONTRACT_FILE_EMPTY = 83;
*/
CONTRACT_FILE_EMPTY(83),
/**
*
* Bytecode for smart contract is of length zero
*
*
* CONTRACT_BYTECODE_EMPTY = 84;
*/
CONTRACT_BYTECODE_EMPTY(84),
/**
*
* Attempt to set negative initial balance
*
*
* INVALID_INITIAL_BALANCE = 85;
*/
INVALID_INITIAL_BALANCE(85),
/**
*
* attempt to set negative receive record threshold
*
*
* INVALID_RECEIVE_RECORD_THRESHOLD = 86;
*/
INVALID_RECEIVE_RECORD_THRESHOLD(86),
/**
*
* attempt to set negative send record threshold
*
*
* INVALID_SEND_RECORD_THRESHOLD = 87;
*/
INVALID_SEND_RECORD_THRESHOLD(87),
/**
*
* Special Account Operations should be performed by only Genesis account, return this code if it is not Genesis Account
*
*
* ACCOUNT_IS_NOT_GENESIS_ACCOUNT = 88;
*/
ACCOUNT_IS_NOT_GENESIS_ACCOUNT(88),
/**
*
* The fee payer account doesn't have permission to submit such Transaction
*
*
* PAYER_ACCOUNT_UNAUTHORIZED = 89;
*/
PAYER_ACCOUNT_UNAUTHORIZED(89),
/**
*
* FreezeTransactionBody is invalid
*
*
* INVALID_FREEZE_TRANSACTION_BODY = 90;
*/
INVALID_FREEZE_TRANSACTION_BODY(90),
/**
*
* FreezeTransactionBody does not exist
*
*
* FREEZE_TRANSACTION_BODY_NOT_FOUND = 91;
*/
FREEZE_TRANSACTION_BODY_NOT_FOUND(91),
/**
*
*Exceeded the number of accounts (both from and to) allowed for crypto transfer list
*
*
* TRANSFER_LIST_SIZE_LIMIT_EXCEEDED = 92;
*/
TRANSFER_LIST_SIZE_LIMIT_EXCEEDED(92),
/**
*
* Smart contract result size greater than specified maxResultSize
*
*
* RESULT_SIZE_LIMIT_EXCEEDED = 93;
*/
RESULT_SIZE_LIMIT_EXCEEDED(93),
/**
*
*The payer account is not a special account(account 0.0.55)
*
*
* NOT_SPECIAL_ACCOUNT = 94;
*/
NOT_SPECIAL_ACCOUNT(94),
/**
*
* Negative gas was offered in smart contract call
*
*
* CONTRACT_NEGATIVE_GAS = 95;
*/
CONTRACT_NEGATIVE_GAS(95),
/**
*
* Negative value / initial balance was specified in a smart contract call / create
*
*
* CONTRACT_NEGATIVE_VALUE = 96;
*/
CONTRACT_NEGATIVE_VALUE(96),
/**
*
* Failed to update fee file
*
*
* INVALID_FEE_FILE = 97;
*/
INVALID_FEE_FILE(97),
/**
*
* Failed to update exchange rate file
*
*
* INVALID_EXCHANGE_RATE_FILE = 98;
*/
INVALID_EXCHANGE_RATE_FILE(98),
/**
*
* Payment tendered for contract local call cannot cover both the fee and the gas
*
*
* INSUFFICIENT_LOCAL_CALL_GAS = 99;
*/
INSUFFICIENT_LOCAL_CALL_GAS(99),
/**
*
* Entities with Entity ID below 1000 are not allowed to be deleted
*
*
* ENTITY_NOT_ALLOWED_TO_DELETE = 100;
*/
ENTITY_NOT_ALLOWED_TO_DELETE(100),
/**
*
* Violating one of these rules: 1) treasury account can update all entities below 0.0.1000, 2) account 0.0.50 can update all entities from 0.0.51 - 0.0.80, 3) Network Function Master Account A/c 0.0.50 - Update all Network Function accounts & perform all the Network Functions listed below, 4) Network Function Accounts: i) A/c 0.0.55 - Update Address Book files (0.0.101/102), ii) A/c 0.0.56 - Update Fee schedule (0.0.111), iii) A/c 0.0.57 - Update Exchange Rate (0.0.112).
*
*
* AUTHORIZATION_FAILED = 101;
*/
AUTHORIZATION_FAILED(101),
/**
*
* Fee Schedule Proto uploaded but not valid (append or update is required)
*
*
* FILE_UPLOADED_PROTO_INVALID = 102;
*/
FILE_UPLOADED_PROTO_INVALID(102),
/**
*
* Fee Schedule Proto uploaded but not valid (append or update is required)
*
*
* FILE_UPLOADED_PROTO_NOT_SAVED_TO_DISK = 103;
*/
FILE_UPLOADED_PROTO_NOT_SAVED_TO_DISK(103),
/**
*
* Fee Schedule Proto File Part uploaded
*
*
* FEE_SCHEDULE_FILE_PART_UPLOADED = 104;
*/
FEE_SCHEDULE_FILE_PART_UPLOADED(104),
/**
*
* The change on Exchange Rate exceeds Exchange_Rate_Allowed_Percentage
*
*
* EXCHANGE_RATE_CHANGE_LIMIT_EXCEEDED = 105;
*/
EXCHANGE_RATE_CHANGE_LIMIT_EXCEEDED(105),
/**
*
* Contract permanent storage exceeded the currently allowable limit
*
*
* MAX_CONTRACT_STORAGE_EXCEEDED = 106;
*/
MAX_CONTRACT_STORAGE_EXCEEDED(106),
/**
*
* Transfer Account should not be same as Account to be deleted
*
*
* TRANSFER_ACCOUNT_SAME_AS_DELETE_ACCOUNT = 107;
*/
TRANSFER_ACCOUNT_SAME_AS_DELETE_ACCOUNT(107),
/**
* TOTAL_LEDGER_BALANCE_INVALID = 108;
*/
TOTAL_LEDGER_BALANCE_INVALID(108),
/**
*
* The expiration date/time on a smart contract may not be reduced
*
*
* EXPIRATION_REDUCTION_NOT_ALLOWED = 110;
*/
EXPIRATION_REDUCTION_NOT_ALLOWED(110),
/**
*
*Gas exceeded currently allowable gas limit per transaction
*
*
* MAX_GAS_LIMIT_EXCEEDED = 111;
*/
MAX_GAS_LIMIT_EXCEEDED(111),
/**
*
* File size exceeded the currently allowable limit
*
*
* MAX_FILE_SIZE_EXCEEDED = 112;
*/
MAX_FILE_SIZE_EXCEEDED(112),
/**
*
* The Topic ID specified is not in the system.
*
*
* INVALID_TOPIC_ID = 150;
*/
INVALID_TOPIC_ID(150),
/**
* INVALID_ADMIN_KEY = 155;
*/
INVALID_ADMIN_KEY(155),
/**
* INVALID_SUBMIT_KEY = 156;
*/
INVALID_SUBMIT_KEY(156),
/**
*
* An attempted operation was not authorized (ie - a deleteTopic for a topic with no adminKey, a tokenUpdate or tokenDelete for token with no adminKey).
*
*
* UNAUTHORIZED = 157;
*/
UNAUTHORIZED(157),
/**
*
* A ConsensusService message is empty.
*
*
* INVALID_TOPIC_MESSAGE = 158;
*/
INVALID_TOPIC_MESSAGE(158),
/**
*
* The autoRenewAccount specified is not a valid, active account.
*
*
* INVALID_AUTORENEW_ACCOUNT = 159;
*/
INVALID_AUTORENEW_ACCOUNT(159),
/**
*
* An adminKey was not specified on the topic, so there must not be an autoRenewAccount.
*
*
* AUTORENEW_ACCOUNT_NOT_ALLOWED = 160;
*/
AUTORENEW_ACCOUNT_NOT_ALLOWED(160),
/**
*
* The topic has expired, was not automatically renewed, and is in a 7 day grace period before the topic will be
* deleted unrecoverably. This error response code will not be returned until autoRenew functionality is supported
* by HAPI.
*
*
* TOPIC_EXPIRED = 162;
*/
TOPIC_EXPIRED(162),
/**
*
* chunk number must be from 1 to total (chunks) inclusive.
*
*
* INVALID_CHUNK_NUMBER = 163;
*/
INVALID_CHUNK_NUMBER(163),
/**
*
* For every chunk, the payer account that is part of initialTransactionID must match the Payer Account of this transaction. The entire initialTransactionID should match the transactionID of the first chunk, but this is not checked or enforced by Hedera except when the chunk number is 1.
*
*
* INVALID_CHUNK_TRANSACTION_ID = 164;
*/
INVALID_CHUNK_TRANSACTION_ID(164),
/**
* ACCOUNT_FROZEN_FOR_TOKEN = 165;
*/
ACCOUNT_FROZEN_FOR_TOKEN(165),
/**
* TOKENS_PER_ACCOUNT_LIMIT_EXCEEDED = 166;
*/
TOKENS_PER_ACCOUNT_LIMIT_EXCEEDED(166),
/**
* INVALID_TOKEN_ID = 167;
*/
INVALID_TOKEN_ID(167),
/**
* INVALID_TOKEN_DIVISIBILITY = 168;
*/
INVALID_TOKEN_DIVISIBILITY(168),
/**
* INVALID_TOKEN_FLOAT = 169;
*/
INVALID_TOKEN_FLOAT(169),
/**
* INVALID_TREASURY_ACCOUNT_FOR_TOKEN = 170;
*/
INVALID_TREASURY_ACCOUNT_FOR_TOKEN(170),
/**
* INVALID_TOKEN_SYMBOL = 171;
*/
INVALID_TOKEN_SYMBOL(171),
/**
* TOKEN_HAS_NO_FREEZE_KEY = 172;
*/
TOKEN_HAS_NO_FREEZE_KEY(172),
/**
* TRANSFERS_NOT_ZERO_SUM_FOR_TOKEN = 173;
*/
TRANSFERS_NOT_ZERO_SUM_FOR_TOKEN(173),
/**
* MISSING_TOKEN_SYMBOL = 174;
*/
MISSING_TOKEN_SYMBOL(174),
/**
* TOKEN_SYMBOL_TOO_LONG = 175;
*/
TOKEN_SYMBOL_TOO_LONG(175),
/**
* TOKEN_SYMBOL_ALREADY_IN_USE = 176;
*/
TOKEN_SYMBOL_ALREADY_IN_USE(176),
/**
* INVALID_TOKEN_REF = 177;
*/
INVALID_TOKEN_REF(177),
/**
* ACCOUNT_KYC_NOT_GRANTED_FOR_TOKEN = 178;
*/
ACCOUNT_KYC_NOT_GRANTED_FOR_TOKEN(178),
/**
* TOKEN_HAS_NO_KYC_KEY = 179;
*/
TOKEN_HAS_NO_KYC_KEY(179),
/**
* INSUFFICIENT_TOKEN_BALANCE = 180;
*/
INSUFFICIENT_TOKEN_BALANCE(180),
/**
* TOKEN_WAS_DELETED = 181;
*/
TOKEN_WAS_DELETED(181),
/**
* TOKEN_HAS_NO_SUPPLY_KEY = 182;
*/
TOKEN_HAS_NO_SUPPLY_KEY(182),
/**
* TOKEN_HAS_NO_WIPE_KEY = 183;
*/
TOKEN_HAS_NO_WIPE_KEY(183),
/**
* INVALID_TOKEN_MINT_AMOUNT = 184;
*/
INVALID_TOKEN_MINT_AMOUNT(184),
/**
* INVALID_TOKEN_BURN_AMOUNT = 185;
*/
INVALID_TOKEN_BURN_AMOUNT(185),
/**
* ACCOUNT_HAS_NO_TOKEN_RELATIONSHIP = 186;
*/
ACCOUNT_HAS_NO_TOKEN_RELATIONSHIP(186),
/**
* CANNOT_WIPE_TOKEN_TREASURY_ACCOUNT = 187;
*/
CANNOT_WIPE_TOKEN_TREASURY_ACCOUNT(187),
/**
* INVALID_KYC_KEY = 188;
*/
INVALID_KYC_KEY(188),
/**
* INVALID_WIPE_KEY = 189;
*/
INVALID_WIPE_KEY(189),
/**
* INVALID_FREEZE_KEY = 190;
*/
INVALID_FREEZE_KEY(190),
/**
* INVALID_SUPPLY_KEY = 191;
*/
INVALID_SUPPLY_KEY(191),
UNRECOGNIZED(-1),
;
/**
*
* The transaction passed the precheck validations.
*
*
* OK = 0;
*/
public static final int OK_VALUE = 0;
/**
*
* For any error not handled by specific error codes listed below.
*
*
* INVALID_TRANSACTION = 1;
*/
public static final int INVALID_TRANSACTION_VALUE = 1;
/**
*
*Payer account does not exist.
*
*
* PAYER_ACCOUNT_NOT_FOUND = 2;
*/
public static final int PAYER_ACCOUNT_NOT_FOUND_VALUE = 2;
/**
*
*Node Account provided does not match the node account of the node the transaction was submitted to.
*
*
* INVALID_NODE_ACCOUNT = 3;
*/
public static final int INVALID_NODE_ACCOUNT_VALUE = 3;
/**
*
* Pre-Check error when TransactionValidStart + transactionValidDuration is less than current consensus time.
*
*
* TRANSACTION_EXPIRED = 4;
*/
public static final int TRANSACTION_EXPIRED_VALUE = 4;
/**
*
* Transaction start time is greater than current consensus time
*
*
* INVALID_TRANSACTION_START = 5;
*/
public static final int INVALID_TRANSACTION_START_VALUE = 5;
/**
*
*valid transaction duration is a positive non zero number that does not exceed 120 seconds
*
*
* INVALID_TRANSACTION_DURATION = 6;
*/
public static final int INVALID_TRANSACTION_DURATION_VALUE = 6;
/**
*
* The transaction signature is not valid
*
*
* INVALID_SIGNATURE = 7;
*/
public static final int INVALID_SIGNATURE_VALUE = 7;
/**
*
*Transaction memo size exceeded 100 bytes
*
*
* MEMO_TOO_LONG = 8;
*/
public static final int MEMO_TOO_LONG_VALUE = 8;
/**
*
* The fee provided in the transaction is insufficient for this type of transaction
*
*
* INSUFFICIENT_TX_FEE = 9;
*/
public static final int INSUFFICIENT_TX_FEE_VALUE = 9;
/**
*
* The payer account has insufficient cryptocurrency to pay the transaction fee
*
*
* INSUFFICIENT_PAYER_BALANCE = 10;
*/
public static final int INSUFFICIENT_PAYER_BALANCE_VALUE = 10;
/**
*
* This transaction ID is a duplicate of one that was submitted to this node or reached consensus in the last 180 seconds (receipt period)
*
*
* DUPLICATE_TRANSACTION = 11;
*/
public static final int DUPLICATE_TRANSACTION_VALUE = 11;
/**
*
*If API is throttled out
*
*
* BUSY = 12;
*/
public static final int BUSY_VALUE = 12;
/**
*
*The API is not currently supported
*
*
* NOT_SUPPORTED = 13;
*/
public static final int NOT_SUPPORTED_VALUE = 13;
/**
*
*The file id is invalid or does not exist
*
*
* INVALID_FILE_ID = 14;
*/
public static final int INVALID_FILE_ID_VALUE = 14;
/**
*
*The account id is invalid or does not exist
*
*
* INVALID_ACCOUNT_ID = 15;
*/
public static final int INVALID_ACCOUNT_ID_VALUE = 15;
/**
*
*The contract id is invalid or does not exist
*
*
* INVALID_CONTRACT_ID = 16;
*/
public static final int INVALID_CONTRACT_ID_VALUE = 16;
/**
*
*Transaction id is not valid
*
*
* INVALID_TRANSACTION_ID = 17;
*/
public static final int INVALID_TRANSACTION_ID_VALUE = 17;
/**
*
*Receipt for given transaction id does not exist
*
*
* RECEIPT_NOT_FOUND = 18;
*/
public static final int RECEIPT_NOT_FOUND_VALUE = 18;
/**
*
*Record for given transaction id does not exist
*
*
* RECORD_NOT_FOUND = 19;
*/
public static final int RECORD_NOT_FOUND_VALUE = 19;
/**
*
*The solidity id is invalid or entity with this solidity id does not exist
*
*
* INVALID_SOLIDITY_ID = 20;
*/
public static final int INVALID_SOLIDITY_ID_VALUE = 20;
/**
*
* The responding node has submitted the transaction to the network. Its final status is still unknown.
*
*
* UNKNOWN = 21;
*/
public static final int UNKNOWN_VALUE = 21;
/**
*
* The transaction succeeded
*
*
* SUCCESS = 22;
*/
public static final int SUCCESS_VALUE = 22;
/**
*
* There was a system error and the transaction failed because of invalid request parameters.
*
*
* FAIL_INVALID = 23;
*/
public static final int FAIL_INVALID_VALUE = 23;
/**
*
* There was a system error while performing fee calculation, reserved for future.
*
*
* FAIL_FEE = 24;
*/
public static final int FAIL_FEE_VALUE = 24;
/**
*
* There was a system error while performing balance checks, reserved for future.
*
*
* FAIL_BALANCE = 25;
*/
public static final int FAIL_BALANCE_VALUE = 25;
/**
*
*Key not provided in the transaction body
*
*
* KEY_REQUIRED = 26;
*/
public static final int KEY_REQUIRED_VALUE = 26;
/**
*
*Unsupported algorithm/encoding used for keys in the transaction
*
*
* BAD_ENCODING = 27;
*/
public static final int BAD_ENCODING_VALUE = 27;
/**
*
*When the account balance is not sufficient for the transfer
*
*
* INSUFFICIENT_ACCOUNT_BALANCE = 28;
*/
public static final int INSUFFICIENT_ACCOUNT_BALANCE_VALUE = 28;
/**
*
*During an update transaction when the system is not able to find the Users Solidity address
*
*
* INVALID_SOLIDITY_ADDRESS = 29;
*/
public static final int INVALID_SOLIDITY_ADDRESS_VALUE = 29;
/**
*
*Not enough gas was supplied to execute transaction
*
*
* INSUFFICIENT_GAS = 30;
*/
public static final int INSUFFICIENT_GAS_VALUE = 30;
/**
*
*contract byte code size is over the limit
*
*
* CONTRACT_SIZE_LIMIT_EXCEEDED = 31;
*/
public static final int CONTRACT_SIZE_LIMIT_EXCEEDED_VALUE = 31;
/**
*
*local execution (query) is requested for a function which changes state
*
*
* LOCAL_CALL_MODIFICATION_EXCEPTION = 32;
*/
public static final int LOCAL_CALL_MODIFICATION_EXCEPTION_VALUE = 32;
/**
*
*Contract REVERT OPCODE executed
*
*
* CONTRACT_REVERT_EXECUTED = 33;
*/
public static final int CONTRACT_REVERT_EXECUTED_VALUE = 33;
/**
*
*For any contract execution related error not handled by specific error codes listed above.
*
*
* CONTRACT_EXECUTION_EXCEPTION = 34;
*/
public static final int CONTRACT_EXECUTION_EXCEPTION_VALUE = 34;
/**
*
*In Query validation, account with +ve(amount) value should be Receiving node account, the receiver account should be only one account in the list
*
*
* INVALID_RECEIVING_NODE_ACCOUNT = 35;
*/
public static final int INVALID_RECEIVING_NODE_ACCOUNT_VALUE = 35;
/**
*
* Header is missing in Query request
*
*
* MISSING_QUERY_HEADER = 36;
*/
public static final int MISSING_QUERY_HEADER_VALUE = 36;
/**
*
* The update of the account failed
*
*
* ACCOUNT_UPDATE_FAILED = 37;
*/
public static final int ACCOUNT_UPDATE_FAILED_VALUE = 37;
/**
*
* Provided key encoding was not supported by the system
*
*
* INVALID_KEY_ENCODING = 38;
*/
public static final int INVALID_KEY_ENCODING_VALUE = 38;
/**
*
* null solidity address
*
*
* NULL_SOLIDITY_ADDRESS = 39;
*/
public static final int NULL_SOLIDITY_ADDRESS_VALUE = 39;
/**
*
* update of the contract failed
*
*
* CONTRACT_UPDATE_FAILED = 40;
*/
public static final int CONTRACT_UPDATE_FAILED_VALUE = 40;
/**
*
* the query header is invalid
*
*
* INVALID_QUERY_HEADER = 41;
*/
public static final int INVALID_QUERY_HEADER_VALUE = 41;
/**
*
* Invalid fee submitted
*
*
* INVALID_FEE_SUBMITTED = 42;
*/
public static final int INVALID_FEE_SUBMITTED_VALUE = 42;
/**
*
* Payer signature is invalid
*
*
* INVALID_PAYER_SIGNATURE = 43;
*/
public static final int INVALID_PAYER_SIGNATURE_VALUE = 43;
/**
*
* The keys were not provided in the request.
*
*
* KEY_NOT_PROVIDED = 44;
*/
public static final int KEY_NOT_PROVIDED_VALUE = 44;
/**
*
* Expiration time provided in the transaction was invalid.
*
*
* INVALID_EXPIRATION_TIME = 45;
*/
public static final int INVALID_EXPIRATION_TIME_VALUE = 45;
/**
*
*WriteAccess Control Keys are not provided for the file
*
*
* NO_WACL_KEY = 46;
*/
public static final int NO_WACL_KEY_VALUE = 46;
/**
*
*The contents of file are provided as empty.
*
*
* FILE_CONTENT_EMPTY = 47;
*/
public static final int FILE_CONTENT_EMPTY_VALUE = 47;
/**
*
* The crypto transfer credit and debit do not sum equal to 0
*
*
* INVALID_ACCOUNT_AMOUNTS = 48;
*/
public static final int INVALID_ACCOUNT_AMOUNTS_VALUE = 48;
/**
*
* Transaction body provided is empty
*
*
* EMPTY_TRANSACTION_BODY = 49;
*/
public static final int EMPTY_TRANSACTION_BODY_VALUE = 49;
/**
*
* Invalid transaction body provided
*
*
* INVALID_TRANSACTION_BODY = 50;
*/
public static final int INVALID_TRANSACTION_BODY_VALUE = 50;
/**
*
* the type of key (base ed25519 key, KeyList, or ThresholdKey) does not match the type of signature (base ed25519 signature, SignatureList, or ThresholdKeySignature)
*
*
* INVALID_SIGNATURE_TYPE_MISMATCHING_KEY = 51;
*/
public static final int INVALID_SIGNATURE_TYPE_MISMATCHING_KEY_VALUE = 51;
/**
*
* the number of key (KeyList, or ThresholdKey) does not match that of signature (SignatureList, or ThresholdKeySignature). e.g. if a keyList has 3 base keys, then the corresponding signatureList should also have 3 base signatures.
*
*
* INVALID_SIGNATURE_COUNT_MISMATCHING_KEY = 52;
*/
public static final int INVALID_SIGNATURE_COUNT_MISMATCHING_KEY_VALUE = 52;
/**
*
* the livehash body is empty
*
*
* EMPTY_LIVE_HASH_BODY = 53;
*/
public static final int EMPTY_LIVE_HASH_BODY_VALUE = 53;
/**
*
* the livehash data is missing
*
*
* EMPTY_LIVE_HASH = 54;
*/
public static final int EMPTY_LIVE_HASH_VALUE = 54;
/**
*
* the keys for a livehash are missing
*
*
* EMPTY_LIVE_HASH_KEYS = 55;
*/
public static final int EMPTY_LIVE_HASH_KEYS_VALUE = 55;
/**
*
* the livehash data is not the output of a SHA-384 digest
*
*
* INVALID_LIVE_HASH_SIZE = 56;
*/
public static final int INVALID_LIVE_HASH_SIZE_VALUE = 56;
/**
*
* the query body is empty
*
*
* EMPTY_QUERY_BODY = 57;
*/
public static final int EMPTY_QUERY_BODY_VALUE = 57;
/**
*
* the crypto livehash query is empty
*
*
* EMPTY_LIVE_HASH_QUERY = 58;
*/
public static final int EMPTY_LIVE_HASH_QUERY_VALUE = 58;
/**
*
* the livehash is not present
*
*
* LIVE_HASH_NOT_FOUND = 59;
*/
public static final int LIVE_HASH_NOT_FOUND_VALUE = 59;
/**
*
* the account id passed has not yet been created.
*
*
* ACCOUNT_ID_DOES_NOT_EXIST = 60;
*/
public static final int ACCOUNT_ID_DOES_NOT_EXIST_VALUE = 60;
/**
*
* the livehash already exists for a given account
*
*
* LIVE_HASH_ALREADY_EXISTS = 61;
*/
public static final int LIVE_HASH_ALREADY_EXISTS_VALUE = 61;
/**
*
* File WACL keys are invalid
*
*
* INVALID_FILE_WACL = 62;
*/
public static final int INVALID_FILE_WACL_VALUE = 62;
/**
*
* Serialization failure
*
*
* SERIALIZATION_FAILED = 63;
*/
public static final int SERIALIZATION_FAILED_VALUE = 63;
/**
*
* The size of the Transaction is greater than transactionMaxBytes
*
*
* TRANSACTION_OVERSIZE = 64;
*/
public static final int TRANSACTION_OVERSIZE_VALUE = 64;
/**
*
* The Transaction has more than 50 levels
*
*
* TRANSACTION_TOO_MANY_LAYERS = 65;
*/
public static final int TRANSACTION_TOO_MANY_LAYERS_VALUE = 65;
/**
*
*Contract is marked as deleted
*
*
* CONTRACT_DELETED = 66;
*/
public static final int CONTRACT_DELETED_VALUE = 66;
/**
*
* the platform node is either disconnected or lagging behind.
*
*
* PLATFORM_NOT_ACTIVE = 67;
*/
public static final int PLATFORM_NOT_ACTIVE_VALUE = 67;
/**
*
* one public key matches more than one prefixes on the signature map
*
*
* KEY_PREFIX_MISMATCH = 68;
*/
public static final int KEY_PREFIX_MISMATCH_VALUE = 68;
/**
*
* transaction not created by platform due to large backlog
*
*
* PLATFORM_TRANSACTION_NOT_CREATED = 69;
*/
public static final int PLATFORM_TRANSACTION_NOT_CREATED_VALUE = 69;
/**
*
* auto renewal period is not a positive number of seconds
*
*
* INVALID_RENEWAL_PERIOD = 70;
*/
public static final int INVALID_RENEWAL_PERIOD_VALUE = 70;
/**
*
* the response code when a smart contract id is passed for a crypto API request
*
*
* INVALID_PAYER_ACCOUNT_ID = 71;
*/
public static final int INVALID_PAYER_ACCOUNT_ID_VALUE = 71;
/**
*
* the account has been marked as deleted
*
*
* ACCOUNT_DELETED = 72;
*/
public static final int ACCOUNT_DELETED_VALUE = 72;
/**
*
* the file has been marked as deleted
*
*
* FILE_DELETED = 73;
*/
public static final int FILE_DELETED_VALUE = 73;
/**
*
* same accounts repeated in the transfer account list
*
*
* ACCOUNT_REPEATED_IN_ACCOUNT_AMOUNTS = 74;
*/
public static final int ACCOUNT_REPEATED_IN_ACCOUNT_AMOUNTS_VALUE = 74;
/**
*
* attempting to set negative balance value for crypto account
*
*
* SETTING_NEGATIVE_ACCOUNT_BALANCE = 75;
*/
public static final int SETTING_NEGATIVE_ACCOUNT_BALANCE_VALUE = 75;
/**
*
* when deleting smart contract that has crypto balance either transfer account or transfer smart contract is required
*
*
* OBTAINER_REQUIRED = 76;
*/
public static final int OBTAINER_REQUIRED_VALUE = 76;
/**
*
*when deleting smart contract that has crypto balance you can not use the same contract id as transferContractId as the one being deleted
*
*
* OBTAINER_SAME_CONTRACT_ID = 77;
*/
public static final int OBTAINER_SAME_CONTRACT_ID_VALUE = 77;
/**
*
*transferAccountId or transferContractId specified for contract delete does not exist
*
*
* OBTAINER_DOES_NOT_EXIST = 78;
*/
public static final int OBTAINER_DOES_NOT_EXIST_VALUE = 78;
/**
*
*attempting to modify (update or delete a immutable smart contract, i.e. one created without a admin key)
*
*
* MODIFYING_IMMUTABLE_CONTRACT = 79;
*/
public static final int MODIFYING_IMMUTABLE_CONTRACT_VALUE = 79;
/**
*
*Unexpected exception thrown by file system functions
*
*
* FILE_SYSTEM_EXCEPTION = 80;
*/
public static final int FILE_SYSTEM_EXCEPTION_VALUE = 80;
/**
*
* the duration is not a subset of [MINIMUM_AUTORENEW_DURATION,MAXIMUM_AUTORENEW_DURATION]
*
*
* AUTORENEW_DURATION_NOT_IN_RANGE = 81;
*/
public static final int AUTORENEW_DURATION_NOT_IN_RANGE_VALUE = 81;
/**
*
* Decoding the smart contract binary to a byte array failed. Check that the input is a valid hex string.
*
*
* ERROR_DECODING_BYTESTRING = 82;
*/
public static final int ERROR_DECODING_BYTESTRING_VALUE = 82;
/**
*
* File to create a smart contract was of length zero
*
*
* CONTRACT_FILE_EMPTY = 83;
*/
public static final int CONTRACT_FILE_EMPTY_VALUE = 83;
/**
*
* Bytecode for smart contract is of length zero
*
*
* CONTRACT_BYTECODE_EMPTY = 84;
*/
public static final int CONTRACT_BYTECODE_EMPTY_VALUE = 84;
/**
*
* Attempt to set negative initial balance
*
*
* INVALID_INITIAL_BALANCE = 85;
*/
public static final int INVALID_INITIAL_BALANCE_VALUE = 85;
/**
*
* attempt to set negative receive record threshold
*
*
* INVALID_RECEIVE_RECORD_THRESHOLD = 86;
*/
public static final int INVALID_RECEIVE_RECORD_THRESHOLD_VALUE = 86;
/**
*
* attempt to set negative send record threshold
*
*
* INVALID_SEND_RECORD_THRESHOLD = 87;
*/
public static final int INVALID_SEND_RECORD_THRESHOLD_VALUE = 87;
/**
*
* Special Account Operations should be performed by only Genesis account, return this code if it is not Genesis Account
*
*
* ACCOUNT_IS_NOT_GENESIS_ACCOUNT = 88;
*/
public static final int ACCOUNT_IS_NOT_GENESIS_ACCOUNT_VALUE = 88;
/**
*
* The fee payer account doesn't have permission to submit such Transaction
*
*
* PAYER_ACCOUNT_UNAUTHORIZED = 89;
*/
public static final int PAYER_ACCOUNT_UNAUTHORIZED_VALUE = 89;
/**
*
* FreezeTransactionBody is invalid
*
*
* INVALID_FREEZE_TRANSACTION_BODY = 90;
*/
public static final int INVALID_FREEZE_TRANSACTION_BODY_VALUE = 90;
/**
*
* FreezeTransactionBody does not exist
*
*
* FREEZE_TRANSACTION_BODY_NOT_FOUND = 91;
*/
public static final int FREEZE_TRANSACTION_BODY_NOT_FOUND_VALUE = 91;
/**
*
*Exceeded the number of accounts (both from and to) allowed for crypto transfer list
*
*
* TRANSFER_LIST_SIZE_LIMIT_EXCEEDED = 92;
*/
public static final int TRANSFER_LIST_SIZE_LIMIT_EXCEEDED_VALUE = 92;
/**
*
* Smart contract result size greater than specified maxResultSize
*
*
* RESULT_SIZE_LIMIT_EXCEEDED = 93;
*/
public static final int RESULT_SIZE_LIMIT_EXCEEDED_VALUE = 93;
/**
*
*The payer account is not a special account(account 0.0.55)
*
*
* NOT_SPECIAL_ACCOUNT = 94;
*/
public static final int NOT_SPECIAL_ACCOUNT_VALUE = 94;
/**
*
* Negative gas was offered in smart contract call
*
*
* CONTRACT_NEGATIVE_GAS = 95;
*/
public static final int CONTRACT_NEGATIVE_GAS_VALUE = 95;
/**
*
* Negative value / initial balance was specified in a smart contract call / create
*
*
* CONTRACT_NEGATIVE_VALUE = 96;
*/
public static final int CONTRACT_NEGATIVE_VALUE_VALUE = 96;
/**
*
* Failed to update fee file
*
*
* INVALID_FEE_FILE = 97;
*/
public static final int INVALID_FEE_FILE_VALUE = 97;
/**
*
* Failed to update exchange rate file
*
*
* INVALID_EXCHANGE_RATE_FILE = 98;
*/
public static final int INVALID_EXCHANGE_RATE_FILE_VALUE = 98;
/**
*
* Payment tendered for contract local call cannot cover both the fee and the gas
*
*
* INSUFFICIENT_LOCAL_CALL_GAS = 99;
*/
public static final int INSUFFICIENT_LOCAL_CALL_GAS_VALUE = 99;
/**
*
* Entities with Entity ID below 1000 are not allowed to be deleted
*
*
* ENTITY_NOT_ALLOWED_TO_DELETE = 100;
*/
public static final int ENTITY_NOT_ALLOWED_TO_DELETE_VALUE = 100;
/**
*
* Violating one of these rules: 1) treasury account can update all entities below 0.0.1000, 2) account 0.0.50 can update all entities from 0.0.51 - 0.0.80, 3) Network Function Master Account A/c 0.0.50 - Update all Network Function accounts & perform all the Network Functions listed below, 4) Network Function Accounts: i) A/c 0.0.55 - Update Address Book files (0.0.101/102), ii) A/c 0.0.56 - Update Fee schedule (0.0.111), iii) A/c 0.0.57 - Update Exchange Rate (0.0.112).
*
*
* AUTHORIZATION_FAILED = 101;
*/
public static final int AUTHORIZATION_FAILED_VALUE = 101;
/**
*
* Fee Schedule Proto uploaded but not valid (append or update is required)
*
*
* FILE_UPLOADED_PROTO_INVALID = 102;
*/
public static final int FILE_UPLOADED_PROTO_INVALID_VALUE = 102;
/**
*
* Fee Schedule Proto uploaded but not valid (append or update is required)
*
*
* FILE_UPLOADED_PROTO_NOT_SAVED_TO_DISK = 103;
*/
public static final int FILE_UPLOADED_PROTO_NOT_SAVED_TO_DISK_VALUE = 103;
/**
*
* Fee Schedule Proto File Part uploaded
*
*
* FEE_SCHEDULE_FILE_PART_UPLOADED = 104;
*/
public static final int FEE_SCHEDULE_FILE_PART_UPLOADED_VALUE = 104;
/**
*
* The change on Exchange Rate exceeds Exchange_Rate_Allowed_Percentage
*
*
* EXCHANGE_RATE_CHANGE_LIMIT_EXCEEDED = 105;
*/
public static final int EXCHANGE_RATE_CHANGE_LIMIT_EXCEEDED_VALUE = 105;
/**
*
* Contract permanent storage exceeded the currently allowable limit
*
*
* MAX_CONTRACT_STORAGE_EXCEEDED = 106;
*/
public static final int MAX_CONTRACT_STORAGE_EXCEEDED_VALUE = 106;
/**
*
* Transfer Account should not be same as Account to be deleted
*
*
* TRANSFER_ACCOUNT_SAME_AS_DELETE_ACCOUNT = 107;
*/
public static final int TRANSFER_ACCOUNT_SAME_AS_DELETE_ACCOUNT_VALUE = 107;
/**
* TOTAL_LEDGER_BALANCE_INVALID = 108;
*/
public static final int TOTAL_LEDGER_BALANCE_INVALID_VALUE = 108;
/**
*
* The expiration date/time on a smart contract may not be reduced
*
*
* EXPIRATION_REDUCTION_NOT_ALLOWED = 110;
*/
public static final int EXPIRATION_REDUCTION_NOT_ALLOWED_VALUE = 110;
/**
*
*Gas exceeded currently allowable gas limit per transaction
*
*
* MAX_GAS_LIMIT_EXCEEDED = 111;
*/
public static final int MAX_GAS_LIMIT_EXCEEDED_VALUE = 111;
/**
*
* File size exceeded the currently allowable limit
*
*
* MAX_FILE_SIZE_EXCEEDED = 112;
*/
public static final int MAX_FILE_SIZE_EXCEEDED_VALUE = 112;
/**
*
* The Topic ID specified is not in the system.
*
*
* INVALID_TOPIC_ID = 150;
*/
public static final int INVALID_TOPIC_ID_VALUE = 150;
/**
* INVALID_ADMIN_KEY = 155;
*/
public static final int INVALID_ADMIN_KEY_VALUE = 155;
/**
* INVALID_SUBMIT_KEY = 156;
*/
public static final int INVALID_SUBMIT_KEY_VALUE = 156;
/**
*
* An attempted operation was not authorized (ie - a deleteTopic for a topic with no adminKey, a tokenUpdate or tokenDelete for token with no adminKey).
*
*
* UNAUTHORIZED = 157;
*/
public static final int UNAUTHORIZED_VALUE = 157;
/**
*
* A ConsensusService message is empty.
*
*
* INVALID_TOPIC_MESSAGE = 158;
*/
public static final int INVALID_TOPIC_MESSAGE_VALUE = 158;
/**
*
* The autoRenewAccount specified is not a valid, active account.
*
*
* INVALID_AUTORENEW_ACCOUNT = 159;
*/
public static final int INVALID_AUTORENEW_ACCOUNT_VALUE = 159;
/**
*
* An adminKey was not specified on the topic, so there must not be an autoRenewAccount.
*
*
* AUTORENEW_ACCOUNT_NOT_ALLOWED = 160;
*/
public static final int AUTORENEW_ACCOUNT_NOT_ALLOWED_VALUE = 160;
/**
*
* The topic has expired, was not automatically renewed, and is in a 7 day grace period before the topic will be
* deleted unrecoverably. This error response code will not be returned until autoRenew functionality is supported
* by HAPI.
*
*
* TOPIC_EXPIRED = 162;
*/
public static final int TOPIC_EXPIRED_VALUE = 162;
/**
*
* chunk number must be from 1 to total (chunks) inclusive.
*
*
* INVALID_CHUNK_NUMBER = 163;
*/
public static final int INVALID_CHUNK_NUMBER_VALUE = 163;
/**
*
* For every chunk, the payer account that is part of initialTransactionID must match the Payer Account of this transaction. The entire initialTransactionID should match the transactionID of the first chunk, but this is not checked or enforced by Hedera except when the chunk number is 1.
*
*
* INVALID_CHUNK_TRANSACTION_ID = 164;
*/
public static final int INVALID_CHUNK_TRANSACTION_ID_VALUE = 164;
/**
* ACCOUNT_FROZEN_FOR_TOKEN = 165;
*/
public static final int ACCOUNT_FROZEN_FOR_TOKEN_VALUE = 165;
/**
* TOKENS_PER_ACCOUNT_LIMIT_EXCEEDED = 166;
*/
public static final int TOKENS_PER_ACCOUNT_LIMIT_EXCEEDED_VALUE = 166;
/**
* INVALID_TOKEN_ID = 167;
*/
public static final int INVALID_TOKEN_ID_VALUE = 167;
/**
* INVALID_TOKEN_DIVISIBILITY = 168;
*/
public static final int INVALID_TOKEN_DIVISIBILITY_VALUE = 168;
/**
* INVALID_TOKEN_FLOAT = 169;
*/
public static final int INVALID_TOKEN_FLOAT_VALUE = 169;
/**
* INVALID_TREASURY_ACCOUNT_FOR_TOKEN = 170;
*/
public static final int INVALID_TREASURY_ACCOUNT_FOR_TOKEN_VALUE = 170;
/**
* INVALID_TOKEN_SYMBOL = 171;
*/
public static final int INVALID_TOKEN_SYMBOL_VALUE = 171;
/**
* TOKEN_HAS_NO_FREEZE_KEY = 172;
*/
public static final int TOKEN_HAS_NO_FREEZE_KEY_VALUE = 172;
/**
* TRANSFERS_NOT_ZERO_SUM_FOR_TOKEN = 173;
*/
public static final int TRANSFERS_NOT_ZERO_SUM_FOR_TOKEN_VALUE = 173;
/**
* MISSING_TOKEN_SYMBOL = 174;
*/
public static final int MISSING_TOKEN_SYMBOL_VALUE = 174;
/**
* TOKEN_SYMBOL_TOO_LONG = 175;
*/
public static final int TOKEN_SYMBOL_TOO_LONG_VALUE = 175;
/**
* TOKEN_SYMBOL_ALREADY_IN_USE = 176;
*/
public static final int TOKEN_SYMBOL_ALREADY_IN_USE_VALUE = 176;
/**
* INVALID_TOKEN_REF = 177;
*/
public static final int INVALID_TOKEN_REF_VALUE = 177;
/**
* ACCOUNT_KYC_NOT_GRANTED_FOR_TOKEN = 178;
*/
public static final int ACCOUNT_KYC_NOT_GRANTED_FOR_TOKEN_VALUE = 178;
/**
* TOKEN_HAS_NO_KYC_KEY = 179;
*/
public static final int TOKEN_HAS_NO_KYC_KEY_VALUE = 179;
/**
* INSUFFICIENT_TOKEN_BALANCE = 180;
*/
public static final int INSUFFICIENT_TOKEN_BALANCE_VALUE = 180;
/**
* TOKEN_WAS_DELETED = 181;
*/
public static final int TOKEN_WAS_DELETED_VALUE = 181;
/**
* TOKEN_HAS_NO_SUPPLY_KEY = 182;
*/
public static final int TOKEN_HAS_NO_SUPPLY_KEY_VALUE = 182;
/**
* TOKEN_HAS_NO_WIPE_KEY = 183;
*/
public static final int TOKEN_HAS_NO_WIPE_KEY_VALUE = 183;
/**
* INVALID_TOKEN_MINT_AMOUNT = 184;
*/
public static final int INVALID_TOKEN_MINT_AMOUNT_VALUE = 184;
/**
* INVALID_TOKEN_BURN_AMOUNT = 185;
*/
public static final int INVALID_TOKEN_BURN_AMOUNT_VALUE = 185;
/**
* ACCOUNT_HAS_NO_TOKEN_RELATIONSHIP = 186;
*/
public static final int ACCOUNT_HAS_NO_TOKEN_RELATIONSHIP_VALUE = 186;
/**
* CANNOT_WIPE_TOKEN_TREASURY_ACCOUNT = 187;
*/
public static final int CANNOT_WIPE_TOKEN_TREASURY_ACCOUNT_VALUE = 187;
/**
* INVALID_KYC_KEY = 188;
*/
public static final int INVALID_KYC_KEY_VALUE = 188;
/**
* INVALID_WIPE_KEY = 189;
*/
public static final int INVALID_WIPE_KEY_VALUE = 189;
/**
* INVALID_FREEZE_KEY = 190;
*/
public static final int INVALID_FREEZE_KEY_VALUE = 190;
/**
* INVALID_SUPPLY_KEY = 191;
*/
public static final int INVALID_SUPPLY_KEY_VALUE = 191;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ResponseCodeEnum valueOf(int value) {
return forNumber(value);
}
public static ResponseCodeEnum forNumber(int value) {
switch (value) {
case 0: return OK;
case 1: return INVALID_TRANSACTION;
case 2: return PAYER_ACCOUNT_NOT_FOUND;
case 3: return INVALID_NODE_ACCOUNT;
case 4: return TRANSACTION_EXPIRED;
case 5: return INVALID_TRANSACTION_START;
case 6: return INVALID_TRANSACTION_DURATION;
case 7: return INVALID_SIGNATURE;
case 8: return MEMO_TOO_LONG;
case 9: return INSUFFICIENT_TX_FEE;
case 10: return INSUFFICIENT_PAYER_BALANCE;
case 11: return DUPLICATE_TRANSACTION;
case 12: return BUSY;
case 13: return NOT_SUPPORTED;
case 14: return INVALID_FILE_ID;
case 15: return INVALID_ACCOUNT_ID;
case 16: return INVALID_CONTRACT_ID;
case 17: return INVALID_TRANSACTION_ID;
case 18: return RECEIPT_NOT_FOUND;
case 19: return RECORD_NOT_FOUND;
case 20: return INVALID_SOLIDITY_ID;
case 21: return UNKNOWN;
case 22: return SUCCESS;
case 23: return FAIL_INVALID;
case 24: return FAIL_FEE;
case 25: return FAIL_BALANCE;
case 26: return KEY_REQUIRED;
case 27: return BAD_ENCODING;
case 28: return INSUFFICIENT_ACCOUNT_BALANCE;
case 29: return INVALID_SOLIDITY_ADDRESS;
case 30: return INSUFFICIENT_GAS;
case 31: return CONTRACT_SIZE_LIMIT_EXCEEDED;
case 32: return LOCAL_CALL_MODIFICATION_EXCEPTION;
case 33: return CONTRACT_REVERT_EXECUTED;
case 34: return CONTRACT_EXECUTION_EXCEPTION;
case 35: return INVALID_RECEIVING_NODE_ACCOUNT;
case 36: return MISSING_QUERY_HEADER;
case 37: return ACCOUNT_UPDATE_FAILED;
case 38: return INVALID_KEY_ENCODING;
case 39: return NULL_SOLIDITY_ADDRESS;
case 40: return CONTRACT_UPDATE_FAILED;
case 41: return INVALID_QUERY_HEADER;
case 42: return INVALID_FEE_SUBMITTED;
case 43: return INVALID_PAYER_SIGNATURE;
case 44: return KEY_NOT_PROVIDED;
case 45: return INVALID_EXPIRATION_TIME;
case 46: return NO_WACL_KEY;
case 47: return FILE_CONTENT_EMPTY;
case 48: return INVALID_ACCOUNT_AMOUNTS;
case 49: return EMPTY_TRANSACTION_BODY;
case 50: return INVALID_TRANSACTION_BODY;
case 51: return INVALID_SIGNATURE_TYPE_MISMATCHING_KEY;
case 52: return INVALID_SIGNATURE_COUNT_MISMATCHING_KEY;
case 53: return EMPTY_LIVE_HASH_BODY;
case 54: return EMPTY_LIVE_HASH;
case 55: return EMPTY_LIVE_HASH_KEYS;
case 56: return INVALID_LIVE_HASH_SIZE;
case 57: return EMPTY_QUERY_BODY;
case 58: return EMPTY_LIVE_HASH_QUERY;
case 59: return LIVE_HASH_NOT_FOUND;
case 60: return ACCOUNT_ID_DOES_NOT_EXIST;
case 61: return LIVE_HASH_ALREADY_EXISTS;
case 62: return INVALID_FILE_WACL;
case 63: return SERIALIZATION_FAILED;
case 64: return TRANSACTION_OVERSIZE;
case 65: return TRANSACTION_TOO_MANY_LAYERS;
case 66: return CONTRACT_DELETED;
case 67: return PLATFORM_NOT_ACTIVE;
case 68: return KEY_PREFIX_MISMATCH;
case 69: return PLATFORM_TRANSACTION_NOT_CREATED;
case 70: return INVALID_RENEWAL_PERIOD;
case 71: return INVALID_PAYER_ACCOUNT_ID;
case 72: return ACCOUNT_DELETED;
case 73: return FILE_DELETED;
case 74: return ACCOUNT_REPEATED_IN_ACCOUNT_AMOUNTS;
case 75: return SETTING_NEGATIVE_ACCOUNT_BALANCE;
case 76: return OBTAINER_REQUIRED;
case 77: return OBTAINER_SAME_CONTRACT_ID;
case 78: return OBTAINER_DOES_NOT_EXIST;
case 79: return MODIFYING_IMMUTABLE_CONTRACT;
case 80: return FILE_SYSTEM_EXCEPTION;
case 81: return AUTORENEW_DURATION_NOT_IN_RANGE;
case 82: return ERROR_DECODING_BYTESTRING;
case 83: return CONTRACT_FILE_EMPTY;
case 84: return CONTRACT_BYTECODE_EMPTY;
case 85: return INVALID_INITIAL_BALANCE;
case 86: return INVALID_RECEIVE_RECORD_THRESHOLD;
case 87: return INVALID_SEND_RECORD_THRESHOLD;
case 88: return ACCOUNT_IS_NOT_GENESIS_ACCOUNT;
case 89: return PAYER_ACCOUNT_UNAUTHORIZED;
case 90: return INVALID_FREEZE_TRANSACTION_BODY;
case 91: return FREEZE_TRANSACTION_BODY_NOT_FOUND;
case 92: return TRANSFER_LIST_SIZE_LIMIT_EXCEEDED;
case 93: return RESULT_SIZE_LIMIT_EXCEEDED;
case 94: return NOT_SPECIAL_ACCOUNT;
case 95: return CONTRACT_NEGATIVE_GAS;
case 96: return CONTRACT_NEGATIVE_VALUE;
case 97: return INVALID_FEE_FILE;
case 98: return INVALID_EXCHANGE_RATE_FILE;
case 99: return INSUFFICIENT_LOCAL_CALL_GAS;
case 100: return ENTITY_NOT_ALLOWED_TO_DELETE;
case 101: return AUTHORIZATION_FAILED;
case 102: return FILE_UPLOADED_PROTO_INVALID;
case 103: return FILE_UPLOADED_PROTO_NOT_SAVED_TO_DISK;
case 104: return FEE_SCHEDULE_FILE_PART_UPLOADED;
case 105: return EXCHANGE_RATE_CHANGE_LIMIT_EXCEEDED;
case 106: return MAX_CONTRACT_STORAGE_EXCEEDED;
case 107: return TRANSFER_ACCOUNT_SAME_AS_DELETE_ACCOUNT;
case 108: return TOTAL_LEDGER_BALANCE_INVALID;
case 110: return EXPIRATION_REDUCTION_NOT_ALLOWED;
case 111: return MAX_GAS_LIMIT_EXCEEDED;
case 112: return MAX_FILE_SIZE_EXCEEDED;
case 150: return INVALID_TOPIC_ID;
case 155: return INVALID_ADMIN_KEY;
case 156: return INVALID_SUBMIT_KEY;
case 157: return UNAUTHORIZED;
case 158: return INVALID_TOPIC_MESSAGE;
case 159: return INVALID_AUTORENEW_ACCOUNT;
case 160: return AUTORENEW_ACCOUNT_NOT_ALLOWED;
case 162: return TOPIC_EXPIRED;
case 163: return INVALID_CHUNK_NUMBER;
case 164: return INVALID_CHUNK_TRANSACTION_ID;
case 165: return ACCOUNT_FROZEN_FOR_TOKEN;
case 166: return TOKENS_PER_ACCOUNT_LIMIT_EXCEEDED;
case 167: return INVALID_TOKEN_ID;
case 168: return INVALID_TOKEN_DIVISIBILITY;
case 169: return INVALID_TOKEN_FLOAT;
case 170: return INVALID_TREASURY_ACCOUNT_FOR_TOKEN;
case 171: return INVALID_TOKEN_SYMBOL;
case 172: return TOKEN_HAS_NO_FREEZE_KEY;
case 173: return TRANSFERS_NOT_ZERO_SUM_FOR_TOKEN;
case 174: return MISSING_TOKEN_SYMBOL;
case 175: return TOKEN_SYMBOL_TOO_LONG;
case 176: return TOKEN_SYMBOL_ALREADY_IN_USE;
case 177: return INVALID_TOKEN_REF;
case 178: return ACCOUNT_KYC_NOT_GRANTED_FOR_TOKEN;
case 179: return TOKEN_HAS_NO_KYC_KEY;
case 180: return INSUFFICIENT_TOKEN_BALANCE;
case 181: return TOKEN_WAS_DELETED;
case 182: return TOKEN_HAS_NO_SUPPLY_KEY;
case 183: return TOKEN_HAS_NO_WIPE_KEY;
case 184: return INVALID_TOKEN_MINT_AMOUNT;
case 185: return INVALID_TOKEN_BURN_AMOUNT;
case 186: return ACCOUNT_HAS_NO_TOKEN_RELATIONSHIP;
case 187: return CANNOT_WIPE_TOKEN_TREASURY_ACCOUNT;
case 188: return INVALID_KYC_KEY;
case 189: return INVALID_WIPE_KEY;
case 190: return INVALID_FREEZE_KEY;
case 191: return INVALID_SUPPLY_KEY;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
ResponseCodeEnum> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public ResponseCodeEnum findValueByNumber(int number) {
return ResponseCodeEnum.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.hederahashgraph.api.proto.java.ResponseCode.getDescriptor().getEnumTypes().get(0);
}
private static final ResponseCodeEnum[] VALUES = values();
public static ResponseCodeEnum valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private ResponseCodeEnum(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:proto.ResponseCodeEnum)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy