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,60 @@
|
|
|
1
|
+
import timestamp_pb2 as _timestamp_pb2
|
|
2
|
+
import duration_pb2 as _duration_pb2
|
|
3
|
+
import basic_types_pb2 as _basic_types_pb2
|
|
4
|
+
import query_header_pb2 as _query_header_pb2
|
|
5
|
+
import response_header_pb2 as _response_header_pb2
|
|
6
|
+
from google.protobuf.internal import containers as _containers
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import message as _message
|
|
9
|
+
from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
|
10
|
+
|
|
11
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
12
|
+
|
|
13
|
+
class ContractGetInfoQuery(_message.Message):
|
|
14
|
+
__slots__ = ("header", "contractID")
|
|
15
|
+
HEADER_FIELD_NUMBER: _ClassVar[int]
|
|
16
|
+
CONTRACTID_FIELD_NUMBER: _ClassVar[int]
|
|
17
|
+
header: _query_header_pb2.QueryHeader
|
|
18
|
+
contractID: _basic_types_pb2.ContractID
|
|
19
|
+
def __init__(self, header: _Optional[_Union[_query_header_pb2.QueryHeader, _Mapping]] = ..., contractID: _Optional[_Union[_basic_types_pb2.ContractID, _Mapping]] = ...) -> None: ...
|
|
20
|
+
|
|
21
|
+
class ContractGetInfoResponse(_message.Message):
|
|
22
|
+
__slots__ = ("header", "contractInfo")
|
|
23
|
+
class ContractInfo(_message.Message):
|
|
24
|
+
__slots__ = ("contractID", "accountID", "contractAccountID", "adminKey", "expirationTime", "autoRenewPeriod", "storage", "memo", "balance", "deleted", "tokenRelationships", "ledger_id", "auto_renew_account_id", "max_automatic_token_associations", "staking_info")
|
|
25
|
+
CONTRACTID_FIELD_NUMBER: _ClassVar[int]
|
|
26
|
+
ACCOUNTID_FIELD_NUMBER: _ClassVar[int]
|
|
27
|
+
CONTRACTACCOUNTID_FIELD_NUMBER: _ClassVar[int]
|
|
28
|
+
ADMINKEY_FIELD_NUMBER: _ClassVar[int]
|
|
29
|
+
EXPIRATIONTIME_FIELD_NUMBER: _ClassVar[int]
|
|
30
|
+
AUTORENEWPERIOD_FIELD_NUMBER: _ClassVar[int]
|
|
31
|
+
STORAGE_FIELD_NUMBER: _ClassVar[int]
|
|
32
|
+
MEMO_FIELD_NUMBER: _ClassVar[int]
|
|
33
|
+
BALANCE_FIELD_NUMBER: _ClassVar[int]
|
|
34
|
+
DELETED_FIELD_NUMBER: _ClassVar[int]
|
|
35
|
+
TOKENRELATIONSHIPS_FIELD_NUMBER: _ClassVar[int]
|
|
36
|
+
LEDGER_ID_FIELD_NUMBER: _ClassVar[int]
|
|
37
|
+
AUTO_RENEW_ACCOUNT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
38
|
+
MAX_AUTOMATIC_TOKEN_ASSOCIATIONS_FIELD_NUMBER: _ClassVar[int]
|
|
39
|
+
STAKING_INFO_FIELD_NUMBER: _ClassVar[int]
|
|
40
|
+
contractID: _basic_types_pb2.ContractID
|
|
41
|
+
accountID: _basic_types_pb2.AccountID
|
|
42
|
+
contractAccountID: str
|
|
43
|
+
adminKey: _basic_types_pb2.Key
|
|
44
|
+
expirationTime: _timestamp_pb2.Timestamp
|
|
45
|
+
autoRenewPeriod: _duration_pb2.Duration
|
|
46
|
+
storage: int
|
|
47
|
+
memo: str
|
|
48
|
+
balance: int
|
|
49
|
+
deleted: bool
|
|
50
|
+
tokenRelationships: _containers.RepeatedCompositeFieldContainer[_basic_types_pb2.TokenRelationship]
|
|
51
|
+
ledger_id: bytes
|
|
52
|
+
auto_renew_account_id: _basic_types_pb2.AccountID
|
|
53
|
+
max_automatic_token_associations: int
|
|
54
|
+
staking_info: _basic_types_pb2.StakingInfo
|
|
55
|
+
def __init__(self, contractID: _Optional[_Union[_basic_types_pb2.ContractID, _Mapping]] = ..., accountID: _Optional[_Union[_basic_types_pb2.AccountID, _Mapping]] = ..., contractAccountID: _Optional[str] = ..., adminKey: _Optional[_Union[_basic_types_pb2.Key, _Mapping]] = ..., expirationTime: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., autoRenewPeriod: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., storage: _Optional[int] = ..., memo: _Optional[str] = ..., balance: _Optional[int] = ..., deleted: bool = ..., tokenRelationships: _Optional[_Iterable[_Union[_basic_types_pb2.TokenRelationship, _Mapping]]] = ..., ledger_id: _Optional[bytes] = ..., auto_renew_account_id: _Optional[_Union[_basic_types_pb2.AccountID, _Mapping]] = ..., max_automatic_token_associations: _Optional[int] = ..., staking_info: _Optional[_Union[_basic_types_pb2.StakingInfo, _Mapping]] = ...) -> None: ...
|
|
56
|
+
HEADER_FIELD_NUMBER: _ClassVar[int]
|
|
57
|
+
CONTRACTINFO_FIELD_NUMBER: _ClassVar[int]
|
|
58
|
+
header: _response_header_pb2.ResponseHeader
|
|
59
|
+
contractInfo: ContractGetInfoResponse.ContractInfo
|
|
60
|
+
def __init__(self, header: _Optional[_Union[_response_header_pb2.ResponseHeader, _Mapping]] = ..., contractInfo: _Optional[_Union[ContractGetInfoResponse.ContractInfo, _Mapping]] = ...) -> None: ...
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
import warnings
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
GRPC_GENERATED_VERSION = '1.70.0'
|
|
8
|
+
GRPC_VERSION = grpc.__version__
|
|
9
|
+
_version_not_supported = False
|
|
10
|
+
|
|
11
|
+
try:
|
|
12
|
+
from grpc._utilities import first_version_is_lower
|
|
13
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
14
|
+
except ImportError:
|
|
15
|
+
_version_not_supported = True
|
|
16
|
+
|
|
17
|
+
if _version_not_supported:
|
|
18
|
+
raise RuntimeError(
|
|
19
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
20
|
+
+ f' but the generated code in contract_get_info_pb2_grpc.py depends on'
|
|
21
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
22
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
23
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
24
|
+
)
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: contract_get_records.proto
|
|
5
|
+
# Protobuf Python Version: 5.29.0
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
5,
|
|
15
|
+
29,
|
|
16
|
+
0,
|
|
17
|
+
'',
|
|
18
|
+
'contract_get_records.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from . import basic_types_pb2 as basic__types__pb2
|
|
26
|
+
from . import transaction_record_pb2 as transaction__record__pb2
|
|
27
|
+
from . import query_header_pb2 as query__header__pb2
|
|
28
|
+
from . import response_header_pb2 as response__header__pb2
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1a\x63ontract_get_records.proto\x12\x05proto\x1a\x11\x62\x61sic_types.proto\x1a\x18transaction_record.proto\x1a\x12query_header.proto\x1a\x15response_header.proto\"h\n\x17\x43ontractGetRecordsQuery\x12\"\n\x06header\x18\x01 \x01(\x0b\x32\x12.proto.QueryHeader\x12%\n\ncontractID\x18\x02 \x01(\x0b\x32\x11.proto.ContractID:\x02\x18\x01\"\x99\x01\n\x1a\x43ontractGetRecordsResponse\x12%\n\x06header\x18\x01 \x01(\x0b\x32\x15.proto.ResponseHeader\x12%\n\ncontractID\x18\x02 \x01(\x0b\x32\x11.proto.ContractID\x12)\n\x07records\x18\x03 \x03(\x0b\x32\x18.proto.TransactionRecord:\x02\x18\x01\x42&\n\"com.hederahashgraph.api.proto.javaP\x01\x62\x06proto3')
|
|
32
|
+
|
|
33
|
+
_globals = globals()
|
|
34
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
35
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'contract_get_records_pb2', _globals)
|
|
36
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
37
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
38
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\"com.hederahashgraph.api.proto.javaP\001'
|
|
39
|
+
_globals['_CONTRACTGETRECORDSQUERY']._loaded_options = None
|
|
40
|
+
_globals['_CONTRACTGETRECORDSQUERY']._serialized_options = b'\030\001'
|
|
41
|
+
_globals['_CONTRACTGETRECORDSRESPONSE']._loaded_options = None
|
|
42
|
+
_globals['_CONTRACTGETRECORDSRESPONSE']._serialized_options = b'\030\001'
|
|
43
|
+
_globals['_CONTRACTGETRECORDSQUERY']._serialized_start=125
|
|
44
|
+
_globals['_CONTRACTGETRECORDSQUERY']._serialized_end=229
|
|
45
|
+
_globals['_CONTRACTGETRECORDSRESPONSE']._serialized_start=232
|
|
46
|
+
_globals['_CONTRACTGETRECORDSRESPONSE']._serialized_end=385
|
|
47
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import basic_types_pb2 as _basic_types_pb2
|
|
2
|
+
import transaction_record_pb2 as _transaction_record_pb2
|
|
3
|
+
import query_header_pb2 as _query_header_pb2
|
|
4
|
+
import response_header_pb2 as _response_header_pb2
|
|
5
|
+
from google.protobuf.internal import containers as _containers
|
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
|
7
|
+
from google.protobuf import message as _message
|
|
8
|
+
from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
|
9
|
+
|
|
10
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
11
|
+
|
|
12
|
+
class ContractGetRecordsQuery(_message.Message):
|
|
13
|
+
__slots__ = ("header", "contractID")
|
|
14
|
+
HEADER_FIELD_NUMBER: _ClassVar[int]
|
|
15
|
+
CONTRACTID_FIELD_NUMBER: _ClassVar[int]
|
|
16
|
+
header: _query_header_pb2.QueryHeader
|
|
17
|
+
contractID: _basic_types_pb2.ContractID
|
|
18
|
+
def __init__(self, header: _Optional[_Union[_query_header_pb2.QueryHeader, _Mapping]] = ..., contractID: _Optional[_Union[_basic_types_pb2.ContractID, _Mapping]] = ...) -> None: ...
|
|
19
|
+
|
|
20
|
+
class ContractGetRecordsResponse(_message.Message):
|
|
21
|
+
__slots__ = ("header", "contractID", "records")
|
|
22
|
+
HEADER_FIELD_NUMBER: _ClassVar[int]
|
|
23
|
+
CONTRACTID_FIELD_NUMBER: _ClassVar[int]
|
|
24
|
+
RECORDS_FIELD_NUMBER: _ClassVar[int]
|
|
25
|
+
header: _response_header_pb2.ResponseHeader
|
|
26
|
+
contractID: _basic_types_pb2.ContractID
|
|
27
|
+
records: _containers.RepeatedCompositeFieldContainer[_transaction_record_pb2.TransactionRecord]
|
|
28
|
+
def __init__(self, header: _Optional[_Union[_response_header_pb2.ResponseHeader, _Mapping]] = ..., contractID: _Optional[_Union[_basic_types_pb2.ContractID, _Mapping]] = ..., records: _Optional[_Iterable[_Union[_transaction_record_pb2.TransactionRecord, _Mapping]]] = ...) -> None: ...
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
import warnings
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
GRPC_GENERATED_VERSION = '1.70.0'
|
|
8
|
+
GRPC_VERSION = grpc.__version__
|
|
9
|
+
_version_not_supported = False
|
|
10
|
+
|
|
11
|
+
try:
|
|
12
|
+
from grpc._utilities import first_version_is_lower
|
|
13
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
14
|
+
except ImportError:
|
|
15
|
+
_version_not_supported = True
|
|
16
|
+
|
|
17
|
+
if _version_not_supported:
|
|
18
|
+
raise RuntimeError(
|
|
19
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
20
|
+
+ f' but the generated code in contract_get_records_pb2_grpc.py depends on'
|
|
21
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
22
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
23
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
24
|
+
)
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: contract_types.proto
|
|
5
|
+
# Protobuf Python Version: 5.29.0
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
5,
|
|
15
|
+
29,
|
|
16
|
+
0,
|
|
17
|
+
'',
|
|
18
|
+
'contract_types.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from . import basic_types_pb2 as basic__types__pb2
|
|
26
|
+
from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x14\x63ontract_types.proto\x12\x05proto\x1a\x11\x62\x61sic_types.proto\x1a\x1egoogle/protobuf/wrappers.proto\"J\n\x11\x43ontractNonceInfo\x12&\n\x0b\x63ontract_id\x18\x01 \x01(\x0b\x32\x11.proto.ContractID\x12\r\n\x05nonce\x18\x02 \x01(\x03\x42&\n\"com.hederahashgraph.api.proto.javaP\x01\x62\x06proto3')
|
|
30
|
+
|
|
31
|
+
_globals = globals()
|
|
32
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
33
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'contract_types_pb2', _globals)
|
|
34
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
35
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
36
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\"com.hederahashgraph.api.proto.javaP\001'
|
|
37
|
+
_globals['_CONTRACTNONCEINFO']._serialized_start=82
|
|
38
|
+
_globals['_CONTRACTNONCEINFO']._serialized_end=156
|
|
39
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import basic_types_pb2 as _basic_types_pb2
|
|
2
|
+
from google.protobuf import wrappers_pb2 as _wrappers_pb2
|
|
3
|
+
from google.protobuf import descriptor as _descriptor
|
|
4
|
+
from google.protobuf import message as _message
|
|
5
|
+
from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
|
6
|
+
|
|
7
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
8
|
+
|
|
9
|
+
class ContractNonceInfo(_message.Message):
|
|
10
|
+
__slots__ = ("contract_id", "nonce")
|
|
11
|
+
CONTRACT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
12
|
+
NONCE_FIELD_NUMBER: _ClassVar[int]
|
|
13
|
+
contract_id: _basic_types_pb2.ContractID
|
|
14
|
+
nonce: int
|
|
15
|
+
def __init__(self, contract_id: _Optional[_Union[_basic_types_pb2.ContractID, _Mapping]] = ..., nonce: _Optional[int] = ...) -> None: ...
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
import warnings
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
GRPC_GENERATED_VERSION = '1.70.0'
|
|
8
|
+
GRPC_VERSION = grpc.__version__
|
|
9
|
+
_version_not_supported = False
|
|
10
|
+
|
|
11
|
+
try:
|
|
12
|
+
from grpc._utilities import first_version_is_lower
|
|
13
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
14
|
+
except ImportError:
|
|
15
|
+
_version_not_supported = True
|
|
16
|
+
|
|
17
|
+
if _version_not_supported:
|
|
18
|
+
raise RuntimeError(
|
|
19
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
20
|
+
+ f' but the generated code in contract_types_pb2_grpc.py depends on'
|
|
21
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
22
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
23
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
24
|
+
)
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: contract_update.proto
|
|
5
|
+
# Protobuf Python Version: 5.29.0
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
5,
|
|
15
|
+
29,
|
|
16
|
+
0,
|
|
17
|
+
'',
|
|
18
|
+
'contract_update.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from . import basic_types_pb2 as basic__types__pb2
|
|
26
|
+
from . import duration_pb2 as duration__pb2
|
|
27
|
+
from . import timestamp_pb2 as timestamp__pb2
|
|
28
|
+
from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x15\x63ontract_update.proto\x12\x05proto\x1a\x11\x62\x61sic_types.proto\x1a\x0e\x64uration.proto\x1a\x0ftimestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\xe1\x04\n\x1d\x43ontractUpdateTransactionBody\x12%\n\ncontractID\x18\x01 \x01(\x0b\x32\x11.proto.ContractID\x12(\n\x0e\x65xpirationTime\x18\x02 \x01(\x0b\x32\x10.proto.Timestamp\x12\x1c\n\x08\x61\x64minKey\x18\x03 \x01(\x0b\x32\n.proto.Key\x12,\n\x0eproxyAccountID\x18\x06 \x01(\x0b\x32\x10.proto.AccountIDB\x02\x18\x01\x12(\n\x0f\x61utoRenewPeriod\x18\x07 \x01(\x0b\x32\x0f.proto.Duration\x12!\n\x06\x66ileID\x18\x08 \x01(\x0b\x32\r.proto.FileIDB\x02\x18\x01\x12\x12\n\x04memo\x18\t \x01(\tB\x02\x18\x01H\x00\x12\x33\n\x0bmemoWrapper\x18\n \x01(\x0b\x32\x1c.google.protobuf.StringValueH\x00\x12\x45\n max_automatic_token_associations\x18\x0b \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12/\n\x15\x61uto_renew_account_id\x18\x0c \x01(\x0b\x32\x10.proto.AccountID\x12-\n\x11staked_account_id\x18\r \x01(\x0b\x32\x10.proto.AccountIDH\x01\x12\x18\n\x0estaked_node_id\x18\x0e \x01(\x03H\x01\x12\x32\n\x0e\x64\x65\x63line_reward\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x0b\n\tmemoFieldB\x0b\n\tstaked_idB&\n\"com.hederahashgraph.api.proto.javaP\x01\x62\x06proto3')
|
|
32
|
+
|
|
33
|
+
_globals = globals()
|
|
34
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
35
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'contract_update_pb2', _globals)
|
|
36
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
37
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
38
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\"com.hederahashgraph.api.proto.javaP\001'
|
|
39
|
+
_globals['_CONTRACTUPDATETRANSACTIONBODY'].fields_by_name['proxyAccountID']._loaded_options = None
|
|
40
|
+
_globals['_CONTRACTUPDATETRANSACTIONBODY'].fields_by_name['proxyAccountID']._serialized_options = b'\030\001'
|
|
41
|
+
_globals['_CONTRACTUPDATETRANSACTIONBODY'].fields_by_name['fileID']._loaded_options = None
|
|
42
|
+
_globals['_CONTRACTUPDATETRANSACTIONBODY'].fields_by_name['fileID']._serialized_options = b'\030\001'
|
|
43
|
+
_globals['_CONTRACTUPDATETRANSACTIONBODY'].fields_by_name['memo']._loaded_options = None
|
|
44
|
+
_globals['_CONTRACTUPDATETRANSACTIONBODY'].fields_by_name['memo']._serialized_options = b'\030\001'
|
|
45
|
+
_globals['_CONTRACTUPDATETRANSACTIONBODY']._serialized_start=117
|
|
46
|
+
_globals['_CONTRACTUPDATETRANSACTIONBODY']._serialized_end=726
|
|
47
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import basic_types_pb2 as _basic_types_pb2
|
|
2
|
+
import duration_pb2 as _duration_pb2
|
|
3
|
+
import timestamp_pb2 as _timestamp_pb2
|
|
4
|
+
from google.protobuf import wrappers_pb2 as _wrappers_pb2
|
|
5
|
+
from google.protobuf import descriptor as _descriptor
|
|
6
|
+
from google.protobuf import message as _message
|
|
7
|
+
from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
|
8
|
+
|
|
9
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
10
|
+
|
|
11
|
+
class ContractUpdateTransactionBody(_message.Message):
|
|
12
|
+
__slots__ = ("contractID", "expirationTime", "adminKey", "proxyAccountID", "autoRenewPeriod", "fileID", "memo", "memoWrapper", "max_automatic_token_associations", "auto_renew_account_id", "staked_account_id", "staked_node_id", "decline_reward")
|
|
13
|
+
CONTRACTID_FIELD_NUMBER: _ClassVar[int]
|
|
14
|
+
EXPIRATIONTIME_FIELD_NUMBER: _ClassVar[int]
|
|
15
|
+
ADMINKEY_FIELD_NUMBER: _ClassVar[int]
|
|
16
|
+
PROXYACCOUNTID_FIELD_NUMBER: _ClassVar[int]
|
|
17
|
+
AUTORENEWPERIOD_FIELD_NUMBER: _ClassVar[int]
|
|
18
|
+
FILEID_FIELD_NUMBER: _ClassVar[int]
|
|
19
|
+
MEMO_FIELD_NUMBER: _ClassVar[int]
|
|
20
|
+
MEMOWRAPPER_FIELD_NUMBER: _ClassVar[int]
|
|
21
|
+
MAX_AUTOMATIC_TOKEN_ASSOCIATIONS_FIELD_NUMBER: _ClassVar[int]
|
|
22
|
+
AUTO_RENEW_ACCOUNT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
23
|
+
STAKED_ACCOUNT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
24
|
+
STAKED_NODE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
25
|
+
DECLINE_REWARD_FIELD_NUMBER: _ClassVar[int]
|
|
26
|
+
contractID: _basic_types_pb2.ContractID
|
|
27
|
+
expirationTime: _timestamp_pb2.Timestamp
|
|
28
|
+
adminKey: _basic_types_pb2.Key
|
|
29
|
+
proxyAccountID: _basic_types_pb2.AccountID
|
|
30
|
+
autoRenewPeriod: _duration_pb2.Duration
|
|
31
|
+
fileID: _basic_types_pb2.FileID
|
|
32
|
+
memo: str
|
|
33
|
+
memoWrapper: _wrappers_pb2.StringValue
|
|
34
|
+
max_automatic_token_associations: _wrappers_pb2.Int32Value
|
|
35
|
+
auto_renew_account_id: _basic_types_pb2.AccountID
|
|
36
|
+
staked_account_id: _basic_types_pb2.AccountID
|
|
37
|
+
staked_node_id: int
|
|
38
|
+
decline_reward: _wrappers_pb2.BoolValue
|
|
39
|
+
def __init__(self, contractID: _Optional[_Union[_basic_types_pb2.ContractID, _Mapping]] = ..., expirationTime: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., adminKey: _Optional[_Union[_basic_types_pb2.Key, _Mapping]] = ..., proxyAccountID: _Optional[_Union[_basic_types_pb2.AccountID, _Mapping]] = ..., autoRenewPeriod: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., fileID: _Optional[_Union[_basic_types_pb2.FileID, _Mapping]] = ..., memo: _Optional[str] = ..., memoWrapper: _Optional[_Union[_wrappers_pb2.StringValue, _Mapping]] = ..., max_automatic_token_associations: _Optional[_Union[_wrappers_pb2.Int32Value, _Mapping]] = ..., auto_renew_account_id: _Optional[_Union[_basic_types_pb2.AccountID, _Mapping]] = ..., staked_account_id: _Optional[_Union[_basic_types_pb2.AccountID, _Mapping]] = ..., staked_node_id: _Optional[int] = ..., decline_reward: _Optional[_Union[_wrappers_pb2.BoolValue, _Mapping]] = ...) -> None: ...
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
import warnings
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
GRPC_GENERATED_VERSION = '1.70.0'
|
|
8
|
+
GRPC_VERSION = grpc.__version__
|
|
9
|
+
_version_not_supported = False
|
|
10
|
+
|
|
11
|
+
try:
|
|
12
|
+
from grpc._utilities import first_version_is_lower
|
|
13
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
14
|
+
except ImportError:
|
|
15
|
+
_version_not_supported = True
|
|
16
|
+
|
|
17
|
+
if _version_not_supported:
|
|
18
|
+
raise RuntimeError(
|
|
19
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
20
|
+
+ f' but the generated code in contract_update_pb2_grpc.py depends on'
|
|
21
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
22
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
23
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
24
|
+
)
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: crypto_add_live_hash.proto
|
|
5
|
+
# Protobuf Python Version: 5.29.0
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
5,
|
|
15
|
+
29,
|
|
16
|
+
0,
|
|
17
|
+
'',
|
|
18
|
+
'crypto_add_live_hash.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from . import basic_types_pb2 as basic__types__pb2
|
|
26
|
+
from . import duration_pb2 as duration__pb2
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1a\x63rypto_add_live_hash.proto\x12\x05proto\x1a\x11\x62\x61sic_types.proto\x1a\x0e\x64uration.proto\"~\n\x08LiveHash\x12#\n\taccountId\x18\x01 \x01(\x0b\x32\x10.proto.AccountID\x12\x0c\n\x04hash\x18\x02 \x01(\x0c\x12\x1c\n\x04keys\x18\x03 \x01(\x0b\x32\x0e.proto.KeyList\x12!\n\x08\x64uration\x18\x05 \x01(\x0b\x32\x0f.proto.Duration\"E\n CryptoAddLiveHashTransactionBody\x12!\n\x08liveHash\x18\x03 \x01(\x0b\x32\x0f.proto.LiveHashB&\n\"com.hederahashgraph.api.proto.javaP\x01\x62\x06proto3')
|
|
30
|
+
|
|
31
|
+
_globals = globals()
|
|
32
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
33
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'crypto_add_live_hash_pb2', _globals)
|
|
34
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
35
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
36
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\"com.hederahashgraph.api.proto.javaP\001'
|
|
37
|
+
_globals['_LIVEHASH']._serialized_start=72
|
|
38
|
+
_globals['_LIVEHASH']._serialized_end=198
|
|
39
|
+
_globals['_CRYPTOADDLIVEHASHTRANSACTIONBODY']._serialized_start=200
|
|
40
|
+
_globals['_CRYPTOADDLIVEHASHTRANSACTIONBODY']._serialized_end=269
|
|
41
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import basic_types_pb2 as _basic_types_pb2
|
|
2
|
+
import duration_pb2 as _duration_pb2
|
|
3
|
+
from google.protobuf import descriptor as _descriptor
|
|
4
|
+
from google.protobuf import message as _message
|
|
5
|
+
from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
|
6
|
+
|
|
7
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
8
|
+
|
|
9
|
+
class LiveHash(_message.Message):
|
|
10
|
+
__slots__ = ("accountId", "hash", "keys", "duration")
|
|
11
|
+
ACCOUNTID_FIELD_NUMBER: _ClassVar[int]
|
|
12
|
+
HASH_FIELD_NUMBER: _ClassVar[int]
|
|
13
|
+
KEYS_FIELD_NUMBER: _ClassVar[int]
|
|
14
|
+
DURATION_FIELD_NUMBER: _ClassVar[int]
|
|
15
|
+
accountId: _basic_types_pb2.AccountID
|
|
16
|
+
hash: bytes
|
|
17
|
+
keys: _basic_types_pb2.KeyList
|
|
18
|
+
duration: _duration_pb2.Duration
|
|
19
|
+
def __init__(self, accountId: _Optional[_Union[_basic_types_pb2.AccountID, _Mapping]] = ..., hash: _Optional[bytes] = ..., keys: _Optional[_Union[_basic_types_pb2.KeyList, _Mapping]] = ..., duration: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ...) -> None: ...
|
|
20
|
+
|
|
21
|
+
class CryptoAddLiveHashTransactionBody(_message.Message):
|
|
22
|
+
__slots__ = ("liveHash",)
|
|
23
|
+
LIVEHASH_FIELD_NUMBER: _ClassVar[int]
|
|
24
|
+
liveHash: LiveHash
|
|
25
|
+
def __init__(self, liveHash: _Optional[_Union[LiveHash, _Mapping]] = ...) -> None: ...
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
import warnings
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
GRPC_GENERATED_VERSION = '1.70.0'
|
|
8
|
+
GRPC_VERSION = grpc.__version__
|
|
9
|
+
_version_not_supported = False
|
|
10
|
+
|
|
11
|
+
try:
|
|
12
|
+
from grpc._utilities import first_version_is_lower
|
|
13
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
14
|
+
except ImportError:
|
|
15
|
+
_version_not_supported = True
|
|
16
|
+
|
|
17
|
+
if _version_not_supported:
|
|
18
|
+
raise RuntimeError(
|
|
19
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
20
|
+
+ f' but the generated code in crypto_add_live_hash_pb2_grpc.py depends on'
|
|
21
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
22
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
23
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
24
|
+
)
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: crypto_approve_allowance.proto
|
|
5
|
+
# Protobuf Python Version: 5.29.0
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
5,
|
|
15
|
+
29,
|
|
16
|
+
0,
|
|
17
|
+
'',
|
|
18
|
+
'crypto_approve_allowance.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from . import basic_types_pb2 as basic__types__pb2
|
|
26
|
+
from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63rypto_approve_allowance.proto\x12\x05proto\x1a\x11\x62\x61sic_types.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\xb5\x01\n%CryptoApproveAllowanceTransactionBody\x12\x30\n\x10\x63ryptoAllowances\x18\x01 \x03(\x0b\x32\x16.proto.CryptoAllowance\x12*\n\rnftAllowances\x18\x02 \x03(\x0b\x32\x13.proto.NftAllowance\x12.\n\x0ftokenAllowances\x18\x03 \x03(\x0b\x32\x15.proto.TokenAllowance\"e\n\x0f\x43ryptoAllowance\x12\x1f\n\x05owner\x18\x01 \x01(\x0b\x32\x10.proto.AccountID\x12!\n\x07spender\x18\x02 \x01(\x0b\x32\x10.proto.AccountID\x12\x0e\n\x06\x61mount\x18\x03 \x01(\x03\"\xef\x01\n\x0cNftAllowance\x12\x1f\n\x07tokenId\x18\x01 \x01(\x0b\x32\x0e.proto.TokenID\x12\x1f\n\x05owner\x18\x02 \x01(\x0b\x32\x10.proto.AccountID\x12!\n\x07spender\x18\x03 \x01(\x0b\x32\x10.proto.AccountID\x12\x16\n\x0eserial_numbers\x18\x04 \x03(\x03\x12\x34\n\x10\x61pproved_for_all\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12,\n\x12\x64\x65legating_spender\x18\x06 \x01(\x0b\x32\x10.proto.AccountID\"\x85\x01\n\x0eTokenAllowance\x12\x1f\n\x07tokenId\x18\x01 \x01(\x0b\x32\x0e.proto.TokenID\x12\x1f\n\x05owner\x18\x02 \x01(\x0b\x32\x10.proto.AccountID\x12!\n\x07spender\x18\x03 \x01(\x0b\x32\x10.proto.AccountID\x12\x0e\n\x06\x61mount\x18\x04 \x01(\x03\x42&\n\"com.hederahashgraph.api.proto.javaP\x01\x62\x06proto3')
|
|
30
|
+
|
|
31
|
+
_globals = globals()
|
|
32
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
33
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'crypto_approve_allowance_pb2', _globals)
|
|
34
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
35
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
36
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\"com.hederahashgraph.api.proto.javaP\001'
|
|
37
|
+
_globals['_CRYPTOAPPROVEALLOWANCETRANSACTIONBODY']._serialized_start=93
|
|
38
|
+
_globals['_CRYPTOAPPROVEALLOWANCETRANSACTIONBODY']._serialized_end=274
|
|
39
|
+
_globals['_CRYPTOALLOWANCE']._serialized_start=276
|
|
40
|
+
_globals['_CRYPTOALLOWANCE']._serialized_end=377
|
|
41
|
+
_globals['_NFTALLOWANCE']._serialized_start=380
|
|
42
|
+
_globals['_NFTALLOWANCE']._serialized_end=619
|
|
43
|
+
_globals['_TOKENALLOWANCE']._serialized_start=622
|
|
44
|
+
_globals['_TOKENALLOWANCE']._serialized_end=755
|
|
45
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import basic_types_pb2 as _basic_types_pb2
|
|
2
|
+
from google.protobuf import wrappers_pb2 as _wrappers_pb2
|
|
3
|
+
from google.protobuf.internal import containers as _containers
|
|
4
|
+
from google.protobuf import descriptor as _descriptor
|
|
5
|
+
from google.protobuf import message as _message
|
|
6
|
+
from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
|
7
|
+
|
|
8
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
9
|
+
|
|
10
|
+
class CryptoApproveAllowanceTransactionBody(_message.Message):
|
|
11
|
+
__slots__ = ("cryptoAllowances", "nftAllowances", "tokenAllowances")
|
|
12
|
+
CRYPTOALLOWANCES_FIELD_NUMBER: _ClassVar[int]
|
|
13
|
+
NFTALLOWANCES_FIELD_NUMBER: _ClassVar[int]
|
|
14
|
+
TOKENALLOWANCES_FIELD_NUMBER: _ClassVar[int]
|
|
15
|
+
cryptoAllowances: _containers.RepeatedCompositeFieldContainer[CryptoAllowance]
|
|
16
|
+
nftAllowances: _containers.RepeatedCompositeFieldContainer[NftAllowance]
|
|
17
|
+
tokenAllowances: _containers.RepeatedCompositeFieldContainer[TokenAllowance]
|
|
18
|
+
def __init__(self, cryptoAllowances: _Optional[_Iterable[_Union[CryptoAllowance, _Mapping]]] = ..., nftAllowances: _Optional[_Iterable[_Union[NftAllowance, _Mapping]]] = ..., tokenAllowances: _Optional[_Iterable[_Union[TokenAllowance, _Mapping]]] = ...) -> None: ...
|
|
19
|
+
|
|
20
|
+
class CryptoAllowance(_message.Message):
|
|
21
|
+
__slots__ = ("owner", "spender", "amount")
|
|
22
|
+
OWNER_FIELD_NUMBER: _ClassVar[int]
|
|
23
|
+
SPENDER_FIELD_NUMBER: _ClassVar[int]
|
|
24
|
+
AMOUNT_FIELD_NUMBER: _ClassVar[int]
|
|
25
|
+
owner: _basic_types_pb2.AccountID
|
|
26
|
+
spender: _basic_types_pb2.AccountID
|
|
27
|
+
amount: int
|
|
28
|
+
def __init__(self, owner: _Optional[_Union[_basic_types_pb2.AccountID, _Mapping]] = ..., spender: _Optional[_Union[_basic_types_pb2.AccountID, _Mapping]] = ..., amount: _Optional[int] = ...) -> None: ...
|
|
29
|
+
|
|
30
|
+
class NftAllowance(_message.Message):
|
|
31
|
+
__slots__ = ("tokenId", "owner", "spender", "serial_numbers", "approved_for_all", "delegating_spender")
|
|
32
|
+
TOKENID_FIELD_NUMBER: _ClassVar[int]
|
|
33
|
+
OWNER_FIELD_NUMBER: _ClassVar[int]
|
|
34
|
+
SPENDER_FIELD_NUMBER: _ClassVar[int]
|
|
35
|
+
SERIAL_NUMBERS_FIELD_NUMBER: _ClassVar[int]
|
|
36
|
+
APPROVED_FOR_ALL_FIELD_NUMBER: _ClassVar[int]
|
|
37
|
+
DELEGATING_SPENDER_FIELD_NUMBER: _ClassVar[int]
|
|
38
|
+
tokenId: _basic_types_pb2.TokenID
|
|
39
|
+
owner: _basic_types_pb2.AccountID
|
|
40
|
+
spender: _basic_types_pb2.AccountID
|
|
41
|
+
serial_numbers: _containers.RepeatedScalarFieldContainer[int]
|
|
42
|
+
approved_for_all: _wrappers_pb2.BoolValue
|
|
43
|
+
delegating_spender: _basic_types_pb2.AccountID
|
|
44
|
+
def __init__(self, tokenId: _Optional[_Union[_basic_types_pb2.TokenID, _Mapping]] = ..., owner: _Optional[_Union[_basic_types_pb2.AccountID, _Mapping]] = ..., spender: _Optional[_Union[_basic_types_pb2.AccountID, _Mapping]] = ..., serial_numbers: _Optional[_Iterable[int]] = ..., approved_for_all: _Optional[_Union[_wrappers_pb2.BoolValue, _Mapping]] = ..., delegating_spender: _Optional[_Union[_basic_types_pb2.AccountID, _Mapping]] = ...) -> None: ...
|
|
45
|
+
|
|
46
|
+
class TokenAllowance(_message.Message):
|
|
47
|
+
__slots__ = ("tokenId", "owner", "spender", "amount")
|
|
48
|
+
TOKENID_FIELD_NUMBER: _ClassVar[int]
|
|
49
|
+
OWNER_FIELD_NUMBER: _ClassVar[int]
|
|
50
|
+
SPENDER_FIELD_NUMBER: _ClassVar[int]
|
|
51
|
+
AMOUNT_FIELD_NUMBER: _ClassVar[int]
|
|
52
|
+
tokenId: _basic_types_pb2.TokenID
|
|
53
|
+
owner: _basic_types_pb2.AccountID
|
|
54
|
+
spender: _basic_types_pb2.AccountID
|
|
55
|
+
amount: int
|
|
56
|
+
def __init__(self, tokenId: _Optional[_Union[_basic_types_pb2.TokenID, _Mapping]] = ..., owner: _Optional[_Union[_basic_types_pb2.AccountID, _Mapping]] = ..., spender: _Optional[_Union[_basic_types_pb2.AccountID, _Mapping]] = ..., amount: _Optional[int] = ...) -> None: ...
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
import warnings
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
GRPC_GENERATED_VERSION = '1.70.0'
|
|
8
|
+
GRPC_VERSION = grpc.__version__
|
|
9
|
+
_version_not_supported = False
|
|
10
|
+
|
|
11
|
+
try:
|
|
12
|
+
from grpc._utilities import first_version_is_lower
|
|
13
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
14
|
+
except ImportError:
|
|
15
|
+
_version_not_supported = True
|
|
16
|
+
|
|
17
|
+
if _version_not_supported:
|
|
18
|
+
raise RuntimeError(
|
|
19
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
20
|
+
+ f' but the generated code in crypto_approve_allowance_pb2_grpc.py depends on'
|
|
21
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
22
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
23
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
24
|
+
)
|