@mysten/sui 1.42.0 → 1.43.0

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 (424) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/cjs/bcs/bcs.d.ts +47 -111
  3. package/dist/cjs/bcs/bcs.js +17 -17
  4. package/dist/cjs/bcs/bcs.js.map +2 -2
  5. package/dist/cjs/bcs/effects.d.ts +2 -6
  6. package/dist/cjs/bcs/effects.js +1 -1
  7. package/dist/cjs/bcs/effects.js.map +2 -2
  8. package/dist/cjs/bcs/index.d.ts +49 -117
  9. package/dist/cjs/bcs/type-tag-serializer.d.ts +1 -0
  10. package/dist/cjs/bcs/type-tag-serializer.js +5 -1
  11. package/dist/cjs/bcs/type-tag-serializer.js.map +2 -2
  12. package/dist/cjs/cryptography/intent.js +1 -1
  13. package/dist/cjs/cryptography/intent.js.map +2 -2
  14. package/dist/cjs/cryptography/keypair.js +1 -1
  15. package/dist/cjs/cryptography/keypair.js.map +2 -2
  16. package/dist/cjs/cryptography/publickey.js +1 -1
  17. package/dist/cjs/cryptography/publickey.js.map +2 -2
  18. package/dist/cjs/cryptography/signature.d.ts +2 -2
  19. package/dist/cjs/experimental/client.js +0 -4
  20. package/dist/cjs/experimental/client.js.map +2 -2
  21. package/dist/cjs/experimental/types.d.ts +1 -7
  22. package/dist/cjs/experimental/types.js.map +1 -1
  23. package/dist/cjs/graphql/generated/queries.d.ts +1 -1
  24. package/dist/cjs/graphql/generated/queries.js.map +1 -1
  25. package/dist/cjs/grpc/core.d.ts +3 -1
  26. package/dist/cjs/grpc/core.js +5 -3
  27. package/dist/cjs/grpc/core.js.map +2 -2
  28. package/dist/cjs/grpc/proto/google/protobuf/any.d.ts +6 -6
  29. package/dist/cjs/grpc/proto/google/protobuf/any.js +20 -20
  30. package/dist/cjs/grpc/proto/google/protobuf/any.js.map +2 -2
  31. package/dist/cjs/grpc/proto/google/protobuf/duration.d.ts +4 -4
  32. package/dist/cjs/grpc/proto/google/protobuf/duration.js +8 -12
  33. package/dist/cjs/grpc/proto/google/protobuf/duration.js.map +2 -2
  34. package/dist/cjs/grpc/proto/google/protobuf/empty.d.ts +1 -1
  35. package/dist/cjs/grpc/proto/google/protobuf/empty.js.map +2 -2
  36. package/dist/cjs/grpc/proto/google/protobuf/field_mask.d.ts +4 -4
  37. package/dist/cjs/grpc/proto/google/protobuf/field_mask.js +8 -7
  38. package/dist/cjs/grpc/proto/google/protobuf/field_mask.js.map +2 -2
  39. package/dist/cjs/grpc/proto/google/protobuf/struct.d.ts +10 -10
  40. package/dist/cjs/grpc/proto/google/protobuf/struct.js +29 -17
  41. package/dist/cjs/grpc/proto/google/protobuf/struct.js.map +2 -2
  42. package/dist/cjs/grpc/proto/google/protobuf/timestamp.d.ts +4 -4
  43. package/dist/cjs/grpc/proto/google/protobuf/timestamp.js +21 -18
  44. package/dist/cjs/grpc/proto/google/protobuf/timestamp.js.map +2 -2
  45. package/dist/cjs/grpc/proto/google/rpc/error_details.d.ts +2 -2
  46. package/dist/cjs/grpc/proto/google/rpc/error_details.js +40 -11
  47. package/dist/cjs/grpc/proto/google/rpc/error_details.js.map +2 -2
  48. package/dist/cjs/grpc/proto/google/rpc/status.d.ts +2 -2
  49. package/dist/cjs/grpc/proto/google/rpc/status.js +1 -1
  50. package/dist/cjs/grpc/proto/google/rpc/status.js.map +2 -2
  51. package/dist/cjs/grpc/proto/sui/rpc/v2/argument.d.ts +1 -1
  52. package/dist/cjs/grpc/proto/sui/rpc/v2/argument.js +7 -1
  53. package/dist/cjs/grpc/proto/sui/rpc/v2/argument.js.map +2 -2
  54. package/dist/cjs/grpc/proto/sui/rpc/v2/balance_change.d.ts +1 -1
  55. package/dist/cjs/grpc/proto/sui/rpc/v2/balance_change.js.map +2 -2
  56. package/dist/cjs/grpc/proto/sui/rpc/v2/bcs.d.ts +1 -1
  57. package/dist/cjs/grpc/proto/sui/rpc/v2/bcs.js.map +2 -2
  58. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint.d.ts +6 -6
  59. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint.js +12 -7
  60. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint.js.map +2 -2
  61. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_contents.d.ts +3 -3
  62. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_contents.js +16 -4
  63. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_contents.js.map +2 -2
  64. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_summary.d.ts +5 -5
  65. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_summary.js +35 -13
  66. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_summary.js.map +2 -2
  67. package/dist/cjs/grpc/proto/sui/rpc/v2/effects.d.ts +6 -6
  68. package/dist/cjs/grpc/proto/sui/rpc/v2/effects.js +65 -19
  69. package/dist/cjs/grpc/proto/sui/rpc/v2/effects.js.map +2 -2
  70. package/dist/cjs/grpc/proto/sui/rpc/v2/epoch.d.ts +5 -5
  71. package/dist/cjs/grpc/proto/sui/rpc/v2/epoch.js +4 -8
  72. package/dist/cjs/grpc/proto/sui/rpc/v2/epoch.js.map +2 -2
  73. package/dist/cjs/grpc/proto/sui/rpc/v2/error_reason.js.map +2 -2
  74. package/dist/cjs/grpc/proto/sui/rpc/v2/event.d.ts +3 -3
  75. package/dist/cjs/grpc/proto/sui/rpc/v2/event.js +2 -2
  76. package/dist/cjs/grpc/proto/sui/rpc/v2/event.js.map +2 -2
  77. package/dist/cjs/grpc/proto/sui/rpc/v2/executed_transaction.d.ts +8 -8
  78. package/dist/cjs/grpc/proto/sui/rpc/v2/executed_transaction.js +21 -10
  79. package/dist/cjs/grpc/proto/sui/rpc/v2/executed_transaction.js.map +2 -2
  80. package/dist/cjs/grpc/proto/sui/rpc/v2/execution_status.d.ts +12 -12
  81. package/dist/cjs/grpc/proto/sui/rpc/v2/execution_status.js +75 -17
  82. package/dist/cjs/grpc/proto/sui/rpc/v2/execution_status.js.map +2 -2
  83. package/dist/cjs/grpc/proto/sui/rpc/v2/gas_cost_summary.d.ts +1 -1
  84. package/dist/cjs/grpc/proto/sui/rpc/v2/gas_cost_summary.js +0 -4
  85. package/dist/cjs/grpc/proto/sui/rpc/v2/gas_cost_summary.js.map +2 -2
  86. package/dist/cjs/grpc/proto/sui/rpc/v2/input.d.ts +2 -2
  87. package/dist/cjs/grpc/proto/sui/rpc/v2/input.js +8 -3
  88. package/dist/cjs/grpc/proto/sui/rpc/v2/input.js.map +2 -2
  89. package/dist/cjs/grpc/proto/sui/rpc/v2/jwk.d.ts +1 -1
  90. package/dist/cjs/grpc/proto/sui/rpc/v2/jwk.js.map +2 -2
  91. package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.client.d.ts +18 -18
  92. package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.client.js +50 -8
  93. package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.client.js.map +2 -2
  94. package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.d.ts +15 -15
  95. package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.js +41 -20
  96. package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.js.map +2 -2
  97. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package.d.ts +1 -1
  98. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package.js +126 -20
  99. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package.js.map +2 -2
  100. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.client.d.ts +12 -12
  101. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.client.js +29 -5
  102. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.client.js.map +2 -2
  103. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.d.ts +5 -5
  104. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.js +16 -6
  105. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.js.map +2 -2
  106. package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.client.d.ts +8 -8
  107. package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.client.js +15 -3
  108. package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.client.js.map +2 -2
  109. package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.d.ts +3 -3
  110. package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.js +18 -7
  111. package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.js.map +2 -2
  112. package/dist/cjs/grpc/proto/sui/rpc/v2/object.d.ts +5 -5
  113. package/dist/cjs/grpc/proto/sui/rpc/v2/object.js +4 -8
  114. package/dist/cjs/grpc/proto/sui/rpc/v2/object.js.map +2 -2
  115. package/dist/cjs/grpc/proto/sui/rpc/v2/object_reference.d.ts +1 -1
  116. package/dist/cjs/grpc/proto/sui/rpc/v2/object_reference.js +0 -1
  117. package/dist/cjs/grpc/proto/sui/rpc/v2/object_reference.js.map +2 -2
  118. package/dist/cjs/grpc/proto/sui/rpc/v2/owner.d.ts +1 -1
  119. package/dist/cjs/grpc/proto/sui/rpc/v2/owner.js +7 -2
  120. package/dist/cjs/grpc/proto/sui/rpc/v2/owner.js.map +2 -2
  121. package/dist/cjs/grpc/proto/sui/rpc/v2/protocol_config.d.ts +1 -1
  122. package/dist/cjs/grpc/proto/sui/rpc/v2/protocol_config.js +22 -11
  123. package/dist/cjs/grpc/proto/sui/rpc/v2/protocol_config.js.map +2 -2
  124. package/dist/cjs/grpc/proto/sui/rpc/v2/signature.d.ts +8 -8
  125. package/dist/cjs/grpc/proto/sui/rpc/v2/signature.js +73 -17
  126. package/dist/cjs/grpc/proto/sui/rpc/v2/signature.js.map +2 -2
  127. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_scheme.js.map +2 -2
  128. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.client.d.ts +6 -6
  129. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.client.js +8 -2
  130. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.client.js.map +2 -2
  131. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.d.ts +5 -5
  132. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.js +7 -6
  133. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.js.map +2 -2
  134. package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.client.d.ts +14 -14
  135. package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.client.js +36 -6
  136. package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.client.js.map +2 -2
  137. package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.d.ts +5 -5
  138. package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.js +60 -14
  139. package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.js.map +2 -2
  140. package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.client.d.ts +6 -6
  141. package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.client.js +8 -2
  142. package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.client.js.map +2 -2
  143. package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.d.ts +4 -4
  144. package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.js +9 -4
  145. package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.js.map +2 -2
  146. package/dist/cjs/grpc/proto/sui/rpc/v2/system_state.d.ts +1 -1
  147. package/dist/cjs/grpc/proto/sui/rpc/v2/system_state.js +26 -59
  148. package/dist/cjs/grpc/proto/sui/rpc/v2/system_state.js.map +2 -2
  149. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction.d.ts +29 -29
  150. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction.js +210 -71
  151. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction.js.map +2 -2
  152. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.client.d.ts +8 -8
  153. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js +15 -3
  154. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js.map +2 -2
  155. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.d.ts +9 -9
  156. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.js +62 -16
  157. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.js.map +2 -2
  158. package/dist/cjs/jsonRpc/client.d.ts +2 -6
  159. package/dist/cjs/jsonRpc/client.js +0 -8
  160. package/dist/cjs/jsonRpc/client.js.map +2 -2
  161. package/dist/cjs/keypairs/passkey/publickey.d.ts +1 -1
  162. package/dist/cjs/multisig/publickey.d.ts +10 -10
  163. package/dist/cjs/multisig/publickey.js +2 -2
  164. package/dist/cjs/multisig/publickey.js.map +2 -2
  165. package/dist/cjs/transactions/TransactionData.d.ts +1 -0
  166. package/dist/cjs/transactions/TransactionData.js +71 -0
  167. package/dist/cjs/transactions/TransactionData.js.map +3 -3
  168. package/dist/cjs/transactions/serializer.js +1 -1
  169. package/dist/cjs/transactions/serializer.js.map +2 -2
  170. package/dist/cjs/utils/index.d.ts +1 -0
  171. package/dist/cjs/utils/index.js +2 -0
  172. package/dist/cjs/utils/index.js.map +2 -2
  173. package/dist/cjs/version.d.ts +2 -2
  174. package/dist/cjs/version.js +2 -2
  175. package/dist/cjs/version.js.map +1 -1
  176. package/dist/cjs/zklogin/bcs.d.ts +1 -3
  177. package/dist/cjs/zklogin/bcs.js +1 -1
  178. package/dist/cjs/zklogin/bcs.js.map +2 -2
  179. package/dist/cjs/zklogin/publickey.d.ts +1 -1
  180. package/dist/cjs/zklogin/signature.d.ts +1 -1
  181. package/dist/esm/bcs/bcs.d.ts +47 -111
  182. package/dist/esm/bcs/bcs.js +17 -17
  183. package/dist/esm/bcs/bcs.js.map +2 -2
  184. package/dist/esm/bcs/effects.d.ts +2 -6
  185. package/dist/esm/bcs/effects.js +1 -1
  186. package/dist/esm/bcs/effects.js.map +2 -2
  187. package/dist/esm/bcs/index.d.ts +49 -117
  188. package/dist/esm/bcs/type-tag-serializer.d.ts +1 -0
  189. package/dist/esm/bcs/type-tag-serializer.js +5 -1
  190. package/dist/esm/bcs/type-tag-serializer.js.map +2 -2
  191. package/dist/esm/cryptography/intent.js +1 -1
  192. package/dist/esm/cryptography/intent.js.map +2 -2
  193. package/dist/esm/cryptography/keypair.js +1 -1
  194. package/dist/esm/cryptography/keypair.js.map +2 -2
  195. package/dist/esm/cryptography/publickey.js +1 -1
  196. package/dist/esm/cryptography/publickey.js.map +2 -2
  197. package/dist/esm/cryptography/signature.d.ts +2 -2
  198. package/dist/esm/experimental/client.js +0 -4
  199. package/dist/esm/experimental/client.js.map +2 -2
  200. package/dist/esm/experimental/types.d.ts +1 -7
  201. package/dist/esm/graphql/generated/queries.d.ts +1 -1
  202. package/dist/esm/graphql/generated/queries.js.map +1 -1
  203. package/dist/esm/grpc/core.d.ts +3 -1
  204. package/dist/esm/grpc/core.js +5 -3
  205. package/dist/esm/grpc/core.js.map +2 -2
  206. package/dist/esm/grpc/proto/google/protobuf/any.d.ts +6 -6
  207. package/dist/esm/grpc/proto/google/protobuf/any.js +20 -20
  208. package/dist/esm/grpc/proto/google/protobuf/any.js.map +2 -2
  209. package/dist/esm/grpc/proto/google/protobuf/duration.d.ts +4 -4
  210. package/dist/esm/grpc/proto/google/protobuf/duration.js +8 -12
  211. package/dist/esm/grpc/proto/google/protobuf/duration.js.map +2 -2
  212. package/dist/esm/grpc/proto/google/protobuf/empty.d.ts +1 -1
  213. package/dist/esm/grpc/proto/google/protobuf/empty.js.map +2 -2
  214. package/dist/esm/grpc/proto/google/protobuf/field_mask.d.ts +4 -4
  215. package/dist/esm/grpc/proto/google/protobuf/field_mask.js +8 -7
  216. package/dist/esm/grpc/proto/google/protobuf/field_mask.js.map +2 -2
  217. package/dist/esm/grpc/proto/google/protobuf/struct.d.ts +10 -10
  218. package/dist/esm/grpc/proto/google/protobuf/struct.js +29 -17
  219. package/dist/esm/grpc/proto/google/protobuf/struct.js.map +2 -2
  220. package/dist/esm/grpc/proto/google/protobuf/timestamp.d.ts +4 -4
  221. package/dist/esm/grpc/proto/google/protobuf/timestamp.js +21 -18
  222. package/dist/esm/grpc/proto/google/protobuf/timestamp.js.map +2 -2
  223. package/dist/esm/grpc/proto/google/rpc/error_details.d.ts +2 -2
  224. package/dist/esm/grpc/proto/google/rpc/error_details.js +40 -11
  225. package/dist/esm/grpc/proto/google/rpc/error_details.js.map +2 -2
  226. package/dist/esm/grpc/proto/google/rpc/status.d.ts +2 -2
  227. package/dist/esm/grpc/proto/google/rpc/status.js +1 -1
  228. package/dist/esm/grpc/proto/google/rpc/status.js.map +2 -2
  229. package/dist/esm/grpc/proto/sui/rpc/v2/argument.d.ts +1 -1
  230. package/dist/esm/grpc/proto/sui/rpc/v2/argument.js +7 -1
  231. package/dist/esm/grpc/proto/sui/rpc/v2/argument.js.map +2 -2
  232. package/dist/esm/grpc/proto/sui/rpc/v2/balance_change.d.ts +1 -1
  233. package/dist/esm/grpc/proto/sui/rpc/v2/balance_change.js.map +2 -2
  234. package/dist/esm/grpc/proto/sui/rpc/v2/bcs.d.ts +1 -1
  235. package/dist/esm/grpc/proto/sui/rpc/v2/bcs.js.map +2 -2
  236. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint.d.ts +6 -6
  237. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint.js +12 -7
  238. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint.js.map +2 -2
  239. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_contents.d.ts +3 -3
  240. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_contents.js +16 -4
  241. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_contents.js.map +2 -2
  242. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_summary.d.ts +5 -5
  243. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_summary.js +35 -13
  244. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_summary.js.map +2 -2
  245. package/dist/esm/grpc/proto/sui/rpc/v2/effects.d.ts +6 -6
  246. package/dist/esm/grpc/proto/sui/rpc/v2/effects.js +65 -19
  247. package/dist/esm/grpc/proto/sui/rpc/v2/effects.js.map +2 -2
  248. package/dist/esm/grpc/proto/sui/rpc/v2/epoch.d.ts +5 -5
  249. package/dist/esm/grpc/proto/sui/rpc/v2/epoch.js +4 -8
  250. package/dist/esm/grpc/proto/sui/rpc/v2/epoch.js.map +2 -2
  251. package/dist/esm/grpc/proto/sui/rpc/v2/error_reason.js.map +2 -2
  252. package/dist/esm/grpc/proto/sui/rpc/v2/event.d.ts +3 -3
  253. package/dist/esm/grpc/proto/sui/rpc/v2/event.js +2 -2
  254. package/dist/esm/grpc/proto/sui/rpc/v2/event.js.map +2 -2
  255. package/dist/esm/grpc/proto/sui/rpc/v2/executed_transaction.d.ts +8 -8
  256. package/dist/esm/grpc/proto/sui/rpc/v2/executed_transaction.js +21 -10
  257. package/dist/esm/grpc/proto/sui/rpc/v2/executed_transaction.js.map +2 -2
  258. package/dist/esm/grpc/proto/sui/rpc/v2/execution_status.d.ts +12 -12
  259. package/dist/esm/grpc/proto/sui/rpc/v2/execution_status.js +75 -17
  260. package/dist/esm/grpc/proto/sui/rpc/v2/execution_status.js.map +2 -2
  261. package/dist/esm/grpc/proto/sui/rpc/v2/gas_cost_summary.d.ts +1 -1
  262. package/dist/esm/grpc/proto/sui/rpc/v2/gas_cost_summary.js +0 -4
  263. package/dist/esm/grpc/proto/sui/rpc/v2/gas_cost_summary.js.map +2 -2
  264. package/dist/esm/grpc/proto/sui/rpc/v2/input.d.ts +2 -2
  265. package/dist/esm/grpc/proto/sui/rpc/v2/input.js +8 -3
  266. package/dist/esm/grpc/proto/sui/rpc/v2/input.js.map +2 -2
  267. package/dist/esm/grpc/proto/sui/rpc/v2/jwk.d.ts +1 -1
  268. package/dist/esm/grpc/proto/sui/rpc/v2/jwk.js.map +2 -2
  269. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.client.d.ts +18 -18
  270. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.client.js +50 -8
  271. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.client.js.map +2 -2
  272. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.d.ts +15 -15
  273. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.js +41 -20
  274. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.js.map +2 -2
  275. package/dist/esm/grpc/proto/sui/rpc/v2/move_package.d.ts +1 -1
  276. package/dist/esm/grpc/proto/sui/rpc/v2/move_package.js +126 -20
  277. package/dist/esm/grpc/proto/sui/rpc/v2/move_package.js.map +2 -2
  278. package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.client.d.ts +12 -12
  279. package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.client.js +29 -5
  280. package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.client.js.map +2 -2
  281. package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.d.ts +5 -5
  282. package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.js +16 -6
  283. package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.js.map +2 -2
  284. package/dist/esm/grpc/proto/sui/rpc/v2/name_service.client.d.ts +8 -8
  285. package/dist/esm/grpc/proto/sui/rpc/v2/name_service.client.js +15 -3
  286. package/dist/esm/grpc/proto/sui/rpc/v2/name_service.client.js.map +2 -2
  287. package/dist/esm/grpc/proto/sui/rpc/v2/name_service.d.ts +3 -3
  288. package/dist/esm/grpc/proto/sui/rpc/v2/name_service.js +18 -7
  289. package/dist/esm/grpc/proto/sui/rpc/v2/name_service.js.map +2 -2
  290. package/dist/esm/grpc/proto/sui/rpc/v2/object.d.ts +5 -5
  291. package/dist/esm/grpc/proto/sui/rpc/v2/object.js +4 -8
  292. package/dist/esm/grpc/proto/sui/rpc/v2/object.js.map +2 -2
  293. package/dist/esm/grpc/proto/sui/rpc/v2/object_reference.d.ts +1 -1
  294. package/dist/esm/grpc/proto/sui/rpc/v2/object_reference.js +0 -1
  295. package/dist/esm/grpc/proto/sui/rpc/v2/object_reference.js.map +2 -2
  296. package/dist/esm/grpc/proto/sui/rpc/v2/owner.d.ts +1 -1
  297. package/dist/esm/grpc/proto/sui/rpc/v2/owner.js +7 -2
  298. package/dist/esm/grpc/proto/sui/rpc/v2/owner.js.map +2 -2
  299. package/dist/esm/grpc/proto/sui/rpc/v2/protocol_config.d.ts +1 -1
  300. package/dist/esm/grpc/proto/sui/rpc/v2/protocol_config.js +22 -11
  301. package/dist/esm/grpc/proto/sui/rpc/v2/protocol_config.js.map +2 -2
  302. package/dist/esm/grpc/proto/sui/rpc/v2/signature.d.ts +8 -8
  303. package/dist/esm/grpc/proto/sui/rpc/v2/signature.js +73 -17
  304. package/dist/esm/grpc/proto/sui/rpc/v2/signature.js.map +2 -2
  305. package/dist/esm/grpc/proto/sui/rpc/v2/signature_scheme.js.map +2 -2
  306. package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.client.d.ts +6 -6
  307. package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.client.js +8 -2
  308. package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.client.js.map +2 -2
  309. package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.d.ts +5 -5
  310. package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.js +7 -6
  311. package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.js.map +2 -2
  312. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.d.ts +14 -14
  313. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.js +36 -6
  314. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.js.map +2 -2
  315. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.d.ts +5 -5
  316. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.js +60 -14
  317. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.js.map +2 -2
  318. package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.client.d.ts +6 -6
  319. package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.client.js +8 -2
  320. package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.client.js.map +2 -2
  321. package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.d.ts +4 -4
  322. package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.js +9 -4
  323. package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.js.map +2 -2
  324. package/dist/esm/grpc/proto/sui/rpc/v2/system_state.d.ts +1 -1
  325. package/dist/esm/grpc/proto/sui/rpc/v2/system_state.js +26 -59
  326. package/dist/esm/grpc/proto/sui/rpc/v2/system_state.js.map +2 -2
  327. package/dist/esm/grpc/proto/sui/rpc/v2/transaction.d.ts +29 -29
  328. package/dist/esm/grpc/proto/sui/rpc/v2/transaction.js +210 -71
  329. package/dist/esm/grpc/proto/sui/rpc/v2/transaction.js.map +2 -2
  330. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.client.d.ts +8 -8
  331. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js +15 -3
  332. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js.map +2 -2
  333. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.d.ts +9 -9
  334. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.js +62 -16
  335. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.js.map +2 -2
  336. package/dist/esm/jsonRpc/client.d.ts +2 -6
  337. package/dist/esm/jsonRpc/client.js +0 -8
  338. package/dist/esm/jsonRpc/client.js.map +2 -2
  339. package/dist/esm/keypairs/passkey/publickey.d.ts +1 -1
  340. package/dist/esm/multisig/publickey.d.ts +10 -10
  341. package/dist/esm/multisig/publickey.js +2 -2
  342. package/dist/esm/multisig/publickey.js.map +2 -2
  343. package/dist/esm/transactions/TransactionData.d.ts +1 -0
  344. package/dist/esm/transactions/TransactionData.js +71 -0
  345. package/dist/esm/transactions/TransactionData.js.map +3 -3
  346. package/dist/esm/transactions/serializer.js +1 -1
  347. package/dist/esm/transactions/serializer.js.map +2 -2
  348. package/dist/esm/utils/index.d.ts +1 -0
  349. package/dist/esm/utils/index.js +2 -0
  350. package/dist/esm/utils/index.js.map +2 -2
  351. package/dist/esm/version.d.ts +2 -2
  352. package/dist/esm/version.js +2 -2
  353. package/dist/esm/version.js.map +1 -1
  354. package/dist/esm/zklogin/bcs.d.ts +1 -3
  355. package/dist/esm/zklogin/bcs.js +1 -1
  356. package/dist/esm/zklogin/bcs.js.map +2 -2
  357. package/dist/esm/zklogin/publickey.d.ts +1 -1
  358. package/dist/esm/zklogin/signature.d.ts +1 -1
  359. package/dist/tsconfig.esm.tsbuildinfo +1 -1
  360. package/dist/tsconfig.tsbuildinfo +1 -1
  361. package/package.json +2 -2
  362. package/src/bcs/bcs.ts +17 -17
  363. package/src/bcs/effects.ts +1 -1
  364. package/src/bcs/type-tag-serializer.ts +4 -0
  365. package/src/cryptography/intent.ts +1 -1
  366. package/src/cryptography/keypair.ts +1 -1
  367. package/src/cryptography/publickey.ts +1 -1
  368. package/src/experimental/client.ts +0 -4
  369. package/src/experimental/types.ts +4 -17
  370. package/src/graphql/generated/queries.ts +1 -1
  371. package/src/grpc/core.ts +28 -8
  372. package/src/grpc/proto/google/protobuf/any.ts +159 -144
  373. package/src/grpc/proto/google/protobuf/duration.ts +77 -74
  374. package/src/grpc/proto/google/protobuf/empty.ts +5 -6
  375. package/src/grpc/proto/google/protobuf/field_mask.ts +59 -47
  376. package/src/grpc/proto/google/protobuf/struct.ts +223 -201
  377. package/src/grpc/proto/google/protobuf/timestamp.ts +121 -100
  378. package/src/grpc/proto/google/rpc/error_details.ts +388 -352
  379. package/src/grpc/proto/google/rpc/status.ts +32 -32
  380. package/src/grpc/proto/sui/rpc/v2/argument.ts +60 -54
  381. package/src/grpc/proto/sui/rpc/v2/balance_change.ts +26 -26
  382. package/src/grpc/proto/sui/rpc/v2/bcs.ts +19 -19
  383. package/src/grpc/proto/sui/rpc/v2/checkpoint.ts +79 -66
  384. package/src/grpc/proto/sui/rpc/v2/checkpoint_contents.ts +72 -60
  385. package/src/grpc/proto/sui/rpc/v2/checkpoint_summary.ts +219 -158
  386. package/src/grpc/proto/sui/rpc/v2/effects.ts +418 -318
  387. package/src/grpc/proto/sui/rpc/v2/epoch.ts +90 -62
  388. package/src/grpc/proto/sui/rpc/v2/error_reason.ts +12 -12
  389. package/src/grpc/proto/sui/rpc/v2/event.ts +76 -76
  390. package/src/grpc/proto/sui/rpc/v2/executed_transaction.ts +99 -80
  391. package/src/grpc/proto/sui/rpc/v2/execution_status.ts +888 -755
  392. package/src/grpc/proto/sui/rpc/v2/gas_cost_summary.ts +62 -34
  393. package/src/grpc/proto/sui/rpc/v2/input.ts +102 -89
  394. package/src/grpc/proto/sui/rpc/v2/jwk.ts +51 -51
  395. package/src/grpc/proto/sui/rpc/v2/ledger_service.client.ts +196 -106
  396. package/src/grpc/proto/sui/rpc/v2/ledger_service.ts +420 -328
  397. package/src/grpc/proto/sui/rpc/v2/move_package.ts +608 -486
  398. package/src/grpc/proto/sui/rpc/v2/move_package_service.client.ts +114 -63
  399. package/src/grpc/proto/sui/rpc/v2/move_package_service.ts +190 -172
  400. package/src/grpc/proto/sui/rpc/v2/name_service.client.ts +62 -37
  401. package/src/grpc/proto/sui/rpc/v2/name_service.ts +123 -112
  402. package/src/grpc/proto/sui/rpc/v2/object.ts +147 -120
  403. package/src/grpc/proto/sui/rpc/v2/object_reference.ts +33 -26
  404. package/src/grpc/proto/sui/rpc/v2/owner.ts +61 -48
  405. package/src/grpc/proto/sui/rpc/v2/protocol_config.ts +43 -24
  406. package/src/grpc/proto/sui/rpc/v2/signature.ts +596 -503
  407. package/src/grpc/proto/sui/rpc/v2/signature_scheme.ts +28 -28
  408. package/src/grpc/proto/sui/rpc/v2/signature_verification_service.client.ts +43 -29
  409. package/src/grpc/proto/sui/rpc/v2/signature_verification_service.ts +68 -67
  410. package/src/grpc/proto/sui/rpc/v2/state_service.client.ts +140 -76
  411. package/src/grpc/proto/sui/rpc/v2/state_service.ts +642 -573
  412. package/src/grpc/proto/sui/rpc/v2/subscription_service.client.ts +60 -48
  413. package/src/grpc/proto/sui/rpc/v2/subscription_service.ts +50 -37
  414. package/src/grpc/proto/sui/rpc/v2/system_state.ts +1055 -689
  415. package/src/grpc/proto/sui/rpc/v2/transaction.ts +1535 -1110
  416. package/src/grpc/proto/sui/rpc/v2/transaction_execution_service.client.ts +65 -38
  417. package/src/grpc/proto/sui/rpc/v2/transaction_execution_service.ts +185 -139
  418. package/src/jsonRpc/client.ts +2 -17
  419. package/src/multisig/publickey.ts +14 -14
  420. package/src/transactions/TransactionData.ts +100 -1
  421. package/src/transactions/serializer.ts +1 -1
  422. package/src/utils/index.ts +1 -0
  423. package/src/version.ts +2 -2
  424. package/src/zklogin/bcs.ts +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2/system_state.ts"],
