@mysten/sui 1.42.0 → 1.43.1

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 (429) hide show
  1. package/CHANGELOG.md +21 -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/Transaction.d.ts +2 -2
  166. package/dist/cjs/transactions/Transaction.js.map +2 -2
  167. package/dist/cjs/transactions/TransactionData.d.ts +1 -0
  168. package/dist/cjs/transactions/TransactionData.js +71 -0
  169. package/dist/cjs/transactions/TransactionData.js.map +3 -3
  170. package/dist/cjs/transactions/serializer.js +1 -1
  171. package/dist/cjs/transactions/serializer.js.map +2 -2
  172. package/dist/cjs/utils/index.d.ts +1 -0
  173. package/dist/cjs/utils/index.js +2 -0
  174. package/dist/cjs/utils/index.js.map +2 -2
  175. package/dist/cjs/version.d.ts +2 -2
  176. package/dist/cjs/version.js +2 -2
  177. package/dist/cjs/version.js.map +1 -1
  178. package/dist/cjs/zklogin/bcs.d.ts +1 -3
  179. package/dist/cjs/zklogin/bcs.js +1 -1
  180. package/dist/cjs/zklogin/bcs.js.map +2 -2
  181. package/dist/cjs/zklogin/publickey.d.ts +1 -1
  182. package/dist/cjs/zklogin/signature.d.ts +1 -1
  183. package/dist/esm/bcs/bcs.d.ts +47 -111
  184. package/dist/esm/bcs/bcs.js +17 -17
  185. package/dist/esm/bcs/bcs.js.map +2 -2
  186. package/dist/esm/bcs/effects.d.ts +2 -6
  187. package/dist/esm/bcs/effects.js +1 -1
  188. package/dist/esm/bcs/effects.js.map +2 -2
  189. package/dist/esm/bcs/index.d.ts +49 -117
  190. package/dist/esm/bcs/type-tag-serializer.d.ts +1 -0
  191. package/dist/esm/bcs/type-tag-serializer.js +5 -1
  192. package/dist/esm/bcs/type-tag-serializer.js.map +2 -2
  193. package/dist/esm/cryptography/intent.js +1 -1
  194. package/dist/esm/cryptography/intent.js.map +2 -2
  195. package/dist/esm/cryptography/keypair.js +1 -1
  196. package/dist/esm/cryptography/keypair.js.map +2 -2
  197. package/dist/esm/cryptography/publickey.js +1 -1
  198. package/dist/esm/cryptography/publickey.js.map +2 -2
  199. package/dist/esm/cryptography/signature.d.ts +2 -2
  200. package/dist/esm/experimental/client.js +0 -4
  201. package/dist/esm/experimental/client.js.map +2 -2
  202. package/dist/esm/experimental/types.d.ts +1 -7
  203. package/dist/esm/graphql/generated/queries.d.ts +1 -1
  204. package/dist/esm/graphql/generated/queries.js.map +1 -1
  205. package/dist/esm/grpc/core.d.ts +3 -1
  206. package/dist/esm/grpc/core.js +5 -3
  207. package/dist/esm/grpc/core.js.map +2 -2
  208. package/dist/esm/grpc/proto/google/protobuf/any.d.ts +6 -6
  209. package/dist/esm/grpc/proto/google/protobuf/any.js +20 -20
  210. package/dist/esm/grpc/proto/google/protobuf/any.js.map +2 -2
  211. package/dist/esm/grpc/proto/google/protobuf/duration.d.ts +4 -4
  212. package/dist/esm/grpc/proto/google/protobuf/duration.js +8 -12
  213. package/dist/esm/grpc/proto/google/protobuf/duration.js.map +2 -2
  214. package/dist/esm/grpc/proto/google/protobuf/empty.d.ts +1 -1
  215. package/dist/esm/grpc/proto/google/protobuf/empty.js.map +2 -2
  216. package/dist/esm/grpc/proto/google/protobuf/field_mask.d.ts +4 -4
  217. package/dist/esm/grpc/proto/google/protobuf/field_mask.js +8 -7
  218. package/dist/esm/grpc/proto/google/protobuf/field_mask.js.map +2 -2
  219. package/dist/esm/grpc/proto/google/protobuf/struct.d.ts +10 -10
  220. package/dist/esm/grpc/proto/google/protobuf/struct.js +29 -17
  221. package/dist/esm/grpc/proto/google/protobuf/struct.js.map +2 -2
  222. package/dist/esm/grpc/proto/google/protobuf/timestamp.d.ts +4 -4
  223. package/dist/esm/grpc/proto/google/protobuf/timestamp.js +21 -18
  224. package/dist/esm/grpc/proto/google/protobuf/timestamp.js.map +2 -2
  225. package/dist/esm/grpc/proto/google/rpc/error_details.d.ts +2 -2
  226. package/dist/esm/grpc/proto/google/rpc/error_details.js +40 -11
  227. package/dist/esm/grpc/proto/google/rpc/error_details.js.map +2 -2
  228. package/dist/esm/grpc/proto/google/rpc/status.d.ts +2 -2
  229. package/dist/esm/grpc/proto/google/rpc/status.js +1 -1
  230. package/dist/esm/grpc/proto/google/rpc/status.js.map +2 -2
  231. package/dist/esm/grpc/proto/sui/rpc/v2/argument.d.ts +1 -1
  232. package/dist/esm/grpc/proto/sui/rpc/v2/argument.js +7 -1
  233. package/dist/esm/grpc/proto/sui/rpc/v2/argument.js.map +2 -2
  234. package/dist/esm/grpc/proto/sui/rpc/v2/balance_change.d.ts +1 -1
  235. package/dist/esm/grpc/proto/sui/rpc/v2/balance_change.js.map +2 -2
  236. package/dist/esm/grpc/proto/sui/rpc/v2/bcs.d.ts +1 -1
  237. package/dist/esm/grpc/proto/sui/rpc/v2/bcs.js.map +2 -2
  238. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint.d.ts +6 -6
  239. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint.js +12 -7
  240. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint.js.map +2 -2
  241. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_contents.d.ts +3 -3
  242. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_contents.js +16 -4
  243. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_contents.js.map +2 -2
  244. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_summary.d.ts +5 -5
  245. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_summary.js +35 -13
  246. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_summary.js.map +2 -2
  247. package/dist/esm/grpc/proto/sui/rpc/v2/effects.d.ts +6 -6
  248. package/dist/esm/grpc/proto/sui/rpc/v2/effects.js +65 -19
  249. package/dist/esm/grpc/proto/sui/rpc/v2/effects.js.map +2 -2
  250. package/dist/esm/grpc/proto/sui/rpc/v2/epoch.d.ts +5 -5
  251. package/dist/esm/grpc/proto/sui/rpc/v2/epoch.js +4 -8
  252. package/dist/esm/grpc/proto/sui/rpc/v2/epoch.js.map +2 -2
  253. package/dist/esm/grpc/proto/sui/rpc/v2/error_reason.js.map +2 -2
  254. package/dist/esm/grpc/proto/sui/rpc/v2/event.d.ts +3 -3
  255. package/dist/esm/grpc/proto/sui/rpc/v2/event.js +2 -2
  256. package/dist/esm/grpc/proto/sui/rpc/v2/event.js.map +2 -2
  257. package/dist/esm/grpc/proto/sui/rpc/v2/executed_transaction.d.ts +8 -8
  258. package/dist/esm/grpc/proto/sui/rpc/v2/executed_transaction.js +21 -10
  259. package/dist/esm/grpc/proto/sui/rpc/v2/executed_transaction.js.map +2 -2
  260. package/dist/esm/grpc/proto/sui/rpc/v2/execution_status.d.ts +12 -12
  261. package/dist/esm/grpc/proto/sui/rpc/v2/execution_status.js +75 -17
  262. package/dist/esm/grpc/proto/sui/rpc/v2/execution_status.js.map +2 -2
  263. package/dist/esm/grpc/proto/sui/rpc/v2/gas_cost_summary.d.ts +1 -1
  264. package/dist/esm/grpc/proto/sui/rpc/v2/gas_cost_summary.js +0 -4
  265. package/dist/esm/grpc/proto/sui/rpc/v2/gas_cost_summary.js.map +2 -2
  266. package/dist/esm/grpc/proto/sui/rpc/v2/input.d.ts +2 -2
  267. package/dist/esm/grpc/proto/sui/rpc/v2/input.js +8 -3
  268. package/dist/esm/grpc/proto/sui/rpc/v2/input.js.map +2 -2
  269. package/dist/esm/grpc/proto/sui/rpc/v2/jwk.d.ts +1 -1
  270. package/dist/esm/grpc/proto/sui/rpc/v2/jwk.js.map +2 -2
  271. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.client.d.ts +18 -18
  272. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.client.js +50 -8
  273. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.client.js.map +2 -2
  274. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.d.ts +15 -15
  275. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.js +41 -20
  276. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.js.map +2 -2
  277. package/dist/esm/grpc/proto/sui/rpc/v2/move_package.d.ts +1 -1
  278. package/dist/esm/grpc/proto/sui/rpc/v2/move_package.js +126 -20
  279. package/dist/esm/grpc/proto/sui/rpc/v2/move_package.js.map +2 -2
  280. package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.client.d.ts +12 -12
  281. package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.client.js +29 -5
  282. package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.client.js.map +2 -2
  283. package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.d.ts +5 -5
  284. package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.js +16 -6
  285. package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.js.map +2 -2
  286. package/dist/esm/grpc/proto/sui/rpc/v2/name_service.client.d.ts +8 -8
  287. package/dist/esm/grpc/proto/sui/rpc/v2/name_service.client.js +15 -3
  288. package/dist/esm/grpc/proto/sui/rpc/v2/name_service.client.js.map +2 -2
  289. package/dist/esm/grpc/proto/sui/rpc/v2/name_service.d.ts +3 -3
  290. package/dist/esm/grpc/proto/sui/rpc/v2/name_service.js +18 -7
  291. package/dist/esm/grpc/proto/sui/rpc/v2/name_service.js.map +2 -2
  292. package/dist/esm/grpc/proto/sui/rpc/v2/object.d.ts +5 -5
  293. package/dist/esm/grpc/proto/sui/rpc/v2/object.js +4 -8
  294. package/dist/esm/grpc/proto/sui/rpc/v2/object.js.map +2 -2
  295. package/dist/esm/grpc/proto/sui/rpc/v2/object_reference.d.ts +1 -1
  296. package/dist/esm/grpc/proto/sui/rpc/v2/object_reference.js +0 -1
  297. package/dist/esm/grpc/proto/sui/rpc/v2/object_reference.js.map +2 -2
  298. package/dist/esm/grpc/proto/sui/rpc/v2/owner.d.ts +1 -1
  299. package/dist/esm/grpc/proto/sui/rpc/v2/owner.js +7 -2
  300. package/dist/esm/grpc/proto/sui/rpc/v2/owner.js.map +2 -2
  301. package/dist/esm/grpc/proto/sui/rpc/v2/protocol_config.d.ts +1 -1
  302. package/dist/esm/grpc/proto/sui/rpc/v2/protocol_config.js +22 -11
  303. package/dist/esm/grpc/proto/sui/rpc/v2/protocol_config.js.map +2 -2
  304. package/dist/esm/grpc/proto/sui/rpc/v2/signature.d.ts +8 -8
  305. package/dist/esm/grpc/proto/sui/rpc/v2/signature.js +73 -17
  306. package/dist/esm/grpc/proto/sui/rpc/v2/signature.js.map +2 -2
  307. package/dist/esm/grpc/proto/sui/rpc/v2/signature_scheme.js.map +2 -2
  308. package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.client.d.ts +6 -6
  309. package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.client.js +8 -2
  310. package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.client.js.map +2 -2
  311. package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.d.ts +5 -5
  312. package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.js +7 -6
  313. package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.js.map +2 -2
  314. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.d.ts +14 -14
  315. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.js +36 -6
  316. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.js.map +2 -2
  317. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.d.ts +5 -5
  318. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.js +60 -14
  319. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.js.map +2 -2
  320. package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.client.d.ts +6 -6
  321. package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.client.js +8 -2
  322. package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.client.js.map +2 -2
  323. package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.d.ts +4 -4
  324. package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.js +9 -4
  325. package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.js.map +2 -2
  326. package/dist/esm/grpc/proto/sui/rpc/v2/system_state.d.ts +1 -1
  327. package/dist/esm/grpc/proto/sui/rpc/v2/system_state.js +26 -59
  328. package/dist/esm/grpc/proto/sui/rpc/v2/system_state.js.map +2 -2
  329. package/dist/esm/grpc/proto/sui/rpc/v2/transaction.d.ts +29 -29
  330. package/dist/esm/grpc/proto/sui/rpc/v2/transaction.js +210 -71
  331. package/dist/esm/grpc/proto/sui/rpc/v2/transaction.js.map +2 -2
  332. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.client.d.ts +8 -8
  333. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js +15 -3
  334. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js.map +2 -2
  335. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.d.ts +9 -9
  336. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.js +62 -16
  337. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.js.map +2 -2
  338. package/dist/esm/jsonRpc/client.d.ts +2 -6
  339. package/dist/esm/jsonRpc/client.js +0 -8
  340. package/dist/esm/jsonRpc/client.js.map +2 -2
  341. package/dist/esm/keypairs/passkey/publickey.d.ts +1 -1
  342. package/dist/esm/multisig/publickey.d.ts +10 -10
  343. package/dist/esm/multisig/publickey.js +2 -2
  344. package/dist/esm/multisig/publickey.js.map +2 -2
  345. package/dist/esm/transactions/Transaction.d.ts +2 -2
  346. package/dist/esm/transactions/Transaction.js.map +2 -2
  347. package/dist/esm/transactions/TransactionData.d.ts +1 -0
  348. package/dist/esm/transactions/TransactionData.js +71 -0
  349. package/dist/esm/transactions/TransactionData.js.map +3 -3
  350. package/dist/esm/transactions/serializer.js +1 -1
  351. package/dist/esm/transactions/serializer.js.map +2 -2
  352. package/dist/esm/utils/index.d.ts +1 -0
  353. package/dist/esm/utils/index.js +2 -0
  354. package/dist/esm/utils/index.js.map +2 -2
  355. package/dist/esm/version.d.ts +2 -2
  356. package/dist/esm/version.js +2 -2
  357. package/dist/esm/version.js.map +1 -1
  358. package/dist/esm/zklogin/bcs.d.ts +1 -3
  359. package/dist/esm/zklogin/bcs.js +1 -1
  360. package/dist/esm/zklogin/bcs.js.map +2 -2
  361. package/dist/esm/zklogin/publickey.d.ts +1 -1
  362. package/dist/esm/zklogin/signature.d.ts +1 -1
  363. package/dist/tsconfig.esm.tsbuildinfo +1 -1
  364. package/dist/tsconfig.tsbuildinfo +1 -1
  365. package/package.json +2 -2
  366. package/src/bcs/bcs.ts +17 -17
  367. package/src/bcs/effects.ts +1 -1
  368. package/src/bcs/type-tag-serializer.ts +4 -0
  369. package/src/cryptography/intent.ts +1 -1
  370. package/src/cryptography/keypair.ts +1 -1
  371. package/src/cryptography/publickey.ts +1 -1
  372. package/src/experimental/client.ts +0 -4
  373. package/src/experimental/types.ts +4 -17
  374. package/src/graphql/generated/queries.ts +1 -1
  375. package/src/grpc/core.ts +28 -8
  376. package/src/grpc/proto/google/protobuf/any.ts +159 -144
  377. package/src/grpc/proto/google/protobuf/duration.ts +77 -74
  378. package/src/grpc/proto/google/protobuf/empty.ts +5 -6
  379. package/src/grpc/proto/google/protobuf/field_mask.ts +59 -47
  380. package/src/grpc/proto/google/protobuf/struct.ts +223 -201
  381. package/src/grpc/proto/google/protobuf/timestamp.ts +121 -100
  382. package/src/grpc/proto/google/rpc/error_details.ts +388 -352
  383. package/src/grpc/proto/google/rpc/status.ts +32 -32
  384. package/src/grpc/proto/sui/rpc/v2/argument.ts +60 -54
  385. package/src/grpc/proto/sui/rpc/v2/balance_change.ts +26 -26
  386. package/src/grpc/proto/sui/rpc/v2/bcs.ts +19 -19
  387. package/src/grpc/proto/sui/rpc/v2/checkpoint.ts +79 -66
  388. package/src/grpc/proto/sui/rpc/v2/checkpoint_contents.ts +72 -60
  389. package/src/grpc/proto/sui/rpc/v2/checkpoint_summary.ts +219 -158
  390. package/src/grpc/proto/sui/rpc/v2/effects.ts +418 -318
  391. package/src/grpc/proto/sui/rpc/v2/epoch.ts +90 -62
  392. package/src/grpc/proto/sui/rpc/v2/error_reason.ts +12 -12
  393. package/src/grpc/proto/sui/rpc/v2/event.ts +76 -76
  394. package/src/grpc/proto/sui/rpc/v2/executed_transaction.ts +99 -80
  395. package/src/grpc/proto/sui/rpc/v2/execution_status.ts +888 -755
  396. package/src/grpc/proto/sui/rpc/v2/gas_cost_summary.ts +62 -34
  397. package/src/grpc/proto/sui/rpc/v2/input.ts +102 -89
  398. package/src/grpc/proto/sui/rpc/v2/jwk.ts +51 -51
  399. package/src/grpc/proto/sui/rpc/v2/ledger_service.client.ts +196 -106
  400. package/src/grpc/proto/sui/rpc/v2/ledger_service.ts +420 -328
  401. package/src/grpc/proto/sui/rpc/v2/move_package.ts +608 -486
  402. package/src/grpc/proto/sui/rpc/v2/move_package_service.client.ts +114 -63
  403. package/src/grpc/proto/sui/rpc/v2/move_package_service.ts +190 -172
  404. package/src/grpc/proto/sui/rpc/v2/name_service.client.ts +62 -37
  405. package/src/grpc/proto/sui/rpc/v2/name_service.ts +123 -112
  406. package/src/grpc/proto/sui/rpc/v2/object.ts +147 -120
  407. package/src/grpc/proto/sui/rpc/v2/object_reference.ts +33 -26
  408. package/src/grpc/proto/sui/rpc/v2/owner.ts +61 -48
  409. package/src/grpc/proto/sui/rpc/v2/protocol_config.ts +43 -24
  410. package/src/grpc/proto/sui/rpc/v2/signature.ts +596 -503
  411. package/src/grpc/proto/sui/rpc/v2/signature_scheme.ts +28 -28
  412. package/src/grpc/proto/sui/rpc/v2/signature_verification_service.client.ts +43 -29
  413. package/src/grpc/proto/sui/rpc/v2/signature_verification_service.ts +68 -67
  414. package/src/grpc/proto/sui/rpc/v2/state_service.client.ts +140 -76
  415. package/src/grpc/proto/sui/rpc/v2/state_service.ts +642 -573
  416. package/src/grpc/proto/sui/rpc/v2/subscription_service.client.ts +60 -48
  417. package/src/grpc/proto/sui/rpc/v2/subscription_service.ts +50 -37
  418. package/src/grpc/proto/sui/rpc/v2/system_state.ts +1055 -689
  419. package/src/grpc/proto/sui/rpc/v2/transaction.ts +1535 -1110
  420. package/src/grpc/proto/sui/rpc/v2/transaction_execution_service.client.ts +65 -38
  421. package/src/grpc/proto/sui/rpc/v2/transaction_execution_service.ts +185 -139
  422. package/src/jsonRpc/client.ts +2 -17
  423. package/src/multisig/publickey.ts +14 -14
  424. package/src/transactions/Transaction.ts +2 -2
  425. package/src/transactions/TransactionData.ts +100 -1
  426. package/src/transactions/serializer.ts +1 -1
  427. package/src/utils/index.ts +1 -0
  428. package/src/version.ts +2 -2
  429. package/src/zklogin/bcs.ts +1 -1
