hiero-sdk-python 0.0.0.dev2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- hiero_sdk_python/__init__.py +93 -0
- hiero_sdk_python/account/__init__.py +0 -0
- hiero_sdk_python/account/account_balance.py +44 -0
- hiero_sdk_python/account/account_create_transaction.py +173 -0
- hiero_sdk_python/account/account_id.py +62 -0
- hiero_sdk_python/client/__init__.py +0 -0
- hiero_sdk_python/client/client.py +139 -0
- hiero_sdk_python/client/network.py +143 -0
- hiero_sdk_python/consensus/__init__.py +0 -0
- hiero_sdk_python/consensus/topic_create_transaction.py +83 -0
- hiero_sdk_python/consensus/topic_delete_transaction.py +67 -0
- hiero_sdk_python/consensus/topic_id.py +44 -0
- hiero_sdk_python/consensus/topic_info.py +91 -0
- hiero_sdk_python/consensus/topic_message.py +61 -0
- hiero_sdk_python/consensus/topic_message_submit_transaction.py +87 -0
- hiero_sdk_python/consensus/topic_update_transaction.py +173 -0
- hiero_sdk_python/crypto/__init__.py +0 -0
- hiero_sdk_python/crypto/private_key.py +196 -0
- hiero_sdk_python/crypto/public_key.py +162 -0
- hiero_sdk_python/hapi/mirror/__init__.py +0 -0
- hiero_sdk_python/hapi/mirror/consensus_service_pb2.py +44 -0
- hiero_sdk_python/hapi/mirror/consensus_service_pb2_grpc.py +106 -0
- hiero_sdk_python/hapi/mirror/mirror_network_service_pb2.py +41 -0
- hiero_sdk_python/hapi/mirror/mirror_network_service_pb2_grpc.py +108 -0
- hiero_sdk_python/hapi/services/__init__.py +0 -0
- hiero_sdk_python/hapi/services/address_book_service_pb2.py +41 -0
- hiero_sdk_python/hapi/services/address_book_service_pb2.pyi +8 -0
- hiero_sdk_python/hapi/services/address_book_service_pb2_grpc.py +444 -0
- hiero_sdk_python/hapi/services/auxiliary/tss/tss_encryption_key_pb2.py +37 -0
- hiero_sdk_python/hapi/services/auxiliary/tss/tss_encryption_key_pb2.pyi +11 -0
- hiero_sdk_python/hapi/services/auxiliary/tss/tss_encryption_key_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/auxiliary/tss/tss_message_pb2.py +37 -0
- hiero_sdk_python/hapi/services/auxiliary/tss/tss_message_pb2.pyi +17 -0
- hiero_sdk_python/hapi/services/auxiliary/tss/tss_message_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/auxiliary/tss/tss_share_signature_pb2.py +37 -0
- hiero_sdk_python/hapi/services/auxiliary/tss/tss_share_signature_pb2.pyi +17 -0
- hiero_sdk_python/hapi/services/auxiliary/tss/tss_share_signature_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/auxiliary/tss/tss_vote_pb2.py +37 -0
- hiero_sdk_python/hapi/services/auxiliary/tss/tss_vote_pb2.pyi +19 -0
- hiero_sdk_python/hapi/services/auxiliary/tss/tss_vote_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/basic_types_pb2.py +153 -0
- hiero_sdk_python/hapi/services/basic_types_pb2.pyi +694 -0
- hiero_sdk_python/hapi/services/basic_types_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/consensus_create_topic_pb2.py +39 -0
- hiero_sdk_python/hapi/services/consensus_create_topic_pb2.pyi +21 -0
- hiero_sdk_python/hapi/services/consensus_create_topic_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/consensus_delete_topic_pb2.py +38 -0
- hiero_sdk_python/hapi/services/consensus_delete_topic_pb2.pyi +12 -0
- hiero_sdk_python/hapi/services/consensus_delete_topic_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/consensus_get_topic_info_pb2.py +43 -0
- hiero_sdk_python/hapi/services/consensus_get_topic_info_pb2.pyi +27 -0
- hiero_sdk_python/hapi/services/consensus_get_topic_info_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/consensus_service_pb2.py +41 -0
- hiero_sdk_python/hapi/services/consensus_service_pb2.pyi +8 -0
- hiero_sdk_python/hapi/services/consensus_service_pb2_grpc.py +432 -0
- hiero_sdk_python/hapi/services/consensus_submit_message_pb2.py +40 -0
- hiero_sdk_python/hapi/services/consensus_submit_message_pb2.pyi +26 -0
- hiero_sdk_python/hapi/services/consensus_submit_message_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/consensus_topic_info_pb2.py +40 -0
- hiero_sdk_python/hapi/services/consensus_topic_info_pb2.pyi +30 -0
- hiero_sdk_python/hapi/services/consensus_topic_info_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/consensus_update_topic_pb2.py +41 -0
- hiero_sdk_python/hapi/services/consensus_update_topic_pb2.pyi +27 -0
- hiero_sdk_python/hapi/services/consensus_update_topic_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/contract_call_local_pb2.py +52 -0
- hiero_sdk_python/hapi/services/contract_call_local_pb2.pyi +79 -0
- hiero_sdk_python/hapi/services/contract_call_local_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/contract_call_pb2.py +38 -0
- hiero_sdk_python/hapi/services/contract_call_pb2.pyi +18 -0
- hiero_sdk_python/hapi/services/contract_call_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/contract_create_pb2.py +41 -0
- hiero_sdk_python/hapi/services/contract_create_pb2.pyi +45 -0
- hiero_sdk_python/hapi/services/contract_create_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/contract_delete_pb2.py +38 -0
- hiero_sdk_python/hapi/services/contract_delete_pb2.pyi +18 -0
- hiero_sdk_python/hapi/services/contract_delete_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/contract_get_bytecode_pb2.py +42 -0
- hiero_sdk_python/hapi/services/contract_get_bytecode_pb2.pyi +24 -0
- hiero_sdk_python/hapi/services/contract_get_bytecode_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/contract_get_info_pb2.py +48 -0
- hiero_sdk_python/hapi/services/contract_get_info_pb2.pyi +60 -0
- hiero_sdk_python/hapi/services/contract_get_info_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/contract_get_records_pb2.py +47 -0
- hiero_sdk_python/hapi/services/contract_get_records_pb2.pyi +28 -0
- hiero_sdk_python/hapi/services/contract_get_records_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/contract_types_pb2.py +39 -0
- hiero_sdk_python/hapi/services/contract_types_pb2.pyi +15 -0
- hiero_sdk_python/hapi/services/contract_types_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/contract_update_pb2.py +47 -0
- hiero_sdk_python/hapi/services/contract_update_pb2.pyi +39 -0
- hiero_sdk_python/hapi/services/contract_update_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/crypto_add_live_hash_pb2.py +41 -0
- hiero_sdk_python/hapi/services/crypto_add_live_hash_pb2.pyi +25 -0
- hiero_sdk_python/hapi/services/crypto_add_live_hash_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/crypto_approve_allowance_pb2.py +45 -0
- hiero_sdk_python/hapi/services/crypto_approve_allowance_pb2.pyi +56 -0
- hiero_sdk_python/hapi/services/crypto_approve_allowance_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/crypto_create_pb2.py +45 -0
- hiero_sdk_python/hapi/services/crypto_create_pb2.pyi +43 -0
- hiero_sdk_python/hapi/services/crypto_create_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/crypto_delete_allowance_pb2.py +40 -0
- hiero_sdk_python/hapi/services/crypto_delete_allowance_pb2.pyi +23 -0
- hiero_sdk_python/hapi/services/crypto_delete_allowance_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/crypto_delete_live_hash_pb2.py +38 -0
- hiero_sdk_python/hapi/services/crypto_delete_live_hash_pb2.pyi +14 -0
- hiero_sdk_python/hapi/services/crypto_delete_live_hash_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/crypto_delete_pb2.py +38 -0
- hiero_sdk_python/hapi/services/crypto_delete_pb2.pyi +14 -0
- hiero_sdk_python/hapi/services/crypto_delete_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/crypto_get_account_balance_pb2.py +44 -0
- hiero_sdk_python/hapi/services/crypto_get_account_balance_pb2.pyi +31 -0
- hiero_sdk_python/hapi/services/crypto_get_account_balance_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/crypto_get_account_records_pb2.py +43 -0
- hiero_sdk_python/hapi/services/crypto_get_account_records_pb2.pyi +28 -0
- hiero_sdk_python/hapi/services/crypto_get_account_records_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/crypto_get_info_pb2.py +55 -0
- hiero_sdk_python/hapi/services/crypto_get_info_pb2.pyi +73 -0
- hiero_sdk_python/hapi/services/crypto_get_info_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/crypto_get_live_hash_pb2.py +43 -0
- hiero_sdk_python/hapi/services/crypto_get_live_hash_pb2.pyi +27 -0
- hiero_sdk_python/hapi/services/crypto_get_live_hash_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/crypto_get_stakers_pb2.py +46 -0
- hiero_sdk_python/hapi/services/crypto_get_stakers_pb2.pyi +41 -0
- hiero_sdk_python/hapi/services/crypto_get_stakers_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/crypto_service_pb2.py +41 -0
- hiero_sdk_python/hapi/services/crypto_service_pb2.pyi +8 -0
- hiero_sdk_python/hapi/services/crypto_service_pb2_grpc.py +787 -0
- hiero_sdk_python/hapi/services/crypto_transfer_pb2.py +38 -0
- hiero_sdk_python/hapi/services/crypto_transfer_pb2.pyi +15 -0
- hiero_sdk_python/hapi/services/crypto_transfer_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/crypto_update_pb2.py +55 -0
- hiero_sdk_python/hapi/services/crypto_update_pb2.pyi +47 -0
- hiero_sdk_python/hapi/services/crypto_update_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/custom_fees_pb2.py +46 -0
- hiero_sdk_python/hapi/services/custom_fees_pb2.pyi +61 -0
- hiero_sdk_python/hapi/services/custom_fees_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/duration_pb2.py +37 -0
- hiero_sdk_python/hapi/services/duration_pb2.pyi +11 -0
- hiero_sdk_python/hapi/services/duration_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/ethereum_transaction_pb2.py +38 -0
- hiero_sdk_python/hapi/services/ethereum_transaction_pb2.pyi +16 -0
- hiero_sdk_python/hapi/services/ethereum_transaction_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/event/event_consensus_data_pb2.py +40 -0
- hiero_sdk_python/hapi/services/event/event_consensus_data_pb2.pyi +16 -0
- hiero_sdk_python/hapi/services/event/event_consensus_data_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/event/event_core_pb2.py +40 -0
- hiero_sdk_python/hapi/services/event/event_core_pb2.pyi +23 -0
- hiero_sdk_python/hapi/services/event/event_core_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/event/event_descriptor_pb2.py +37 -0
- hiero_sdk_python/hapi/services/event/event_descriptor_pb2.pyi +17 -0
- hiero_sdk_python/hapi/services/event/event_descriptor_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/event/event_transaction_pb2.py +38 -0
- hiero_sdk_python/hapi/services/event/event_transaction_pb2.pyi +14 -0
- hiero_sdk_python/hapi/services/event/event_transaction_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/event/gossip_event_pb2.py +41 -0
- hiero_sdk_python/hapi/services/event/gossip_event_pb2.pyi +20 -0
- hiero_sdk_python/hapi/services/event/gossip_event_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/event/state_signature_transaction_pb2.py +37 -0
- hiero_sdk_python/hapi/services/event/state_signature_transaction_pb2.pyi +15 -0
- hiero_sdk_python/hapi/services/event/state_signature_transaction_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/exchange_rate_pb2.py +40 -0
- hiero_sdk_python/hapi/services/exchange_rate_pb2.pyi +24 -0
- hiero_sdk_python/hapi/services/exchange_rate_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/file_append_pb2.py +38 -0
- hiero_sdk_python/hapi/services/file_append_pb2.pyi +14 -0
- hiero_sdk_python/hapi/services/file_append_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/file_create_pb2.py +39 -0
- hiero_sdk_python/hapi/services/file_create_pb2.pyi +25 -0
- hiero_sdk_python/hapi/services/file_create_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/file_delete_pb2.py +38 -0
- hiero_sdk_python/hapi/services/file_delete_pb2.pyi +12 -0
- hiero_sdk_python/hapi/services/file_delete_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/file_get_contents_pb2.py +44 -0
- hiero_sdk_python/hapi/services/file_get_contents_pb2.pyi +31 -0
- hiero_sdk_python/hapi/services/file_get_contents_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/file_get_info_pb2.py +45 -0
- hiero_sdk_python/hapi/services/file_get_info_pb2.pyi +42 -0
- hiero_sdk_python/hapi/services/file_get_info_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/file_service_pb2.py +41 -0
- hiero_sdk_python/hapi/services/file_service_pb2.pyi +8 -0
- hiero_sdk_python/hapi/services/file_service_pb2_grpc.py +423 -0
- hiero_sdk_python/hapi/services/file_update_pb2.py +40 -0
- hiero_sdk_python/hapi/services/file_update_pb2.pyi +22 -0
- hiero_sdk_python/hapi/services/file_update_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/freeze_pb2.py +48 -0
- hiero_sdk_python/hapi/services/freeze_pb2.pyi +28 -0
- hiero_sdk_python/hapi/services/freeze_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/freeze_service_pb2.py +39 -0
- hiero_sdk_python/hapi/services/freeze_service_pb2.pyi +6 -0
- hiero_sdk_python/hapi/services/freeze_service_pb2_grpc.py +107 -0
- hiero_sdk_python/hapi/services/freeze_type_pb2.py +37 -0
- hiero_sdk_python/hapi/services/freeze_type_pb2.pyi +20 -0
- hiero_sdk_python/hapi/services/freeze_type_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/get_account_details_pb2.py +56 -0
- hiero_sdk_python/hapi/services/get_account_details_pb2.pyi +96 -0
- hiero_sdk_python/hapi/services/get_account_details_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/get_by_key_pb2.py +45 -0
- hiero_sdk_python/hapi/services/get_by_key_pb2.pyi +38 -0
- hiero_sdk_python/hapi/services/get_by_key_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/get_by_solidity_id_pb2.py +42 -0
- hiero_sdk_python/hapi/services/get_by_solidity_id_pb2.pyi +28 -0
- hiero_sdk_python/hapi/services/get_by_solidity_id_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/network_get_execution_time_pb2.py +42 -0
- hiero_sdk_python/hapi/services/network_get_execution_time_pb2.pyi +25 -0
- hiero_sdk_python/hapi/services/network_get_execution_time_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/network_get_version_info_pb2.py +42 -0
- hiero_sdk_python/hapi/services/network_get_version_info_pb2.pyi +24 -0
- hiero_sdk_python/hapi/services/network_get_version_info_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/network_service_pb2.py +41 -0
- hiero_sdk_python/hapi/services/network_service_pb2.pyi +8 -0
- hiero_sdk_python/hapi/services/network_service_pb2_grpc.py +250 -0
- hiero_sdk_python/hapi/services/node_create_pb2.py +38 -0
- hiero_sdk_python/hapi/services/node_create_pb2.pyi +25 -0
- hiero_sdk_python/hapi/services/node_create_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/node_delete_pb2.py +37 -0
- hiero_sdk_python/hapi/services/node_delete_pb2.pyi +11 -0
- hiero_sdk_python/hapi/services/node_delete_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/node_stake_update_pb2.py +43 -0
- hiero_sdk_python/hapi/services/node_stake_update_pb2.pyi +58 -0
- hiero_sdk_python/hapi/services/node_stake_update_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/node_update_pb2.py +39 -0
- hiero_sdk_python/hapi/services/node_update_pb2.pyi +28 -0
- hiero_sdk_python/hapi/services/node_update_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/query_header_pb2.py +40 -0
- hiero_sdk_python/hapi/services/query_header_pb2.pyi +26 -0
- hiero_sdk_python/hapi/services/query_header_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/query_pb2.py +62 -0
- hiero_sdk_python/hapi/services/query_pb2.pyi +84 -0
- hiero_sdk_python/hapi/services/query_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/response_code_pb2.py +53 -0
- hiero_sdk_python/hapi/services/response_code_pb2.pyi +674 -0
- hiero_sdk_python/hapi/services/response_code_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/response_header_pb2.py +39 -0
- hiero_sdk_python/hapi/services/response_header_pb2.pyi +19 -0
- hiero_sdk_python/hapi/services/response_header_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/response_pb2.py +62 -0
- hiero_sdk_python/hapi/services/response_pb2.pyi +84 -0
- hiero_sdk_python/hapi/services/response_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/schedulable_transaction_body_pb2.py +83 -0
- hiero_sdk_python/hapi/services/schedulable_transaction_body_pb2.pyi +151 -0
- hiero_sdk_python/hapi/services/schedulable_transaction_body_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/schedule_create_pb2.py +40 -0
- hiero_sdk_python/hapi/services/schedule_create_pb2.pyi +24 -0
- hiero_sdk_python/hapi/services/schedule_create_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/schedule_delete_pb2.py +38 -0
- hiero_sdk_python/hapi/services/schedule_delete_pb2.pyi +12 -0
- hiero_sdk_python/hapi/services/schedule_delete_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/schedule_get_info_pb2.py +46 -0
- hiero_sdk_python/hapi/services/schedule_get_info_pb2.pyi +56 -0
- hiero_sdk_python/hapi/services/schedule_get_info_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/schedule_service_pb2.py +41 -0
- hiero_sdk_python/hapi/services/schedule_service_pb2.pyi +8 -0
- hiero_sdk_python/hapi/services/schedule_service_pb2_grpc.py +402 -0
- hiero_sdk_python/hapi/services/schedule_sign_pb2.py +38 -0
- hiero_sdk_python/hapi/services/schedule_sign_pb2.pyi +12 -0
- hiero_sdk_python/hapi/services/schedule_sign_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/smart_contract_service_pb2.py +43 -0
- hiero_sdk_python/hapi/services/smart_contract_service_pb2.pyi +8 -0
- hiero_sdk_python/hapi/services/smart_contract_service_pb2_grpc.py +604 -0
- hiero_sdk_python/hapi/services/system_delete_pb2.py +39 -0
- hiero_sdk_python/hapi/services/system_delete_pb2.pyi +17 -0
- hiero_sdk_python/hapi/services/system_delete_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/system_undelete_pb2.py +38 -0
- hiero_sdk_python/hapi/services/system_undelete_pb2.pyi +14 -0
- hiero_sdk_python/hapi/services/system_undelete_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/throttle_definitions_pb2.py +42 -0
- hiero_sdk_python/hapi/services/throttle_definitions_pb2.pyi +31 -0
- hiero_sdk_python/hapi/services/throttle_definitions_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/timestamp_pb2.py +39 -0
- hiero_sdk_python/hapi/services/timestamp_pb2.pyi +19 -0
- hiero_sdk_python/hapi/services/timestamp_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/token_airdrop_pb2.py +38 -0
- hiero_sdk_python/hapi/services/token_airdrop_pb2.pyi +13 -0
- hiero_sdk_python/hapi/services/token_airdrop_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/token_associate_pb2.py +38 -0
- hiero_sdk_python/hapi/services/token_associate_pb2.pyi +15 -0
- hiero_sdk_python/hapi/services/token_associate_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/token_burn_pb2.py +38 -0
- hiero_sdk_python/hapi/services/token_burn_pb2.pyi +17 -0
- hiero_sdk_python/hapi/services/token_burn_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/token_cancel_airdrop_pb2.py +38 -0
- hiero_sdk_python/hapi/services/token_cancel_airdrop_pb2.pyi +13 -0
- hiero_sdk_python/hapi/services/token_cancel_airdrop_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/token_claim_airdrop_pb2.py +38 -0
- hiero_sdk_python/hapi/services/token_claim_airdrop_pb2.pyi +13 -0
- hiero_sdk_python/hapi/services/token_claim_airdrop_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/token_create_pb2.py +41 -0
- hiero_sdk_python/hapi/services/token_create_pb2.pyi +60 -0
- hiero_sdk_python/hapi/services/token_create_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/token_delete_pb2.py +38 -0
- hiero_sdk_python/hapi/services/token_delete_pb2.pyi +12 -0
- hiero_sdk_python/hapi/services/token_delete_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/token_dissociate_pb2.py +38 -0
- hiero_sdk_python/hapi/services/token_dissociate_pb2.pyi +15 -0
- hiero_sdk_python/hapi/services/token_dissociate_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/token_fee_schedule_update_pb2.py +39 -0
- hiero_sdk_python/hapi/services/token_fee_schedule_update_pb2.pyi +16 -0
- hiero_sdk_python/hapi/services/token_fee_schedule_update_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/token_freeze_account_pb2.py +38 -0
- hiero_sdk_python/hapi/services/token_freeze_account_pb2.pyi +14 -0
- hiero_sdk_python/hapi/services/token_freeze_account_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/token_get_account_nft_infos_pb2.py +43 -0
- hiero_sdk_python/hapi/services/token_get_account_nft_infos_pb2.pyi +30 -0
- hiero_sdk_python/hapi/services/token_get_account_nft_infos_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/token_get_info_pb2.py +47 -0
- hiero_sdk_python/hapi/services/token_get_info_pb2.pyi +88 -0
- hiero_sdk_python/hapi/services/token_get_info_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/token_get_nft_info_pb2.py +45 -0
- hiero_sdk_python/hapi/services/token_get_nft_info_pb2.pyi +41 -0
- hiero_sdk_python/hapi/services/token_get_nft_info_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/token_get_nft_infos_pb2.py +43 -0
- hiero_sdk_python/hapi/services/token_get_nft_infos_pb2.pyi +32 -0
- hiero_sdk_python/hapi/services/token_get_nft_infos_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/token_grant_kyc_pb2.py +38 -0
- hiero_sdk_python/hapi/services/token_grant_kyc_pb2.pyi +14 -0
- hiero_sdk_python/hapi/services/token_grant_kyc_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/token_mint_pb2.py +38 -0
- hiero_sdk_python/hapi/services/token_mint_pb2.pyi +17 -0
- hiero_sdk_python/hapi/services/token_mint_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/token_pause_pb2.py +38 -0
- hiero_sdk_python/hapi/services/token_pause_pb2.pyi +12 -0
- hiero_sdk_python/hapi/services/token_pause_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/token_reject_pb2.py +40 -0
- hiero_sdk_python/hapi/services/token_reject_pb2.pyi +23 -0
- hiero_sdk_python/hapi/services/token_reject_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/token_revoke_kyc_pb2.py +38 -0
- hiero_sdk_python/hapi/services/token_revoke_kyc_pb2.pyi +14 -0
- hiero_sdk_python/hapi/services/token_revoke_kyc_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/token_service_pb2.py +45 -0
- hiero_sdk_python/hapi/services/token_service_pb2.pyi +8 -0
- hiero_sdk_python/hapi/services/token_service_pb2_grpc.py +1179 -0
- hiero_sdk_python/hapi/services/token_unfreeze_account_pb2.py +38 -0
- hiero_sdk_python/hapi/services/token_unfreeze_account_pb2.pyi +14 -0
- hiero_sdk_python/hapi/services/token_unfreeze_account_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/token_unpause_pb2.py +38 -0
- hiero_sdk_python/hapi/services/token_unpause_pb2.pyi +12 -0
- hiero_sdk_python/hapi/services/token_unpause_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/token_update_nfts_pb2.py +39 -0
- hiero_sdk_python/hapi/services/token_update_nfts_pb2.pyi +18 -0
- hiero_sdk_python/hapi/services/token_update_nfts_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/token_update_pb2.py +41 -0
- hiero_sdk_python/hapi/services/token_update_pb2.pyi +49 -0
- hiero_sdk_python/hapi/services/token_update_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/token_wipe_account_pb2.py +38 -0
- hiero_sdk_python/hapi/services/token_wipe_account_pb2.pyi +19 -0
- hiero_sdk_python/hapi/services/token_wipe_account_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/transaction_body_pb2.py +99 -0
- hiero_sdk_python/hapi/services/transaction_body_pb2.pyi +197 -0
- hiero_sdk_python/hapi/services/transaction_body_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/transaction_contents_pb2.py +38 -0
- hiero_sdk_python/hapi/services/transaction_contents_pb2.pyi +14 -0
- hiero_sdk_python/hapi/services/transaction_contents_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/transaction_get_fast_record_pb2.py +43 -0
- hiero_sdk_python/hapi/services/transaction_get_fast_record_pb2.pyi +25 -0
- hiero_sdk_python/hapi/services/transaction_get_fast_record_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/transaction_get_receipt_pb2.py +43 -0
- hiero_sdk_python/hapi/services/transaction_get_receipt_pb2.pyi +34 -0
- hiero_sdk_python/hapi/services/transaction_get_receipt_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/transaction_get_record_pb2.py +43 -0
- hiero_sdk_python/hapi/services/transaction_get_record_pb2.pyi +34 -0
- hiero_sdk_python/hapi/services/transaction_get_record_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/transaction_pb2.py +47 -0
- hiero_sdk_python/hapi/services/transaction_pb2.pyi +21 -0
- hiero_sdk_python/hapi/services/transaction_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/transaction_receipt_pb2.py +40 -0
- hiero_sdk_python/hapi/services/transaction_receipt_pb2.pyi +43 -0
- hiero_sdk_python/hapi/services/transaction_receipt_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/transaction_record_pb2.py +45 -0
- hiero_sdk_python/hapi/services/transaction_record_pb2.pyi +66 -0
- hiero_sdk_python/hapi/services/transaction_record_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/transaction_response_pb2.py +38 -0
- hiero_sdk_python/hapi/services/transaction_response_pb2.pyi +14 -0
- hiero_sdk_python/hapi/services/transaction_response_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/unchecked_submit_pb2.py +37 -0
- hiero_sdk_python/hapi/services/unchecked_submit_pb2.pyi +11 -0
- hiero_sdk_python/hapi/services/unchecked_submit_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/util_prng_pb2.py +37 -0
- hiero_sdk_python/hapi/services/util_prng_pb2.pyi +11 -0
- hiero_sdk_python/hapi/services/util_prng_pb2_grpc.py +24 -0
- hiero_sdk_python/hapi/services/util_service_pb2.py +39 -0
- hiero_sdk_python/hapi/services/util_service_pb2.pyi +6 -0
- hiero_sdk_python/hapi/services/util_service_pb2_grpc.py +106 -0
- hiero_sdk_python/hbar.py +33 -0
- hiero_sdk_python/query/__init__.py +0 -0
- hiero_sdk_python/query/account_balance_query.py +100 -0
- hiero_sdk_python/query/query.py +138 -0
- hiero_sdk_python/query/topic_info_query.py +105 -0
- hiero_sdk_python/query/topic_message_query.py +105 -0
- hiero_sdk_python/query/transaction_get_receipt_query.py +128 -0
- hiero_sdk_python/response_code.py +587 -0
- hiero_sdk_python/timestamp.py +166 -0
- hiero_sdk_python/tokens/__init__.py +0 -0
- hiero_sdk_python/tokens/token_associate_transaction.py +85 -0
- hiero_sdk_python/tokens/token_create_transaction.py +144 -0
- hiero_sdk_python/tokens/token_delete_transaction.py +84 -0
- hiero_sdk_python/tokens/token_dissociate_transaction.py +81 -0
- hiero_sdk_python/tokens/token_id.py +44 -0
- hiero_sdk_python/tokens/token_mint_transaction.py +143 -0
- hiero_sdk_python/transaction/__init__.py +0 -0
- hiero_sdk_python/transaction/query_payment.py +32 -0
- hiero_sdk_python/transaction/transaction.py +267 -0
- hiero_sdk_python/transaction/transaction_id.py +140 -0
- hiero_sdk_python/transaction/transaction_receipt.py +78 -0
- hiero_sdk_python/transaction/transfer_transaction.py +119 -0
- hiero_sdk_python/utils/key_format.py +22 -0
- hiero_sdk_python-0.0.0.dev2.dist-info/METADATA +822 -0
- hiero_sdk_python-0.0.0.dev2.dist-info/RECORD +410 -0
- hiero_sdk_python-0.0.0.dev2.dist-info/WHEEL +4 -0
- hiero_sdk_python-0.0.0.dev2.dist-info/entry_points.txt +4 -0
- hiero_sdk_python-0.0.0.dev2.dist-info/licenses/LICENSE +201 -0
|
@@ -0,0 +1,587 @@
|
|
|
1
|
+
class ResponseCode:
|
|
2
|
+
OK = 0
|
|
3
|
+
INVALID_TRANSACTION = 1
|
|
4
|
+
PAYER_ACCOUNT_NOT_FOUND = 2
|
|
5
|
+
INVALID_NODE_ACCOUNT = 3
|
|
6
|
+
TRANSACTION_EXPIRED = 4
|
|
7
|
+
INVALID_TRANSACTION_START = 5
|
|
8
|
+
INVALID_TRANSACTION_DURATION = 6
|
|
9
|
+
INVALID_SIGNATURE = 7
|
|
10
|
+
MEMO_TOO_LONG = 8
|
|
11
|
+
INSUFFICIENT_TX_FEE = 9
|
|
12
|
+
INSUFFICIENT_PAYER_BALANCE = 10
|
|
13
|
+
DUPLICATE_TRANSACTION = 11
|
|
14
|
+
BUSY = 12
|
|
15
|
+
NOT_SUPPORTED = 13
|
|
16
|
+
INVALID_FILE_ID = 14
|
|
17
|
+
INVALID_ACCOUNT_ID = 15
|
|
18
|
+
INVALID_CONTRACT_ID = 16
|
|
19
|
+
INVALID_TRANSACTION_ID = 17
|
|
20
|
+
RECEIPT_NOT_FOUND = 18
|
|
21
|
+
RECORD_NOT_FOUND = 19
|
|
22
|
+
INVALID_SOLIDITY_ID = 20
|
|
23
|
+
UNKNOWN = 21
|
|
24
|
+
SUCCESS = 22
|
|
25
|
+
FAIL_INVALID = 23
|
|
26
|
+
FAIL_FEE = 24
|
|
27
|
+
FAIL_BALANCE = 25
|
|
28
|
+
KEY_REQUIRED = 26
|
|
29
|
+
BAD_ENCODING = 27
|
|
30
|
+
INSUFFICIENT_ACCOUNT_BALANCE = 28
|
|
31
|
+
INVALID_SOLIDITY_ADDRESS = 29
|
|
32
|
+
INSUFFICIENT_GAS = 30
|
|
33
|
+
CONTRACT_SIZE_LIMIT_EXCEEDED = 31
|
|
34
|
+
LOCAL_CALL_MODIFICATION_EXCEPTION = 32
|
|
35
|
+
CONTRACT_REVERT_EXECUTED = 33
|
|
36
|
+
CONTRACT_EXECUTION_EXCEPTION = 34
|
|
37
|
+
INVALID_RECEIVING_NODE_ACCOUNT = 35
|
|
38
|
+
MISSING_QUERY_HEADER = 36
|
|
39
|
+
ACCOUNT_UPDATE_FAILED = 37
|
|
40
|
+
INVALID_KEY_ENCODING = 38
|
|
41
|
+
NULL_SOLIDITY_ADDRESS = 39
|
|
42
|
+
CONTRACT_UPDATE_FAILED = 40
|
|
43
|
+
INVALID_QUERY_HEADER = 41
|
|
44
|
+
INVALID_FEE_SUBMITTED = 42
|
|
45
|
+
INVALID_PAYER_SIGNATURE = 43
|
|
46
|
+
KEY_NOT_PROVIDED = 44
|
|
47
|
+
INVALID_EXPIRATION_TIME = 45
|
|
48
|
+
NO_WACL_KEY = 46
|
|
49
|
+
FILE_CONTENT_EMPTY = 47
|
|
50
|
+
INVALID_ACCOUNT_AMOUNTS = 48
|
|
51
|
+
EMPTY_TRANSACTION_BODY = 49
|
|
52
|
+
INVALID_TRANSACTION_BODY = 50
|
|
53
|
+
INVALID_SIGNATURE_TYPE_MISMATCHING_KEY = 51
|
|
54
|
+
INVALID_SIGNATURE_COUNT_MISMATCHING_KEY = 52
|
|
55
|
+
EMPTY_LIVE_HASH_BODY = 53
|
|
56
|
+
EMPTY_LIVE_HASH = 54
|
|
57
|
+
EMPTY_LIVE_HASH_KEYS = 55
|
|
58
|
+
INVALID_LIVE_HASH_SIZE = 56
|
|
59
|
+
EMPTY_QUERY_BODY = 57
|
|
60
|
+
EMPTY_LIVE_HASH_QUERY = 58
|
|
61
|
+
LIVE_HASH_NOT_FOUND = 59
|
|
62
|
+
ACCOUNT_ID_DOES_NOT_EXIST = 60
|
|
63
|
+
LIVE_HASH_ALREADY_EXISTS = 61
|
|
64
|
+
INVALID_FILE_WACL = 62
|
|
65
|
+
SERIALIZATION_FAILED = 63
|
|
66
|
+
TRANSACTION_OVERSIZE = 64
|
|
67
|
+
TRANSACTION_TOO_MANY_LAYERS = 65
|
|
68
|
+
CONTRACT_DELETED = 66
|
|
69
|
+
PLATFORM_NOT_ACTIVE = 67
|
|
70
|
+
KEY_PREFIX_MISMATCH = 68
|
|
71
|
+
PLATFORM_TRANSACTION_NOT_CREATED = 69
|
|
72
|
+
INVALID_RENEWAL_PERIOD = 70
|
|
73
|
+
INVALID_PAYER_ACCOUNT_ID = 71
|
|
74
|
+
ACCOUNT_DELETED = 72
|
|
75
|
+
FILE_DELETED = 73
|
|
76
|
+
ACCOUNT_REPEATED_IN_ACCOUNT_AMOUNTS = 74
|
|
77
|
+
SETTING_NEGATIVE_ACCOUNT_BALANCE = 75
|
|
78
|
+
OBTAINER_REQUIRED = 76
|
|
79
|
+
OBTAINER_SAME_CONTRACT_ID = 77
|
|
80
|
+
OBTAINER_DOES_NOT_EXIST = 78
|
|
81
|
+
MODIFYING_IMMUTABLE_CONTRACT = 79
|
|
82
|
+
FILE_SYSTEM_EXCEPTION = 80
|
|
83
|
+
AUTORENEW_DURATION_NOT_IN_RANGE = 81
|
|
84
|
+
ERROR_DECODING_BYTESTRING = 82
|
|
85
|
+
CONTRACT_FILE_EMPTY = 83
|
|
86
|
+
CONTRACT_BYTECODE_EMPTY = 84
|
|
87
|
+
INVALID_INITIAL_BALANCE = 85
|
|
88
|
+
INVALID_RECEIVE_RECORD_THRESHOLD = 86 # [Deprecated]
|
|
89
|
+
INVALID_SEND_RECORD_THRESHOLD = 87 # [Deprecated]
|
|
90
|
+
ACCOUNT_IS_NOT_GENESIS_ACCOUNT = 88
|
|
91
|
+
PAYER_ACCOUNT_UNAUTHORIZED = 89
|
|
92
|
+
INVALID_FREEZE_TRANSACTION_BODY = 90
|
|
93
|
+
FREEZE_TRANSACTION_BODY_NOT_FOUND = 91
|
|
94
|
+
TRANSFER_LIST_SIZE_LIMIT_EXCEEDED = 92
|
|
95
|
+
RESULT_SIZE_LIMIT_EXCEEDED = 93
|
|
96
|
+
NOT_SPECIAL_ACCOUNT = 94
|
|
97
|
+
CONTRACT_NEGATIVE_GAS = 95
|
|
98
|
+
CONTRACT_NEGATIVE_VALUE = 96
|
|
99
|
+
INVALID_FEE_FILE = 97
|
|
100
|
+
INVALID_EXCHANGE_RATE_FILE = 98
|
|
101
|
+
INSUFFICIENT_LOCAL_CALL_GAS = 99
|
|
102
|
+
ENTITY_NOT_ALLOWED_TO_DELETE = 100
|
|
103
|
+
AUTHORIZATION_FAILED = 101
|
|
104
|
+
FILE_UPLOADED_PROTO_INVALID = 102
|
|
105
|
+
FILE_UPLOADED_PROTO_NOT_SAVED_TO_DISK = 103
|
|
106
|
+
FEE_SCHEDULE_FILE_PART_UPLOADED = 104
|
|
107
|
+
EXCHANGE_RATE_CHANGE_LIMIT_EXCEEDED = 105
|
|
108
|
+
MAX_CONTRACT_STORAGE_EXCEEDED = 106
|
|
109
|
+
TRANSFER_ACCOUNT_SAME_AS_DELETE_ACCOUNT = 107
|
|
110
|
+
TOTAL_LEDGER_BALANCE_INVALID = 108
|
|
111
|
+
EXPIRATION_REDUCTION_NOT_ALLOWED = 110
|
|
112
|
+
MAX_GAS_LIMIT_EXCEEDED = 111
|
|
113
|
+
MAX_FILE_SIZE_EXCEEDED = 112
|
|
114
|
+
|
|
115
|
+
INVALID_TOPIC_ID = 150
|
|
116
|
+
INVALID_ADMIN_KEY = 155
|
|
117
|
+
INVALID_SUBMIT_KEY = 156
|
|
118
|
+
UNAUTHORIZED = 157
|
|
119
|
+
INVALID_TOPIC_MESSAGE = 158
|
|
120
|
+
INVALID_AUTORENEW_ACCOUNT = 159
|
|
121
|
+
AUTORENEW_ACCOUNT_NOT_ALLOWED = 160
|
|
122
|
+
TOPIC_EXPIRED = 162
|
|
123
|
+
INVALID_CHUNK_NUMBER = 163
|
|
124
|
+
INVALID_CHUNK_TRANSACTION_ID = 164
|
|
125
|
+
ACCOUNT_FROZEN_FOR_TOKEN = 165
|
|
126
|
+
TOKENS_PER_ACCOUNT_LIMIT_EXCEEDED = 166
|
|
127
|
+
INVALID_TOKEN_ID = 167
|
|
128
|
+
INVALID_TOKEN_DECIMALS = 168
|
|
129
|
+
INVALID_TOKEN_INITIAL_SUPPLY = 169
|
|
130
|
+
INVALID_TREASURY_ACCOUNT_FOR_TOKEN = 170
|
|
131
|
+
INVALID_TOKEN_SYMBOL = 171
|
|
132
|
+
TOKEN_HAS_NO_FREEZE_KEY = 172
|
|
133
|
+
TRANSFERS_NOT_ZERO_SUM_FOR_TOKEN = 173
|
|
134
|
+
MISSING_TOKEN_SYMBOL = 174
|
|
135
|
+
TOKEN_SYMBOL_TOO_LONG = 175
|
|
136
|
+
ACCOUNT_KYC_NOT_GRANTED_FOR_TOKEN = 176
|
|
137
|
+
TOKEN_HAS_NO_KYC_KEY = 177
|
|
138
|
+
INSUFFICIENT_TOKEN_BALANCE = 178
|
|
139
|
+
TOKEN_WAS_DELETED = 179
|
|
140
|
+
TOKEN_HAS_NO_SUPPLY_KEY = 180
|
|
141
|
+
TOKEN_HAS_NO_WIPE_KEY = 181
|
|
142
|
+
INVALID_TOKEN_MINT_AMOUNT = 182
|
|
143
|
+
INVALID_TOKEN_BURN_AMOUNT = 183
|
|
144
|
+
TOKEN_NOT_ASSOCIATED_TO_ACCOUNT = 184
|
|
145
|
+
CANNOT_WIPE_TOKEN_TREASURY_ACCOUNT = 185
|
|
146
|
+
INVALID_KYC_KEY = 186
|
|
147
|
+
INVALID_WIPE_KEY = 187
|
|
148
|
+
INVALID_FREEZE_KEY = 188
|
|
149
|
+
INVALID_SUPPLY_KEY = 189
|
|
150
|
+
MISSING_TOKEN_NAME = 190
|
|
151
|
+
TOKEN_NAME_TOO_LONG = 191
|
|
152
|
+
INVALID_WIPING_AMOUNT = 192
|
|
153
|
+
TOKEN_IS_IMMUTABLE = 193
|
|
154
|
+
TOKEN_ALREADY_ASSOCIATED_TO_ACCOUNT = 194
|
|
155
|
+
TRANSACTION_REQUIRES_ZERO_TOKEN_BALANCES = 195
|
|
156
|
+
ACCOUNT_IS_TREASURY = 196
|
|
157
|
+
TOKEN_ID_REPEATED_IN_TOKEN_LIST = 197
|
|
158
|
+
TOKEN_TRANSFER_LIST_SIZE_LIMIT_EXCEEDED = 198
|
|
159
|
+
EMPTY_TOKEN_TRANSFER_BODY = 199
|
|
160
|
+
EMPTY_TOKEN_TRANSFER_ACCOUNT_AMOUNTS = 200
|
|
161
|
+
INVALID_SCHEDULE_ID = 201
|
|
162
|
+
SCHEDULE_IS_IMMUTABLE = 202
|
|
163
|
+
INVALID_SCHEDULE_PAYER_ID = 203
|
|
164
|
+
INVALID_SCHEDULE_ACCOUNT_ID = 204
|
|
165
|
+
NO_NEW_VALID_SIGNATURES = 205
|
|
166
|
+
UNRESOLVABLE_REQUIRED_SIGNERS = 206
|
|
167
|
+
SCHEDULED_TRANSACTION_NOT_IN_WHITELIST = 207
|
|
168
|
+
SOME_SIGNATURES_WERE_INVALID = 208
|
|
169
|
+
TRANSACTION_ID_FIELD_NOT_ALLOWED = 209
|
|
170
|
+
IDENTICAL_SCHEDULE_ALREADY_CREATED = 210
|
|
171
|
+
INVALID_ZERO_BYTE_IN_STRING = 211
|
|
172
|
+
SCHEDULE_ALREADY_DELETED = 212
|
|
173
|
+
SCHEDULE_ALREADY_EXECUTED = 213
|
|
174
|
+
MESSAGE_SIZE_TOO_LARGE = 214
|
|
175
|
+
OPERATION_REPEATED_IN_BUCKET_GROUPS = 215
|
|
176
|
+
BUCKET_CAPACITY_OVERFLOW = 216
|
|
177
|
+
NODE_CAPACITY_NOT_SUFFICIENT_FOR_OPERATION = 217
|
|
178
|
+
BUCKET_HAS_NO_THROTTLE_GROUPS = 218
|
|
179
|
+
THROTTLE_GROUP_HAS_ZERO_OPS_PER_SEC = 219
|
|
180
|
+
SUCCESS_BUT_MISSING_EXPECTED_OPERATION = 220
|
|
181
|
+
UNPARSEABLE_THROTTLE_DEFINITIONS = 221
|
|
182
|
+
INVALID_THROTTLE_DEFINITIONS = 222
|
|
183
|
+
ACCOUNT_EXPIRED_AND_PENDING_REMOVAL = 223
|
|
184
|
+
INVALID_TOKEN_MAX_SUPPLY = 224
|
|
185
|
+
INVALID_TOKEN_NFT_SERIAL_NUMBER = 225
|
|
186
|
+
INVALID_NFT_ID = 226
|
|
187
|
+
METADATA_TOO_LONG = 227
|
|
188
|
+
BATCH_SIZE_LIMIT_EXCEEDED = 228
|
|
189
|
+
INVALID_QUERY_RANGE = 229
|
|
190
|
+
FRACTION_DIVIDES_BY_ZERO = 230
|
|
191
|
+
INSUFFICIENT_PAYER_BALANCE_FOR_CUSTOM_FEE = 231
|
|
192
|
+
CUSTOM_FEES_LIST_TOO_LONG = 232
|
|
193
|
+
INVALID_CUSTOM_FEE_COLLECTOR = 233
|
|
194
|
+
INVALID_TOKEN_ID_IN_CUSTOM_FEES = 234
|
|
195
|
+
TOKEN_NOT_ASSOCIATED_TO_FEE_COLLECTOR = 235
|
|
196
|
+
TOKEN_MAX_SUPPLY_REACHED = 236
|
|
197
|
+
SENDER_DOES_NOT_OWN_NFT_SERIAL_NO = 237
|
|
198
|
+
CUSTOM_FEE_NOT_FULLY_SPECIFIED = 238
|
|
199
|
+
CUSTOM_FEE_MUST_BE_POSITIVE = 239
|
|
200
|
+
TOKEN_HAS_NO_FEE_SCHEDULE_KEY = 240
|
|
201
|
+
CUSTOM_FEE_OUTSIDE_NUMERIC_RANGE = 241
|
|
202
|
+
ROYALTY_FRACTION_CANNOT_EXCEED_ONE = 242
|
|
203
|
+
FRACTIONAL_FEE_MAX_AMOUNT_LESS_THAN_MIN_AMOUNT = 243
|
|
204
|
+
CUSTOM_SCHEDULE_ALREADY_HAS_NO_FEES = 244
|
|
205
|
+
CUSTOM_FEE_DENOMINATION_MUST_BE_FUNGIBLE_COMMON = 245
|
|
206
|
+
CUSTOM_FRACTIONAL_FEE_ONLY_ALLOWED_FOR_FUNGIBLE_COMMON = 246
|
|
207
|
+
INVALID_CUSTOM_FEE_SCHEDULE_KEY = 247
|
|
208
|
+
INVALID_TOKEN_MINT_METADATA = 248
|
|
209
|
+
INVALID_TOKEN_BURN_METADATA = 249
|
|
210
|
+
CURRENT_TREASURY_STILL_OWNS_NFTS = 250
|
|
211
|
+
ACCOUNT_STILL_OWNS_NFTS = 251
|
|
212
|
+
TREASURY_MUST_OWN_BURNED_NFT = 252
|
|
213
|
+
ACCOUNT_DOES_NOT_OWN_WIPED_NFT = 253
|
|
214
|
+
ACCOUNT_AMOUNT_TRANSFERS_ONLY_ALLOWED_FOR_FUNGIBLE_COMMON = 254
|
|
215
|
+
MAX_NFTS_IN_PRICE_REGIME_HAVE_BEEN_MINTED = 255
|
|
216
|
+
PAYER_ACCOUNT_DELETED = 256
|
|
217
|
+
CUSTOM_FEE_CHARGING_EXCEEDED_MAX_RECURSION_DEPTH = 257
|
|
218
|
+
CUSTOM_FEE_CHARGING_EXCEEDED_MAX_ACCOUNT_AMOUNTS = 258
|
|
219
|
+
INSUFFICIENT_SENDER_ACCOUNT_BALANCE_FOR_CUSTOM_FEE = 259
|
|
220
|
+
SERIAL_NUMBER_LIMIT_REACHED = 260
|
|
221
|
+
CUSTOM_ROYALTY_FEE_ONLY_ALLOWED_FOR_NON_FUNGIBLE_UNIQUE = 261
|
|
222
|
+
NO_REMAINING_AUTOMATIC_ASSOCIATIONS = 262
|
|
223
|
+
EXISTING_AUTOMATIC_ASSOCIATIONS_EXCEED_GIVEN_LIMIT = 263
|
|
224
|
+
REQUESTED_NUM_AUTOMATIC_ASSOCIATIONS_EXCEEDS_ASSOCIATION_LIMIT = 264
|
|
225
|
+
TOKEN_IS_PAUSED = 265
|
|
226
|
+
TOKEN_HAS_NO_PAUSE_KEY = 266
|
|
227
|
+
INVALID_PAUSE_KEY = 267
|
|
228
|
+
FREEZE_UPDATE_FILE_DOES_NOT_EXIST = 268
|
|
229
|
+
FREEZE_UPDATE_FILE_HASH_DOES_NOT_MATCH = 269
|
|
230
|
+
NO_UPGRADE_HAS_BEEN_PREPARED = 270
|
|
231
|
+
NO_FREEZE_IS_SCHEDULED = 271
|
|
232
|
+
UPDATE_FILE_HASH_CHANGED_SINCE_PREPARE_UPGRADE = 272
|
|
233
|
+
FREEZE_START_TIME_MUST_BE_FUTURE = 273
|
|
234
|
+
PREPARED_UPDATE_FILE_IS_IMMUTABLE = 274
|
|
235
|
+
FREEZE_ALREADY_SCHEDULED = 275
|
|
236
|
+
FREEZE_UPGRADE_IN_PROGRESS = 276
|
|
237
|
+
UPDATE_FILE_ID_DOES_NOT_MATCH_PREPARED = 277
|
|
238
|
+
UPDATE_FILE_HASH_DOES_NOT_MATCH_PREPARED = 278
|
|
239
|
+
CONSENSUS_GAS_EXHAUSTED = 279
|
|
240
|
+
REVERTED_SUCCESS = 280
|
|
241
|
+
MAX_STORAGE_IN_PRICE_REGIME_HAS_BEEN_USED = 281
|
|
242
|
+
INVALID_ALIAS_KEY = 282
|
|
243
|
+
UNEXPECTED_TOKEN_DECIMALS = 283
|
|
244
|
+
INVALID_PROXY_ACCOUNT_ID = 284 # [Deprecated]
|
|
245
|
+
INVALID_TRANSFER_ACCOUNT_ID = 285
|
|
246
|
+
INVALID_FEE_COLLECTOR_ACCOUNT_ID = 286
|
|
247
|
+
ALIAS_IS_IMMUTABLE = 287
|
|
248
|
+
SPENDER_ACCOUNT_SAME_AS_OWNER = 288
|
|
249
|
+
AMOUNT_EXCEEDS_TOKEN_MAX_SUPPLY = 289
|
|
250
|
+
NEGATIVE_ALLOWANCE_AMOUNT = 290
|
|
251
|
+
CANNOT_APPROVE_FOR_ALL_FUNGIBLE_COMMON = 291 # [Deprecated]
|
|
252
|
+
SPENDER_DOES_NOT_HAVE_ALLOWANCE = 292
|
|
253
|
+
AMOUNT_EXCEEDS_ALLOWANCE = 293
|
|
254
|
+
MAX_ALLOWANCES_EXCEEDED = 294
|
|
255
|
+
EMPTY_ALLOWANCES = 295
|
|
256
|
+
SPENDER_ACCOUNT_REPEATED_IN_ALLOWANCES = 296 # [Deprecated]
|
|
257
|
+
REPEATED_SERIAL_NUMS_IN_NFT_ALLOWANCES = 297 # [Deprecated]
|
|
258
|
+
FUNGIBLE_TOKEN_IN_NFT_ALLOWANCES = 298
|
|
259
|
+
NFT_IN_FUNGIBLE_TOKEN_ALLOWANCES = 299
|
|
260
|
+
INVALID_ALLOWANCE_OWNER_ID = 300
|
|
261
|
+
INVALID_ALLOWANCE_SPENDER_ID = 301
|
|
262
|
+
REPEATED_ALLOWANCES_TO_DELETE = 302 # [Deprecated]
|
|
263
|
+
INVALID_DELEGATING_SPENDER = 303
|
|
264
|
+
DELEGATING_SPENDER_CANNOT_GRANT_APPROVE_FOR_ALL = 304
|
|
265
|
+
DELEGATING_SPENDER_DOES_NOT_HAVE_APPROVE_FOR_ALL = 305
|
|
266
|
+
SCHEDULE_EXPIRATION_TIME_TOO_FAR_IN_FUTURE = 306
|
|
267
|
+
SCHEDULE_EXPIRATION_TIME_MUST_BE_HIGHER_THAN_CONSENSUS_TIME = 307
|
|
268
|
+
SCHEDULE_FUTURE_THROTTLE_EXCEEDED = 308
|
|
269
|
+
SCHEDULE_FUTURE_GAS_LIMIT_EXCEEDED = 309
|
|
270
|
+
INVALID_ETHEREUM_TRANSACTION = 310
|
|
271
|
+
WRONG_CHAIN_ID = 311
|
|
272
|
+
WRONG_NONCE = 312
|
|
273
|
+
ACCESS_LIST_UNSUPPORTED = 313
|
|
274
|
+
SCHEDULE_PENDING_EXPIRATION = 314
|
|
275
|
+
CONTRACT_IS_TOKEN_TREASURY = 315
|
|
276
|
+
CONTRACT_HAS_NON_ZERO_TOKEN_BALANCES = 316
|
|
277
|
+
CONTRACT_EXPIRED_AND_PENDING_REMOVAL = 317
|
|
278
|
+
CONTRACT_HAS_NO_AUTO_RENEW_ACCOUNT = 318
|
|
279
|
+
PERMANENT_REMOVAL_REQUIRES_SYSTEM_INITIATION = 319
|
|
280
|
+
PROXY_ACCOUNT_ID_FIELD_IS_DEPRECATED = 320
|
|
281
|
+
SELF_STAKING_IS_NOT_ALLOWED = 321
|
|
282
|
+
INVALID_STAKING_ID = 322
|
|
283
|
+
STAKING_NOT_ENABLED = 323
|
|
284
|
+
INVALID_PRNG_RANGE = 324
|
|
285
|
+
MAX_ENTITIES_IN_PRICE_REGIME_HAVE_BEEN_CREATED = 325
|
|
286
|
+
INVALID_FULL_PREFIX_SIGNATURE_FOR_PRECOMPILE = 326
|
|
287
|
+
INSUFFICIENT_BALANCES_FOR_STORAGE_RENT = 327
|
|
288
|
+
MAX_CHILD_RECORDS_EXCEEDED = 328
|
|
289
|
+
INSUFFICIENT_BALANCES_FOR_RENEWAL_FEES = 329
|
|
290
|
+
|
|
291
|
+
_code_to_name = {
|
|
292
|
+
0: "OK",
|
|
293
|
+
1: "INVALID_TRANSACTION",
|
|
294
|
+
2: "PAYER_ACCOUNT_NOT_FOUND",
|
|
295
|
+
3: "INVALID_NODE_ACCOUNT",
|
|
296
|
+
4: "TRANSACTION_EXPIRED",
|
|
297
|
+
5: "INVALID_TRANSACTION_START",
|
|
298
|
+
6: "INVALID_TRANSACTION_DURATION",
|
|
299
|
+
7: "INVALID_SIGNATURE",
|
|
300
|
+
8: "MEMO_TOO_LONG",
|
|
301
|
+
9: "INSUFFICIENT_TX_FEE",
|
|
302
|
+
10: "INSUFFICIENT_PAYER_BALANCE",
|
|
303
|
+
11: "DUPLICATE_TRANSACTION",
|
|
304
|
+
12: "BUSY",
|
|
305
|
+
13: "NOT_SUPPORTED",
|
|
306
|
+
14: "INVALID_FILE_ID",
|
|
307
|
+
15: "INVALID_ACCOUNT_ID",
|
|
308
|
+
16: "INVALID_CONTRACT_ID",
|
|
309
|
+
17: "INVALID_TRANSACTION_ID",
|
|
310
|
+
18: "RECEIPT_NOT_FOUND",
|
|
311
|
+
19: "RECORD_NOT_FOUND",
|
|
312
|
+
20: "INVALID_SOLIDITY_ID",
|
|
313
|
+
21: "UNKNOWN",
|
|
314
|
+
22: "SUCCESS",
|
|
315
|
+
23: "FAIL_INVALID",
|
|
316
|
+
24: "FAIL_FEE",
|
|
317
|
+
25: "FAIL_BALANCE",
|
|
318
|
+
26: "KEY_REQUIRED",
|
|
319
|
+
27: "BAD_ENCODING",
|
|
320
|
+
28: "INSUFFICIENT_ACCOUNT_BALANCE",
|
|
321
|
+
29: "INVALID_SOLIDITY_ADDRESS",
|
|
322
|
+
30: "INSUFFICIENT_GAS",
|
|
323
|
+
31: "CONTRACT_SIZE_LIMIT_EXCEEDED",
|
|
324
|
+
32: "LOCAL_CALL_MODIFICATION_EXCEPTION",
|
|
325
|
+
33: "CONTRACT_REVERT_EXECUTED",
|
|
326
|
+
34: "CONTRACT_EXECUTION_EXCEPTION",
|
|
327
|
+
35: "INVALID_RECEIVING_NODE_ACCOUNT",
|
|
328
|
+
36: "MISSING_QUERY_HEADER",
|
|
329
|
+
37: "ACCOUNT_UPDATE_FAILED",
|
|
330
|
+
38: "INVALID_KEY_ENCODING",
|
|
331
|
+
39: "NULL_SOLIDITY_ADDRESS",
|
|
332
|
+
40: "CONTRACT_UPDATE_FAILED",
|
|
333
|
+
41: "INVALID_QUERY_HEADER",
|
|
334
|
+
42: "INVALID_FEE_SUBMITTED",
|
|
335
|
+
43: "INVALID_PAYER_SIGNATURE",
|
|
336
|
+
44: "KEY_NOT_PROVIDED",
|
|
337
|
+
45: "INVALID_EXPIRATION_TIME",
|
|
338
|
+
46: "NO_WACL_KEY",
|
|
339
|
+
47: "FILE_CONTENT_EMPTY",
|
|
340
|
+
48: "INVALID_ACCOUNT_AMOUNTS",
|
|
341
|
+
49: "EMPTY_TRANSACTION_BODY",
|
|
342
|
+
50: "INVALID_TRANSACTION_BODY",
|
|
343
|
+
51: "INVALID_SIGNATURE_TYPE_MISMATCHING_KEY",
|
|
344
|
+
52: "INVALID_SIGNATURE_COUNT_MISMATCHING_KEY",
|
|
345
|
+
53: "EMPTY_LIVE_HASH_BODY",
|
|
346
|
+
54: "EMPTY_LIVE_HASH",
|
|
347
|
+
55: "EMPTY_LIVE_HASH_KEYS",
|
|
348
|
+
56: "INVALID_LIVE_HASH_SIZE",
|
|
349
|
+
57: "EMPTY_QUERY_BODY",
|
|
350
|
+
58: "EMPTY_LIVE_HASH_QUERY",
|
|
351
|
+
59: "LIVE_HASH_NOT_FOUND",
|
|
352
|
+
60: "ACCOUNT_ID_DOES_NOT_EXIST",
|
|
353
|
+
61: "LIVE_HASH_ALREADY_EXISTS",
|
|
354
|
+
62: "INVALID_FILE_WACL",
|
|
355
|
+
63: "SERIALIZATION_FAILED",
|
|
356
|
+
64: "TRANSACTION_OVERSIZE",
|
|
357
|
+
65: "TRANSACTION_TOO_MANY_LAYERS",
|
|
358
|
+
66: "CONTRACT_DELETED",
|
|
359
|
+
67: "PLATFORM_NOT_ACTIVE",
|
|
360
|
+
68: "KEY_PREFIX_MISMATCH",
|
|
361
|
+
69: "PLATFORM_TRANSACTION_NOT_CREATED",
|
|
362
|
+
70: "INVALID_RENEWAL_PERIOD",
|
|
363
|
+
71: "INVALID_PAYER_ACCOUNT_ID",
|
|
364
|
+
72: "ACCOUNT_DELETED",
|
|
365
|
+
73: "FILE_DELETED",
|
|
366
|
+
74: "ACCOUNT_REPEATED_IN_ACCOUNT_AMOUNTS",
|
|
367
|
+
75: "SETTING_NEGATIVE_ACCOUNT_BALANCE",
|
|
368
|
+
76: "OBTAINER_REQUIRED",
|
|
369
|
+
77: "OBTAINER_SAME_CONTRACT_ID",
|
|
370
|
+
78: "OBTAINER_DOES_NOT_EXIST",
|
|
371
|
+
79: "MODIFYING_IMMUTABLE_CONTRACT",
|
|
372
|
+
80: "FILE_SYSTEM_EXCEPTION",
|
|
373
|
+
81: "AUTORENEW_DURATION_NOT_IN_RANGE",
|
|
374
|
+
82: "ERROR_DECODING_BYTESTRING",
|
|
375
|
+
83: "CONTRACT_FILE_EMPTY",
|
|
376
|
+
84: "CONTRACT_BYTECODE_EMPTY",
|
|
377
|
+
85: "INVALID_INITIAL_BALANCE",
|
|
378
|
+
86: "INVALID_RECEIVE_RECORD_THRESHOLD", # [Deprecated]
|
|
379
|
+
87: "INVALID_SEND_RECORD_THRESHOLD", # [Deprecated]
|
|
380
|
+
88: "ACCOUNT_IS_NOT_GENESIS_ACCOUNT",
|
|
381
|
+
89: "PAYER_ACCOUNT_UNAUTHORIZED",
|
|
382
|
+
90: "INVALID_FREEZE_TRANSACTION_BODY",
|
|
383
|
+
91: "FREEZE_TRANSACTION_BODY_NOT_FOUND",
|
|
384
|
+
92: "TRANSFER_LIST_SIZE_LIMIT_EXCEEDED",
|
|
385
|
+
93: "RESULT_SIZE_LIMIT_EXCEEDED",
|
|
386
|
+
94: "NOT_SPECIAL_ACCOUNT",
|
|
387
|
+
95: "CONTRACT_NEGATIVE_GAS",
|
|
388
|
+
96: "CONTRACT_NEGATIVE_VALUE",
|
|
389
|
+
97: "INVALID_FEE_FILE",
|
|
390
|
+
98: "INVALID_EXCHANGE_RATE_FILE",
|
|
391
|
+
99: "INSUFFICIENT_LOCAL_CALL_GAS",
|
|
392
|
+
100: "ENTITY_NOT_ALLOWED_TO_DELETE",
|
|
393
|
+
101: "AUTHORIZATION_FAILED",
|
|
394
|
+
102: "FILE_UPLOADED_PROTO_INVALID",
|
|
395
|
+
103: "FILE_UPLOADED_PROTO_NOT_SAVED_TO_DISK",
|
|
396
|
+
104: "FEE_SCHEDULE_FILE_PART_UPLOADED",
|
|
397
|
+
105: "EXCHANGE_RATE_CHANGE_LIMIT_EXCEEDED",
|
|
398
|
+
106: "MAX_CONTRACT_STORAGE_EXCEEDED",
|
|
399
|
+
107: "TRANSFER_ACCOUNT_SAME_AS_DELETE_ACCOUNT",
|
|
400
|
+
108: "TOTAL_LEDGER_BALANCE_INVALID",
|
|
401
|
+
110: "EXPIRATION_REDUCTION_NOT_ALLOWED",
|
|
402
|
+
111: "MAX_GAS_LIMIT_EXCEEDED",
|
|
403
|
+
112: "MAX_FILE_SIZE_EXCEEDED",
|
|
404
|
+
150: "INVALID_TOPIC_ID",
|
|
405
|
+
155: "INVALID_ADMIN_KEY",
|
|
406
|
+
156: "INVALID_SUBMIT_KEY",
|
|
407
|
+
157: "UNAUTHORIZED",
|
|
408
|
+
158: "INVALID_TOPIC_MESSAGE",
|
|
409
|
+
159: "INVALID_AUTORENEW_ACCOUNT",
|
|
410
|
+
160: "AUTORENEW_ACCOUNT_NOT_ALLOWED",
|
|
411
|
+
162: "TOPIC_EXPIRED",
|
|
412
|
+
163: "INVALID_CHUNK_NUMBER",
|
|
413
|
+
164: "INVALID_CHUNK_TRANSACTION_ID",
|
|
414
|
+
165: "ACCOUNT_FROZEN_FOR_TOKEN",
|
|
415
|
+
166: "TOKENS_PER_ACCOUNT_LIMIT_EXCEEDED",
|
|
416
|
+
167: "INVALID_TOKEN_ID",
|
|
417
|
+
168: "INVALID_TOKEN_DECIMALS",
|
|
418
|
+
169: "INVALID_TOKEN_INITIAL_SUPPLY",
|
|
419
|
+
170: "INVALID_TREASURY_ACCOUNT_FOR_TOKEN",
|
|
420
|
+
171: "INVALID_TOKEN_SYMBOL",
|
|
421
|
+
172: "TOKEN_HAS_NO_FREEZE_KEY",
|
|
422
|
+
173: "TRANSFERS_NOT_ZERO_SUM_FOR_TOKEN",
|
|
423
|
+
174: "MISSING_TOKEN_SYMBOL",
|
|
424
|
+
175: "TOKEN_SYMBOL_TOO_LONG",
|
|
425
|
+
176: "ACCOUNT_KYC_NOT_GRANTED_FOR_TOKEN",
|
|
426
|
+
177: "TOKEN_HAS_NO_KYC_KEY",
|
|
427
|
+
178: "INSUFFICIENT_TOKEN_BALANCE",
|
|
428
|
+
179: "TOKEN_WAS_DELETED",
|
|
429
|
+
180: "TOKEN_HAS_NO_SUPPLY_KEY",
|
|
430
|
+
181: "TOKEN_HAS_NO_WIPE_KEY",
|
|
431
|
+
182: "INVALID_TOKEN_MINT_AMOUNT",
|
|
432
|
+
183: "INVALID_TOKEN_BURN_AMOUNT",
|
|
433
|
+
184: "TOKEN_NOT_ASSOCIATED_TO_ACCOUNT",
|
|
434
|
+
185: "CANNOT_WIPE_TOKEN_TREASURY_ACCOUNT",
|
|
435
|
+
186: "INVALID_KYC_KEY",
|
|
436
|
+
187: "INVALID_WIPE_KEY",
|
|
437
|
+
188: "INVALID_FREEZE_KEY",
|
|
438
|
+
189: "INVALID_SUPPLY_KEY",
|
|
439
|
+
190: "MISSING_TOKEN_NAME",
|
|
440
|
+
191: "TOKEN_NAME_TOO_LONG",
|
|
441
|
+
192: "INVALID_WIPING_AMOUNT",
|
|
442
|
+
193: "TOKEN_IS_IMMUTABLE",
|
|
443
|
+
194: "TOKEN_ALREADY_ASSOCIATED_TO_ACCOUNT",
|
|
444
|
+
195: "TRANSACTION_REQUIRES_ZERO_TOKEN_BALANCES",
|
|
445
|
+
196: "ACCOUNT_IS_TREASURY",
|
|
446
|
+
197: "TOKEN_ID_REPEATED_IN_TOKEN_LIST",
|
|
447
|
+
198: "TOKEN_TRANSFER_LIST_SIZE_LIMIT_EXCEEDED",
|
|
448
|
+
199: "EMPTY_TOKEN_TRANSFER_BODY",
|
|
449
|
+
200: "EMPTY_TOKEN_TRANSFER_ACCOUNT_AMOUNTS",
|
|
450
|
+
201: "INVALID_SCHEDULE_ID",
|
|
451
|
+
202: "SCHEDULE_IS_IMMUTABLE",
|
|
452
|
+
203: "INVALID_SCHEDULE_PAYER_ID",
|
|
453
|
+
204: "INVALID_SCHEDULE_ACCOUNT_ID",
|
|
454
|
+
205: "NO_NEW_VALID_SIGNATURES",
|
|
455
|
+
206: "UNRESOLVABLE_REQUIRED_SIGNERS",
|
|
456
|
+
207: "SCHEDULED_TRANSACTION_NOT_IN_WHITELIST",
|
|
457
|
+
208: "SOME_SIGNATURES_WERE_INVALID",
|
|
458
|
+
209: "TRANSACTION_ID_FIELD_NOT_ALLOWED",
|
|
459
|
+
210: "IDENTICAL_SCHEDULE_ALREADY_CREATED",
|
|
460
|
+
211: "INVALID_ZERO_BYTE_IN_STRING",
|
|
461
|
+
212: "SCHEDULE_ALREADY_DELETED",
|
|
462
|
+
213: "SCHEDULE_ALREADY_EXECUTED",
|
|
463
|
+
214: "MESSAGE_SIZE_TOO_LARGE",
|
|
464
|
+
215: "OPERATION_REPEATED_IN_BUCKET_GROUPS",
|
|
465
|
+
216: "BUCKET_CAPACITY_OVERFLOW",
|
|
466
|
+
217: "NODE_CAPACITY_NOT_SUFFICIENT_FOR_OPERATION",
|
|
467
|
+
218: "BUCKET_HAS_NO_THROTTLE_GROUPS",
|
|
468
|
+
219: "THROTTLE_GROUP_HAS_ZERO_OPS_PER_SEC",
|
|
469
|
+
220: "SUCCESS_BUT_MISSING_EXPECTED_OPERATION",
|
|
470
|
+
221: "UNPARSEABLE_THROTTLE_DEFINITIONS",
|
|
471
|
+
222: "INVALID_THROTTLE_DEFINITIONS",
|
|
472
|
+
223: "ACCOUNT_EXPIRED_AND_PENDING_REMOVAL",
|
|
473
|
+
224: "INVALID_TOKEN_MAX_SUPPLY",
|
|
474
|
+
225: "INVALID_TOKEN_NFT_SERIAL_NUMBER",
|
|
475
|
+
226: "INVALID_NFT_ID",
|
|
476
|
+
227: "METADATA_TOO_LONG",
|
|
477
|
+
228: "BATCH_SIZE_LIMIT_EXCEEDED",
|
|
478
|
+
229: "INVALID_QUERY_RANGE",
|
|
479
|
+
230: "FRACTION_DIVIDES_BY_ZERO",
|
|
480
|
+
231: "INSUFFICIENT_PAYER_BALANCE_FOR_CUSTOM_FEE",
|
|
481
|
+
232: "CUSTOM_FEES_LIST_TOO_LONG",
|
|
482
|
+
233: "INVALID_CUSTOM_FEE_COLLECTOR",
|
|
483
|
+
234: "INVALID_TOKEN_ID_IN_CUSTOM_FEES",
|
|
484
|
+
235: "TOKEN_NOT_ASSOCIATED_TO_FEE_COLLECTOR",
|
|
485
|
+
236: "TOKEN_MAX_SUPPLY_REACHED",
|
|
486
|
+
237: "SENDER_DOES_NOT_OWN_NFT_SERIAL_NO",
|
|
487
|
+
238: "CUSTOM_FEE_NOT_FULLY_SPECIFIED",
|
|
488
|
+
239: "CUSTOM_FEE_MUST_BE_POSITIVE",
|
|
489
|
+
240: "TOKEN_HAS_NO_FEE_SCHEDULE_KEY",
|
|
490
|
+
241: "CUSTOM_FEE_OUTSIDE_NUMERIC_RANGE",
|
|
491
|
+
242: "ROYALTY_FRACTION_CANNOT_EXCEED_ONE",
|
|
492
|
+
243: "FRACTIONAL_FEE_MAX_AMOUNT_LESS_THAN_MIN_AMOUNT",
|
|
493
|
+
244: "CUSTOM_SCHEDULE_ALREADY_HAS_NO_FEES",
|
|
494
|
+
245: "CUSTOM_FEE_DENOMINATION_MUST_BE_FUNGIBLE_COMMON",
|
|
495
|
+
246: "CUSTOM_FRACTIONAL_FEE_ONLY_ALLOWED_FOR_FUNGIBLE_COMMON",
|
|
496
|
+
247: "INVALID_CUSTOM_FEE_SCHEDULE_KEY",
|
|
497
|
+
248: "INVALID_TOKEN_MINT_METADATA",
|
|
498
|
+
249: "INVALID_TOKEN_BURN_METADATA",
|
|
499
|
+
250: "CURRENT_TREASURY_STILL_OWNS_NFTS",
|
|
500
|
+
251: "ACCOUNT_STILL_OWNS_NFTS",
|
|
501
|
+
252: "TREASURY_MUST_OWN_BURNED_NFT",
|
|
502
|
+
253: "ACCOUNT_DOES_NOT_OWN_WIPED_NFT",
|
|
503
|
+
254: "ACCOUNT_AMOUNT_TRANSFERS_ONLY_ALLOWED_FOR_FUNGIBLE_COMMON",
|
|
504
|
+
255: "MAX_NFTS_IN_PRICE_REGIME_HAVE_BEEN_MINTED",
|
|
505
|
+
256: "PAYER_ACCOUNT_DELETED",
|
|
506
|
+
257: "CUSTOM_FEE_CHARGING_EXCEEDED_MAX_RECURSION_DEPTH",
|
|
507
|
+
258: "CUSTOM_FEE_CHARGING_EXCEEDED_MAX_ACCOUNT_AMOUNTS",
|
|
508
|
+
259: "INSUFFICIENT_SENDER_ACCOUNT_BALANCE_FOR_CUSTOM_FEE",
|
|
509
|
+
260: "SERIAL_NUMBER_LIMIT_REACHED",
|
|
510
|
+
261: "CUSTOM_ROYALTY_FEE_ONLY_ALLOWED_FOR_NON_FUNGIBLE_UNIQUE",
|
|
511
|
+
262: "NO_REMAINING_AUTOMATIC_ASSOCIATIONS",
|
|
512
|
+
263: "EXISTING_AUTOMATIC_ASSOCIATIONS_EXCEED_GIVEN_LIMIT",
|
|
513
|
+
264: "REQUESTED_NUM_AUTOMATIC_ASSOCIATIONS_EXCEEDS_ASSOCIATION_LIMIT",
|
|
514
|
+
265: "TOKEN_IS_PAUSED",
|
|
515
|
+
266: "TOKEN_HAS_NO_PAUSE_KEY",
|
|
516
|
+
267: "INVALID_PAUSE_KEY",
|
|
517
|
+
268: "FREEZE_UPDATE_FILE_DOES_NOT_EXIST",
|
|
518
|
+
269: "FREEZE_UPDATE_FILE_HASH_DOES_NOT_MATCH",
|
|
519
|
+
270: "NO_UPGRADE_HAS_BEEN_PREPARED",
|
|
520
|
+
271: "NO_FREEZE_IS_SCHEDULED",
|
|
521
|
+
272: "UPDATE_FILE_HASH_CHANGED_SINCE_PREPARE_UPGRADE",
|
|
522
|
+
273: "FREEZE_START_TIME_MUST_BE_FUTURE",
|
|
523
|
+
274: "PREPARED_UPDATE_FILE_IS_IMMUTABLE",
|
|
524
|
+
275: "FREEZE_ALREADY_SCHEDULED",
|
|
525
|
+
276: "FREEZE_UPGRADE_IN_PROGRESS",
|
|
526
|
+
277: "UPDATE_FILE_ID_DOES_NOT_MATCH_PREPARED",
|
|
527
|
+
278: "UPDATE_FILE_HASH_DOES_NOT_MATCH_PREPARED",
|
|
528
|
+
279: "CONSENSUS_GAS_EXHAUSTED",
|
|
529
|
+
280: "REVERTED_SUCCESS",
|
|
530
|
+
281: "MAX_STORAGE_IN_PRICE_REGIME_HAS_BEEN_USED",
|
|
531
|
+
282: "INVALID_ALIAS_KEY",
|
|
532
|
+
283: "UNEXPECTED_TOKEN_DECIMALS",
|
|
533
|
+
284: "INVALID_PROXY_ACCOUNT_ID", # [Deprecated]
|
|
534
|
+
285: "INVALID_TRANSFER_ACCOUNT_ID",
|
|
535
|
+
286: "INVALID_FEE_COLLECTOR_ACCOUNT_ID",
|
|
536
|
+
287: "ALIAS_IS_IMMUTABLE",
|
|
537
|
+
288: "SPENDER_ACCOUNT_SAME_AS_OWNER",
|
|
538
|
+
289: "AMOUNT_EXCEEDS_TOKEN_MAX_SUPPLY",
|
|
539
|
+
290: "NEGATIVE_ALLOWANCE_AMOUNT",
|
|
540
|
+
291: "CANNOT_APPROVE_FOR_ALL_FUNGIBLE_COMMON", # [Deprecated]
|
|
541
|
+
292: "SPENDER_DOES_NOT_HAVE_ALLOWANCE",
|
|
542
|
+
293: "AMOUNT_EXCEEDS_ALLOWANCE",
|
|
543
|
+
294: "MAX_ALLOWANCES_EXCEEDED",
|
|
544
|
+
295: "EMPTY_ALLOWANCES",
|
|
545
|
+
296: "SPENDER_ACCOUNT_REPEATED_IN_ALLOWANCES", # [Deprecated]
|
|
546
|
+
297: "REPEATED_SERIAL_NUMS_IN_NFT_ALLOWANCES", # [Deprecated]
|
|
547
|
+
298: "FUNGIBLE_TOKEN_IN_NFT_ALLOWANCES",
|
|
548
|
+
299: "NFT_IN_FUNGIBLE_TOKEN_ALLOWANCES",
|
|
549
|
+
300: "INVALID_ALLOWANCE_OWNER_ID",
|
|
550
|
+
301: "INVALID_ALLOWANCE_SPENDER_ID",
|
|
551
|
+
302: "REPEATED_ALLOWANCES_TO_DELETE", # [Deprecated]
|
|
552
|
+
303: "INVALID_DELEGATING_SPENDER",
|
|
553
|
+
304: "DELEGATING_SPENDER_CANNOT_GRANT_APPROVE_FOR_ALL",
|
|
554
|
+
305: "DELEGATING_SPENDER_DOES_NOT_HAVE_APPROVE_FOR_ALL",
|
|
555
|
+
306: "SCHEDULE_EXPIRATION_TIME_TOO_FAR_IN_FUTURE",
|
|
556
|
+
307: "SCHEDULE_EXPIRATION_TIME_MUST_BE_HIGHER_THAN_CONSENSUS_TIME",
|
|
557
|
+
308: "SCHEDULE_FUTURE_THROTTLE_EXCEEDED",
|
|
558
|
+
309: "SCHEDULE_FUTURE_GAS_LIMIT_EXCEEDED",
|
|
559
|
+
310: "INVALID_ETHEREUM_TRANSACTION",
|
|
560
|
+
311: "WRONG_CHAIN_ID",
|
|
561
|
+
312: "WRONG_NONCE",
|
|
562
|
+
313: "ACCESS_LIST_UNSUPPORTED",
|
|
563
|
+
314: "SCHEDULE_PENDING_EXPIRATION",
|
|
564
|
+
315: "CONTRACT_IS_TOKEN_TREASURY",
|
|
565
|
+
316: "CONTRACT_HAS_NON_ZERO_TOKEN_BALANCES",
|
|
566
|
+
317: "CONTRACT_EXPIRED_AND_PENDING_REMOVAL",
|
|
567
|
+
318: "CONTRACT_HAS_NO_AUTO_RENEW_ACCOUNT",
|
|
568
|
+
319: "PERMANENT_REMOVAL_REQUIRES_SYSTEM_INITIATION",
|
|
569
|
+
320: "PROXY_ACCOUNT_ID_FIELD_IS_DEPRECATED",
|
|
570
|
+
321: "SELF_STAKING_IS_NOT_ALLOWED",
|
|
571
|
+
322: "INVALID_STAKING_ID",
|
|
572
|
+
323: "STAKING_NOT_ENABLED",
|
|
573
|
+
324: "INVALID_PRNG_RANGE",
|
|
574
|
+
325: "MAX_ENTITIES_IN_PRICE_REGIME_HAVE_BEEN_CREATED",
|
|
575
|
+
326: "INVALID_FULL_PREFIX_SIGNATURE_FOR_PRECOMPILE",
|
|
576
|
+
327: "INSUFFICIENT_BALANCES_FOR_STORAGE_RENT",
|
|
577
|
+
328: "MAX_CHILD_RECORDS_EXCEEDED",
|
|
578
|
+
329: "INSUFFICIENT_BALANCES_FOR_RENEWAL_FEES",
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
@classmethod
|
|
582
|
+
def get_name(cls, code):
|
|
583
|
+
"""
|
|
584
|
+
Return the name of the response code if available.
|
|
585
|
+
If not, return UNKNOWN_CODE_<code>.
|
|
586
|
+
"""
|
|
587
|
+
return cls._code_to_name.get(code, f"UNKNOWN_CODE_{code}")
|