4
- "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/system_state.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { MessageType } from \"@protobuf-ts/runtime\";\n/**\n * @generated from protobuf message sui.rpc.v2.SystemState\n */\nexport interface SystemState {\n /**\n * The version of the system state data structure type.\n *\n * @generated from protobuf field: optional uint64 version = 1;\n */\n version?: bigint;\n /**\n * The epoch id\n *\n * @generated from protobuf field: optional uint64 epoch = 2;\n */\n epoch?: bigint;\n /**\n * The protocol version\n *\n * @generated from protobuf field: optional uint64 protocol_version = 3;\n */\n protocolVersion?: bigint;\n /**\n * Information about the validators\n *\n * @generated from protobuf field: optional sui.rpc.v2.ValidatorSet validators = 4;\n */\n validators?: ValidatorSet;\n /**\n * Storage Fund info\n *\n * @generated from protobuf field: optional sui.rpc.v2.StorageFund storage_fund = 5;\n */\n storageFund?: StorageFund;\n /**\n * Set of system config parameters\n *\n * @generated from protobuf field: optional sui.rpc.v2.SystemParameters parameters = 6;\n */\n parameters?: SystemParameters;\n /**\n * The reference gas price for this epoch\n *\n * @generated from protobuf field: optional uint64 reference_gas_price = 7;\n */\n referenceGasPrice?: bigint;\n /**\n * A list of the records of validator reporting each other.\n *\n * There is an entry in this list for each validator that has been reported\n * at least once. Each record contains all the validators that reported\n * them. If a validator has never been reported they don't have a record in this list.\n * This lists persists across epoch: a peer continues being in a reported state until the\n * reporter doesn't explicitly remove their report.\n *\n * @generated from protobuf field: repeated sui.rpc.v2.ValidatorReportRecord validator_report_records = 8;\n */\n validatorReportRecords: ValidatorReportRecord[];\n /**\n * Schedule of stake subsidies given out each epoch.\n *\n * @generated from protobuf field: optional sui.rpc.v2.StakeSubsidy stake_subsidy = 9;\n */\n stakeSubsidy?: StakeSubsidy;\n /**\n * Whether the system is running in a downgraded safe mode due to a non-recoverable bug.\n * This is set whenever we failed to execute advance_epoch, and ended up executing advance_epoch_safe_mode.\n * It can be reset once we are able to successfully execute advance_epoch.\n * The rest of the fields starting with `safe_mode_` are accumulated during safe mode\n * when advance_epoch_safe_mode is executed. They will eventually be processed once we\n * are out of safe mode.\n *\n * @generated from protobuf field: optional bool safe_mode = 10;\n */\n safeMode?: boolean;\n /**\n * Storage rewards accumulated during safe_mode\n *\n * @generated from protobuf field: optional uint64 safe_mode_storage_rewards = 11;\n */\n safeModeStorageRewards?: bigint;\n /**\n * Computation rewards accumulated during safe_mode\n *\n * @generated from protobuf field: optional uint64 safe_mode_computation_rewards = 12;\n */\n safeModeComputationRewards?: bigint;\n /**\n * Storage rebates paid out during safe_mode\n *\n * @generated from protobuf field: optional uint64 safe_mode_storage_rebates = 13;\n */\n safeModeStorageRebates?: bigint;\n /**\n * Nonrefundable storage fees accumulated during safe_mode\n *\n * @generated from protobuf field: optional uint64 safe_mode_non_refundable_storage_fee = 14;\n */\n safeModeNonRefundableStorageFee?: bigint;\n /**\n * Unix timestamp of when this this epoch started\n *\n * @generated from protobuf field: optional uint64 epoch_start_timestamp_ms = 15;\n */\n epochStartTimestampMs?: bigint;\n /**\n * Any extra fields that's not defined statically.\n *\n * @generated from protobuf field: optional sui.rpc.v2.MoveTable extra_fields = 16;\n */\n extraFields?: MoveTable;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.ValidatorReportRecord\n */\nexport interface ValidatorReportRecord {\n /**\n * The address of the validator being reported\n *\n * @generated from protobuf field: optional string reported = 1;\n */\n reported?: string;\n /**\n * The list of validator (addresses) that are reporting on the validator specified by `reported`\n *\n * @generated from protobuf field: repeated string reporters = 2;\n */\n reporters: string[];\n}\n/**\n * @generated from protobuf message sui.rpc.v2.SystemParameters\n */\nexport interface SystemParameters {\n /**\n * The duration of an epoch, in milliseconds.\n *\n * @generated from protobuf field: optional uint64 epoch_duration_ms = 1;\n */\n epochDurationMs?: bigint;\n /**\n * The starting epoch in which stake subsidies start being paid out\n *\n * @generated from protobuf field: optional uint64 stake_subsidy_start_epoch = 2;\n */\n stakeSubsidyStartEpoch?: bigint;\n /**\n * Minimum number of active validators at any moment.\n *\n * @generated from protobuf field: optional uint64 min_validator_count = 3;\n */\n minValidatorCount?: bigint;\n /**\n * Maximum number of active validators at any moment.\n * We do not allow the number of validators in any epoch to go above this.\n *\n * @generated from protobuf field: optional uint64 max_validator_count = 4;\n */\n maxValidatorCount?: bigint;\n /**\n * Deprecated.\n * Lower-bound on the amount of stake required to become a validator.\n *\n * @generated from protobuf field: optional uint64 min_validator_joining_stake = 5;\n */\n minValidatorJoiningStake?: bigint;\n /**\n * Deprecated.\n * Validators with stake amount below `validator_low_stake_threshold` are considered to\n * have low stake and will be escorted out of the validator set after being below this\n * threshold for more than `validator_low_stake_grace_period` number of epochs.\n *\n * @generated from protobuf field: optional uint64 validator_low_stake_threshold = 6;\n */\n validatorLowStakeThreshold?: bigint;\n /**\n * Deprecated.\n * Validators with stake below `validator_very_low_stake_threshold` will be removed\n * immediately at epoch change, no grace period.\n *\n * @generated from protobuf field: optional uint64 validator_very_low_stake_threshold = 7;\n */\n validatorVeryLowStakeThreshold?: bigint;\n /**\n * A validator can have stake below `validator_low_stake_threshold`\n * for this many epochs before being kicked out.\n *\n * @generated from protobuf field: optional uint64 validator_low_stake_grace_period = 8;\n */\n validatorLowStakeGracePeriod?: bigint;\n /**\n * Any extra fields that are not defined statically.\n *\n * @generated from protobuf field: optional sui.rpc.v2.MoveTable extra_fields = 9;\n */\n extraFields?: MoveTable;\n}\n/**\n * A message that represents a Move `0x2::table::Table` or `0x2::bag::Bag`\n *\n * @generated from protobuf message sui.rpc.v2.MoveTable\n */\nexport interface MoveTable {\n /**\n * The UID of the table or bag\n *\n * @generated from protobuf field: optional string id = 1;\n */\n id?: string;\n /**\n * The size or number of key-value pairs in the table or bag\n *\n * @generated from protobuf field: optional uint64 size = 2;\n */\n size?: bigint;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.StakeSubsidy\n */\nexport interface StakeSubsidy {\n /**\n * Balance of SUI set aside for stake subsidies that will be drawn down over time.\n *\n * @generated from protobuf field: optional uint64 balance = 1;\n */\n balance?: bigint;\n /**\n * Count of the number of times stake subsidies have been distributed.\n *\n * @generated from protobuf field: optional uint64 distribution_counter = 2;\n */\n distributionCounter?: bigint;\n /**\n * The amount of stake subsidy to be drawn down per distribution.\n * This amount decays and decreases over time.\n *\n * @generated from protobuf field: optional uint64 current_distribution_amount = 3;\n */\n currentDistributionAmount?: bigint;\n /**\n * Number of distributions to occur before the distribution amount decays.\n *\n * @generated from protobuf field: optional uint64 stake_subsidy_period_length = 4;\n */\n stakeSubsidyPeriodLength?: bigint;\n /**\n * The rate at which the distribution amount decays at the end of each\n * period. Expressed in basis points.\n *\n * @generated from protobuf field: optional uint32 stake_subsidy_decrease_rate = 5;\n */\n stakeSubsidyDecreaseRate?: number;\n /**\n * Any extra fields that's not defined statically.\n *\n * @generated from protobuf field: optional sui.rpc.v2.MoveTable extra_fields = 6;\n */\n extraFields?: MoveTable;\n}\n/**\n * Struct representing the onchain storage fund.\n *\n * @generated from protobuf message sui.rpc.v2.StorageFund\n */\nexport interface StorageFund {\n /**\n * This is the sum of `storage_rebate` of\n * all objects currently stored on-chain. To maintain this invariant, the only inflow of this\n * balance is storage charges collected from transactions, and the only outflow is storage rebates\n * of transactions, including both the portion refunded to the transaction senders as well as\n * the non-refundable portion taken out and put into `non_refundable_balance`.\n *\n * @generated from protobuf field: optional uint64 total_object_storage_rebates = 1;\n */\n totalObjectStorageRebates?: bigint;\n /**\n * Represents any remaining inflow of the storage fund that should not\n * be taken out of the fund.\n *\n * @generated from protobuf field: optional uint64 non_refundable_balance = 2;\n */\n nonRefundableBalance?: bigint;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.ValidatorSet\n */\nexport interface ValidatorSet {\n /**\n * Total amount of stake from all active validators at the beginning of the epoch.\n * Written only once per epoch, in `advance_epoch` function.\n *\n * @generated from protobuf field: optional uint64 total_stake = 1;\n */\n totalStake?: bigint;\n /**\n * The current list of active validators.\n *\n * @generated from protobuf field: repeated sui.rpc.v2.Validator active_validators = 2;\n */\n activeValidators: Validator[];\n /**\n * List of new validator candidates added during the current epoch.\n * They will be processed at the end of the epoch.\n *\n * key: u64 (index), value: 0x3::validator::Validator\n *\n * @generated from protobuf field: optional sui.rpc.v2.MoveTable pending_active_validators = 3;\n */\n pendingActiveValidators?: MoveTable;\n /**\n * Removal requests from the validators. Each element is an index\n * pointing to `active_validators`.\n *\n * @generated from protobuf field: repeated uint64 pending_removals = 4;\n */\n pendingRemovals: bigint[];\n /**\n * Mappings from staking pool's ID to the sui address of a validator.\n *\n * key: address (staking pool Id), value: address (sui address of the validator)\n *\n * @generated from protobuf field: optional sui.rpc.v2.MoveTable staking_pool_mappings = 5;\n */\n stakingPoolMappings?: MoveTable;\n /**\n * Mapping from a staking pool ID to the inactive validator that has that pool as its staking pool.\n * When a validator is deactivated the validator is removed from `active_validators` it\n * is added to this table so that stakers can continue to withdraw their stake from it.\n *\n * key: address (staking pool Id), value: 0x3::validator_wrapper::ValidatorWrapper\n *\n * @generated from protobuf field: optional sui.rpc.v2.MoveTable inactive_validators = 6;\n */\n inactiveValidators?: MoveTable;\n /**\n * Table storing preactive/candidate validators, mapping their addresses to their `Validator ` structs.\n * When an address calls `request_add_validator_candidate`, they get added to this table and become a preactive\n * validator.\n * When the candidate has met the min stake requirement, they can call `request_add_validator` to\n * officially add them to the active validator set `active_validators` next epoch.\n *\n * key: address (sui address of the validator), value: 0x3::validator_wrapper::ValidatorWrapper\n *\n * @generated from protobuf field: optional sui.rpc.v2.MoveTable validator_candidates = 7;\n */\n validatorCandidates?: MoveTable;\n /**\n * Table storing the number of epochs during which a validator's stake has been below the low stake threshold.\n *\n * @generated from protobuf field: map<string, uint64> at_risk_validators = 8;\n */\n atRiskValidators: {\n [key: string]: bigint;\n };\n /**\n * Any extra fields that's not defined statically.\n *\n * @generated from protobuf field: optional sui.rpc.v2.MoveTable extra_fields = 9;\n */\n extraFields?: MoveTable;\n}\n/**\n * Definition of a Validator in the system contracts\n *\n * Note: fields of ValidatorMetadata are flattened into this type\n *\n * @generated from protobuf message sui.rpc.v2.Validator\n */\nexport interface Validator {\n /**\n * A unique human-readable name of this validator.\n *\n * @generated from protobuf field: optional string name = 1;\n */\n name?: string;\n /**\n * The Sui Address of the validator. This is the sender that created the Validator object,\n * and also the address to send validator/coins to during withdraws.\n *\n * @generated from protobuf field: optional string address = 2;\n */\n address?: string;\n /**\n * @generated from protobuf field: optional string description = 3;\n */\n description?: string;\n /**\n * @generated from protobuf field: optional string image_url = 4;\n */\n imageUrl?: string;\n /**\n * @generated from protobuf field: optional string project_url = 5;\n */\n projectUrl?: string;\n /**\n * The public key bytes corresponding to the private key that the validator\n * holds to sign transactions. For now, this is the same as AuthorityName.\n *\n * @generated from protobuf field: optional bytes protocol_public_key = 7;\n */\n protocolPublicKey?: Uint8Array;\n /**\n * This is a proof that the validator has ownership of the protocol private key\n *\n * @generated from protobuf field: optional bytes proof_of_possession = 8;\n */\n proofOfPossession?: Uint8Array;\n /**\n * The public key bytes corresponding to the private key that the validator\n * uses to establish TLS connections\n *\n * @generated from protobuf field: optional bytes network_public_key = 10;\n */\n networkPublicKey?: Uint8Array;\n /**\n * The public key bytes corresponding to the Narwhal Worker\n *\n * @generated from protobuf field: optional bytes worker_public_key = 12;\n */\n workerPublicKey?: Uint8Array;\n /**\n * The network address of the validator (could also contain extra info such as port, DNS and etc.).\n *\n * @generated from protobuf field: optional string network_address = 13;\n */\n networkAddress?: string;\n /**\n * The address of the validator used for p2p activities such as state sync (could also contain extra info such as port, DNS and etc.).\n *\n * @generated from protobuf field: optional string p2p_address = 14 [json_name = \"p2pAddress\"];\n */\n p2PAddress?: string;\n /**\n * The address of the narwhal primary\n *\n * @generated from protobuf field: optional string primary_address = 15;\n */\n primaryAddress?: string;\n /**\n * The address of the narwhal worker\n *\n * @generated from protobuf field: optional string worker_address = 16;\n */\n workerAddress?: string;\n /**\n * @generated from protobuf field: optional bytes next_epoch_protocol_public_key = 18;\n */\n nextEpochProtocolPublicKey?: Uint8Array;\n /**\n * @generated from protobuf field: optional bytes next_epoch_proof_of_possession = 19;\n */\n nextEpochProofOfPossession?: Uint8Array;\n /**\n * @generated from protobuf field: optional bytes next_epoch_network_public_key = 21;\n */\n nextEpochNetworkPublicKey?: Uint8Array;\n /**\n * @generated from protobuf field: optional bytes next_epoch_worker_public_key = 23;\n */\n nextEpochWorkerPublicKey?: Uint8Array;\n /**\n * @generated from protobuf field: optional string next_epoch_network_address = 24;\n */\n nextEpochNetworkAddress?: string;\n /**\n * @generated from protobuf field: optional string next_epoch_p2p_address = 25 [json_name = \"nextEpochP2pAddress\"];\n */\n nextEpochP2PAddress?: string;\n /**\n * @generated from protobuf field: optional string next_epoch_primary_address = 26;\n */\n nextEpochPrimaryAddress?: string;\n /**\n * @generated from protobuf field: optional string next_epoch_worker_address = 27;\n */\n nextEpochWorkerAddress?: string;\n /**\n * Any extra fields that's not defined statically in the `ValidatorMetadata` struct\n *\n * @generated from protobuf field: optional sui.rpc.v2.MoveTable metadata_extra_fields = 28;\n */\n metadataExtraFields?: MoveTable;\n /**\n * The voting power of this validator, which might be different from its\n * stake amount.\n *\n * @generated from protobuf field: optional uint64 voting_power = 29;\n */\n votingPower?: bigint;\n /**\n * The ID of this validator's current valid `UnverifiedValidatorOperationCap`\n *\n * @generated from protobuf field: optional string operation_cap_id = 30;\n */\n operationCapId?: string;\n /**\n * Gas price quote, updated only at end of epoch.\n *\n * @generated from protobuf field: optional uint64 gas_price = 31;\n */\n gasPrice?: bigint;\n /**\n * Staking pool for this validator.\n *\n * @generated from protobuf field: optional sui.rpc.v2.StakingPool staking_pool = 32;\n */\n stakingPool?: StakingPool;\n /**\n * Commission rate of the validator, in basis point.\n *\n * @generated from protobuf field: optional uint64 commission_rate = 33;\n */\n commissionRate?: bigint;\n /**\n * Total amount of stake that would be active in the next epoch.\n *\n * @generated from protobuf field: optional uint64 next_epoch_stake = 34;\n */\n nextEpochStake?: bigint;\n /**\n * This validator's gas price quote for the next epoch.\n *\n * @generated from protobuf field: optional uint64 next_epoch_gas_price = 35;\n */\n nextEpochGasPrice?: bigint;\n /**\n * The commission rate of the validator starting the next epoch, in basis point.\n *\n * @generated from protobuf field: optional uint64 next_epoch_commission_rate = 36;\n */\n nextEpochCommissionRate?: bigint;\n /**\n * Any extra fields that's not defined statically.\n *\n * @generated from protobuf field: optional sui.rpc.v2.MoveTable extra_fields = 37;\n */\n extraFields?: MoveTable;\n}\n/**\n * A staking pool embedded in each validator struct in the system state object.\n *\n * @generated from protobuf message sui.rpc.v2.StakingPool\n */\nexport interface StakingPool {\n /**\n * UID of the StakingPool object\n *\n * @generated from protobuf field: optional string id = 1;\n */\n id?: string;\n /**\n * The epoch at which this pool became active.\n * The value is `None` if the pool is pre-active and `Some(<epoch_number>)` if active or inactive.\n *\n * @generated from protobuf field: optional uint64 activation_epoch = 2;\n */\n activationEpoch?: bigint;\n /**\n * The epoch at which this staking pool ceased to be active. `None` = {pre-active, active},\n * `Some(<epoch_number>)` if in-active, and it was de-activated at epoch `<epoch_number>`.\n *\n * @generated from protobuf field: optional uint64 deactivation_epoch = 3;\n */\n deactivationEpoch?: bigint;\n /**\n * The total number of SUI tokens in this pool, including the SUI in the rewards_pool, as well as in all the principal\n * in the `StakedSui` object, updated at epoch boundaries.\n *\n * @generated from protobuf field: optional uint64 sui_balance = 4;\n */\n suiBalance?: bigint;\n /**\n * The epoch stake rewards will be added here at the end of each epoch.\n *\n * @generated from protobuf field: optional uint64 rewards_pool = 5;\n */\n rewardsPool?: bigint;\n /**\n * Total number of pool tokens issued by the pool.\n *\n * @generated from protobuf field: optional uint64 pool_token_balance = 6;\n */\n poolTokenBalance?: bigint;\n /**\n * Exchange rate history of previous epochs.\n *\n * The entries start from the `activation_epoch` of this pool and contains exchange rates at the beginning of each epoch,\n * i.e., right after the rewards for the previous epoch have been deposited into the pool.\n *\n * key: u64 (epoch number), value: PoolTokenExchangeRate\n *\n * @generated from protobuf field: optional sui.rpc.v2.MoveTable exchange_rates = 7;\n */\n exchangeRates?: MoveTable;\n /**\n * Pending stake amount for this epoch, emptied at epoch boundaries.\n *\n * @generated from protobuf field: optional uint64 pending_stake = 8;\n */\n pendingStake?: bigint;\n /**\n * Pending stake withdrawn during the current epoch, emptied at epoch boundaries.\n * This includes both the principal and rewards SUI withdrawn.\n *\n * @generated from protobuf field: optional uint64 pending_total_sui_withdraw = 9;\n */\n pendingTotalSuiWithdraw?: bigint;\n /**\n * Pending pool token withdrawn during the current epoch, emptied at epoch boundaries.\n *\n * @generated from protobuf field: optional uint64 pending_pool_token_withdraw = 10;\n */\n pendingPoolTokenWithdraw?: bigint;\n /**\n * Any extra fields that's not defined statically.\n *\n * @generated from protobuf field: optional sui.rpc.v2.MoveTable extra_fields = 11;\n */\n extraFields?: MoveTable;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass SystemState$Type extends MessageType<SystemState> {\n constructor() {\n super(\"sui.rpc.v2.SystemState\", [\n { no: 1, name: \"version\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 2, name: \"epoch\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 3, name: \"protocol_version\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 4, name: \"validators\", kind: \"message\", T: () => ValidatorSet },\n { no: 5, name: \"storage_fund\", kind: \"message\", T: () => StorageFund },\n { no: 6, name: \"parameters\", kind: \"message\", T: () => SystemParameters },\n { no: 7, name: \"reference_gas_price\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 8, name: \"validator_report_records\", kind: \"message\", repeat: 1 /*RepeatType.PACKED*/, T: () => ValidatorReportRecord },\n { no: 9, name: \"stake_subsidy\", kind: \"message\", T: () => StakeSubsidy },\n { no: 10, name: \"safe_mode\", kind: \"scalar\", opt: true, T: 8 /*ScalarType.BOOL*/ },\n { no: 11, name: \"safe_mode_storage_rewards\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 12, name: \"safe_mode_computation_rewards\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 13, name: \"safe_mode_storage_rebates\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 14, name: \"safe_mode_non_refundable_storage_fee\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 15, name: \"epoch_start_timestamp_ms\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 16, name: \"extra_fields\", kind: \"message\", T: () => MoveTable }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.SystemState\n */\nexport const SystemState = new SystemState$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ValidatorReportRecord$Type extends MessageType<ValidatorReportRecord> {\n constructor() {\n super(\"sui.rpc.v2.ValidatorReportRecord\", [\n { no: 1, name: \"reported\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"reporters\", kind: \"scalar\", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ValidatorReportRecord\n */\nexport const ValidatorReportRecord = new ValidatorReportRecord$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass SystemParameters$Type extends MessageType<SystemParameters> {\n constructor() {\n super(\"sui.rpc.v2.SystemParameters\", [\n { no: 1, name: \"epoch_duration_ms\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 2, name: \"stake_subsidy_start_epoch\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 3, name: \"min_validator_count\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 4, name: \"max_validator_count\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 5, name: \"min_validator_joining_stake\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 6, name: \"validator_low_stake_threshold\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 7, name: \"validator_very_low_stake_threshold\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 8, name: \"validator_low_stake_grace_period\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 9, name: \"extra_fields\", kind: \"message\", T: () => MoveTable }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.SystemParameters\n */\nexport const SystemParameters = new SystemParameters$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass MoveTable$Type extends MessageType<MoveTable> {\n constructor() {\n super(\"sui.rpc.v2.MoveTable\", [\n { no: 1, name: \"id\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"size\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.MoveTable\n */\nexport const MoveTable = new MoveTable$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass StakeSubsidy$Type extends MessageType<StakeSubsidy> {\n constructor() {\n super(\"sui.rpc.v2.StakeSubsidy\", [\n { no: 1, name: \"balance\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 2, name: \"distribution_counter\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 3, name: \"current_distribution_amount\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 4, name: \"stake_subsidy_period_length\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 5, name: \"stake_subsidy_decrease_rate\", kind: \"scalar\", opt: true, T: 13 /*ScalarType.UINT32*/ },\n { no: 6, name: \"extra_fields\", kind: \"message\", T: () => MoveTable }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.StakeSubsidy\n */\nexport const StakeSubsidy = new StakeSubsidy$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass StorageFund$Type extends MessageType<StorageFund> {\n constructor() {\n super(\"sui.rpc.v2.StorageFund\", [\n { no: 1, name: \"total_object_storage_rebates\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 2, name: \"non_refundable_balance\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.StorageFund\n */\nexport const StorageFund = new StorageFund$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ValidatorSet$Type extends MessageType<ValidatorSet> {\n constructor() {\n super(\"sui.rpc.v2.ValidatorSet\", [\n { no: 1, name: \"total_stake\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 2, name: \"active_validators\", kind: \"message\", repeat: 1 /*RepeatType.PACKED*/, T: () => Validator },\n { no: 3, name: \"pending_active_validators\", kind: \"message\", T: () => MoveTable },\n { no: 4, name: \"pending_removals\", kind: \"scalar\", repeat: 1 /*RepeatType.PACKED*/, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 5, name: \"staking_pool_mappings\", kind: \"message\", T: () => MoveTable },\n { no: 6, name: \"inactive_validators\", kind: \"message\", T: () => MoveTable },\n { no: 7, name: \"validator_candidates\", kind: \"message\", T: () => MoveTable },\n { no: 8, name: \"at_risk_validators\", kind: \"map\", K: 9 /*ScalarType.STRING*/, V: { kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ } },\n { no: 9, name: \"extra_fields\", kind: \"message\", T: () => MoveTable }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ValidatorSet\n */\nexport const ValidatorSet = new ValidatorSet$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass Validator$Type extends MessageType<Validator> {\n constructor() {\n super(\"sui.rpc.v2.Validator\", [\n { no: 1, name: \"name\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"address\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"description\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"image_url\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 5, name: \"project_url\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 7, name: \"protocol_public_key\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 8, name: \"proof_of_possession\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 10, name: \"network_public_key\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 12, name: \"worker_public_key\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 13, name: \"network_address\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 14, name: \"p2p_address\", kind: \"scalar\", jsonName: \"p2pAddress\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 15, name: \"primary_address\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 16, name: \"worker_address\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 18, name: \"next_epoch_protocol_public_key\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 19, name: \"next_epoch_proof_of_possession\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 21, name: \"next_epoch_network_public_key\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 23, name: \"next_epoch_worker_public_key\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 24, name: \"next_epoch_network_address\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 25, name: \"next_epoch_p2p_address\", kind: \"scalar\", jsonName: \"nextEpochP2pAddress\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 26, name: \"next_epoch_primary_address\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 27, name: \"next_epoch_worker_address\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 28, name: \"metadata_extra_fields\", kind: \"message\", T: () => MoveTable },\n { no: 29, name: \"voting_power\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 30, name: \"operation_cap_id\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 31, name: \"gas_price\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 32, name: \"staking_pool\", kind: \"message\", T: () => StakingPool },\n { no: 33, name: \"commission_rate\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 34, name: \"next_epoch_stake\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 35, name: \"next_epoch_gas_price\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 36, name: \"next_epoch_commission_rate\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 37, name: \"extra_fields\", kind: \"message\", T: () => MoveTable }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.Validator\n */\nexport const Validator = new Validator$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass StakingPool$Type extends MessageType<StakingPool> {\n constructor() {\n super(\"sui.rpc.v2.StakingPool\", [\n { no: 1, name: \"id\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"activation_epoch\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 3, name: \"deactivation_epoch\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 4, name: \"sui_balance\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 5, name: \"rewards_pool\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 6, name: \"pool_token_balance\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 7, name: \"exchange_rates\", kind: \"message\", T: () => MoveTable },\n { no: 8, name: \"pending_stake\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 9, name: \"pending_total_sui_withdraw\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 10, name: \"pending_pool_token_withdraw\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 11, name: \"extra_fields\", kind: \"message\", T: () => MoveTable }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.StakingPool\n */\nexport const StakingPool = new StakingPool$Type();\n"],
5
- "mappings": "AAWA,SAAS,mBAAmB;AA6mB5B,MAAM,yBAAyB,YAAyB;AA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gB,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA,QAAyB,GAAG;AAAA;AAAA,MAAsB;AAAA,MAC/G;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAsB,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA,QAAyB,GAAG;AAAA;AAAA,MAAsB;AAAA,MACrH,EAAE,IAAI,GAAG,MAAM,kBAAkB,MAAM,WAAW,GAAG,MAAM,UAAU;AAAA,MACrE;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAiB,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA,QAAyB,GAAG;AAAA;AAAA,MAAsB;AAAA,MAChH;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAA8B,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA,QAAyB,GAAG;AAAA;AAAA,MAAsB;AAAA,MAC7H;AAAA,QAAE,IAAI;AAAA,QAAI,MAAM;AAAA,QAA+B,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA,QAAyB,GAAG;AAAA;AAAA,MAAsB;AAAA,MAC/H,EAAE,IAAI,IAAI,MAAM,gBAAgB,MAAM,WAAW,GAAG,MAAM,UAAU;AAAA,IACxE,CAAC;AAAA,EACL;AACJ;AAIO,MAAM,cAAc,IAAI,iBAAiB;",
4
+ "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/system_state.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { MessageType } from '@protobuf-ts/runtime';\n/**\n * @generated from protobuf message sui.rpc.v2.SystemState\n */\nexport interface SystemState {\n\t/**\n\t * The version of the system state data structure type.\n\t *\n\t * @generated from protobuf field: optional uint64 version = 1;\n\t */\n\tversion?: bigint;\n\t/**\n\t * The epoch id\n\t *\n\t * @generated from protobuf field: optional uint64 epoch = 2;\n\t */\n\tepoch?: bigint;\n\t/**\n\t * The protocol version\n\t *\n\t * @generated from protobuf field: optional uint64 protocol_version = 3;\n\t */\n\tprotocolVersion?: bigint;\n\t/**\n\t * Information about the validators\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.ValidatorSet validators = 4;\n\t */\n\tvalidators?: ValidatorSet;\n\t/**\n\t * Storage Fund info\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.StorageFund storage_fund = 5;\n\t */\n\tstorageFund?: StorageFund;\n\t/**\n\t * Set of system config parameters\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.SystemParameters parameters = 6;\n\t */\n\tparameters?: SystemParameters;\n\t/**\n\t * The reference gas price for this epoch\n\t *\n\t * @generated from protobuf field: optional uint64 reference_gas_price = 7;\n\t */\n\treferenceGasPrice?: bigint;\n\t/**\n\t * A list of the records of validator reporting each other.\n\t *\n\t * There is an entry in this list for each validator that has been reported\n\t * at least once. Each record contains all the validators that reported\n\t * them. If a validator has never been reported they don't have a record in this list.\n\t * This lists persists across epoch: a peer continues being in a reported state until the\n\t * reporter doesn't explicitly remove their report.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.ValidatorReportRecord validator_report_records = 8;\n\t */\n\tvalidatorReportRecords: ValidatorReportRecord[];\n\t/**\n\t * Schedule of stake subsidies given out each epoch.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.StakeSubsidy stake_subsidy = 9;\n\t */\n\tstakeSubsidy?: StakeSubsidy;\n\t/**\n\t * Whether the system is running in a downgraded safe mode due to a non-recoverable bug.\n\t * This is set whenever we failed to execute advance_epoch, and ended up executing advance_epoch_safe_mode.\n\t * It can be reset once we are able to successfully execute advance_epoch.\n\t * The rest of the fields starting with `safe_mode_` are accumulated during safe mode\n\t * when advance_epoch_safe_mode is executed. They will eventually be processed once we\n\t * are out of safe mode.\n\t *\n\t * @generated from protobuf field: optional bool safe_mode = 10;\n\t */\n\tsafeMode?: boolean;\n\t/**\n\t * Storage rewards accumulated during safe_mode\n\t *\n\t * @generated from protobuf field: optional uint64 safe_mode_storage_rewards = 11;\n\t */\n\tsafeModeStorageRewards?: bigint;\n\t/**\n\t * Computation rewards accumulated during safe_mode\n\t *\n\t * @generated from protobuf field: optional uint64 safe_mode_computation_rewards = 12;\n\t */\n\tsafeModeComputationRewards?: bigint;\n\t/**\n\t * Storage rebates paid out during safe_mode\n\t *\n\t * @generated from protobuf field: optional uint64 safe_mode_storage_rebates = 13;\n\t */\n\tsafeModeStorageRebates?: bigint;\n\t/**\n\t * Nonrefundable storage fees accumulated during safe_mode\n\t *\n\t * @generated from protobuf field: optional uint64 safe_mode_non_refundable_storage_fee = 14;\n\t */\n\tsafeModeNonRefundableStorageFee?: bigint;\n\t/**\n\t * Unix timestamp of when this this epoch started\n\t *\n\t * @generated from protobuf field: optional uint64 epoch_start_timestamp_ms = 15;\n\t */\n\tepochStartTimestampMs?: bigint;\n\t/**\n\t * Any extra fields that's not defined statically.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.MoveTable extra_fields = 16;\n\t */\n\textraFields?: MoveTable;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.ValidatorReportRecord\n */\nexport interface ValidatorReportRecord {\n\t/**\n\t * The address of the validator being reported\n\t *\n\t * @generated from protobuf field: optional string reported = 1;\n\t */\n\treported?: string;\n\t/**\n\t * The list of validator (addresses) that are reporting on the validator specified by `reported`\n\t *\n\t * @generated from protobuf field: repeated string reporters = 2;\n\t */\n\treporters: string[];\n}\n/**\n * @generated from protobuf message sui.rpc.v2.SystemParameters\n */\nexport interface SystemParameters {\n\t/**\n\t * The duration of an epoch, in milliseconds.\n\t *\n\t * @generated from protobuf field: optional uint64 epoch_duration_ms = 1;\n\t */\n\tepochDurationMs?: bigint;\n\t/**\n\t * The starting epoch in which stake subsidies start being paid out\n\t *\n\t * @generated from protobuf field: optional uint64 stake_subsidy_start_epoch = 2;\n\t */\n\tstakeSubsidyStartEpoch?: bigint;\n\t/**\n\t * Minimum number of active validators at any moment.\n\t *\n\t * @generated from protobuf field: optional uint64 min_validator_count = 3;\n\t */\n\tminValidatorCount?: bigint;\n\t/**\n\t * Maximum number of active validators at any moment.\n\t * We do not allow the number of validators in any epoch to go above this.\n\t *\n\t * @generated from protobuf field: optional uint64 max_validator_count = 4;\n\t */\n\tmaxValidatorCount?: bigint;\n\t/**\n\t * Deprecated.\n\t * Lower-bound on the amount of stake required to become a validator.\n\t *\n\t * @generated from protobuf field: optional uint64 min_validator_joining_stake = 5;\n\t */\n\tminValidatorJoiningStake?: bigint;\n\t/**\n\t * Deprecated.\n\t * Validators with stake amount below `validator_low_stake_threshold` are considered to\n\t * have low stake and will be escorted out of the validator set after being below this\n\t * threshold for more than `validator_low_stake_grace_period` number of epochs.\n\t *\n\t * @generated from protobuf field: optional uint64 validator_low_stake_threshold = 6;\n\t */\n\tvalidatorLowStakeThreshold?: bigint;\n\t/**\n\t * Deprecated.\n\t * Validators with stake below `validator_very_low_stake_threshold` will be removed\n\t * immediately at epoch change, no grace period.\n\t *\n\t * @generated from protobuf field: optional uint64 validator_very_low_stake_threshold = 7;\n\t */\n\tvalidatorVeryLowStakeThreshold?: bigint;\n\t/**\n\t * A validator can have stake below `validator_low_stake_threshold`\n\t * for this many epochs before being kicked out.\n\t *\n\t * @generated from protobuf field: optional uint64 validator_low_stake_grace_period = 8;\n\t */\n\tvalidatorLowStakeGracePeriod?: bigint;\n\t/**\n\t * Any extra fields that are not defined statically.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.MoveTable extra_fields = 9;\n\t */\n\textraFields?: MoveTable;\n}\n/**\n * A message that represents a Move `0x2::table::Table` or `0x2::bag::Bag`\n *\n * @generated from protobuf message sui.rpc.v2.MoveTable\n */\nexport interface MoveTable {\n\t/**\n\t * The UID of the table or bag\n\t *\n\t * @generated from protobuf field: optional string id = 1;\n\t */\n\tid?: string;\n\t/**\n\t * The size or number of key-value pairs in the table or bag\n\t *\n\t * @generated from protobuf field: optional uint64 size = 2;\n\t */\n\tsize?: bigint;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.StakeSubsidy\n */\nexport interface StakeSubsidy {\n\t/**\n\t * Balance of SUI set aside for stake subsidies that will be drawn down over time.\n\t *\n\t * @generated from protobuf field: optional uint64 balance = 1;\n\t */\n\tbalance?: bigint;\n\t/**\n\t * Count of the number of times stake subsidies have been distributed.\n\t *\n\t * @generated from protobuf field: optional uint64 distribution_counter = 2;\n\t */\n\tdistributionCounter?: bigint;\n\t/**\n\t * The amount of stake subsidy to be drawn down per distribution.\n\t * This amount decays and decreases over time.\n\t *\n\t * @generated from protobuf field: optional uint64 current_distribution_amount = 3;\n\t */\n\tcurrentDistributionAmount?: bigint;\n\t/**\n\t * Number of distributions to occur before the distribution amount decays.\n\t *\n\t * @generated from protobuf field: optional uint64 stake_subsidy_period_length = 4;\n\t */\n\tstakeSubsidyPeriodLength?: bigint;\n\t/**\n\t * The rate at which the distribution amount decays at the end of each\n\t * period. Expressed in basis points.\n\t *\n\t * @generated from protobuf field: optional uint32 stake_subsidy_decrease_rate = 5;\n\t */\n\tstakeSubsidyDecreaseRate?: number;\n\t/**\n\t * Any extra fields that's not defined statically.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.MoveTable extra_fields = 6;\n\t */\n\textraFields?: MoveTable;\n}\n/**\n * Struct representing the onchain storage fund.\n *\n * @generated from protobuf message sui.rpc.v2.StorageFund\n */\nexport interface StorageFund {\n\t/**\n\t * This is the sum of `storage_rebate` of\n\t * all objects currently stored on-chain. To maintain this invariant, the only inflow of this\n\t * balance is storage charges collected from transactions, and the only outflow is storage rebates\n\t * of transactions, including both the portion refunded to the transaction senders as well as\n\t * the non-refundable portion taken out and put into `non_refundable_balance`.\n\t *\n\t * @generated from protobuf field: optional uint64 total_object_storage_rebates = 1;\n\t */\n\ttotalObjectStorageRebates?: bigint;\n\t/**\n\t * Represents any remaining inflow of the storage fund that should not\n\t * be taken out of the fund.\n\t *\n\t * @generated from protobuf field: optional uint64 non_refundable_balance = 2;\n\t */\n\tnonRefundableBalance?: bigint;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.ValidatorSet\n */\nexport interface ValidatorSet {\n\t/**\n\t * Total amount of stake from all active validators at the beginning of the epoch.\n\t * Written only once per epoch, in `advance_epoch` function.\n\t *\n\t * @generated from protobuf field: optional uint64 total_stake = 1;\n\t */\n\ttotalStake?: bigint;\n\t/**\n\t * The current list of active validators.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.Validator active_validators = 2;\n\t */\n\tactiveValidators: Validator[];\n\t/**\n\t * List of new validator candidates added during the current epoch.\n\t * They will be processed at the end of the epoch.\n\t *\n\t * key: u64 (index), value: 0x3::validator::Validator\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.MoveTable pending_active_validators = 3;\n\t */\n\tpendingActiveValidators?: MoveTable;\n\t/**\n\t * Removal requests from the validators. Each element is an index\n\t * pointing to `active_validators`.\n\t *\n\t * @generated from protobuf field: repeated uint64 pending_removals = 4;\n\t */\n\tpendingRemovals: bigint[];\n\t/**\n\t * Mappings from staking pool's ID to the sui address of a validator.\n\t *\n\t * key: address (staking pool Id), value: address (sui address of the validator)\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.MoveTable staking_pool_mappings = 5;\n\t */\n\tstakingPoolMappings?: MoveTable;\n\t/**\n\t * Mapping from a staking pool ID to the inactive validator that has that pool as its staking pool.\n\t * When a validator is deactivated the validator is removed from `active_validators` it\n\t * is added to this table so that stakers can continue to withdraw their stake from it.\n\t *\n\t * key: address (staking pool Id), value: 0x3::validator_wrapper::ValidatorWrapper\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.MoveTable inactive_validators = 6;\n\t */\n\tinactiveValidators?: MoveTable;\n\t/**\n\t * Table storing preactive/candidate validators, mapping their addresses to their `Validator ` structs.\n\t * When an address calls `request_add_validator_candidate`, they get added to this table and become a preactive\n\t * validator.\n\t * When the candidate has met the min stake requirement, they can call `request_add_validator` to\n\t * officially add them to the active validator set `active_validators` next epoch.\n\t *\n\t * key: address (sui address of the validator), value: 0x3::validator_wrapper::ValidatorWrapper\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.MoveTable validator_candidates = 7;\n\t */\n\tvalidatorCandidates?: MoveTable;\n\t/**\n\t * Table storing the number of epochs during which a validator's stake has been below the low stake threshold.\n\t *\n\t * @generated from protobuf field: map<string, uint64> at_risk_validators = 8;\n\t */\n\tatRiskValidators: {\n\t\t[key: string]: bigint;\n\t};\n\t/**\n\t * Any extra fields that's not defined statically.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.MoveTable extra_fields = 9;\n\t */\n\textraFields?: MoveTable;\n}\n/**\n * Definition of a Validator in the system contracts\n *\n * Note: fields of ValidatorMetadata are flattened into this type\n *\n * @generated from protobuf message sui.rpc.v2.Validator\n */\nexport interface Validator {\n\t/**\n\t * A unique human-readable name of this validator.\n\t *\n\t * @generated from protobuf field: optional string name = 1;\n\t */\n\tname?: string;\n\t/**\n\t * The Sui Address of the validator. This is the sender that created the Validator object,\n\t * and also the address to send validator/coins to during withdraws.\n\t *\n\t * @generated from protobuf field: optional string address = 2;\n\t */\n\taddress?: string;\n\t/**\n\t * @generated from protobuf field: optional string description = 3;\n\t */\n\tdescription?: string;\n\t/**\n\t * @generated from protobuf field: optional string image_url = 4;\n\t */\n\timageUrl?: string;\n\t/**\n\t * @generated from protobuf field: optional string project_url = 5;\n\t */\n\tprojectUrl?: string;\n\t/**\n\t * The public key bytes corresponding to the private key that the validator\n\t * holds to sign transactions. For now, this is the same as AuthorityName.\n\t *\n\t * @generated from protobuf field: optional bytes protocol_public_key = 7;\n\t */\n\tprotocolPublicKey?: Uint8Array;\n\t/**\n\t * This is a proof that the validator has ownership of the protocol private key\n\t *\n\t * @generated from protobuf field: optional bytes proof_of_possession = 8;\n\t */\n\tproofOfPossession?: Uint8Array;\n\t/**\n\t * The public key bytes corresponding to the private key that the validator\n\t * uses to establish TLS connections\n\t *\n\t * @generated from protobuf field: optional bytes network_public_key = 10;\n\t */\n\tnetworkPublicKey?: Uint8Array;\n\t/**\n\t * The public key bytes corresponding to the Narwhal Worker\n\t *\n\t * @generated from protobuf field: optional bytes worker_public_key = 12;\n\t */\n\tworkerPublicKey?: Uint8Array;\n\t/**\n\t * The network address of the validator (could also contain extra info such as port, DNS and etc.).\n\t *\n\t * @generated from protobuf field: optional string network_address = 13;\n\t */\n\tnetworkAddress?: string;\n\t/**\n\t * The address of the validator used for p2p activities such as state sync (could also contain extra info such as port, DNS and etc.).\n\t *\n\t * @generated from protobuf field: optional string p2p_address = 14 [json_name = \"p2pAddress\"];\n\t */\n\tp2PAddress?: string;\n\t/**\n\t * The address of the narwhal primary\n\t *\n\t * @generated from protobuf field: optional string primary_address = 15;\n\t */\n\tprimaryAddress?: string;\n\t/**\n\t * The address of the narwhal worker\n\t *\n\t * @generated from protobuf field: optional string worker_address = 16;\n\t */\n\tworkerAddress?: string;\n\t/**\n\t * @generated from protobuf field: optional bytes next_epoch_protocol_public_key = 18;\n\t */\n\tnextEpochProtocolPublicKey?: Uint8Array;\n\t/**\n\t * @generated from protobuf field: optional bytes next_epoch_proof_of_possession = 19;\n\t */\n\tnextEpochProofOfPossession?: Uint8Array;\n\t/**\n\t * @generated from protobuf field: optional bytes next_epoch_network_public_key = 21;\n\t */\n\tnextEpochNetworkPublicKey?: Uint8Array;\n\t/**\n\t * @generated from protobuf field: optional bytes next_epoch_worker_public_key = 23;\n\t */\n\tnextEpochWorkerPublicKey?: Uint8Array;\n\t/**\n\t * @generated from protobuf field: optional string next_epoch_network_address = 24;\n\t */\n\tnextEpochNetworkAddress?: string;\n\t/**\n\t * @generated from protobuf field: optional string next_epoch_p2p_address = 25 [json_name = \"nextEpochP2pAddress\"];\n\t */\n\tnextEpochP2PAddress?: string;\n\t/**\n\t * @generated from protobuf field: optional string next_epoch_primary_address = 26;\n\t */\n\tnextEpochPrimaryAddress?: string;\n\t/**\n\t * @generated from protobuf field: optional string next_epoch_worker_address = 27;\n\t */\n\tnextEpochWorkerAddress?: string;\n\t/**\n\t * Any extra fields that's not defined statically in the `ValidatorMetadata` struct\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.MoveTable metadata_extra_fields = 28;\n\t */\n\tmetadataExtraFields?: MoveTable;\n\t/**\n\t * The voting power of this validator, which might be different from its\n\t * stake amount.\n\t *\n\t * @generated from protobuf field: optional uint64 voting_power = 29;\n\t */\n\tvotingPower?: bigint;\n\t/**\n\t * The ID of this validator's current valid `UnverifiedValidatorOperationCap`\n\t *\n\t * @generated from protobuf field: optional string operation_cap_id = 30;\n\t */\n\toperationCapId?: string;\n\t/**\n\t * Gas price quote, updated only at end of epoch.\n\t *\n\t * @generated from protobuf field: optional uint64 gas_price = 31;\n\t */\n\tgasPrice?: bigint;\n\t/**\n\t * Staking pool for this validator.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.StakingPool staking_pool = 32;\n\t */\n\tstakingPool?: StakingPool;\n\t/**\n\t * Commission rate of the validator, in basis point.\n\t *\n\t * @generated from protobuf field: optional uint64 commission_rate = 33;\n\t */\n\tcommissionRate?: bigint;\n\t/**\n\t * Total amount of stake that would be active in the next epoch.\n\t *\n\t * @generated from protobuf field: optional uint64 next_epoch_stake = 34;\n\t */\n\tnextEpochStake?: bigint;\n\t/**\n\t * This validator's gas price quote for the next epoch.\n\t *\n\t * @generated from protobuf field: optional uint64 next_epoch_gas_price = 35;\n\t */\n\tnextEpochGasPrice?: bigint;\n\t/**\n\t * The commission rate of the validator starting the next epoch, in basis point.\n\t *\n\t * @generated from protobuf field: optional uint64 next_epoch_commission_rate = 36;\n\t */\n\tnextEpochCommissionRate?: bigint;\n\t/**\n\t * Any extra fields that's not defined statically.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.MoveTable extra_fields = 37;\n\t */\n\textraFields?: MoveTable;\n}\n/**\n * A staking pool embedded in each validator struct in the system state object.\n *\n * @generated from protobuf message sui.rpc.v2.StakingPool\n */\nexport interface StakingPool {\n\t/**\n\t * UID of the StakingPool object\n\t *\n\t * @generated from protobuf field: optional string id = 1;\n\t */\n\tid?: string;\n\t/**\n\t * The epoch at which this pool became active.\n\t * The value is `None` if the pool is pre-active and `Some(<epoch_number>)` if active or inactive.\n\t *\n\t * @generated from protobuf field: optional uint64 activation_epoch = 2;\n\t */\n\tactivationEpoch?: bigint;\n\t/**\n\t * The epoch at which this staking pool ceased to be active. `None` = {pre-active, active},\n\t * `Some(<epoch_number>)` if in-active, and it was de-activated at epoch `<epoch_number>`.\n\t *\n\t * @generated from protobuf field: optional uint64 deactivation_epoch = 3;\n\t */\n\tdeactivationEpoch?: bigint;\n\t/**\n\t * The total number of SUI tokens in this pool, including the SUI in the rewards_pool, as well as in all the principal\n\t * in the `StakedSui` object, updated at epoch boundaries.\n\t *\n\t * @generated from protobuf field: optional uint64 sui_balance = 4;\n\t */\n\tsuiBalance?: bigint;\n\t/**\n\t * The epoch stake rewards will be added here at the end of each epoch.\n\t *\n\t * @generated from protobuf field: optional uint64 rewards_pool = 5;\n\t */\n\trewardsPool?: bigint;\n\t/**\n\t * Total number of pool tokens issued by the pool.\n\t *\n\t * @generated from protobuf field: optional uint64 pool_token_balance = 6;\n\t */\n\tpoolTokenBalance?: bigint;\n\t/**\n\t * Exchange rate history of previous epochs.\n\t *\n\t * The entries start from the `activation_epoch` of this pool and contains exchange rates at the beginning of each epoch,\n\t * i.e., right after the rewards for the previous epoch have been deposited into the pool.\n\t *\n\t * key: u64 (epoch number), value: PoolTokenExchangeRate\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.MoveTable exchange_rates = 7;\n\t */\n\texchangeRates?: MoveTable;\n\t/**\n\t * Pending stake amount for this epoch, emptied at epoch boundaries.\n\t *\n\t * @generated from protobuf field: optional uint64 pending_stake = 8;\n\t */\n\tpendingStake?: bigint;\n\t/**\n\t * Pending stake withdrawn during the current epoch, emptied at epoch boundaries.\n\t * This includes both the principal and rewards SUI withdrawn.\n\t *\n\t * @generated from protobuf field: optional uint64 pending_total_sui_withdraw = 9;\n\t */\n\tpendingTotalSuiWithdraw?: bigint;\n\t/**\n\t * Pending pool token withdrawn during the current epoch, emptied at epoch boundaries.\n\t *\n\t * @generated from protobuf field: optional uint64 pending_pool_token_withdraw = 10;\n\t */\n\tpendingPoolTokenWithdraw?: bigint;\n\t/**\n\t * Any extra fields that's not defined statically.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.MoveTable extra_fields = 11;\n\t */\n\textraFields?: MoveTable;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass SystemState$Type extends MessageType<SystemState> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.SystemState', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'version',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'epoch',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'protocol_version',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 4, name: 'validators', kind: 'message', T: () => ValidatorSet },\n\t\t\t{ no: 5, name: 'storage_fund', kind: 'message', T: () => StorageFund },\n\t\t\t{ no: 6, name: 'parameters', kind: 'message', T: () => SystemParameters },\n\t\t\t{\n\t\t\t\tno: 7,\n\t\t\t\tname: 'reference_gas_price',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 8,\n\t\t\t\tname: 'validator_report_records',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => ValidatorReportRecord,\n\t\t\t},\n\t\t\t{ no: 9, name: 'stake_subsidy', kind: 'message', T: () => StakeSubsidy },\n\t\t\t{ no: 10, name: 'safe_mode', kind: 'scalar', opt: true, T: 8 /*ScalarType.BOOL*/ },\n\t\t\t{\n\t\t\t\tno: 11,\n\t\t\t\tname: 'safe_mode_storage_rewards',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 12,\n\t\t\t\tname: 'safe_mode_computation_rewards',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 13,\n\t\t\t\tname: 'safe_mode_storage_rebates',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 14,\n\t\t\t\tname: 'safe_mode_non_refundable_storage_fee',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 15,\n\t\t\t\tname: 'epoch_start_timestamp_ms',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 16, name: 'extra_fields', kind: 'message', T: () => MoveTable },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.SystemState\n */\nexport const SystemState = new SystemState$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ValidatorReportRecord$Type extends MessageType<ValidatorReportRecord> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ValidatorReportRecord', [\n\t\t\t{ no: 1, name: 'reported', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'reporters',\n\t\t\t\tkind: 'scalar',\n\t\t\t\trepeat: 2 /*RepeatType.UNPACKED*/,\n\t\t\t\tT: 9 /*ScalarType.STRING*/,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ValidatorReportRecord\n */\nexport const ValidatorReportRecord = new ValidatorReportRecord$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass SystemParameters$Type extends MessageType<SystemParameters> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.SystemParameters', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'epoch_duration_ms',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'stake_subsidy_start_epoch',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'min_validator_count',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: 'max_validator_count',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: 'min_validator_joining_stake',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: 'validator_low_stake_threshold',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 7,\n\t\t\t\tname: 'validator_very_low_stake_threshold',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 8,\n\t\t\t\tname: 'validator_low_stake_grace_period',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 9, name: 'extra_fields', kind: 'message', T: () => MoveTable },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.SystemParameters\n */\nexport const SystemParameters = new SystemParameters$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass MoveTable$Type extends MessageType<MoveTable> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.MoveTable', [\n\t\t\t{ no: 1, name: 'id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'size',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.MoveTable\n */\nexport const MoveTable = new MoveTable$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass StakeSubsidy$Type extends MessageType<StakeSubsidy> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.StakeSubsidy', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'balance',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'distribution_counter',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'current_distribution_amount',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: 'stake_subsidy_period_length',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: 'stake_subsidy_decrease_rate',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 13 /*ScalarType.UINT32*/,\n\t\t\t},\n\t\t\t{ no: 6, name: 'extra_fields', kind: 'message', T: () => MoveTable },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.StakeSubsidy\n */\nexport const StakeSubsidy = new StakeSubsidy$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass StorageFund$Type extends MessageType<StorageFund> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.StorageFund', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'total_object_storage_rebates',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'non_refundable_balance',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.StorageFund\n */\nexport const StorageFund = new StorageFund$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ValidatorSet$Type extends MessageType<ValidatorSet> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ValidatorSet', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'total_stake',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'active_validators',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => Validator,\n\t\t\t},\n\t\t\t{ no: 3, name: 'pending_active_validators', kind: 'message', T: () => MoveTable },\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: 'pending_removals',\n\t\t\t\tkind: 'scalar',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 5, name: 'staking_pool_mappings', kind: 'message', T: () => MoveTable },\n\t\t\t{ no: 6, name: 'inactive_validators', kind: 'message', T: () => MoveTable },\n\t\t\t{ no: 7, name: 'validator_candidates', kind: 'message', T: () => MoveTable },\n\t\t\t{\n\t\t\t\tno: 8,\n\t\t\t\tname: 'at_risk_validators',\n\t\t\t\tkind: 'map',\n\t\t\t\tK: 9 /*ScalarType.STRING*/,\n\t\t\t\tV: { kind: 'scalar', T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n\t\t\t},\n\t\t\t{ no: 9, name: 'extra_fields', kind: 'message', T: () => MoveTable },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ValidatorSet\n */\nexport const ValidatorSet = new ValidatorSet$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass Validator$Type extends MessageType<Validator> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.Validator', [\n\t\t\t{ no: 1, name: 'name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'address', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'description', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 4, name: 'image_url', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 5, name: 'project_url', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 7, name: 'protocol_public_key', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{ no: 8, name: 'proof_of_possession', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{ no: 10, name: 'network_public_key', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{ no: 12, name: 'worker_public_key', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{ no: 13, name: 'network_address', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 14,\n\t\t\t\tname: 'p2p_address',\n\t\t\t\tkind: 'scalar',\n\t\t\t\tjsonName: 'p2pAddress',\n\t\t\t\topt: true,\n\t\t\t\tT: 9 /*ScalarType.STRING*/,\n\t\t\t},\n\t\t\t{ no: 15, name: 'primary_address', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 16, name: 'worker_address', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 18,\n\t\t\t\tname: 'next_epoch_protocol_public_key',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 12 /*ScalarType.BYTES*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 19,\n\t\t\t\tname: 'next_epoch_proof_of_possession',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 12 /*ScalarType.BYTES*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 21,\n\t\t\t\tname: 'next_epoch_network_public_key',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 12 /*ScalarType.BYTES*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 23,\n\t\t\t\tname: 'next_epoch_worker_public_key',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 12 /*ScalarType.BYTES*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 24,\n\t\t\t\tname: 'next_epoch_network_address',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 9 /*ScalarType.STRING*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 25,\n\t\t\t\tname: 'next_epoch_p2p_address',\n\t\t\t\tkind: 'scalar',\n\t\t\t\tjsonName: 'nextEpochP2pAddress',\n\t\t\t\topt: true,\n\t\t\t\tT: 9 /*ScalarType.STRING*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 26,\n\t\t\t\tname: 'next_epoch_primary_address',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 9 /*ScalarType.STRING*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 27,\n\t\t\t\tname: 'next_epoch_worker_address',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 9 /*ScalarType.STRING*/,\n\t\t\t},\n\t\t\t{ no: 28, name: 'metadata_extra_fields', kind: 'message', T: () => MoveTable },\n\t\t\t{\n\t\t\t\tno: 29,\n\t\t\t\tname: 'voting_power',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 30, name: 'operation_cap_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 31,\n\t\t\t\tname: 'gas_price',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 32, name: 'staking_pool', kind: 'message', T: () => StakingPool },\n\t\t\t{\n\t\t\t\tno: 33,\n\t\t\t\tname: 'commission_rate',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 34,\n\t\t\t\tname: 'next_epoch_stake',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 35,\n\t\t\t\tname: 'next_epoch_gas_price',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 36,\n\t\t\t\tname: 'next_epoch_commission_rate',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 37, name: 'extra_fields', kind: 'message', T: () => MoveTable },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.Validator\n */\nexport const Validator = new Validator$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass StakingPool$Type extends MessageType<StakingPool> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.StakingPool', [\n\t\t\t{ no: 1, name: 'id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'activation_epoch',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'deactivation_epoch',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: 'sui_balance',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: 'rewards_pool',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: 'pool_token_balance',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 7, name: 'exchange_rates', kind: 'message', T: () => MoveTable },\n\t\t\t{\n\t\t\t\tno: 8,\n\t\t\t\tname: 'pending_stake',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 9,\n\t\t\t\tname: 'pending_total_sui_withdraw',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 10,\n\t\t\t\tname: 'pending_pool_token_withdraw',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 11, name: 'extra_fields', kind: 'message', T: () => MoveTable },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.StakingPool\n */\nexport const StakingPool = new StakingPool$Type();\n"],
5
+ "mappings": "AAWA,SAAS,mBAAmB;AA6mB5B,MAAM,yBAAyB,YAAyB;AAAA,EACvD,cAAc;AACb,UAAM,0BAA0B;AAAA,MAC/B;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,KAAK;AAAA,QACL,GAAG;AAAA,QACH,GAAG;AAAA,MACJ;AAAA,MACA;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,KAAK;AAAA,QACL,GAAG;AAAA,QACH,GAAG;AAAA,MACJ;AAAA,MACA;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,KAAK;AAAA,QACL,GAAG;AAAA,QACH,GAAG;AAAA,MACJ;AAAA,MACA,EAAE,IAAI,GAAG,MAAM,cAAc,MAAM,WAAW,GAAG,MAAM,aAAa;AAAA,MACpE,EAAE,IAAI,GAAG,MAAM,gBAAgB,MAAM,WAAW,GAAG,MAAM,YAAY;AAAA,MACrE,EAAE,IAAI,GAAG,MAAM,cAAc,MAAM,WAAW,GAAG,MAAM,iBAAiB;AAAA,MACxE;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,KAAK;AAAA,QACL,GAAG;AAAA,QACH,GAAG;AAAA,MACJ;AAAA,MACA;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,QAAQ;AAAA,QACR,GAAG,MAAM;AAAA,MACV;AAAA,MACA,EAAE,IAAI,GAAG,MAAM,iBAAiB,MAAM,WAAW,GAAG,MAAM,aAAa;AAAA,MACvE;AAAA,QAAE,IAAI;AAAA,QAAI,MAAM;AAAA,QAAa,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAsB;A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AI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,KAAK;AAAA,QACL,GAAG;AAAA,QACH,GAAG;AAAA,MACJ;AAAA,MACA,EAAE,IAAI,IAAI,MAAM,gBAAgB,MAAM,WAAW,GAAG,MAAM,UAAU;AAAA,IACrE,CAAC;AAAA,EACF;AACD;AAIO,MAAM,cAAc,IAAI,iBAAiB;",
6
6
  "names": []
7
7
  }
