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.
Files changed (410) hide show
  1. hiero_sdk_python/__init__.py +93 -0
  2. hiero_sdk_python/account/__init__.py +0 -0
  3. hiero_sdk_python/account/account_balance.py +44 -0
  4. hiero_sdk_python/account/account_create_transaction.py +173 -0
  5. hiero_sdk_python/account/account_id.py +62 -0
  6. hiero_sdk_python/client/__init__.py +0 -0
  7. hiero_sdk_python/client/client.py +139 -0
  8. hiero_sdk_python/client/network.py +143 -0
  9. hiero_sdk_python/consensus/__init__.py +0 -0
  10. hiero_sdk_python/consensus/topic_create_transaction.py +83 -0
  11. hiero_sdk_python/consensus/topic_delete_transaction.py +67 -0
  12. hiero_sdk_python/consensus/topic_id.py +44 -0
  13. hiero_sdk_python/consensus/topic_info.py +91 -0
  14. hiero_sdk_python/consensus/topic_message.py +61 -0
  15. hiero_sdk_python/consensus/topic_message_submit_transaction.py +87 -0
  16. hiero_sdk_python/consensus/topic_update_transaction.py +173 -0
  17. hiero_sdk_python/crypto/__init__.py +0 -0
  18. hiero_sdk_python/crypto/private_key.py +196 -0
  19. hiero_sdk_python/crypto/public_key.py +162 -0
  20. hiero_sdk_python/hapi/mirror/__init__.py +0 -0
  21. hiero_sdk_python/hapi/mirror/consensus_service_pb2.py +44 -0
  22. hiero_sdk_python/hapi/mirror/consensus_service_pb2_grpc.py +106 -0
  23. hiero_sdk_python/hapi/mirror/mirror_network_service_pb2.py +41 -0
  24. hiero_sdk_python/hapi/mirror/mirror_network_service_pb2_grpc.py +108 -0
  25. hiero_sdk_python/hapi/services/__init__.py +0 -0
  26. hiero_sdk_python/hapi/services/address_book_service_pb2.py +41 -0
  27. hiero_sdk_python/hapi/services/address_book_service_pb2.pyi +8 -0
  28. hiero_sdk_python/hapi/services/address_book_service_pb2_grpc.py +444 -0
  29. hiero_sdk_python/hapi/services/auxiliary/tss/tss_encryption_key_pb2.py +37 -0
  30. hiero_sdk_python/hapi/services/auxiliary/tss/tss_encryption_key_pb2.pyi +11 -0
  31. hiero_sdk_python/hapi/services/auxiliary/tss/tss_encryption_key_pb2_grpc.py +24 -0
  32. hiero_sdk_python/hapi/services/auxiliary/tss/tss_message_pb2.py +37 -0
  33. hiero_sdk_python/hapi/services/auxiliary/tss/tss_message_pb2.pyi +17 -0
  34. hiero_sdk_python/hapi/services/auxiliary/tss/tss_message_pb2_grpc.py +24 -0
  35. hiero_sdk_python/hapi/services/auxiliary/tss/tss_share_signature_pb2.py +37 -0
  36. hiero_sdk_python/hapi/services/auxiliary/tss/tss_share_signature_pb2.pyi +17 -0
  37. hiero_sdk_python/hapi/services/auxiliary/tss/tss_share_signature_pb2_grpc.py +24 -0
  38. hiero_sdk_python/hapi/services/auxiliary/tss/tss_vote_pb2.py +37 -0
  39. hiero_sdk_python/hapi/services/auxiliary/tss/tss_vote_pb2.pyi +19 -0
  40. hiero_sdk_python/hapi/services/auxiliary/tss/tss_vote_pb2_grpc.py +24 -0
  41. hiero_sdk_python/hapi/services/basic_types_pb2.py +153 -0
  42. hiero_sdk_python/hapi/services/basic_types_pb2.pyi +694 -0
  43. hiero_sdk_python/hapi/services/basic_types_pb2_grpc.py +24 -0
  44. hiero_sdk_python/hapi/services/consensus_create_topic_pb2.py +39 -0
  45. hiero_sdk_python/hapi/services/consensus_create_topic_pb2.pyi +21 -0
  46. hiero_sdk_python/hapi/services/consensus_create_topic_pb2_grpc.py +24 -0
  47. hiero_sdk_python/hapi/services/consensus_delete_topic_pb2.py +38 -0
  48. hiero_sdk_python/hapi/services/consensus_delete_topic_pb2.pyi +12 -0
  49. hiero_sdk_python/hapi/services/consensus_delete_topic_pb2_grpc.py +24 -0
  50. hiero_sdk_python/hapi/services/consensus_get_topic_info_pb2.py +43 -0
  51. hiero_sdk_python/hapi/services/consensus_get_topic_info_pb2.pyi +27 -0
  52. hiero_sdk_python/hapi/services/consensus_get_topic_info_pb2_grpc.py +24 -0
  53. hiero_sdk_python/hapi/services/consensus_service_pb2.py +41 -0
  54. hiero_sdk_python/hapi/services/consensus_service_pb2.pyi +8 -0
  55. hiero_sdk_python/hapi/services/consensus_service_pb2_grpc.py +432 -0
  56. hiero_sdk_python/hapi/services/consensus_submit_message_pb2.py +40 -0
  57. hiero_sdk_python/hapi/services/consensus_submit_message_pb2.pyi +26 -0
  58. hiero_sdk_python/hapi/services/consensus_submit_message_pb2_grpc.py +24 -0
  59. hiero_sdk_python/hapi/services/consensus_topic_info_pb2.py +40 -0
  60. hiero_sdk_python/hapi/services/consensus_topic_info_pb2.pyi +30 -0
  61. hiero_sdk_python/hapi/services/consensus_topic_info_pb2_grpc.py +24 -0
  62. hiero_sdk_python/hapi/services/consensus_update_topic_pb2.py +41 -0
  63. hiero_sdk_python/hapi/services/consensus_update_topic_pb2.pyi +27 -0
  64. hiero_sdk_python/hapi/services/consensus_update_topic_pb2_grpc.py +24 -0
  65. hiero_sdk_python/hapi/services/contract_call_local_pb2.py +52 -0
  66. hiero_sdk_python/hapi/services/contract_call_local_pb2.pyi +79 -0
  67. hiero_sdk_python/hapi/services/contract_call_local_pb2_grpc.py +24 -0
  68. hiero_sdk_python/hapi/services/contract_call_pb2.py +38 -0
  69. hiero_sdk_python/hapi/services/contract_call_pb2.pyi +18 -0
  70. hiero_sdk_python/hapi/services/contract_call_pb2_grpc.py +24 -0
  71. hiero_sdk_python/hapi/services/contract_create_pb2.py +41 -0
  72. hiero_sdk_python/hapi/services/contract_create_pb2.pyi +45 -0
  73. hiero_sdk_python/hapi/services/contract_create_pb2_grpc.py +24 -0
  74. hiero_sdk_python/hapi/services/contract_delete_pb2.py +38 -0
  75. hiero_sdk_python/hapi/services/contract_delete_pb2.pyi +18 -0
  76. hiero_sdk_python/hapi/services/contract_delete_pb2_grpc.py +24 -0
  77. hiero_sdk_python/hapi/services/contract_get_bytecode_pb2.py +42 -0
  78. hiero_sdk_python/hapi/services/contract_get_bytecode_pb2.pyi +24 -0
  79. hiero_sdk_python/hapi/services/contract_get_bytecode_pb2_grpc.py +24 -0
  80. hiero_sdk_python/hapi/services/contract_get_info_pb2.py +48 -0
  81. hiero_sdk_python/hapi/services/contract_get_info_pb2.pyi +60 -0
  82. hiero_sdk_python/hapi/services/contract_get_info_pb2_grpc.py +24 -0
  83. hiero_sdk_python/hapi/services/contract_get_records_pb2.py +47 -0
  84. hiero_sdk_python/hapi/services/contract_get_records_pb2.pyi +28 -0
  85. hiero_sdk_python/hapi/services/contract_get_records_pb2_grpc.py +24 -0
  86. hiero_sdk_python/hapi/services/contract_types_pb2.py +39 -0
  87. hiero_sdk_python/hapi/services/contract_types_pb2.pyi +15 -0
  88. hiero_sdk_python/hapi/services/contract_types_pb2_grpc.py +24 -0
  89. hiero_sdk_python/hapi/services/contract_update_pb2.py +47 -0
  90. hiero_sdk_python/hapi/services/contract_update_pb2.pyi +39 -0
  91. hiero_sdk_python/hapi/services/contract_update_pb2_grpc.py +24 -0
  92. hiero_sdk_python/hapi/services/crypto_add_live_hash_pb2.py +41 -0
  93. hiero_sdk_python/hapi/services/crypto_add_live_hash_pb2.pyi +25 -0
  94. hiero_sdk_python/hapi/services/crypto_add_live_hash_pb2_grpc.py +24 -0
  95. hiero_sdk_python/hapi/services/crypto_approve_allowance_pb2.py +45 -0
  96. hiero_sdk_python/hapi/services/crypto_approve_allowance_pb2.pyi +56 -0
  97. hiero_sdk_python/hapi/services/crypto_approve_allowance_pb2_grpc.py +24 -0
  98. hiero_sdk_python/hapi/services/crypto_create_pb2.py +45 -0
  99. hiero_sdk_python/hapi/services/crypto_create_pb2.pyi +43 -0
  100. hiero_sdk_python/hapi/services/crypto_create_pb2_grpc.py +24 -0
  101. hiero_sdk_python/hapi/services/crypto_delete_allowance_pb2.py +40 -0
  102. hiero_sdk_python/hapi/services/crypto_delete_allowance_pb2.pyi +23 -0
  103. hiero_sdk_python/hapi/services/crypto_delete_allowance_pb2_grpc.py +24 -0
  104. hiero_sdk_python/hapi/services/crypto_delete_live_hash_pb2.py +38 -0
  105. hiero_sdk_python/hapi/services/crypto_delete_live_hash_pb2.pyi +14 -0
  106. hiero_sdk_python/hapi/services/crypto_delete_live_hash_pb2_grpc.py +24 -0
  107. hiero_sdk_python/hapi/services/crypto_delete_pb2.py +38 -0
  108. hiero_sdk_python/hapi/services/crypto_delete_pb2.pyi +14 -0
  109. hiero_sdk_python/hapi/services/crypto_delete_pb2_grpc.py +24 -0
  110. hiero_sdk_python/hapi/services/crypto_get_account_balance_pb2.py +44 -0
  111. hiero_sdk_python/hapi/services/crypto_get_account_balance_pb2.pyi +31 -0
  112. hiero_sdk_python/hapi/services/crypto_get_account_balance_pb2_grpc.py +24 -0
  113. hiero_sdk_python/hapi/services/crypto_get_account_records_pb2.py +43 -0
  114. hiero_sdk_python/hapi/services/crypto_get_account_records_pb2.pyi +28 -0
  115. hiero_sdk_python/hapi/services/crypto_get_account_records_pb2_grpc.py +24 -0
  116. hiero_sdk_python/hapi/services/crypto_get_info_pb2.py +55 -0
  117. hiero_sdk_python/hapi/services/crypto_get_info_pb2.pyi +73 -0
  118. hiero_sdk_python/hapi/services/crypto_get_info_pb2_grpc.py +24 -0
  119. hiero_sdk_python/hapi/services/crypto_get_live_hash_pb2.py +43 -0
  120. hiero_sdk_python/hapi/services/crypto_get_live_hash_pb2.pyi +27 -0
  121. hiero_sdk_python/hapi/services/crypto_get_live_hash_pb2_grpc.py +24 -0
  122. hiero_sdk_python/hapi/services/crypto_get_stakers_pb2.py +46 -0
  123. hiero_sdk_python/hapi/services/crypto_get_stakers_pb2.pyi +41 -0
  124. hiero_sdk_python/hapi/services/crypto_get_stakers_pb2_grpc.py +24 -0
  125. hiero_sdk_python/hapi/services/crypto_service_pb2.py +41 -0
  126. hiero_sdk_python/hapi/services/crypto_service_pb2.pyi +8 -0
  127. hiero_sdk_python/hapi/services/crypto_service_pb2_grpc.py +787 -0
  128. hiero_sdk_python/hapi/services/crypto_transfer_pb2.py +38 -0
  129. hiero_sdk_python/hapi/services/crypto_transfer_pb2.pyi +15 -0
  130. hiero_sdk_python/hapi/services/crypto_transfer_pb2_grpc.py +24 -0
  131. hiero_sdk_python/hapi/services/crypto_update_pb2.py +55 -0
  132. hiero_sdk_python/hapi/services/crypto_update_pb2.pyi +47 -0
  133. hiero_sdk_python/hapi/services/crypto_update_pb2_grpc.py +24 -0
  134. hiero_sdk_python/hapi/services/custom_fees_pb2.py +46 -0
  135. hiero_sdk_python/hapi/services/custom_fees_pb2.pyi +61 -0
  136. hiero_sdk_python/hapi/services/custom_fees_pb2_grpc.py +24 -0
  137. hiero_sdk_python/hapi/services/duration_pb2.py +37 -0
  138. hiero_sdk_python/hapi/services/duration_pb2.pyi +11 -0
  139. hiero_sdk_python/hapi/services/duration_pb2_grpc.py +24 -0
  140. hiero_sdk_python/hapi/services/ethereum_transaction_pb2.py +38 -0
  141. hiero_sdk_python/hapi/services/ethereum_transaction_pb2.pyi +16 -0
  142. hiero_sdk_python/hapi/services/ethereum_transaction_pb2_grpc.py +24 -0
  143. hiero_sdk_python/hapi/services/event/event_consensus_data_pb2.py +40 -0
  144. hiero_sdk_python/hapi/services/event/event_consensus_data_pb2.pyi +16 -0
  145. hiero_sdk_python/hapi/services/event/event_consensus_data_pb2_grpc.py +24 -0
  146. hiero_sdk_python/hapi/services/event/event_core_pb2.py +40 -0
  147. hiero_sdk_python/hapi/services/event/event_core_pb2.pyi +23 -0
  148. hiero_sdk_python/hapi/services/event/event_core_pb2_grpc.py +24 -0
  149. hiero_sdk_python/hapi/services/event/event_descriptor_pb2.py +37 -0
  150. hiero_sdk_python/hapi/services/event/event_descriptor_pb2.pyi +17 -0
  151. hiero_sdk_python/hapi/services/event/event_descriptor_pb2_grpc.py +24 -0
  152. hiero_sdk_python/hapi/services/event/event_transaction_pb2.py +38 -0
  153. hiero_sdk_python/hapi/services/event/event_transaction_pb2.pyi +14 -0
  154. hiero_sdk_python/hapi/services/event/event_transaction_pb2_grpc.py +24 -0
  155. hiero_sdk_python/hapi/services/event/gossip_event_pb2.py +41 -0
  156. hiero_sdk_python/hapi/services/event/gossip_event_pb2.pyi +20 -0
  157. hiero_sdk_python/hapi/services/event/gossip_event_pb2_grpc.py +24 -0
  158. hiero_sdk_python/hapi/services/event/state_signature_transaction_pb2.py +37 -0
  159. hiero_sdk_python/hapi/services/event/state_signature_transaction_pb2.pyi +15 -0
  160. hiero_sdk_python/hapi/services/event/state_signature_transaction_pb2_grpc.py +24 -0
  161. hiero_sdk_python/hapi/services/exchange_rate_pb2.py +40 -0
  162. hiero_sdk_python/hapi/services/exchange_rate_pb2.pyi +24 -0
  163. hiero_sdk_python/hapi/services/exchange_rate_pb2_grpc.py +24 -0
  164. hiero_sdk_python/hapi/services/file_append_pb2.py +38 -0
  165. hiero_sdk_python/hapi/services/file_append_pb2.pyi +14 -0
  166. hiero_sdk_python/hapi/services/file_append_pb2_grpc.py +24 -0
  167. hiero_sdk_python/hapi/services/file_create_pb2.py +39 -0
  168. hiero_sdk_python/hapi/services/file_create_pb2.pyi +25 -0
  169. hiero_sdk_python/hapi/services/file_create_pb2_grpc.py +24 -0
  170. hiero_sdk_python/hapi/services/file_delete_pb2.py +38 -0
  171. hiero_sdk_python/hapi/services/file_delete_pb2.pyi +12 -0
  172. hiero_sdk_python/hapi/services/file_delete_pb2_grpc.py +24 -0
  173. hiero_sdk_python/hapi/services/file_get_contents_pb2.py +44 -0
  174. hiero_sdk_python/hapi/services/file_get_contents_pb2.pyi +31 -0
  175. hiero_sdk_python/hapi/services/file_get_contents_pb2_grpc.py +24 -0
  176. hiero_sdk_python/hapi/services/file_get_info_pb2.py +45 -0
  177. hiero_sdk_python/hapi/services/file_get_info_pb2.pyi +42 -0
  178. hiero_sdk_python/hapi/services/file_get_info_pb2_grpc.py +24 -0
  179. hiero_sdk_python/hapi/services/file_service_pb2.py +41 -0
  180. hiero_sdk_python/hapi/services/file_service_pb2.pyi +8 -0
  181. hiero_sdk_python/hapi/services/file_service_pb2_grpc.py +423 -0
  182. hiero_sdk_python/hapi/services/file_update_pb2.py +40 -0
  183. hiero_sdk_python/hapi/services/file_update_pb2.pyi +22 -0
  184. hiero_sdk_python/hapi/services/file_update_pb2_grpc.py +24 -0
  185. hiero_sdk_python/hapi/services/freeze_pb2.py +48 -0
  186. hiero_sdk_python/hapi/services/freeze_pb2.pyi +28 -0
  187. hiero_sdk_python/hapi/services/freeze_pb2_grpc.py +24 -0
  188. hiero_sdk_python/hapi/services/freeze_service_pb2.py +39 -0
  189. hiero_sdk_python/hapi/services/freeze_service_pb2.pyi +6 -0
  190. hiero_sdk_python/hapi/services/freeze_service_pb2_grpc.py +107 -0
  191. hiero_sdk_python/hapi/services/freeze_type_pb2.py +37 -0
  192. hiero_sdk_python/hapi/services/freeze_type_pb2.pyi +20 -0
  193. hiero_sdk_python/hapi/services/freeze_type_pb2_grpc.py +24 -0
  194. hiero_sdk_python/hapi/services/get_account_details_pb2.py +56 -0
  195. hiero_sdk_python/hapi/services/get_account_details_pb2.pyi +96 -0
  196. hiero_sdk_python/hapi/services/get_account_details_pb2_grpc.py +24 -0
  197. hiero_sdk_python/hapi/services/get_by_key_pb2.py +45 -0
  198. hiero_sdk_python/hapi/services/get_by_key_pb2.pyi +38 -0
  199. hiero_sdk_python/hapi/services/get_by_key_pb2_grpc.py +24 -0
  200. hiero_sdk_python/hapi/services/get_by_solidity_id_pb2.py +42 -0
  201. hiero_sdk_python/hapi/services/get_by_solidity_id_pb2.pyi +28 -0
  202. hiero_sdk_python/hapi/services/get_by_solidity_id_pb2_grpc.py +24 -0
  203. hiero_sdk_python/hapi/services/network_get_execution_time_pb2.py +42 -0
  204. hiero_sdk_python/hapi/services/network_get_execution_time_pb2.pyi +25 -0
  205. hiero_sdk_python/hapi/services/network_get_execution_time_pb2_grpc.py +24 -0
  206. hiero_sdk_python/hapi/services/network_get_version_info_pb2.py +42 -0
  207. hiero_sdk_python/hapi/services/network_get_version_info_pb2.pyi +24 -0
  208. hiero_sdk_python/hapi/services/network_get_version_info_pb2_grpc.py +24 -0
  209. hiero_sdk_python/hapi/services/network_service_pb2.py +41 -0
  210. hiero_sdk_python/hapi/services/network_service_pb2.pyi +8 -0
  211. hiero_sdk_python/hapi/services/network_service_pb2_grpc.py +250 -0
  212. hiero_sdk_python/hapi/services/node_create_pb2.py +38 -0
  213. hiero_sdk_python/hapi/services/node_create_pb2.pyi +25 -0
  214. hiero_sdk_python/hapi/services/node_create_pb2_grpc.py +24 -0
  215. hiero_sdk_python/hapi/services/node_delete_pb2.py +37 -0
  216. hiero_sdk_python/hapi/services/node_delete_pb2.pyi +11 -0
  217. hiero_sdk_python/hapi/services/node_delete_pb2_grpc.py +24 -0
  218. hiero_sdk_python/hapi/services/node_stake_update_pb2.py +43 -0
  219. hiero_sdk_python/hapi/services/node_stake_update_pb2.pyi +58 -0
  220. hiero_sdk_python/hapi/services/node_stake_update_pb2_grpc.py +24 -0
  221. hiero_sdk_python/hapi/services/node_update_pb2.py +39 -0
  222. hiero_sdk_python/hapi/services/node_update_pb2.pyi +28 -0
  223. hiero_sdk_python/hapi/services/node_update_pb2_grpc.py +24 -0
  224. hiero_sdk_python/hapi/services/query_header_pb2.py +40 -0
  225. hiero_sdk_python/hapi/services/query_header_pb2.pyi +26 -0
  226. hiero_sdk_python/hapi/services/query_header_pb2_grpc.py +24 -0
  227. hiero_sdk_python/hapi/services/query_pb2.py +62 -0
  228. hiero_sdk_python/hapi/services/query_pb2.pyi +84 -0
  229. hiero_sdk_python/hapi/services/query_pb2_grpc.py +24 -0
  230. hiero_sdk_python/hapi/services/response_code_pb2.py +53 -0
  231. hiero_sdk_python/hapi/services/response_code_pb2.pyi +674 -0
  232. hiero_sdk_python/hapi/services/response_code_pb2_grpc.py +24 -0
  233. hiero_sdk_python/hapi/services/response_header_pb2.py +39 -0
  234. hiero_sdk_python/hapi/services/response_header_pb2.pyi +19 -0
  235. hiero_sdk_python/hapi/services/response_header_pb2_grpc.py +24 -0
  236. hiero_sdk_python/hapi/services/response_pb2.py +62 -0
  237. hiero_sdk_python/hapi/services/response_pb2.pyi +84 -0
  238. hiero_sdk_python/hapi/services/response_pb2_grpc.py +24 -0
  239. hiero_sdk_python/hapi/services/schedulable_transaction_body_pb2.py +83 -0
  240. hiero_sdk_python/hapi/services/schedulable_transaction_body_pb2.pyi +151 -0
  241. hiero_sdk_python/hapi/services/schedulable_transaction_body_pb2_grpc.py +24 -0
  242. hiero_sdk_python/hapi/services/schedule_create_pb2.py +40 -0
  243. hiero_sdk_python/hapi/services/schedule_create_pb2.pyi +24 -0
  244. hiero_sdk_python/hapi/services/schedule_create_pb2_grpc.py +24 -0
  245. hiero_sdk_python/hapi/services/schedule_delete_pb2.py +38 -0
  246. hiero_sdk_python/hapi/services/schedule_delete_pb2.pyi +12 -0
  247. hiero_sdk_python/hapi/services/schedule_delete_pb2_grpc.py +24 -0
  248. hiero_sdk_python/hapi/services/schedule_get_info_pb2.py +46 -0
  249. hiero_sdk_python/hapi/services/schedule_get_info_pb2.pyi +56 -0
  250. hiero_sdk_python/hapi/services/schedule_get_info_pb2_grpc.py +24 -0
  251. hiero_sdk_python/hapi/services/schedule_service_pb2.py +41 -0
  252. hiero_sdk_python/hapi/services/schedule_service_pb2.pyi +8 -0
  253. hiero_sdk_python/hapi/services/schedule_service_pb2_grpc.py +402 -0
  254. hiero_sdk_python/hapi/services/schedule_sign_pb2.py +38 -0
  255. hiero_sdk_python/hapi/services/schedule_sign_pb2.pyi +12 -0
  256. hiero_sdk_python/hapi/services/schedule_sign_pb2_grpc.py +24 -0
  257. hiero_sdk_python/hapi/services/smart_contract_service_pb2.py +43 -0
  258. hiero_sdk_python/hapi/services/smart_contract_service_pb2.pyi +8 -0
  259. hiero_sdk_python/hapi/services/smart_contract_service_pb2_grpc.py +604 -0
  260. hiero_sdk_python/hapi/services/system_delete_pb2.py +39 -0
  261. hiero_sdk_python/hapi/services/system_delete_pb2.pyi +17 -0
  262. hiero_sdk_python/hapi/services/system_delete_pb2_grpc.py +24 -0
  263. hiero_sdk_python/hapi/services/system_undelete_pb2.py +38 -0
  264. hiero_sdk_python/hapi/services/system_undelete_pb2.pyi +14 -0
  265. hiero_sdk_python/hapi/services/system_undelete_pb2_grpc.py +24 -0
  266. hiero_sdk_python/hapi/services/throttle_definitions_pb2.py +42 -0
  267. hiero_sdk_python/hapi/services/throttle_definitions_pb2.pyi +31 -0
  268. hiero_sdk_python/hapi/services/throttle_definitions_pb2_grpc.py +24 -0
  269. hiero_sdk_python/hapi/services/timestamp_pb2.py +39 -0
  270. hiero_sdk_python/hapi/services/timestamp_pb2.pyi +19 -0
  271. hiero_sdk_python/hapi/services/timestamp_pb2_grpc.py +24 -0
  272. hiero_sdk_python/hapi/services/token_airdrop_pb2.py +38 -0
  273. hiero_sdk_python/hapi/services/token_airdrop_pb2.pyi +13 -0
  274. hiero_sdk_python/hapi/services/token_airdrop_pb2_grpc.py +24 -0
  275. hiero_sdk_python/hapi/services/token_associate_pb2.py +38 -0
  276. hiero_sdk_python/hapi/services/token_associate_pb2.pyi +15 -0
  277. hiero_sdk_python/hapi/services/token_associate_pb2_grpc.py +24 -0
  278. hiero_sdk_python/hapi/services/token_burn_pb2.py +38 -0
  279. hiero_sdk_python/hapi/services/token_burn_pb2.pyi +17 -0
  280. hiero_sdk_python/hapi/services/token_burn_pb2_grpc.py +24 -0
  281. hiero_sdk_python/hapi/services/token_cancel_airdrop_pb2.py +38 -0
  282. hiero_sdk_python/hapi/services/token_cancel_airdrop_pb2.pyi +13 -0
  283. hiero_sdk_python/hapi/services/token_cancel_airdrop_pb2_grpc.py +24 -0
  284. hiero_sdk_python/hapi/services/token_claim_airdrop_pb2.py +38 -0
  285. hiero_sdk_python/hapi/services/token_claim_airdrop_pb2.pyi +13 -0
  286. hiero_sdk_python/hapi/services/token_claim_airdrop_pb2_grpc.py +24 -0
  287. hiero_sdk_python/hapi/services/token_create_pb2.py +41 -0
  288. hiero_sdk_python/hapi/services/token_create_pb2.pyi +60 -0
  289. hiero_sdk_python/hapi/services/token_create_pb2_grpc.py +24 -0
  290. hiero_sdk_python/hapi/services/token_delete_pb2.py +38 -0
  291. hiero_sdk_python/hapi/services/token_delete_pb2.pyi +12 -0
  292. hiero_sdk_python/hapi/services/token_delete_pb2_grpc.py +24 -0
  293. hiero_sdk_python/hapi/services/token_dissociate_pb2.py +38 -0
  294. hiero_sdk_python/hapi/services/token_dissociate_pb2.pyi +15 -0
  295. hiero_sdk_python/hapi/services/token_dissociate_pb2_grpc.py +24 -0
  296. hiero_sdk_python/hapi/services/token_fee_schedule_update_pb2.py +39 -0
  297. hiero_sdk_python/hapi/services/token_fee_schedule_update_pb2.pyi +16 -0
  298. hiero_sdk_python/hapi/services/token_fee_schedule_update_pb2_grpc.py +24 -0
  299. hiero_sdk_python/hapi/services/token_freeze_account_pb2.py +38 -0
  300. hiero_sdk_python/hapi/services/token_freeze_account_pb2.pyi +14 -0
  301. hiero_sdk_python/hapi/services/token_freeze_account_pb2_grpc.py +24 -0
  302. hiero_sdk_python/hapi/services/token_get_account_nft_infos_pb2.py +43 -0
  303. hiero_sdk_python/hapi/services/token_get_account_nft_infos_pb2.pyi +30 -0
  304. hiero_sdk_python/hapi/services/token_get_account_nft_infos_pb2_grpc.py +24 -0
  305. hiero_sdk_python/hapi/services/token_get_info_pb2.py +47 -0
  306. hiero_sdk_python/hapi/services/token_get_info_pb2.pyi +88 -0
  307. hiero_sdk_python/hapi/services/token_get_info_pb2_grpc.py +24 -0
  308. hiero_sdk_python/hapi/services/token_get_nft_info_pb2.py +45 -0
  309. hiero_sdk_python/hapi/services/token_get_nft_info_pb2.pyi +41 -0
  310. hiero_sdk_python/hapi/services/token_get_nft_info_pb2_grpc.py +24 -0
  311. hiero_sdk_python/hapi/services/token_get_nft_infos_pb2.py +43 -0
  312. hiero_sdk_python/hapi/services/token_get_nft_infos_pb2.pyi +32 -0
  313. hiero_sdk_python/hapi/services/token_get_nft_infos_pb2_grpc.py +24 -0
  314. hiero_sdk_python/hapi/services/token_grant_kyc_pb2.py +38 -0
  315. hiero_sdk_python/hapi/services/token_grant_kyc_pb2.pyi +14 -0
  316. hiero_sdk_python/hapi/services/token_grant_kyc_pb2_grpc.py +24 -0
  317. hiero_sdk_python/hapi/services/token_mint_pb2.py +38 -0
  318. hiero_sdk_python/hapi/services/token_mint_pb2.pyi +17 -0
  319. hiero_sdk_python/hapi/services/token_mint_pb2_grpc.py +24 -0
  320. hiero_sdk_python/hapi/services/token_pause_pb2.py +38 -0
  321. hiero_sdk_python/hapi/services/token_pause_pb2.pyi +12 -0
  322. hiero_sdk_python/hapi/services/token_pause_pb2_grpc.py +24 -0
  323. hiero_sdk_python/hapi/services/token_reject_pb2.py +40 -0
  324. hiero_sdk_python/hapi/services/token_reject_pb2.pyi +23 -0
  325. hiero_sdk_python/hapi/services/token_reject_pb2_grpc.py +24 -0
  326. hiero_sdk_python/hapi/services/token_revoke_kyc_pb2.py +38 -0
  327. hiero_sdk_python/hapi/services/token_revoke_kyc_pb2.pyi +14 -0
  328. hiero_sdk_python/hapi/services/token_revoke_kyc_pb2_grpc.py +24 -0
  329. hiero_sdk_python/hapi/services/token_service_pb2.py +45 -0
  330. hiero_sdk_python/hapi/services/token_service_pb2.pyi +8 -0
  331. hiero_sdk_python/hapi/services/token_service_pb2_grpc.py +1179 -0
  332. hiero_sdk_python/hapi/services/token_unfreeze_account_pb2.py +38 -0
  333. hiero_sdk_python/hapi/services/token_unfreeze_account_pb2.pyi +14 -0
  334. hiero_sdk_python/hapi/services/token_unfreeze_account_pb2_grpc.py +24 -0
  335. hiero_sdk_python/hapi/services/token_unpause_pb2.py +38 -0
  336. hiero_sdk_python/hapi/services/token_unpause_pb2.pyi +12 -0
  337. hiero_sdk_python/hapi/services/token_unpause_pb2_grpc.py +24 -0
  338. hiero_sdk_python/hapi/services/token_update_nfts_pb2.py +39 -0
  339. hiero_sdk_python/hapi/services/token_update_nfts_pb2.pyi +18 -0
  340. hiero_sdk_python/hapi/services/token_update_nfts_pb2_grpc.py +24 -0
  341. hiero_sdk_python/hapi/services/token_update_pb2.py +41 -0
  342. hiero_sdk_python/hapi/services/token_update_pb2.pyi +49 -0
  343. hiero_sdk_python/hapi/services/token_update_pb2_grpc.py +24 -0
  344. hiero_sdk_python/hapi/services/token_wipe_account_pb2.py +38 -0
  345. hiero_sdk_python/hapi/services/token_wipe_account_pb2.pyi +19 -0
  346. hiero_sdk_python/hapi/services/token_wipe_account_pb2_grpc.py +24 -0
  347. hiero_sdk_python/hapi/services/transaction_body_pb2.py +99 -0
  348. hiero_sdk_python/hapi/services/transaction_body_pb2.pyi +197 -0
  349. hiero_sdk_python/hapi/services/transaction_body_pb2_grpc.py +24 -0
  350. hiero_sdk_python/hapi/services/transaction_contents_pb2.py +38 -0
  351. hiero_sdk_python/hapi/services/transaction_contents_pb2.pyi +14 -0
  352. hiero_sdk_python/hapi/services/transaction_contents_pb2_grpc.py +24 -0
  353. hiero_sdk_python/hapi/services/transaction_get_fast_record_pb2.py +43 -0
  354. hiero_sdk_python/hapi/services/transaction_get_fast_record_pb2.pyi +25 -0
  355. hiero_sdk_python/hapi/services/transaction_get_fast_record_pb2_grpc.py +24 -0
  356. hiero_sdk_python/hapi/services/transaction_get_receipt_pb2.py +43 -0
  357. hiero_sdk_python/hapi/services/transaction_get_receipt_pb2.pyi +34 -0
  358. hiero_sdk_python/hapi/services/transaction_get_receipt_pb2_grpc.py +24 -0
  359. hiero_sdk_python/hapi/services/transaction_get_record_pb2.py +43 -0
  360. hiero_sdk_python/hapi/services/transaction_get_record_pb2.pyi +34 -0
  361. hiero_sdk_python/hapi/services/transaction_get_record_pb2_grpc.py +24 -0
  362. hiero_sdk_python/hapi/services/transaction_pb2.py +47 -0
  363. hiero_sdk_python/hapi/services/transaction_pb2.pyi +21 -0
  364. hiero_sdk_python/hapi/services/transaction_pb2_grpc.py +24 -0
  365. hiero_sdk_python/hapi/services/transaction_receipt_pb2.py +40 -0
  366. hiero_sdk_python/hapi/services/transaction_receipt_pb2.pyi +43 -0
  367. hiero_sdk_python/hapi/services/transaction_receipt_pb2_grpc.py +24 -0
  368. hiero_sdk_python/hapi/services/transaction_record_pb2.py +45 -0
  369. hiero_sdk_python/hapi/services/transaction_record_pb2.pyi +66 -0
  370. hiero_sdk_python/hapi/services/transaction_record_pb2_grpc.py +24 -0
  371. hiero_sdk_python/hapi/services/transaction_response_pb2.py +38 -0
  372. hiero_sdk_python/hapi/services/transaction_response_pb2.pyi +14 -0
  373. hiero_sdk_python/hapi/services/transaction_response_pb2_grpc.py +24 -0
  374. hiero_sdk_python/hapi/services/unchecked_submit_pb2.py +37 -0
  375. hiero_sdk_python/hapi/services/unchecked_submit_pb2.pyi +11 -0
  376. hiero_sdk_python/hapi/services/unchecked_submit_pb2_grpc.py +24 -0
  377. hiero_sdk_python/hapi/services/util_prng_pb2.py +37 -0
  378. hiero_sdk_python/hapi/services/util_prng_pb2.pyi +11 -0
  379. hiero_sdk_python/hapi/services/util_prng_pb2_grpc.py +24 -0
  380. hiero_sdk_python/hapi/services/util_service_pb2.py +39 -0
  381. hiero_sdk_python/hapi/services/util_service_pb2.pyi +6 -0
  382. hiero_sdk_python/hapi/services/util_service_pb2_grpc.py +106 -0
  383. hiero_sdk_python/hbar.py +33 -0
  384. hiero_sdk_python/query/__init__.py +0 -0
  385. hiero_sdk_python/query/account_balance_query.py +100 -0
  386. hiero_sdk_python/query/query.py +138 -0
  387. hiero_sdk_python/query/topic_info_query.py +105 -0
  388. hiero_sdk_python/query/topic_message_query.py +105 -0
  389. hiero_sdk_python/query/transaction_get_receipt_query.py +128 -0
  390. hiero_sdk_python/response_code.py +587 -0
  391. hiero_sdk_python/timestamp.py +166 -0
  392. hiero_sdk_python/tokens/__init__.py +0 -0
  393. hiero_sdk_python/tokens/token_associate_transaction.py +85 -0
  394. hiero_sdk_python/tokens/token_create_transaction.py +144 -0
  395. hiero_sdk_python/tokens/token_delete_transaction.py +84 -0
  396. hiero_sdk_python/tokens/token_dissociate_transaction.py +81 -0
  397. hiero_sdk_python/tokens/token_id.py +44 -0
  398. hiero_sdk_python/tokens/token_mint_transaction.py +143 -0
  399. hiero_sdk_python/transaction/__init__.py +0 -0
  400. hiero_sdk_python/transaction/query_payment.py +32 -0
  401. hiero_sdk_python/transaction/transaction.py +267 -0
  402. hiero_sdk_python/transaction/transaction_id.py +140 -0
  403. hiero_sdk_python/transaction/transaction_receipt.py +78 -0
  404. hiero_sdk_python/transaction/transfer_transaction.py +119 -0
  405. hiero_sdk_python/utils/key_format.py +22 -0
  406. hiero_sdk_python-0.0.0.dev2.dist-info/METADATA +822 -0
  407. hiero_sdk_python-0.0.0.dev2.dist-info/RECORD +410 -0
  408. hiero_sdk_python-0.0.0.dev2.dist-info/WHEEL +4 -0
  409. hiero_sdk_python-0.0.0.dev2.dist-info/entry_points.txt +4 -0
  410. 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
+ )