@@ -1,8 +1,8 @@
1
- import { MessageType } from "@protobuf-ts/runtime";
2
- import { ValidatorCommitteeMember } from "./signature";
3
- import { Timestamp } from "../../../google/protobuf/timestamp";
4
- import { GasCostSummary } from "./gas_cost_summary";
5
- import { Bcs } from "./bcs";
1
+ import { MessageType } from '@protobuf-ts/runtime';
2
+ import { ValidatorCommitteeMember } from './signature.js';
3
+ import { Timestamp } from '../../../google/protobuf/timestamp.js';
4
+ import { GasCostSummary } from './gas_cost_summary.js';
5
+ import { Bcs } from './bcs.js';
6
6
  /**
7
7
  * A header for a checkpoint on the Sui blockchain.
8
8
  *
@@ -25,10 +25,10 @@ __export(checkpoint_summary_exports, {
25
25
  });
26
26
  module.exports = __toCommonJS(checkpoint_summary_exports);
27
27
  var import_runtime = require("@protobuf-ts/runtime");
28
- var import_signature = require("./signature");
29
- var import_timestamp = require("../../../google/protobuf/timestamp");
30
- var import_gas_cost_summary = require("./gas_cost_summary");
31
- var import_bcs = require("./bcs");
28
+ var import_signature = require("./signature.js");
29
+ var import_timestamp = require("../../../google/protobuf/timestamp.js");
30
+ var import_gas_cost_summary = require("./gas_cost_summary.js");
31
+ var import_bcs = require("./bcs.js");
32
32
  var CheckpointCommitment_CheckpointCommitmentKind = /* @__PURE__ */ ((CheckpointCommitment_CheckpointCommitmentKind2) => {
33
33
  CheckpointCommitment_CheckpointCommitmentKind2[CheckpointCommitment_CheckpointCommitmentKind2["CHECKPOINT_COMMITMENT_KIND_UNKNOWN"] = 0] = "CHECKPOINT_COMMITMENT_KIND_UNKNOWN";
34
34
  CheckpointCommitment_CheckpointCommitmentKind2[CheckpointCommitment_CheckpointCommitmentKind2["ECMH_LIVE_OBJECT_SET"] = 1] = "ECMH_LIVE_OBJECT_SET";
@@ -54,7 +54,6 @@ class CheckpointSummary$Type extends import_runtime.MessageType {
54
54
  opt: true,
55
55
  T: 4,
56
56
  L: 0
57
- /*LongType.BIGINT*/
58
57
  },
59
58
  {
60
59
  no: 4,
@@ -63,7 +62,6 @@ class CheckpointSummary$Type extends import_runtime.MessageType {
63
62
  opt: true,
64
63
  T: 4,
65
64
  L: 0
66
- /*LongType.BIGINT*/
67
65
  },
68
66
  {
69
67
  no: 5,
@@ -72,7 +70,6 @@ class CheckpointSummary$Type extends import_runtime.MessageType {
72
70
  opt: true,
73
71
  T: 4,
74
72
  L: 0
75
- /*LongType.BIGINT*/
76
73
  },
77
74
  {
78
75
  no: 6,
@@ -92,7 +89,13 @@ class CheckpointSummary$Type extends import_runtime.MessageType {
92
89
  },
93
90
  { no: 8, name: "epoch_rolling_gas_cost_summary", kind: "message", T: () => import_gas_cost_summary.GasCostSummary },
94
91
  { no: 9, name: "timestamp", kind: "message", T: () => import_timestamp.Timestamp },
95
- { no: 10, name: "commitments", kind: "message", repeat: 1, T: () => CheckpointCommitment },
92
+ {
93
+ no: 10,
94
+ name: "commitments",
95
+ kind: "message",
96
+ repeat: 1,
97
+ T: () => CheckpointCommitment
98
+ },
96
99
  { no: 11, name: "end_of_epoch_data", kind: "message", T: () => EndOfEpochData },
97
100
  {
98
101
  no: 12,
@@ -100,7 +103,6 @@ class CheckpointSummary$Type extends import_runtime.MessageType {
100
103
  kind: "scalar",
101
104
  opt: true,
102
105
  T: 12
103
- /*ScalarType.BYTES*/
104
106
  }
105
107
  ]);
106
108
  }
@@ -109,7 +111,13 @@ const CheckpointSummary = new CheckpointSummary$Type();
109
111
  class EndOfEpochData$Type extends import_runtime.MessageType {
110
112
  constructor() {
111
113
  super("sui.rpc.v2.EndOfEpochData", [
112
- { no: 1, name: "next_epoch_committee", kind: "message", repeat: 1, T: () => import_signature.ValidatorCommitteeMember },
114
+ {
115
+ no: 1,
116
+ name: "next_epoch_committee",
117
+ kind: "message",
118
+ repeat: 1,
119
+ T: () => import_signature.ValidatorCommitteeMember
120
+ },
113
121
  {
114
122
  no: 2,
115
123
  name: "next_epoch_protocol_version",
@@ -117,9 +125,14 @@ class EndOfEpochData$Type extends import_runtime.MessageType {
117
125
  opt: true,
118
126
  T: 4,
119
127
  L: 0
120
- /*LongType.BIGINT*/
121
128
  },
122
- { no: 3, name: "epoch_commitments", kind: "message", repeat: 1, T: () => CheckpointCommitment }
129
+ {
130
+ no: 3,
131
+ name: "epoch_commitments",
132
+ kind: "message",
133
+ repeat: 1,
134
+ T: () => CheckpointCommitment
135
+ }
123
136
  ]);
124
137
  }
125
138
  }
@@ -127,7 +140,16 @@ const EndOfEpochData = new EndOfEpochData$Type();
127
140
  class CheckpointCommitment$Type extends import_runtime.MessageType {
128
141
  constructor() {
129
142
  super("sui.rpc.v2.CheckpointCommitment", [
130
- { no: 1, name: "kind", kind: "enum", opt: true, T: () => ["sui.rpc.v2.CheckpointCommitment.CheckpointCommitmentKind", CheckpointCommitment_CheckpointCommitmentKind] },
143
+ {
144
+ no: 1,
145
+ name: "kind",
146
+ kind: "enum",
147
+ opt: true,
148
+ T: () => [
149
+ "sui.rpc.v2.CheckpointCommitment.CheckpointCommitmentKind",
150
+ CheckpointCommitment_CheckpointCommitmentKind
151
+ ]
152
+ },
131
153
  {
132
154
  no: 2,
133
155
  name: "digest",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2/checkpoint_summary.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/checkpoint_summary.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\";\nimport { ValidatorCommitteeMember } from \"./signature\";\nimport { Timestamp } from \"../../../google/protobuf/timestamp\";\nimport { GasCostSummary } from \"./gas_cost_summary\";\nimport { Bcs } from \"./bcs\";\n/**\n * A header for a checkpoint on the Sui blockchain.\n *\n * On the Sui network, checkpoints define the history of the blockchain. They are quite similar to\n * the concept of blocks used by other blockchains like Bitcoin or Ethereum. The Sui blockchain,\n * however, forms checkpoints after transaction execution has already happened to provide a\n * certified history of the chain, instead of being formed before execution.\n *\n * Checkpoints commit to a variety of state, including but not limited to:\n * - The hash of the previous checkpoint.\n * - The set of transaction digests, their corresponding effects digests, as well as the set of\n * user signatures that authorized its execution.\n * - The objects produced by a transaction.\n * - The set of live objects that make up the current state of the chain.\n * - On epoch transitions, the next validator committee.\n *\n * `CheckpointSummary`s themselves don't directly include all of the previous information but they\n * are the top-level type by which all the information is committed to transitively via cryptographic\n * hashes included in the summary. `CheckpointSummary`s are signed and certified by a quorum of\n * the validator committee in a given epoch to allow verification of the chain's state.\n *\n * @generated from protobuf message sui.rpc.v2.CheckpointSummary\n */\nexport interface CheckpointSummary {\n /**\n * This CheckpointSummary serialized as BCS.\n *\n * @generated from protobuf field: optional sui.rpc.v2.Bcs bcs = 1;\n */\n bcs?: Bcs;\n /**\n * The digest of this CheckpointSummary.\n *\n * @generated from protobuf field: optional string digest = 2;\n */\n digest?: string;\n /**\n * Epoch that this checkpoint belongs to.\n *\n * @generated from protobuf field: optional uint64 epoch = 3;\n */\n epoch?: bigint;\n /**\n * The height of this checkpoint.\n *\n * @generated from protobuf field: optional uint64 sequence_number = 4;\n */\n sequenceNumber?: bigint;\n /**\n * Total number of transactions committed since genesis, including those in this\n * checkpoint.\n *\n * @generated from protobuf field: optional uint64 total_network_transactions = 5;\n */\n totalNetworkTransactions?: bigint;\n /**\n * The hash of the `CheckpointContents` for this checkpoint.\n *\n * @generated from protobuf field: optional string content_digest = 6;\n */\n contentDigest?: string;\n /**\n * The hash of the previous `CheckpointSummary`.\n *\n * This will be `None` only for the first, or genesis, checkpoint.\n *\n * @generated from protobuf field: optional string previous_digest = 7;\n */\n previousDigest?: string;\n /**\n * The running total gas costs of all transactions included in the current epoch so far\n * until this checkpoint.\n *\n * @generated from protobuf field: optional sui.rpc.v2.GasCostSummary epoch_rolling_gas_cost_summary = 8;\n */\n epochRollingGasCostSummary?: GasCostSummary;\n /**\n * Timestamp of the checkpoint - number of milliseconds from the Unix epoch\n * Checkpoint timestamps are monotonic, but not strongly monotonic - subsequent\n * checkpoints can have the same timestamp if they originate from the same underlining consensus commit.\n *\n * @generated from protobuf field: optional google.protobuf.Timestamp timestamp = 9;\n */\n timestamp?: Timestamp;\n /**\n * Commitments to checkpoint-specific state.\n *\n * @generated from protobuf field: repeated sui.rpc.v2.CheckpointCommitment commitments = 10;\n */\n commitments: CheckpointCommitment[];\n /**\n * Extra data only present in the final checkpoint of an epoch.\n *\n * @generated from protobuf field: optional sui.rpc.v2.EndOfEpochData end_of_epoch_data = 11;\n */\n endOfEpochData?: EndOfEpochData;\n /**\n * `CheckpointSummary` is not an evolvable structure - it must be readable by any version of\n * the code. Therefore, to allow extensions to be added to `CheckpointSummary`,\n * opaque data can be added to checkpoints, which can be deserialized based on the current\n * protocol version.\n *\n * @generated from protobuf field: optional bytes version_specific_data = 12;\n */\n versionSpecificData?: Uint8Array;\n}\n/**\n * Data, which when included in a `CheckpointSummary`, signals the end of an `Epoch`.\n *\n * @generated from protobuf message sui.rpc.v2.EndOfEpochData\n */\nexport interface EndOfEpochData {\n /**\n * The set of validators that will be in the `ValidatorCommittee` for the next epoch.\n *\n * @generated from protobuf field: repeated sui.rpc.v2.ValidatorCommitteeMember next_epoch_committee = 1;\n */\n nextEpochCommittee: ValidatorCommitteeMember[];\n /**\n * The protocol version that is in effect during the next epoch.\n *\n * @generated from protobuf field: optional uint64 next_epoch_protocol_version = 2;\n */\n nextEpochProtocolVersion?: bigint;\n /**\n * Commitments to epoch specific state (live object set)\n *\n * @generated from protobuf field: repeated sui.rpc.v2.CheckpointCommitment epoch_commitments = 3;\n */\n epochCommitments: CheckpointCommitment[];\n}\n/**\n * A commitment made by a checkpoint.\n *\n * @generated from protobuf message sui.rpc.v2.CheckpointCommitment\n */\nexport interface CheckpointCommitment {\n /**\n * @generated from protobuf field: optional sui.rpc.v2.CheckpointCommitment.CheckpointCommitmentKind kind = 1;\n */\n kind?: CheckpointCommitment_CheckpointCommitmentKind;\n /**\n * @generated from protobuf field: optional string digest = 2;\n */\n digest?: string;\n}\n/**\n * @generated from protobuf enum sui.rpc.v2.CheckpointCommitment.CheckpointCommitmentKind\n */\nexport enum CheckpointCommitment_CheckpointCommitmentKind {\n /**\n * @generated from protobuf enum value: CHECKPOINT_COMMITMENT_KIND_UNKNOWN = 0;\n */\n CHECKPOINT_COMMITMENT_KIND_UNKNOWN = 0,\n /**\n * An elliptic curve multiset hash attesting to the set of objects that\n * comprise the live state of the Sui blockchain.\n *\n * @generated from protobuf enum value: ECMH_LIVE_OBJECT_SET = 1;\n */\n ECMH_LIVE_OBJECT_SET = 1,\n /**\n * Digest of the checkpoint artifacts.\n *\n * @generated from protobuf enum value: CHECKPOINT_ARTIFACTS = 2;\n */\n CHECKPOINT_ARTIFACTS = 2\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass CheckpointSummary$Type extends MessageType<CheckpointSummary> {\n constructor() {\n super(\"sui.rpc.v2.CheckpointSummary\", [\n { no: 1, name: \"bcs\", kind: \"message\", T: () => Bcs },\n { no: 2, name: \"digest\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"epoch\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 4, name: \"sequence_number\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 5, name: \"total_network_transactions\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 6, name: \"content_digest\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 7, name: \"previous_digest\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 8, name: \"epoch_rolling_gas_cost_summary\", kind: \"message\", T: () => GasCostSummary },\n { no: 9, name: \"timestamp\", kind: \"message\", T: () => Timestamp },\n { no: 10, name: \"commitments\", kind: \"message\", repeat: 1 /*RepeatType.PACKED*/, T: () => CheckpointCommitment },\n { no: 11, name: \"end_of_epoch_data\", kind: \"message\", T: () => EndOfEpochData },\n { no: 12, name: \"version_specific_data\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.CheckpointSummary\n */\nexport const CheckpointSummary = new CheckpointSummary$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass EndOfEpochData$Type extends MessageType<EndOfEpochData> {\n constructor() {\n super(\"sui.rpc.v2.EndOfEpochData\", [\n { no: 1, name: \"next_epoch_committee\", kind: \"message\", repeat: 1 /*RepeatType.PACKED*/, T: () => ValidatorCommitteeMember },\n { no: 2, name: \"next_epoch_protocol_version\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 3, name: \"epoch_commitments\", kind: \"message\", repeat: 1 /*RepeatType.PACKED*/, T: () => CheckpointCommitment }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.EndOfEpochData\n */\nexport const EndOfEpochData = new EndOfEpochData$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass CheckpointCommitment$Type extends MessageType<CheckpointCommitment> {\n constructor() {\n super(\"sui.rpc.v2.CheckpointCommitment\", [\n { no: 1, name: \"kind\", kind: \"enum\", opt: true, T: () => [\"sui.rpc.v2.CheckpointCommitment.CheckpointCommitmentKind\", CheckpointCommitment_CheckpointCommitmentKind] },\n { no: 2, name: \"digest\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.CheckpointCommitment\n */\nexport const CheckpointCommitment = new CheckpointCommitment$Type();\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAWA,qBAA4B;AAC5B,uBAAyC;AACzC,uBAA0B;AAC1B,8BAA+B;AAC/B,iBAAoB;AAsJb,IAAK,gDAAL,kBAAKA,mDAAL;AAIH,EAAAA,8FAAA,wCAAqC,KAArC;AAOA,EAAAA,8FAAA,0BAAuB,KAAvB;AAMA,EAAAA,8FAAA,0BAAuB,KAAvB;AAjBQ,SAAAA;AAAA,GAAA;AAoBZ,MAAM,+BAA+B,2BAA+B;AAAA,EAChE,cAAc;AACV,UAAM,gCAAgC;AAAA,MAClC,E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AAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,IACnG,CAAC;AAAA,EACL;AACJ;AAIO,MAAM,oBAAoB,IAAI,uBAAuB;AAE5D,MAAM,4BAA4B,2BAA4B;AAAA,EAC1D,cAAc;AACV,UAAM,6BAA6B;AAAA,MAC/B,EAAE,IAAI,GAAG,MAAM,wBAAwB,MAAM,WAAW,QAAQ,GAAyB,GAAG,MAAM,0CAAyB;AAAA,MAC3H;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAA+B,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA,QAAyB,GAAG;AAAA;AAAA,MAAsB;AAAA,MAC9H,EAAE,IAAI,GAAG,MAAM,qBAAqB,MAAM,WAAW,QAAQ,GAAyB,GAAG,MAAM,qBAAqB;AAAA,IACxH,CAAC;AAAA,EACL;AACJ;AAIO,MAAM,iBAAiB,IAAI,oBAAoB;AAEtD,MAAM,kCAAkC,2BAAkC;AAAA,EACtE,cAAc;AACV,UAAM,mCAAmC;AAAA,MACrC,EAAE,IAAI,GAAG,MAAM,QAAQ,MAAM,QAAQ,KAAK,MAAM,GAAG,MAAM,CAAC,4DAA4D,6CAA6C,EAAE;AAAA,MACrK;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAU,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,IACnF,CAAC;AAAA,EACL;AACJ;AAIO,MAAM,uBAAuB,IAAI,0BAA0B;",
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/checkpoint_summary.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';\nimport { ValidatorCommitteeMember } from './signature.js';\nimport { Timestamp } from '../../../google/protobuf/timestamp.js';\nimport { GasCostSummary } from './gas_cost_summary.js';\nimport { Bcs } from './bcs.js';\n/**\n * A header for a checkpoint on the Sui blockchain.\n *\n * On the Sui network, checkpoints define the history of the blockchain. They are quite similar to\n * the concept of blocks used by other blockchains like Bitcoin or Ethereum. The Sui blockchain,\n * however, forms checkpoints after transaction execution has already happened to provide a\n * certified history of the chain, instead of being formed before execution.\n *\n * Checkpoints commit to a variety of state, including but not limited to:\n * - The hash of the previous checkpoint.\n * - The set of transaction digests, their corresponding effects digests, as well as the set of\n * user signatures that authorized its execution.\n * - The objects produced by a transaction.\n * - The set of live objects that make up the current state of the chain.\n * - On epoch transitions, the next validator committee.\n *\n * `CheckpointSummary`s themselves don't directly include all of the previous information but they\n * are the top-level type by which all the information is committed to transitively via cryptographic\n * hashes included in the summary. `CheckpointSummary`s are signed and certified by a quorum of\n * the validator committee in a given epoch to allow verification of the chain's state.\n *\n * @generated from protobuf message sui.rpc.v2.CheckpointSummary\n */\nexport interface CheckpointSummary {\n\t/**\n\t * This CheckpointSummary serialized as BCS.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Bcs bcs = 1;\n\t */\n\tbcs?: Bcs;\n\t/**\n\t * The digest of this CheckpointSummary.\n\t *\n\t * @generated from protobuf field: optional string digest = 2;\n\t */\n\tdigest?: string;\n\t/**\n\t * Epoch that this checkpoint belongs to.\n\t *\n\t * @generated from protobuf field: optional uint64 epoch = 3;\n\t */\n\tepoch?: bigint;\n\t/**\n\t * The height of this checkpoint.\n\t *\n\t * @generated from protobuf field: optional uint64 sequence_number = 4;\n\t */\n\tsequenceNumber?: bigint;\n\t/**\n\t * Total number of transactions committed since genesis, including those in this\n\t * checkpoint.\n\t *\n\t * @generated from protobuf field: optional uint64 total_network_transactions = 5;\n\t */\n\ttotalNetworkTransactions?: bigint;\n\t/**\n\t * The hash of the `CheckpointContents` for this checkpoint.\n\t *\n\t * @generated from protobuf field: optional string content_digest = 6;\n\t */\n\tcontentDigest?: string;\n\t/**\n\t * The hash of the previous `CheckpointSummary`.\n\t *\n\t * This will be `None` only for the first, or genesis, checkpoint.\n\t *\n\t * @generated from protobuf field: optional string previous_digest = 7;\n\t */\n\tpreviousDigest?: string;\n\t/**\n\t * The running total gas costs of all transactions included in the current epoch so far\n\t * until this checkpoint.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.GasCostSummary epoch_rolling_gas_cost_summary = 8;\n\t */\n\tepochRollingGasCostSummary?: GasCostSummary;\n\t/**\n\t * Timestamp of the checkpoint - number of milliseconds from the Unix epoch\n\t * Checkpoint timestamps are monotonic, but not strongly monotonic - subsequent\n\t * checkpoints can have the same timestamp if they originate from the same underlining consensus commit.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.Timestamp timestamp = 9;\n\t */\n\ttimestamp?: Timestamp;\n\t/**\n\t * Commitments to checkpoint-specific state.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.CheckpointCommitment commitments = 10;\n\t */\n\tcommitments: CheckpointCommitment[];\n\t/**\n\t * Extra data only present in the final checkpoint of an epoch.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.EndOfEpochData end_of_epoch_data = 11;\n\t */\n\tendOfEpochData?: EndOfEpochData;\n\t/**\n\t * `CheckpointSummary` is not an evolvable structure - it must be readable by any version of\n\t * the code. Therefore, to allow extensions to be added to `CheckpointSummary`,\n\t * opaque data can be added to checkpoints, which can be deserialized based on the current\n\t * protocol version.\n\t *\n\t * @generated from protobuf field: optional bytes version_specific_data = 12;\n\t */\n\tversionSpecificData?: Uint8Array;\n}\n/**\n * Data, which when included in a `CheckpointSummary`, signals the end of an `Epoch`.\n *\n * @generated from protobuf message sui.rpc.v2.EndOfEpochData\n */\nexport interface EndOfEpochData {\n\t/**\n\t * The set of validators that will be in the `ValidatorCommittee` for the next epoch.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.ValidatorCommitteeMember next_epoch_committee = 1;\n\t */\n\tnextEpochCommittee: ValidatorCommitteeMember[];\n\t/**\n\t * The protocol version that is in effect during the next epoch.\n\t *\n\t * @generated from protobuf field: optional uint64 next_epoch_protocol_version = 2;\n\t */\n\tnextEpochProtocolVersion?: bigint;\n\t/**\n\t * Commitments to epoch specific state (live object set)\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.CheckpointCommitment epoch_commitments = 3;\n\t */\n\tepochCommitments: CheckpointCommitment[];\n}\n/**\n * A commitment made by a checkpoint.\n *\n * @generated from protobuf message sui.rpc.v2.CheckpointCommitment\n */\nexport interface CheckpointCommitment {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.CheckpointCommitment.CheckpointCommitmentKind kind = 1;\n\t */\n\tkind?: CheckpointCommitment_CheckpointCommitmentKind;\n\t/**\n\t * @generated from protobuf field: optional string digest = 2;\n\t */\n\tdigest?: string;\n}\n/**\n * @generated from protobuf enum sui.rpc.v2.CheckpointCommitment.CheckpointCommitmentKind\n */\nexport enum CheckpointCommitment_CheckpointCommitmentKind {\n\t/**\n\t * @generated from protobuf enum value: CHECKPOINT_COMMITMENT_KIND_UNKNOWN = 0;\n\t */\n\tCHECKPOINT_COMMITMENT_KIND_UNKNOWN = 0,\n\t/**\n\t * An elliptic curve multiset hash attesting to the set of objects that\n\t * comprise the live state of the Sui blockchain.\n\t *\n\t * @generated from protobuf enum value: ECMH_LIVE_OBJECT_SET = 1;\n\t */\n\tECMH_LIVE_OBJECT_SET = 1,\n\t/**\n\t * Digest of the checkpoint artifacts.\n\t *\n\t * @generated from protobuf enum value: CHECKPOINT_ARTIFACTS = 2;\n\t */\n\tCHECKPOINT_ARTIFACTS = 2,\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass CheckpointSummary$Type extends MessageType<CheckpointSummary> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.CheckpointSummary', [\n\t\t\t{ no: 1, name: 'bcs', kind: 'message', T: () => Bcs },\n\t\t\t{ no: 2, name: 'digest', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 3,\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: 4,\n\t\t\t\tname: 'sequence_number',\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: 'total_network_transactions',\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: 6, name: 'content_digest', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 7, name: 'previous_digest', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 8, name: 'epoch_rolling_gas_cost_summary', kind: 'message', T: () => GasCostSummary },\n\t\t\t{ no: 9, name: 'timestamp', kind: 'message', T: () => Timestamp },\n\t\t\t{\n\t\t\t\tno: 10,\n\t\t\t\tname: 'commitments',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => CheckpointCommitment,\n\t\t\t},\n\t\t\t{ no: 11, name: 'end_of_epoch_data', kind: 'message', T: () => EndOfEpochData },\n\t\t\t{\n\t\t\t\tno: 12,\n\t\t\t\tname: 'version_specific_data',\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]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.CheckpointSummary\n */\nexport const CheckpointSummary = new CheckpointSummary$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass EndOfEpochData$Type extends MessageType<EndOfEpochData> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.EndOfEpochData', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'next_epoch_committee',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => ValidatorCommitteeMember,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'next_epoch_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{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'epoch_commitments',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => CheckpointCommitment,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.EndOfEpochData\n */\nexport const EndOfEpochData = new EndOfEpochData$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass CheckpointCommitment$Type extends MessageType<CheckpointCommitment> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.CheckpointCommitment', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'kind',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => [\n\t\t\t\t\t'sui.rpc.v2.CheckpointCommitment.CheckpointCommitmentKind',\n\t\t\t\t\tCheckpointCommitment_CheckpointCommitmentKind,\n\t\t\t\t],\n\t\t\t},\n\t\t\t{ no: 2, name: 'digest', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.CheckpointCommitment\n */\nexport const CheckpointCommitment = new CheckpointCommitment$Type();\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAWA,qBAA4B;AAC5B,uBAAyC;AACzC,uBAA0B;AAC1B,8BAA+B;AAC/B,iBAAoB;AAsJb,IAAK,gDAAL,kBAAKA,mDAAL;AAIN,EAAAA,8FAAA,wCAAqC,KAArC;AAOA,EAAAA,8FAAA,0BAAuB,KAAvB;AAMA,EAAAA,8FAAA,0BAAuB,KAAvB;AAjBW,SAAAA;AAAA,GAAA;AAoBZ,MAAM,+BAA+B,2BAA+B;AAAA,EACnE,cAAc;AACb,UAAM,gCAAgC;AAAA,MACrC,EAAE,IAAI,GAAG,MAAM,OAAO,MAAM,WAAW,GAAG,MAAM,eAAI;AAAA,MACpD;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAU,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MAC/E;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;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAkB,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MACvF;AAAA,QAAE,IAAI;AAAA,QAAG,MA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K;AAAA,QACL,GAAG,MAAM;AAAA,UACR;AAAA,UACA;AAAA,QACD;AAAA,MACD;AAAA,MACA;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAU,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,IAChF,CAAC;AAAA,EACF;AACD;AAIO,MAAM,uBAAuB,IAAI,0BAA0B;",
6
6
  "names": ["CheckpointCommitment_CheckpointCommitmentKind"]
7
7
  }
@@ -1,9 +1,9 @@
1
- import { MessageType } from "@protobuf-ts/runtime";
2
- import { Owner } from "./owner";
3
- import { ObjectReference } from "./object_reference";
4
- import { GasCostSummary } from "./gas_cost_summary";
5
- import { ExecutionStatus } from "./execution_status";
6
- import { Bcs } from "./bcs";
1
+ import { MessageType } from '@protobuf-ts/runtime';
2
+ import { Owner } from './owner.js';
3
+ import { ObjectReference } from './object_reference.js';
4
+ import { GasCostSummary } from './gas_cost_summary.js';
5
+ import { ExecutionStatus } from './execution_status.js';
6
+ import { Bcs } from './bcs.js';
7
7
  /**
8
8
  * The effects of executing a transaction.
9
9
  *
@@ -28,11 +28,11 @@ __export(effects_exports, {
28
28
  });
29
29
  module.exports = __toCommonJS(effects_exports);
30
30
  var import_runtime = require("@protobuf-ts/runtime");
31
- var import_owner = require("./owner");
32
- var import_object_reference = require("./object_reference");
33
- var import_gas_cost_summary = require("./gas_cost_summary");
34
- var import_execution_status = require("./execution_status");
35
- var import_bcs = require("./bcs");
31
+ var import_owner = require("./owner.js");
32
+ var import_object_reference = require("./object_reference.js");
33
+ var import_gas_cost_summary = require("./gas_cost_summary.js");
34
+ var import_execution_status = require("./execution_status.js");
35
+ var import_bcs = require("./bcs.js");
36
36
  var ChangedObject_InputObjectState = /* @__PURE__ */ ((ChangedObject_InputObjectState2) => {
37
37
  ChangedObject_InputObjectState2[ChangedObject_InputObjectState2["UNKNOWN"] = 0] = "UNKNOWN";
38
38
  ChangedObject_InputObjectState2[ChangedObject_InputObjectState2["DOES_NOT_EXIST"] = 1] = "DOES_NOT_EXIST";
@@ -90,7 +90,6 @@ class TransactionEffects$Type extends import_runtime.MessageType {
90
90
  opt: true,
91
91
  T: 4,
92
92
  L: 0
93
- /*LongType.BIGINT*/
94
93
  },
95
94
  { no: 6, name: "gas_used", kind: "message", T: () => import_gas_cost_summary.GasCostSummary },
96
95
  {
@@ -116,7 +115,6 @@ class TransactionEffects$Type extends import_runtime.MessageType {
116
115
  kind: "scalar",
117
116
  repeat: 2,
118
117
  T: 9
119
- /*ScalarType.STRING*/
120
118
  },
121
119
  {
122
120
  no: 11,
@@ -125,19 +123,35 @@ class TransactionEffects$Type extends import_runtime.MessageType {
125
123
  opt: true,
126
124
  T: 4,
127
125
  L: 0
128
- /*LongType.BIGINT*/
129
126
  },
130
- { no: 12, name: "changed_objects", kind: "message", repeat: 1, T: () => ChangedObject },
131
- { no: 13, name: "unchanged_consensus_objects", kind: "message", repeat: 1, T: () => UnchangedConsensusObject },
127
+ {
128
+ no: 12,
129
+ name: "changed_objects",
130
+ kind: "message",
131
+ repeat: 1,
132
+ T: () => ChangedObject
133
+ },
134
+ {
135
+ no: 13,
136
+ name: "unchanged_consensus_objects",
137
+ kind: "message",
138
+ repeat: 1,
139
+ T: () => UnchangedConsensusObject
140
+ },
132
141
  {
133
142
  no: 14,
134
143
  name: "auxiliary_data_digest",
135
144
  kind: "scalar",
136
145
  opt: true,
137
146
  T: 9
138
- /*ScalarType.STRING*/
139
147
  },
140
- { no: 15, name: "unchanged_loaded_runtime_objects", kind: "message", repeat: 1, T: () => import_object_reference.ObjectReference }
148
+ {
149
+ no: 15,
150
+ name: "unchanged_loaded_runtime_objects",
151
+ kind: "message",
152
+ repeat: 1,
153
+ T: () => import_object_reference.ObjectReference
154
+ }
141
155
  ]);
142
156
  }
143
157
  }
@@ -153,7 +167,17 @@ class ChangedObject$Type extends import_runtime.MessageType {
153
167
  T: 9
154
168
  /*ScalarType.STRING*/
155
169
  },
156
- { no: 2, name: "input_state", kind: "enum", opt: true, T: () => ["sui.rpc.v2.ChangedObject.InputObjectState", ChangedObject_InputObjectState, "INPUT_OBJECT_STATE_"] },
170
+ {
171
+ no: 2,
172
+ name: "input_state",
173
+ kind: "enum",
174
+ opt: true,
175
+ T: () => [
176
+ "sui.rpc.v2.ChangedObject.InputObjectState",
177
+ ChangedObject_InputObjectState,
178
+ "INPUT_OBJECT_STATE_"
179
+ ]
180
+ },
157
181
  {
158
182
  no: 3,
159
183
  name: "input_version",
@@ -161,7 +185,6 @@ class ChangedObject$Type extends import_runtime.MessageType {
161
185
  opt: true,
162
186
  T: 4,
163
187
  L: 0
164
- /*LongType.BIGINT*/
165
188
  },
166
189
  {
167
190
  no: 4,
@@ -172,7 +195,17 @@ class ChangedObject$Type extends import_runtime.MessageType {
172
195
  /*ScalarType.STRING*/
173
196
  },
174
197
  { no: 5, name: "input_owner", kind: "message", T: () => import_owner.Owner },
175
- { no: 6, name: "output_state", kind: "enum", opt: true, T: () => ["sui.rpc.v2.ChangedObject.OutputObjectState", ChangedObject_OutputObjectState, "OUTPUT_OBJECT_STATE_"] },
198
+ {
199
+ no: 6,
200
+ name: "output_state",
201
+ kind: "enum",
202
+ opt: true,
203
+ T: () => [
204
+ "sui.rpc.v2.ChangedObject.OutputObjectState",
205
+ ChangedObject_OutputObjectState,
206
+ "OUTPUT_OBJECT_STATE_"
207
+ ]
208
+ },
176
209
  {
177
210
  no: 7,
178
211
  name: "output_version",
@@ -180,7 +213,6 @@ class ChangedObject$Type extends import_runtime.MessageType {
180
213
  opt: true,
181
214
  T: 4,
182
215
  L: 0
183
- /*LongType.BIGINT*/
184
216
  },
185
217
  {
186
218
  no: 8,
@@ -191,7 +223,13 @@ class ChangedObject$Type extends import_runtime.MessageType {
191
223
  /*ScalarType.STRING*/
192
224
  },
193
225
  { no: 9, name: "output_owner", kind: "message", T: () => import_owner.Owner },
194
- { no: 10, name: "id_operation", kind: "enum", opt: true, T: () => ["sui.rpc.v2.ChangedObject.IdOperation", ChangedObject_IdOperation] },
226
+ {
227
+ no: 10,
228
+ name: "id_operation",
229
+ kind: "enum",
230
+ opt: true,
231
+ T: () => ["sui.rpc.v2.ChangedObject.IdOperation", ChangedObject_IdOperation]
232
+ },
195
233
  {
196
234
  no: 11,
197
235
  name: "object_type",
@@ -207,7 +245,16 @@ const ChangedObject = new ChangedObject$Type();
207
245
  class UnchangedConsensusObject$Type extends import_runtime.MessageType {
208
246
  constructor() {
209
247
  super("sui.rpc.v2.UnchangedConsensusObject", [
210
- { no: 1, name: "kind", kind: "enum", opt: true, T: () => ["sui.rpc.v2.UnchangedConsensusObject.UnchangedConsensusObjectKind", UnchangedConsensusObject_UnchangedConsensusObjectKind] },
248
+ {
249
+ no: 1,
250
+ name: "kind",
251
+ kind: "enum",
252
+ opt: true,
253
+ T: () => [
254
+ "sui.rpc.v2.UnchangedConsensusObject.UnchangedConsensusObjectKind",
255
+ UnchangedConsensusObject_UnchangedConsensusObjectKind
256
+ ]
257
+ },
211
258
  {
212
259
  no: 2,
213
260
  name: "object_id",
@@ -223,7 +270,6 @@ class UnchangedConsensusObject$Type extends import_runtime.MessageType {
223
270
  opt: true,
224
271
  T: 4,
225
272
  L: 0
226
- /*LongType.BIGINT*/
227
273
  },
228
274
  {
229
275
  no: 4,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2/effects.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/effects.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\";\nimport { Owner } from \"./owner\";\nimport { ObjectReference } from \"./object_reference\";\nimport { GasCostSummary } from \"./gas_cost_summary\";\nimport { ExecutionStatus } from \"./execution_status\";\nimport { Bcs } from \"./bcs\";\n/**\n * The effects of executing a transaction.\n *\n * @generated from protobuf message sui.rpc.v2.TransactionEffects\n */\nexport interface TransactionEffects {\n /**\n * This TransactionEffects serialized as BCS.\n *\n * @generated from protobuf field: optional sui.rpc.v2.Bcs bcs = 1;\n */\n bcs?: Bcs;\n /**\n * The digest of this TransactionEffects.\n *\n * @generated from protobuf field: optional string digest = 2;\n */\n digest?: string;\n /**\n * Version of this TransactionEffects.\n *\n * @generated from protobuf field: optional int32 version = 3;\n */\n version?: number;\n /**\n * The status of the execution.\n *\n * @generated from protobuf field: optional sui.rpc.v2.ExecutionStatus status = 4;\n */\n status?: ExecutionStatus;\n /**\n * The epoch when this transaction was executed.\n *\n * @generated from protobuf field: optional uint64 epoch = 5;\n */\n epoch?: bigint;\n /**\n * The gas used by this transaction.\n *\n * @generated from protobuf field: optional sui.rpc.v2.GasCostSummary gas_used = 6;\n */\n gasUsed?: GasCostSummary;\n /**\n * The transaction digest.\n *\n * @generated from protobuf field: optional string transaction_digest = 7;\n */\n transactionDigest?: string;\n /**\n * Information about the gas object. Also present in the `changed_objects` vector.\n *\n * System transactions that don't require gas will leave this as `None`.\n *\n * @generated from protobuf field: optional sui.rpc.v2.ChangedObject gas_object = 8;\n */\n gasObject?: ChangedObject;\n /**\n * The digest of the events emitted during execution,\n * can be `None` if the transaction does not emit any event.\n *\n * @generated from protobuf field: optional string events_digest = 9;\n */\n eventsDigest?: string;\n /**\n * The set of transaction digests this transaction depends on.\n *\n * @generated from protobuf field: repeated string dependencies = 10;\n */\n dependencies: string[];\n /**\n * The version number of all the written objects (excluding packages) by this transaction.\n *\n * @generated from protobuf field: optional uint64 lamport_version = 11;\n */\n lamportVersion?: bigint;\n /**\n * Objects whose state are changed by this transaction.\n *\n * @generated from protobuf field: repeated sui.rpc.v2.ChangedObject changed_objects = 12;\n */\n changedObjects: ChangedObject[];\n /**\n * Consensus objects that are not mutated in this transaction. Unlike owned objects,\n * read-only consensus objects' version are not committed in the transaction,\n * and in order for a node to catch up and execute it without consensus sequencing,\n * the version needs to be committed in the effects.\n *\n * @generated from protobuf field: repeated sui.rpc.v2.UnchangedConsensusObject unchanged_consensus_objects = 13;\n */\n unchangedConsensusObjects: UnchangedConsensusObject[];\n /**\n * Auxiliary data that are not protocol-critical, generated as part of the effects but are stored separately.\n * Storing it separately allows us to avoid bloating the effects with data that are not critical.\n * It also provides more flexibility on the format and type of the data.\n *\n * @generated from protobuf field: optional string auxiliary_data_digest = 14;\n */\n auxiliaryDataDigest?: string;\n /**\n * @generated from protobuf field: repeated sui.rpc.v2.ObjectReference unchanged_loaded_runtime_objects = 15;\n */\n unchangedLoadedRuntimeObjects: ObjectReference[];\n}\n/**\n * Input/output state of an object that was changed during execution.\n *\n * @generated from protobuf message sui.rpc.v2.ChangedObject\n */\nexport interface ChangedObject {\n /**\n * ID of the object.\n *\n * @generated from protobuf field: optional string object_id = 1;\n */\n objectId?: string;\n /**\n * @generated from protobuf field: optional sui.rpc.v2.ChangedObject.InputObjectState input_state = 2;\n */\n inputState?: ChangedObject_InputObjectState;\n /**\n * Version of the object before this transaction executed.\n *\n * @generated from protobuf field: optional uint64 input_version = 3;\n */\n inputVersion?: bigint;\n /**\n * Digest of the object before this transaction executed.\n *\n * @generated from protobuf field: optional string input_digest = 4;\n */\n inputDigest?: string;\n /**\n * Owner of the object before this transaction executed.\n *\n * @generated from protobuf field: optional sui.rpc.v2.Owner input_owner = 5;\n */\n inputOwner?: Owner;\n /**\n * @generated from protobuf field: optional sui.rpc.v2.ChangedObject.OutputObjectState output_state = 6;\n */\n outputState?: ChangedObject_OutputObjectState;\n /**\n * Version of the object after this transaction executed.\n *\n * @generated from protobuf field: optional uint64 output_version = 7;\n */\n outputVersion?: bigint;\n /**\n * Digest of the object after this transaction executed.\n *\n * @generated from protobuf field: optional string output_digest = 8;\n */\n outputDigest?: string;\n /**\n * Owner of the object after this transaction executed.\n *\n * @generated from protobuf field: optional sui.rpc.v2.Owner output_owner = 9;\n */\n outputOwner?: Owner;\n /**\n * What happened to an `ObjectId` during execution.\n *\n * @generated from protobuf field: optional sui.rpc.v2.ChangedObject.IdOperation id_operation = 10;\n */\n idOperation?: ChangedObject_IdOperation;\n /**\n * Type information is not provided by the effects structure but is instead\n * provided by an indexing layer\n *\n * @generated from protobuf field: optional string object_type = 11;\n */\n objectType?: string;\n}\n/**\n * @generated from protobuf enum sui.rpc.v2.ChangedObject.InputObjectState\n */\nexport enum ChangedObject_InputObjectState {\n /**\n * @generated from protobuf enum value: INPUT_OBJECT_STATE_UNKNOWN = 0;\n */\n UNKNOWN = 0,\n /**\n * @generated from protobuf enum value: INPUT_OBJECT_STATE_DOES_NOT_EXIST = 1;\n */\n DOES_NOT_EXIST = 1,\n /**\n * @generated from protobuf enum value: INPUT_OBJECT_STATE_EXISTS = 2;\n */\n EXISTS = 2\n}\n/**\n * @generated from protobuf enum sui.rpc.v2.ChangedObject.OutputObjectState\n */\nexport enum ChangedObject_OutputObjectState {\n /**\n * @generated from protobuf enum value: OUTPUT_OBJECT_STATE_UNKNOWN = 0;\n */\n UNKNOWN = 0,\n /**\n * @generated from protobuf enum value: OUTPUT_OBJECT_STATE_DOES_NOT_EXIST = 1;\n */\n DOES_NOT_EXIST = 1,\n /**\n * @generated from protobuf enum value: OUTPUT_OBJECT_STATE_OBJECT_WRITE = 2;\n */\n OBJECT_WRITE = 2,\n /**\n * @generated from protobuf enum value: OUTPUT_OBJECT_STATE_PACKAGE_WRITE = 3;\n */\n PACKAGE_WRITE = 3\n}\n/**\n * @generated from protobuf enum sui.rpc.v2.ChangedObject.IdOperation\n */\nexport enum ChangedObject_IdOperation {\n /**\n * @generated from protobuf enum value: ID_OPERATION_UNKNOWN = 0;\n */\n ID_OPERATION_UNKNOWN = 0,\n /**\n * @generated from protobuf enum value: NONE = 1;\n */\n NONE = 1,\n /**\n * @generated from protobuf enum value: CREATED = 2;\n */\n CREATED = 2,\n /**\n * @generated from protobuf enum value: DELETED = 3;\n */\n DELETED = 3\n}\n/**\n * A consensus object that wasn't changed during execution.\n *\n * @generated from protobuf message sui.rpc.v2.UnchangedConsensusObject\n */\nexport interface UnchangedConsensusObject {\n /**\n * @generated from protobuf field: optional sui.rpc.v2.UnchangedConsensusObject.UnchangedConsensusObjectKind kind = 1;\n */\n kind?: UnchangedConsensusObject_UnchangedConsensusObjectKind;\n /**\n * ObjectId of the consensus object.\n *\n * @generated from protobuf field: optional string object_id = 2;\n */\n objectId?: string;\n /**\n * Version of the consensus object.\n *\n * @generated from protobuf field: optional uint64 version = 3;\n */\n version?: bigint;\n /**\n * Digest of the consensus object.\n *\n * @generated from protobuf field: optional string digest = 4;\n */\n digest?: string;\n /**\n * Type information is not provided by the effects structure but is instead\n * provided by an indexing layer\n *\n * @generated from protobuf field: optional string object_type = 5;\n */\n objectType?: string;\n}\n/**\n * @generated from protobuf enum sui.rpc.v2.UnchangedConsensusObject.UnchangedConsensusObjectKind\n */\nexport enum UnchangedConsensusObject_UnchangedConsensusObjectKind {\n /**\n * @generated from protobuf enum value: UNCHANGED_CONSENSUS_OBJECT_KIND_UNKNOWN = 0;\n */\n UNCHANGED_CONSENSUS_OBJECT_KIND_UNKNOWN = 0,\n /**\n * Read-only consensus object from the input.\n *\n * @generated from protobuf enum value: READ_ONLY_ROOT = 1;\n */\n READ_ONLY_ROOT = 1,\n /**\n * Objects with ended consensus streams that appear mutably/owned in the input.\n *\n * @generated from protobuf enum value: MUTATE_CONSENSUS_STREAM_ENDED = 2;\n */\n MUTATE_CONSENSUS_STREAM_ENDED = 2,\n /**\n * Objects with ended consensus streams objects that appear as read-only in the input.\n *\n * @generated from protobuf enum value: READ_CONSENSUS_STREAM_ENDED = 3;\n */\n READ_CONSENSUS_STREAM_ENDED = 3,\n /**\n * Consensus objects that were congested and resulted in this transaction being\n * canceled.\n *\n * @generated from protobuf enum value: CANCELED = 4;\n */\n CANCELED = 4,\n /**\n * Read of a per-epoch config object that should remain the same during an\n * epoch. This optionally will indicate the sequence number of the config\n * object at the start of the epoch.\n *\n * @generated from protobuf enum value: PER_EPOCH_CONFIG = 5;\n */\n PER_EPOCH_CONFIG = 5\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass TransactionEffects$Type extends MessageType<TransactionEffects> {\n constructor() {\n super(\"sui.rpc.v2.TransactionEffects\", [\n { no: 1, name: \"bcs\", kind: \"message\", T: () => Bcs },\n { no: 2, name: \"digest\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"version\", kind: \"scalar\", opt: true, T: 5 /*ScalarType.INT32*/ },\n { no: 4, name: \"status\", kind: \"message\", T: () => ExecutionStatus },\n { no: 5, name: \"epoch\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 6, name: \"gas_used\", kind: \"message\", T: () => GasCostSummary },\n { no: 7, name: \"transaction_digest\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 8, name: \"gas_object\", kind: \"message\", T: () => ChangedObject },\n { no: 9, name: \"events_digest\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 10, name: \"dependencies\", kind: \"scalar\", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },\n { no: 11, name: \"lamport_version\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 12, name: \"changed_objects\", kind: \"message\", repeat: 1 /*RepeatType.PACKED*/, T: () => ChangedObject },\n { no: 13, name: \"unchanged_consensus_objects\", kind: \"message\", repeat: 1 /*RepeatType.PACKED*/, T: () => UnchangedConsensusObject },\n { no: 14, name: \"auxiliary_data_digest\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 15, name: \"unchanged_loaded_runtime_objects\", kind: \"message\", repeat: 1 /*RepeatType.PACKED*/, T: () => ObjectReference }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.TransactionEffects\n */\nexport const TransactionEffects = new TransactionEffects$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ChangedObject$Type extends MessageType<ChangedObject> {\n constructor() {\n super(\"sui.rpc.v2.ChangedObject\", [\n { no: 1, name: \"object_id\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"input_state\", kind: \"enum\", opt: true, T: () => [\"sui.rpc.v2.ChangedObject.InputObjectState\", ChangedObject_InputObjectState, \"INPUT_OBJECT_STATE_\"] },\n { no: 3, name: \"input_version\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 4, name: \"input_digest\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 5, name: \"input_owner\", kind: \"message\", T: () => Owner },\n { no: 6, name: \"output_state\", kind: \"enum\", opt: true, T: () => [\"sui.rpc.v2.ChangedObject.OutputObjectState\", ChangedObject_OutputObjectState, \"OUTPUT_OBJECT_STATE_\"] },\n { no: 7, name: \"output_version\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 8, name: \"output_digest\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 9, name: \"output_owner\", kind: \"message\", T: () => Owner },\n { no: 10, name: \"id_operation\", kind: \"enum\", opt: true, T: () => [\"sui.rpc.v2.ChangedObject.IdOperation\", ChangedObject_IdOperation] },\n { no: 11, name: \"object_type\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ChangedObject\n */\nexport const ChangedObject = new ChangedObject$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass UnchangedConsensusObject$Type extends MessageType<UnchangedConsensusObject> {\n constructor() {\n super(\"sui.rpc.v2.UnchangedConsensusObject\", [\n { no: 1, name: \"kind\", kind: \"enum\", opt: true, T: () => [\"sui.rpc.v2.UnchangedConsensusObject.UnchangedConsensusObjectKind\", UnchangedConsensusObject_UnchangedConsensusObjectKind] },\n { no: 2, name: \"object_id\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"version\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 4, name: \"digest\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 5, name: \"object_type\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.UnchangedConsensusObject\n */\nexport const UnchangedConsensusObject = new UnchangedConsensusObject$Type();\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAWA,qBAA4B;AAC5B,mBAAsB;AACtB,8BAAgC;AAChC,8BAA+B;AAC/B,8BAAgC;AAChC,iBAAoB;AAiLb,IAAK,iCAAL,kBAAKA,oCAAL;AAIH,EAAAA,gEAAA,aAAU,KAAV;AAIA,EAAAA,gEAAA,oBAAiB,KAAjB;AAIA,EAAAA,gEAAA,YAAS,KAAT;AAZQ,SAAAA;AAAA,GAAA;AAiBL,IAAK,kCAAL,kBAAKC,qCAAL;AAIH,EAAAA,kEAAA,aAAU,KAAV;AAIA,EAAAA,kEAAA,oBAAiB,KAAjB;AAIA,EAAAA,kEAAA,kBAAe,KAAf;AAIA,EAAAA,kEAAA,mBAAgB,KAAhB;AAhBQ,SAAAA;AAAA,GAAA;AAqBL,IAAK,4BAAL,kBAAKC,+BAAL;AAIH,EAAAA,sDAAA,0BAAuB,KAAvB;AAIA,EAAAA,sDAAA,UAAO,KAAP;AAIA,EAAAA,sDAAA,aAAU,KAAV;AAI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AAAA,QAAa,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MAClF;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAW,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA,QAAyB,GAAG;AAAA;AAAA,MAAsB;AAAA,MAC1G;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAU,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MAC/E;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAe,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,IACxF,CAAC;AAAA,EACL;AACJ;AAIO,MAAM,2BAA2B,IAAI,8BAA8B;",
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/effects.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';\nimport { Owner } from './owner.js';\nimport { ObjectReference } from './object_reference.js';\nimport { GasCostSummary } from './gas_cost_summary.js';\nimport { ExecutionStatus } from './execution_status.js';\nimport { Bcs } from './bcs.js';\n/**\n * The effects of executing a transaction.\n *\n * @generated from protobuf message sui.rpc.v2.TransactionEffects\n */\nexport interface TransactionEffects {\n\t/**\n\t * This TransactionEffects serialized as BCS.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Bcs bcs = 1;\n\t */\n\tbcs?: Bcs;\n\t/**\n\t * The digest of this TransactionEffects.\n\t *\n\t * @generated from protobuf field: optional string digest = 2;\n\t */\n\tdigest?: string;\n\t/**\n\t * Version of this TransactionEffects.\n\t *\n\t * @generated from protobuf field: optional int32 version = 3;\n\t */\n\tversion?: number;\n\t/**\n\t * The status of the execution.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.ExecutionStatus status = 4;\n\t */\n\tstatus?: ExecutionStatus;\n\t/**\n\t * The epoch when this transaction was executed.\n\t *\n\t * @generated from protobuf field: optional uint64 epoch = 5;\n\t */\n\tepoch?: bigint;\n\t/**\n\t * The gas used by this transaction.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.GasCostSummary gas_used = 6;\n\t */\n\tgasUsed?: GasCostSummary;\n\t/**\n\t * The transaction digest.\n\t *\n\t * @generated from protobuf field: optional string transaction_digest = 7;\n\t */\n\ttransactionDigest?: string;\n\t/**\n\t * Information about the gas object. Also present in the `changed_objects` vector.\n\t *\n\t * System transactions that don't require gas will leave this as `None`.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.ChangedObject gas_object = 8;\n\t */\n\tgasObject?: ChangedObject;\n\t/**\n\t * The digest of the events emitted during execution,\n\t * can be `None` if the transaction does not emit any event.\n\t *\n\t * @generated from protobuf field: optional string events_digest = 9;\n\t */\n\teventsDigest?: string;\n\t/**\n\t * The set of transaction digests this transaction depends on.\n\t *\n\t * @generated from protobuf field: repeated string dependencies = 10;\n\t */\n\tdependencies: string[];\n\t/**\n\t * The version number of all the written objects (excluding packages) by this transaction.\n\t *\n\t * @generated from protobuf field: optional uint64 lamport_version = 11;\n\t */\n\tlamportVersion?: bigint;\n\t/**\n\t * Objects whose state are changed by this transaction.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.ChangedObject changed_objects = 12;\n\t */\n\tchangedObjects: ChangedObject[];\n\t/**\n\t * Consensus objects that are not mutated in this transaction. Unlike owned objects,\n\t * read-only consensus objects' version are not committed in the transaction,\n\t * and in order for a node to catch up and execute it without consensus sequencing,\n\t * the version needs to be committed in the effects.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.UnchangedConsensusObject unchanged_consensus_objects = 13;\n\t */\n\tunchangedConsensusObjects: UnchangedConsensusObject[];\n\t/**\n\t * Auxiliary data that are not protocol-critical, generated as part of the effects but are stored separately.\n\t * Storing it separately allows us to avoid bloating the effects with data that are not critical.\n\t * It also provides more flexibility on the format and type of the data.\n\t *\n\t * @generated from protobuf field: optional string auxiliary_data_digest = 14;\n\t */\n\tauxiliaryDataDigest?: string;\n\t/**\n\t * @generated from protobuf field: repeated sui.rpc.v2.ObjectReference unchanged_loaded_runtime_objects = 15;\n\t */\n\tunchangedLoadedRuntimeObjects: ObjectReference[];\n}\n/**\n * Input/output state of an object that was changed during execution.\n *\n * @generated from protobuf message sui.rpc.v2.ChangedObject\n */\nexport interface ChangedObject {\n\t/**\n\t * ID of the object.\n\t *\n\t * @generated from protobuf field: optional string object_id = 1;\n\t */\n\tobjectId?: string;\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.ChangedObject.InputObjectState input_state = 2;\n\t */\n\tinputState?: ChangedObject_InputObjectState;\n\t/**\n\t * Version of the object before this transaction executed.\n\t *\n\t * @generated from protobuf field: optional uint64 input_version = 3;\n\t */\n\tinputVersion?: bigint;\n\t/**\n\t * Digest of the object before this transaction executed.\n\t *\n\t * @generated from protobuf field: optional string input_digest = 4;\n\t */\n\tinputDigest?: string;\n\t/**\n\t * Owner of the object before this transaction executed.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Owner input_owner = 5;\n\t */\n\tinputOwner?: Owner;\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.ChangedObject.OutputObjectState output_state = 6;\n\t */\n\toutputState?: ChangedObject_OutputObjectState;\n\t/**\n\t * Version of the object after this transaction executed.\n\t *\n\t * @generated from protobuf field: optional uint64 output_version = 7;\n\t */\n\toutputVersion?: bigint;\n\t/**\n\t * Digest of the object after this transaction executed.\n\t *\n\t * @generated from protobuf field: optional string output_digest = 8;\n\t */\n\toutputDigest?: string;\n\t/**\n\t * Owner of the object after this transaction executed.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Owner output_owner = 9;\n\t */\n\toutputOwner?: Owner;\n\t/**\n\t * What happened to an `ObjectId` during execution.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.ChangedObject.IdOperation id_operation = 10;\n\t */\n\tidOperation?: ChangedObject_IdOperation;\n\t/**\n\t * Type information is not provided by the effects structure but is instead\n\t * provided by an indexing layer\n\t *\n\t * @generated from protobuf field: optional string object_type = 11;\n\t */\n\tobjectType?: string;\n}\n/**\n * @generated from protobuf enum sui.rpc.v2.ChangedObject.InputObjectState\n */\nexport enum ChangedObject_InputObjectState {\n\t/**\n\t * @generated from protobuf enum value: INPUT_OBJECT_STATE_UNKNOWN = 0;\n\t */\n\tUNKNOWN = 0,\n\t/**\n\t * @generated from protobuf enum value: INPUT_OBJECT_STATE_DOES_NOT_EXIST = 1;\n\t */\n\tDOES_NOT_EXIST = 1,\n\t/**\n\t * @generated from protobuf enum value: INPUT_OBJECT_STATE_EXISTS = 2;\n\t */\n\tEXISTS = 2,\n}\n/**\n * @generated from protobuf enum sui.rpc.v2.ChangedObject.OutputObjectState\n */\nexport enum ChangedObject_OutputObjectState {\n\t/**\n\t * @generated from protobuf enum value: OUTPUT_OBJECT_STATE_UNKNOWN = 0;\n\t */\n\tUNKNOWN = 0,\n\t/**\n\t * @generated from protobuf enum value: OUTPUT_OBJECT_STATE_DOES_NOT_EXIST = 1;\n\t */\n\tDOES_NOT_EXIST = 1,\n\t/**\n\t * @generated from protobuf enum value: OUTPUT_OBJECT_STATE_OBJECT_WRITE = 2;\n\t */\n\tOBJECT_WRITE = 2,\n\t/**\n\t * @generated from protobuf enum value: OUTPUT_OBJECT_STATE_PACKAGE_WRITE = 3;\n\t */\n\tPACKAGE_WRITE = 3,\n}\n/**\n * @generated from protobuf enum sui.rpc.v2.ChangedObject.IdOperation\n */\nexport enum ChangedObject_IdOperation {\n\t/**\n\t * @generated from protobuf enum value: ID_OPERATION_UNKNOWN = 0;\n\t */\n\tID_OPERATION_UNKNOWN = 0,\n\t/**\n\t * @generated from protobuf enum value: NONE = 1;\n\t */\n\tNONE = 1,\n\t/**\n\t * @generated from protobuf enum value: CREATED = 2;\n\t */\n\tCREATED = 2,\n\t/**\n\t * @generated from protobuf enum value: DELETED = 3;\n\t */\n\tDELETED = 3,\n}\n/**\n * A consensus object that wasn't changed during execution.\n *\n * @generated from protobuf message sui.rpc.v2.UnchangedConsensusObject\n */\nexport interface UnchangedConsensusObject {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.UnchangedConsensusObject.UnchangedConsensusObjectKind kind = 1;\n\t */\n\tkind?: UnchangedConsensusObject_UnchangedConsensusObjectKind;\n\t/**\n\t * ObjectId of the consensus object.\n\t *\n\t * @generated from protobuf field: optional string object_id = 2;\n\t */\n\tobjectId?: string;\n\t/**\n\t * Version of the consensus object.\n\t *\n\t * @generated from protobuf field: optional uint64 version = 3;\n\t */\n\tversion?: bigint;\n\t/**\n\t * Digest of the consensus object.\n\t *\n\t * @generated from protobuf field: optional string digest = 4;\n\t */\n\tdigest?: string;\n\t/**\n\t * Type information is not provided by the effects structure but is instead\n\t * provided by an indexing layer\n\t *\n\t * @generated from protobuf field: optional string object_type = 5;\n\t */\n\tobjectType?: string;\n}\n/**\n * @generated from protobuf enum sui.rpc.v2.UnchangedConsensusObject.UnchangedConsensusObjectKind\n */\nexport enum UnchangedConsensusObject_UnchangedConsensusObjectKind {\n\t/**\n\t * @generated from protobuf enum value: UNCHANGED_CONSENSUS_OBJECT_KIND_UNKNOWN = 0;\n\t */\n\tUNCHANGED_CONSENSUS_OBJECT_KIND_UNKNOWN = 0,\n\t/**\n\t * Read-only consensus object from the input.\n\t *\n\t * @generated from protobuf enum value: READ_ONLY_ROOT = 1;\n\t */\n\tREAD_ONLY_ROOT = 1,\n\t/**\n\t * Objects with ended consensus streams that appear mutably/owned in the input.\n\t *\n\t * @generated from protobuf enum value: MUTATE_CONSENSUS_STREAM_ENDED = 2;\n\t */\n\tMUTATE_CONSENSUS_STREAM_ENDED = 2,\n\t/**\n\t * Objects with ended consensus streams objects that appear as read-only in the input.\n\t *\n\t * @generated from protobuf enum value: READ_CONSENSUS_STREAM_ENDED = 3;\n\t */\n\tREAD_CONSENSUS_STREAM_ENDED = 3,\n\t/**\n\t * Consensus objects that were congested and resulted in this transaction being\n\t * canceled.\n\t *\n\t * @generated from protobuf enum value: CANCELED = 4;\n\t */\n\tCANCELED = 4,\n\t/**\n\t * Read of a per-epoch config object that should remain the same during an\n\t * epoch. This optionally will indicate the sequence number of the config\n\t * object at the start of the epoch.\n\t *\n\t * @generated from protobuf enum value: PER_EPOCH_CONFIG = 5;\n\t */\n\tPER_EPOCH_CONFIG = 5,\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass TransactionEffects$Type extends MessageType<TransactionEffects> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.TransactionEffects', [\n\t\t\t{ no: 1, name: 'bcs', kind: 'message', T: () => Bcs },\n\t\t\t{ no: 2, name: 'digest', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'version', kind: 'scalar', opt: true, T: 5 /*ScalarType.INT32*/ },\n\t\t\t{ no: 4, name: 'status', kind: 'message', T: () => ExecutionStatus },\n\t\t\t{\n\t\t\t\tno: 5,\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{ no: 6, name: 'gas_used', kind: 'message', T: () => GasCostSummary },\n\t\t\t{ no: 7, name: 'transaction_digest', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 8, name: 'gas_object', kind: 'message', T: () => ChangedObject },\n\t\t\t{ no: 9, name: 'events_digest', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 10,\n\t\t\t\tname: 'dependencies',\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\t{\n\t\t\t\tno: 11,\n\t\t\t\tname: 'lamport_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: 12,\n\t\t\t\tname: 'changed_objects',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => ChangedObject,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 13,\n\t\t\t\tname: 'unchanged_consensus_objects',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => UnchangedConsensusObject,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 14,\n\t\t\t\tname: 'auxiliary_data_digest',\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: 15,\n\t\t\t\tname: 'unchanged_loaded_runtime_objects',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => ObjectReference,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.TransactionEffects\n */\nexport const TransactionEffects = new TransactionEffects$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ChangedObject$Type extends MessageType<ChangedObject> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ChangedObject', [\n\t\t\t{ no: 1, name: 'object_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'input_state',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => [\n\t\t\t\t\t'sui.rpc.v2.ChangedObject.InputObjectState',\n\t\t\t\t\tChangedObject_InputObjectState,\n\t\t\t\t\t'INPUT_OBJECT_STATE_',\n\t\t\t\t],\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'input_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: 'input_digest', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 5, name: 'input_owner', kind: 'message', T: () => Owner },\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: 'output_state',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => [\n\t\t\t\t\t'sui.rpc.v2.ChangedObject.OutputObjectState',\n\t\t\t\t\tChangedObject_OutputObjectState,\n\t\t\t\t\t'OUTPUT_OBJECT_STATE_',\n\t\t\t\t],\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 7,\n\t\t\t\tname: 'output_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: 8, name: 'output_digest', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 9, name: 'output_owner', kind: 'message', T: () => Owner },\n\t\t\t{\n\t\t\t\tno: 10,\n\t\t\t\tname: 'id_operation',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => ['sui.rpc.v2.ChangedObject.IdOperation', ChangedObject_IdOperation],\n\t\t\t},\n\t\t\t{ no: 11, name: 'object_type', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ChangedObject\n */\nexport const ChangedObject = new ChangedObject$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass UnchangedConsensusObject$Type extends MessageType<UnchangedConsensusObject> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.UnchangedConsensusObject', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'kind',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => [\n\t\t\t\t\t'sui.rpc.v2.UnchangedConsensusObject.UnchangedConsensusObjectKind',\n\t\t\t\t\tUnchangedConsensusObject_UnchangedConsensusObjectKind,\n\t\t\t\t],\n\t\t\t},\n\t\t\t{ no: 2, name: 'object_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 3,\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{ no: 4, name: 'digest', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 5, name: 'object_type', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.UnchangedConsensusObject\n */\nexport const UnchangedConsensusObject = new UnchangedConsensusObject$Type();\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAWA,qBAA4B;AAC5B,mBAAsB;AACtB,8BAAgC;AAChC,8BAA+B;AAC/B,8BAAgC;AAChC,iBAAoB;AAiLb,IAAK,iCAAL,kBAAKA,oCAAL;AAIN,EAAAA,gEAAA,aAAU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MAAM;AAAA,QACN,MAAM;AAAA,QACN,KAAK;AAAA,QACL,GAAG,MAAM,CAAC,wCAAwC,yBAAyB;AAAA,MAC5E;AAAA,MACA;AAAA,QAAE,IAAI;AAAA,QAAI,MAAM;AAAA,QAAe,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,IACtF,CAAC;AAAA,EACF;AACD;AAIO,MAAM,gBAAgB,IAAI,mBAAmB;AAEpD,MAAM,sCAAsC,2BAAsC;AAAA,EACjF,cAAc;AACb,UAAM,uCAAuC;AAAA,MAC5C;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,KAAK;AAAA,QACL,GAAG,MAAM;AAAA,UACR;AAAA,UACA;AAAA,QACD;AAAA,MACD;AAAA,MACA;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAa,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MAClF;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,KAAK;AAAA,QACL,GAAG;AAAA,QACH,GAAG;AAAA,MACJ;AAAA,MACA;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAU,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MAC/E;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAe,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,IACrF,CAAC;AAAA,EACF;AACD;AAIO,MAAM,2BAA2B,IAAI,8BAA8B;",
6
6
  "names": ["ChangedObject_InputObjectState", "ChangedObject_OutputObjectState", "ChangedObject_IdOperation", "UnchangedConsensusObject_UnchangedConsensusObjectKind"]
7
7
  }
@@ -1,8 +1,8 @@
1
- import { MessageType } from "@protobuf-ts/runtime";
2
- import { ProtocolConfig } from "./protocol_config";
3
- import { Timestamp } from "../../../google/protobuf/timestamp";
4
- import { SystemState } from "./system_state";
5
- import { ValidatorCommittee } from "./signature";
1
+ import { MessageType } from '@protobuf-ts/runtime';
2
+ import { ProtocolConfig } from './protocol_config.js';
3
+ import { Timestamp } from '../../../google/protobuf/timestamp.js';
4
+ import { SystemState } from './system_state.js';
5
+ import { ValidatorCommittee } from './signature.js';
6
6
  /**
7
7
  * @generated from protobuf message sui.rpc.v2.Epoch
8
8
  */
@@ -22,10 +22,10 @@ __export(epoch_exports, {
22
22
  });
23
23
  module.exports = __toCommonJS(epoch_exports);
24
24
  var import_runtime = require("@protobuf-ts/runtime");
25
- var import_protocol_config = require("./protocol_config");
26
- var import_timestamp = require("../../../google/protobuf/timestamp");
27
- var import_system_state = require("./system_state");
28
- var import_signature = require("./signature");
25
+ var import_protocol_config = require("./protocol_config.js");
26
+ var import_timestamp = require("../../../google/protobuf/timestamp.js");
27
+ var import_system_state = require("./system_state.js");
28
+ var import_signature = require("./signature.js");
29
29
  class Epoch$Type extends import_runtime.MessageType {
30
30
  constructor() {
31
31
  super("sui.rpc.v2.Epoch", [
@@ -36,7 +36,6 @@ class Epoch$Type extends import_runtime.MessageType {
36
36
  opt: true,
37
37
  T: 4,
38
38
  L: 0
39
- /*LongType.BIGINT*/
40
39
  },
41
40
  { no: 2, name: "committee", kind: "message", T: () => import_signature.ValidatorCommittee },
42
41
  { no: 3, name: "system_state", kind: "message", T: () => import_system_state.SystemState },
@@ -47,7 +46,6 @@ class Epoch$Type extends import_runtime.MessageType {
47
46
  opt: true,
48
47
  T: 4,
49
48
  L: 0
50
- /*LongType.BIGINT*/
51
49
  },
52
50
  {
53
51
  no: 5,
@@ -56,7 +54,6 @@ class Epoch$Type extends import_runtime.MessageType {
56
54
  opt: true,
57
55
  T: 4,
58
56
  L: 0
59
- /*LongType.BIGINT*/
60
57
  },
61
58
  { no: 6, name: "start", kind: "message", T: () => import_timestamp.Timestamp },
62
59
  { no: 7, name: "end", kind: "message", T: () => import_timestamp.Timestamp },
@@ -67,7 +64,6 @@ class Epoch$Type extends import_runtime.MessageType {
67
64
  opt: true,
68
65
  T: 4,
69
66
  L: 0
70
- /*LongType.BIGINT*/
71
67
  },
72
68
  { no: 9, name: "protocol_config", kind: "message", T: () => import_protocol_config.ProtocolConfig }
73
69
  ]);
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2/epoch.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/epoch.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\";\nimport { ProtocolConfig } from \"./protocol_config\";\nimport { Timestamp } from \"../../../google/protobuf/timestamp\";\nimport { SystemState } from \"./system_state\";\nimport { ValidatorCommittee } from \"./signature\";\n/**\n * @generated from protobuf message sui.rpc.v2.Epoch\n */\nexport interface Epoch {\n /**\n * @generated from protobuf field: optional uint64 epoch = 1;\n */\n epoch?: bigint;\n /**\n * The committee governing this epoch.\n *\n * @generated from protobuf field: optional sui.rpc.v2.ValidatorCommittee committee = 2;\n */\n committee?: ValidatorCommittee;\n /**\n * Snapshot of Sui's SystemState (`0x3::sui_system::SystemState`) at the\n * beginning of the epoch, for past epochs, or the current state for the\n * current epoch.\n *\n * @generated from protobuf field: optional sui.rpc.v2.SystemState system_state = 3;\n */\n systemState?: SystemState;\n /**\n * @generated from protobuf field: optional uint64 first_checkpoint = 4;\n */\n firstCheckpoint?: bigint;\n /**\n * @generated from protobuf field: optional uint64 last_checkpoint = 5;\n */\n lastCheckpoint?: bigint;\n /**\n * @generated from protobuf field: optional google.protobuf.Timestamp start = 6;\n */\n start?: Timestamp;\n /**\n * @generated from protobuf field: optional google.protobuf.Timestamp end = 7;\n */\n end?: Timestamp;\n /**\n * Reference gas price denominated in MIST\n *\n * @generated from protobuf field: optional uint64 reference_gas_price = 8;\n */\n referenceGasPrice?: bigint;\n /**\n * @generated from protobuf field: optional sui.rpc.v2.ProtocolConfig protocol_config = 9;\n */\n protocolConfig?: ProtocolConfig;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass Epoch$Type extends MessageType<Epoch> {\n constructor() {\n super(\"sui.rpc.v2.Epoch\", [\n { no: 1, name: \"epoch\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 2, name: \"committee\", kind: \"message\", T: () => ValidatorCommittee },\n { no: 3, name: \"system_state\", kind: \"message\", T: () => SystemState },\n { no: 4, name: \"first_checkpoint\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 5, name: \"last_checkpoint\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 6, name: \"start\", kind: \"message\", T: () => Timestamp },\n { no: 7, name: \"end\", kind: \"message\", T: () => Timestamp },\n { no: 8, name: \"reference_gas_price\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 9, name: \"protocol_config\", kind: \"message\", T: () => ProtocolConfig }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.Epoch\n */\nexport const Epoch = new Epoch$Type();\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAWA,qBAA4B;AAC5B,6BAA+B;AAC/B,uBAA0B;AAC1B,0BAA4B;AAC5B,uBAAmC;AAmDnC,MAAM,mBAAmB,2BAAmB;AAAA,EACxC,cAAc;AACV,UAAM,oBAAoB;AAAA,MACtB;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAS,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA,QAAyB,GAAG;AAAA;AAAA,MAAsB;AAAA,MACxG,EAAE,IAAI,GAAG,MAAM,aAAa,MAAM,WAAW,GAAG,MAAM,oCAAmB;AAAA,MACzE,EAAE,IAAI,GAAG,MAAM,gBAAgB,MAAM,WAAW,GAAG,MAAM,gCAAY;AAAA,MACrE;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAoB,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA,QAAyB,GAAG;AAAA;AAAA,MAAsB;AAAA,MACnH;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAmB,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA,QAAyB,GAAG;AAAA;AAAA,MAAsB;AAAA,MAClH,EAAE,IAAI,GAAG,MAAM,SAAS,MAAM,WAAW,GAAG,MAAM,2BAAU;AAAA,MAC5D,EAAE,IAAI,GAAG,MAAM,OAAO,MAAM,WAAW,GAAG,MAAM,2BAAU;AAAA,MAC1D;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAuB,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA,QAAyB,GAAG;AAAA;AAAA,MAAsB;AAAA,MACtH,EAAE,IAAI,GAAG,MAAM,mBAAmB,MAAM,WAAW,GAAG,MAAM,sCAAe;AAAA,IAC/E,CAAC;AAAA,EACL;AACJ;AAIO,MAAM,QAAQ,IAAI,WAAW;",
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/epoch.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';\nimport { ProtocolConfig } from './protocol_config.js';\nimport { Timestamp } from '../../../google/protobuf/timestamp.js';\nimport { SystemState } from './system_state.js';\nimport { ValidatorCommittee } from './signature.js';\n/**\n * @generated from protobuf message sui.rpc.v2.Epoch\n */\nexport interface Epoch {\n\t/**\n\t * @generated from protobuf field: optional uint64 epoch = 1;\n\t */\n\tepoch?: bigint;\n\t/**\n\t * The committee governing this epoch.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.ValidatorCommittee committee = 2;\n\t */\n\tcommittee?: ValidatorCommittee;\n\t/**\n\t * Snapshot of Sui's SystemState (`0x3::sui_system::SystemState`) at the\n\t * beginning of the epoch, for past epochs, or the current state for the\n\t * current epoch.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.SystemState system_state = 3;\n\t */\n\tsystemState?: SystemState;\n\t/**\n\t * @generated from protobuf field: optional uint64 first_checkpoint = 4;\n\t */\n\tfirstCheckpoint?: bigint;\n\t/**\n\t * @generated from protobuf field: optional uint64 last_checkpoint = 5;\n\t */\n\tlastCheckpoint?: bigint;\n\t/**\n\t * @generated from protobuf field: optional google.protobuf.Timestamp start = 6;\n\t */\n\tstart?: Timestamp;\n\t/**\n\t * @generated from protobuf field: optional google.protobuf.Timestamp end = 7;\n\t */\n\tend?: Timestamp;\n\t/**\n\t * Reference gas price denominated in MIST\n\t *\n\t * @generated from protobuf field: optional uint64 reference_gas_price = 8;\n\t */\n\treferenceGasPrice?: bigint;\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.ProtocolConfig protocol_config = 9;\n\t */\n\tprotocolConfig?: ProtocolConfig;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass Epoch$Type extends MessageType<Epoch> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.Epoch', [\n\t\t\t{\n\t\t\t\tno: 1,\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{ no: 2, name: 'committee', kind: 'message', T: () => ValidatorCommittee },\n\t\t\t{ no: 3, name: 'system_state', kind: 'message', T: () => SystemState },\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: 'first_checkpoint',\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: 'last_checkpoint',\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: 6, name: 'start', kind: 'message', T: () => Timestamp },\n\t\t\t{ no: 7, name: 'end', kind: 'message', T: () => Timestamp },\n\t\t\t{\n\t\t\t\tno: 8,\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{ no: 9, name: 'protocol_config', kind: 'message', T: () => ProtocolConfig },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.Epoch\n */\nexport const Epoch = new Epoch$Type();\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAWA,qBAA4B;AAC5B,6BAA+B;AAC/B,uBAA0B;AAC1B,0BAA4B;AAC5B,uBAAmC;AAmDnC,MAAM,mBAAmB,2BAAmB;AAAA,EAC3C,cAAc;AACb,UAAM,oBAAoB;AAAA,MACzB;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,aAAa,MAAM,WAAW,GAAG,MAAM,oCAAmB;AAAA,MACzE,EAAE,IAAI,GAAG,MAAM,gBAAgB,MAAM,WAAW,GAAG,MAAM,gCAAY;AAAA,MACrE;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,SAAS,MAAM,WAAW,GAAG,MAAM,2BAAU;AAAA,MAC5D,EAAE,IAAI,GAAG,MAAM,OAAO,MAAM,WAAW,GAAG,MAAM,2BAAU;AAAA,MAC1D;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,mBAAmB,MAAM,WAAW,GAAG,MAAM,sCAAe;AAAA,IAC5E,CAAC;AAAA,EACF;AACD;AAIO,MAAM,QAAQ,IAAI,WAAW;",
6
6
  "names": []
7
7
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2/error_reason.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/error_reason.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//\n/**\n * @generated from protobuf enum sui.rpc.v2.ErrorReason\n */\nexport enum ErrorReason {\n /**\n * @generated from protobuf enum value: ERROR_REASON_UNKNOWN = 0;\n */\n ERROR_REASON_UNKNOWN = 0,\n /**\n * @generated from protobuf enum value: FIELD_INVALID = 1;\n */\n FIELD_INVALID = 1,\n /**\n * @generated from protobuf enum value: FIELD_MISSING = 2;\n */\n FIELD_MISSING = 2\n}\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAcO,IAAK,cAAL,kBAAKA,iBAAL;AAIH,EAAAA,0BAAA,0BAAuB,KAAvB;AAIA,EAAAA,0BAAA,mBAAgB,KAAhB;AAIA,EAAAA,0BAAA,mBAAgB,KAAhB;AAZQ,SAAAA;AAAA,GAAA;",
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/error_reason.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//\n/**\n * @generated from protobuf enum sui.rpc.v2.ErrorReason\n */\nexport enum ErrorReason {\n\t/**\n\t * @generated from protobuf enum value: ERROR_REASON_UNKNOWN = 0;\n\t */\n\tERROR_REASON_UNKNOWN = 0,\n\t/**\n\t * @generated from protobuf enum value: FIELD_INVALID = 1;\n\t */\n\tFIELD_INVALID = 1,\n\t/**\n\t * @generated from protobuf enum value: FIELD_MISSING = 2;\n\t */\n\tFIELD_MISSING = 2,\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAcO,IAAK,cAAL,kBAAKA,iBAAL;AAIN,EAAAA,0BAAA,0BAAuB,KAAvB;AAIA,EAAAA,0BAAA,mBAAgB,KAAhB;AAIA,EAAAA,0BAAA,mBAAgB,KAAhB;AAZW,SAAAA;AAAA,GAAA;",
6
6
  "names": ["ErrorReason"]
7
7
  }
@@ -1,6 +1,6 @@
1
- import { MessageType } from "@protobuf-ts/runtime";
2
- import { Value } from "../../../google/protobuf/struct";
3
- import { Bcs } from "./bcs";
1
+ import { MessageType } from '@protobuf-ts/runtime';
2
+ import { Value } from '../../../google/protobuf/struct.js';
3
+ import { Bcs } from './bcs.js';
4
4
  /**
5
5
  * Events emitted during the successful execution of a transaction.
6
6
  *