@@ -1,13 +1,13 @@
1
- import { MessageType } from "@protobuf-ts/runtime";
2
- import { Duration } from "../../../google/protobuf/duration";
3
- import { Jwk } from "./jwk";
4
- import { JwkId } from "./jwk";
5
- import { Object } from "./object";
6
- import { Timestamp } from "../../../google/protobuf/timestamp";
7
- import { Argument } from "./argument";
8
- import { Input } from "./input";
9
- import { ObjectReference } from "./object_reference";
10
- import { Bcs } from "./bcs";
1
+ import { MessageType } from '@protobuf-ts/runtime';
2
+ import { Duration } from '../../../google/protobuf/duration.js';
3
+ import { Jwk } from './jwk.js';
4
+ import { JwkId } from './jwk.js';
5
+ import { Object } from './object.js';
6
+ import { Timestamp } from '../../../google/protobuf/timestamp.js';
7
+ import { Argument } from './argument.js';
8
+ import { Input } from './input.js';
9
+ import { ObjectReference } from './object_reference.js';
10
+ import { Bcs } from './bcs.js';
11
11
  /**
12
12
  * A transaction.
13
13
  *
@@ -133,7 +133,7 @@ export interface TransactionKind {
133
133
  * @generated from protobuf oneof: data
134
134
  */
135
135
  data: {
136
- oneofKind: "programmableTransaction";
136
+ oneofKind: 'programmableTransaction';
137
137
  /**
138
138
  * A transaction comprised of a list of native commands and Move calls.
139
139
  *
@@ -141,7 +141,7 @@ export interface TransactionKind {
141
141
  */
142
142
  programmableTransaction: ProgrammableTransaction;
143
143
  } | {
144
- oneofKind: "changeEpoch";
144
+ oneofKind: 'changeEpoch';
145
145
  /**
146
146
  * System transaction used to end an epoch.
147
147
  *
@@ -152,7 +152,7 @@ export interface TransactionKind {
152
152
  */
153
153
  changeEpoch: ChangeEpoch;
154
154
  } | {
155
- oneofKind: "genesis";
155
+ oneofKind: 'genesis';
156
156
  /**
157
157
  * Transaction used to initialize the chain state.
158
158
  *
@@ -163,7 +163,7 @@ export interface TransactionKind {
163
163
  */
164
164
  genesis: GenesisTransaction;
165
165
  } | {
166
- oneofKind: "consensusCommitPrologue";
166
+ oneofKind: 'consensusCommitPrologue';
167
167
  /**
168
168
  * consensus commit update info
169
169
  *
@@ -171,7 +171,7 @@ export interface TransactionKind {
171
171
  */
172
172
  consensusCommitPrologue: ConsensusCommitPrologue;
173
173
  } | {
174
- oneofKind: "authenticatorStateUpdate";
174
+ oneofKind: 'authenticatorStateUpdate';
175
175
  /**
176
176
  * Update set of valid JWKs used for zklogin.
177
177
  *
@@ -179,7 +179,7 @@ export interface TransactionKind {
179
179
  */
180
180
  authenticatorStateUpdate: AuthenticatorStateUpdate;
181
181
  } | {
182
- oneofKind: "endOfEpoch";
182
+ oneofKind: 'endOfEpoch';
183
183
  /**
184
184
  * Set of operations to run at the end of the epoch to close out the current epoch and start
185
185
  * the next one.
@@ -188,7 +188,7 @@ export interface TransactionKind {
188
188
  */
189
189
  endOfEpoch: EndOfEpochTransaction;
190
190
  } | {
191
- oneofKind: "randomnessStateUpdate";
191
+ oneofKind: 'randomnessStateUpdate';
192
192
  /**
193
193
  * Randomness update.
194
194
  *
@@ -308,7 +308,7 @@ export interface Command {
308
308
  * @generated from protobuf oneof: command
309
309
  */
310
310
  command: {
311
- oneofKind: "moveCall";
311
+ oneofKind: 'moveCall';
312
312
  /**
313
313
  * A call to either an entry or a public Move function.
314
314
  *
@@ -316,7 +316,7 @@ export interface Command {
316
316
  */
317
317
  moveCall: MoveCall;
318
318
  } | {
319
- oneofKind: "transferObjects";
319
+ oneofKind: 'transferObjects';
320
320
  /**
321
321
  * `(Vec<forall T:key+store. T>, address)`
322
322
  * It sends n-objects to the specified address. These objects must have store
@@ -327,7 +327,7 @@ export interface Command {
327
327
  */
328
328
  transferObjects: TransferObjects;
329
329
  } | {
330
- oneofKind: "splitCoins";
330
+ oneofKind: 'splitCoins';
331
331
  /**
332
332
  * `(&mut Coin<T>, Vec<u64>)` -> `Vec<Coin<T>>`
333
333
  * It splits off some amounts into new coins with those amounts.
@@ -336,7 +336,7 @@ export interface Command {
336
336
  */
337
337
  splitCoins: SplitCoins;
338
338
  } | {
339
- oneofKind: "mergeCoins";
339
+ oneofKind: 'mergeCoins';
340
340
  /**
341
341
  * `(&mut Coin<T>, Vec<Coin<T>>)`
342
342
  * It merges n-coins into the first coin.
@@ -345,7 +345,7 @@ export interface Command {
345
345
  */
346
346
  mergeCoins: MergeCoins;
347
347
  } | {
348
- oneofKind: "publish";
348
+ oneofKind: 'publish';
349
349
  /**
350
350
  * Publishes a Move package. It takes the package bytes and a list of the package's transitive
351
351
  * dependencies to link against on chain.
@@ -354,7 +354,7 @@ export interface Command {
354
354
  */
355
355
  publish: Publish;
356
356
  } | {
357
- oneofKind: "makeMoveVector";
357
+ oneofKind: 'makeMoveVector';
358
358
  /**
359
359
  * `forall T: Vec<T> -> vector<T>`
360
360
  * Given n-values of the same type, it constructs a vector. For non-objects or an empty vector,
@@ -364,7 +364,7 @@ export interface Command {
364
364
  */
365
365
  makeMoveVector: MakeMoveVector;
366
366
  } | {
367
- oneofKind: "upgrade";
367
+ oneofKind: 'upgrade';
368
368
  /**
369
369
  * Upgrades a Move package.
370
370
  * Takes (in order):
@@ -892,7 +892,7 @@ export interface EndOfEpochTransactionKind {
892
892
  * @generated from protobuf oneof: data
893
893
  */
894
894
  data: {
895
- oneofKind: "changeEpoch";
895
+ oneofKind: 'changeEpoch';
896
896
  /**
897
897
  * End the epoch and start the next one.
898
898
  *
@@ -900,7 +900,7 @@ export interface EndOfEpochTransactionKind {
900
900
  */
901
901
  changeEpoch: ChangeEpoch;
902
902
  } | {
903
- oneofKind: "authenticatorStateExpire";
903
+ oneofKind: 'authenticatorStateExpire';
904
904
  /**
905
905
  * Expire JWKs used for zklogin.
906
906
  *
@@ -908,7 +908,7 @@ export interface EndOfEpochTransactionKind {
908
908
  */
909
909
  authenticatorStateExpire: AuthenticatorStateExpire;
910
910
  } | {
911
- oneofKind: "executionTimeObservations";
911
+ oneofKind: 'executionTimeObservations';
912
912
  /**
913
913
  * Execution time observations from the committee to preserve cross epoch
914
914
  *
@@ -916,7 +916,7 @@ export interface EndOfEpochTransactionKind {
916
916
  */
917
917
  executionTimeObservations: ExecutionTimeObservations;
918
918
  } | {
919
- oneofKind: "bridgeChainId";
919
+ oneofKind: 'bridgeChainId';
920
920
  /**
921
921
  * ChainId used when initializing the bridge
922
922
  *
@@ -924,7 +924,7 @@ export interface EndOfEpochTransactionKind {
924
924
  */
925
925
  bridgeChainId: string;
926
926
  } | {
927
- oneofKind: "bridgeObjectVersion";
927
+ oneofKind: 'bridgeObjectVersion';
928
928
  /**
929
929
  * Start version of the Bridge object
930
930
  *