@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,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2/ledger_service.client.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/ledger_service.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 type { RpcTransport } from \"@protobuf-ts/runtime-rpc\";\nimport type { ServiceInfo } from \"@protobuf-ts/runtime-rpc\";\nimport { LedgerService } from \"./ledger_service\";\nimport type { GetEpochResponse } from \"./ledger_service\";\nimport type { GetEpochRequest } from \"./ledger_service\";\nimport type { GetCheckpointResponse } from \"./ledger_service\";\nimport type { GetCheckpointRequest } from \"./ledger_service\";\nimport type { BatchGetTransactionsResponse } from \"./ledger_service\";\nimport type { BatchGetTransactionsRequest } from \"./ledger_service\";\nimport type { GetTransactionResponse } from \"./ledger_service\";\nimport type { GetTransactionRequest } from \"./ledger_service\";\nimport type { BatchGetObjectsResponse } from \"./ledger_service\";\nimport type { BatchGetObjectsRequest } from \"./ledger_service\";\nimport type { GetObjectResponse } from \"./ledger_service\";\nimport type { GetObjectRequest } from \"./ledger_service\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { GetServiceInfoResponse } from \"./ledger_service\";\nimport type { GetServiceInfoRequest } from \"./ledger_service\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n/**\n * @generated from protobuf service sui.rpc.v2.LedgerService\n */\nexport interface ILedgerServiceClient {\n /**\n * Query the service for general information about its current state.\n *\n * @generated from protobuf rpc: GetServiceInfo(sui.rpc.v2.GetServiceInfoRequest) returns (sui.rpc.v2.GetServiceInfoResponse);\n */\n getServiceInfo(input: GetServiceInfoRequest, options?: RpcOptions): UnaryCall<GetServiceInfoRequest, GetServiceInfoResponse>;\n /**\n * @generated from protobuf rpc: GetObject(sui.rpc.v2.GetObjectRequest) returns (sui.rpc.v2.GetObjectResponse);\n */\n getObject(input: GetObjectRequest, options?: RpcOptions): UnaryCall<GetObjectRequest, GetObjectResponse>;\n /**\n * @generated from protobuf rpc: BatchGetObjects(sui.rpc.v2.BatchGetObjectsRequest) returns (sui.rpc.v2.BatchGetObjectsResponse);\n */\n batchGetObjects(input: BatchGetObjectsRequest, options?: RpcOptions): UnaryCall<BatchGetObjectsRequest, BatchGetObjectsResponse>;\n /**\n * @generated from protobuf rpc: GetTransaction(sui.rpc.v2.GetTransactionRequest) returns (sui.rpc.v2.GetTransactionResponse);\n */\n getTransaction(input: GetTransactionRequest, options?: RpcOptions): UnaryCall<GetTransactionRequest, GetTransactionResponse>;\n /**\n * @generated from protobuf rpc: BatchGetTransactions(sui.rpc.v2.BatchGetTransactionsRequest) returns (sui.rpc.v2.BatchGetTransactionsResponse);\n */\n batchGetTransactions(input: BatchGetTransactionsRequest, options?: RpcOptions): UnaryCall<BatchGetTransactionsRequest, BatchGetTransactionsResponse>;\n /**\n * @generated from protobuf rpc: GetCheckpoint(sui.rpc.v2.GetCheckpointRequest) returns (sui.rpc.v2.GetCheckpointResponse);\n */\n getCheckpoint(input: GetCheckpointRequest, options?: RpcOptions): UnaryCall<GetCheckpointRequest, GetCheckpointResponse>;\n /**\n * @generated from protobuf rpc: GetEpoch(sui.rpc.v2.GetEpochRequest) returns (sui.rpc.v2.GetEpochResponse);\n */\n getEpoch(input: GetEpochRequest, options?: RpcOptions): UnaryCall<GetEpochRequest, GetEpochResponse>;\n}\n/**\n * @generated from protobuf service sui.rpc.v2.LedgerService\n */\nexport class LedgerServiceClient implements ILedgerServiceClient, ServiceInfo {\n typeName = LedgerService.typeName;\n methods = LedgerService.methods;\n options = LedgerService.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * Query the service for general information about its current state.\n *\n * @generated from protobuf rpc: GetServiceInfo(sui.rpc.v2.GetServiceInfoRequest) returns (sui.rpc.v2.GetServiceInfoResponse);\n */\n getServiceInfo(input: GetServiceInfoRequest, options?: RpcOptions): UnaryCall<GetServiceInfoRequest, GetServiceInfoResponse> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetServiceInfoRequest, GetServiceInfoResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: GetObject(sui.rpc.v2.GetObjectRequest) returns (sui.rpc.v2.GetObjectResponse);\n */\n getObject(input: GetObjectRequest, options?: RpcOptions): UnaryCall<GetObjectRequest, GetObjectResponse> {\n const method = this.methods[1], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetObjectRequest, GetObjectResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: BatchGetObjects(sui.rpc.v2.BatchGetObjectsRequest) returns (sui.rpc.v2.BatchGetObjectsResponse);\n */\n batchGetObjects(input: BatchGetObjectsRequest, options?: RpcOptions): UnaryCall<BatchGetObjectsRequest, BatchGetObjectsResponse> {\n const method = this.methods[2], opt = this._transport.mergeOptions(options);\n return stackIntercept<BatchGetObjectsRequest, BatchGetObjectsResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: GetTransaction(sui.rpc.v2.GetTransactionRequest) returns (sui.rpc.v2.GetTransactionResponse);\n */\n getTransaction(input: GetTransactionRequest, options?: RpcOptions): UnaryCall<GetTransactionRequest, GetTransactionResponse> {\n const method = this.methods[3], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetTransactionRequest, GetTransactionResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: BatchGetTransactions(sui.rpc.v2.BatchGetTransactionsRequest) returns (sui.rpc.v2.BatchGetTransactionsResponse);\n */\n batchGetTransactions(input: BatchGetTransactionsRequest, options?: RpcOptions): UnaryCall<BatchGetTransactionsRequest, BatchGetTransactionsResponse> {\n const method = this.methods[4], opt = this._transport.mergeOptions(options);\n return stackIntercept<BatchGetTransactionsRequest, BatchGetTransactionsResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: GetCheckpoint(sui.rpc.v2.GetCheckpointRequest) returns (sui.rpc.v2.GetCheckpointResponse);\n */\n getCheckpoint(input: GetCheckpointRequest, options?: RpcOptions): UnaryCall<GetCheckpointRequest, GetCheckpointResponse> {\n const method = this.methods[5], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetCheckpointRequest, GetCheckpointResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: GetEpoch(sui.rpc.v2.GetEpochRequest) returns (sui.rpc.v2.GetEpochResponse);\n */\n getEpoch(input: GetEpochRequest, options?: RpcOptions): UnaryCall<GetEpochRequest, GetEpochResponse> {\n const method = this.methods[6], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetEpochRequest, GetEpochResponse>(\"unary\", this._transport, method, opt, input);\n }\n}\n"],
5
- "mappings": "AAaA,SAAS,qBAAqB;AAa9B,SAAS,sBAAsB;AA2CxB,MAAM,oBAAiE;AAAA,EAI1E,YAA6B,YAA0B;AAA1B;AAH7B,oBAAW,cAAc;AACzB,mBAAU,cAAc;AACxB,mBAAU,cAAc;AAAA,EAExB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,eAAe,OAA8B,SAAgF;AACzH,UAAM,SAAS,KAAK,QAAQ,CAAC,GAAG,MAAM,KAAK,WAAW,aAAa,OAAO;AAC1E,WAAO,eAA8D,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;AAAA,EACrH;AAAA;AAAA;AAAA;AAAA,EAIA,UAAU,OAAyB,SAAsE;AACrG,UAAM,SAAS,KAAK,QAAQ,CAAC,GAAG,MAAM,KAAK,WAAW,aAAa,OAAO;AAC1E,WAAO,eAAoD,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;AAAA,EAC3G;AAAA;AAAA;AAAA;AAAA,EAIA,gBAAgB,OAA+B,SAAkF;AAC7H,UAAM,SAAS,KAAK,QAAQ,CAAC,GAAG,MAAM,KAAK,WAAW,aAAa,OAAO;AAC1E,WAAO,eAAgE,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;AAAA,EACvH;AAAA;AAAA;AAAA;AAAA,EAIA,eAAe,OAA8B,SAAgF;AACzH,UAAM,SAAS,KAAK,QAAQ,CAAC,GAAG,MAAM,KAAK,WAAW,aAAa,OAAO;AAC1E,WAAO,eAA8D,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;AAAA,EACrH;AAAA;AAAA;AAAA;AAAA,EAIA,qBAAqB,OAAoC,SAA4F;AACjJ,UAAM,SAAS,KAAK,QAAQ,CAAC,GAAG,MAAM,KAAK,WAAW,aAAa,OAAO;AAC1E,WAAO,eAA0E,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;AAAA,EACjI;AAAA;AAAA;AAAA;AAAA,EAIA,cAAc,OAA6B,SAA8E;AACrH,UAAM,SAAS,KAAK,QAAQ,CAAC,GAAG,MAAM,KAAK,WAAW,aAAa,OAAO;AAC1E,WAAO,eAA4D,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;AAAA,EACnH;AAAA;AAAA;AAAA;AAAA,EAIA,SAAS,OAAwB,SAAoE;AACjG,UAAM,SAAS,KAAK,QAAQ,CAAC,GAAG,MAAM,KAAK,WAAW,aAAa,OAAO;AAC1E,WAAO,eAAkD,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;AAAA,EACzG;AACJ;",
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/ledger_service.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 type { RpcTransport } from '@protobuf-ts/runtime-rpc';\nimport type { ServiceInfo } from '@protobuf-ts/runtime-rpc';\nimport { LedgerService } from './ledger_service.js';\nimport type { GetEpochResponse } from './ledger_service.js';\nimport type { GetEpochRequest } from './ledger_service.js';\nimport type { GetCheckpointResponse } from './ledger_service.js';\nimport type { GetCheckpointRequest } from './ledger_service.js';\nimport type { BatchGetTransactionsResponse } from './ledger_service.js';\nimport type { BatchGetTransactionsRequest } from './ledger_service.js';\nimport type { GetTransactionResponse } from './ledger_service.js';\nimport type { GetTransactionRequest } from './ledger_service.js';\nimport type { BatchGetObjectsResponse } from './ledger_service.js';\nimport type { BatchGetObjectsRequest } from './ledger_service.js';\nimport type { GetObjectResponse } from './ledger_service.js';\nimport type { GetObjectRequest } from './ledger_service.js';\nimport { stackIntercept } from '@protobuf-ts/runtime-rpc';\nimport type { GetServiceInfoResponse } from './ledger_service.js';\nimport type { GetServiceInfoRequest } from './ledger_service.js';\nimport type { UnaryCall } from '@protobuf-ts/runtime-rpc';\nimport type { RpcOptions } from '@protobuf-ts/runtime-rpc';\n/**\n * @generated from protobuf service sui.rpc.v2.LedgerService\n */\nexport interface ILedgerServiceClient {\n\t/**\n\t * Query the service for general information about its current state.\n\t *\n\t * @generated from protobuf rpc: GetServiceInfo(sui.rpc.v2.GetServiceInfoRequest) returns (sui.rpc.v2.GetServiceInfoResponse);\n\t */\n\tgetServiceInfo(\n\t\tinput: GetServiceInfoRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<GetServiceInfoRequest, GetServiceInfoResponse>;\n\t/**\n\t * @generated from protobuf rpc: GetObject(sui.rpc.v2.GetObjectRequest) returns (sui.rpc.v2.GetObjectResponse);\n\t */\n\tgetObject(\n\t\tinput: GetObjectRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<GetObjectRequest, GetObjectResponse>;\n\t/**\n\t * @generated from protobuf rpc: BatchGetObjects(sui.rpc.v2.BatchGetObjectsRequest) returns (sui.rpc.v2.BatchGetObjectsResponse);\n\t */\n\tbatchGetObjects(\n\t\tinput: BatchGetObjectsRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<BatchGetObjectsRequest, BatchGetObjectsResponse>;\n\t/**\n\t * @generated from protobuf rpc: GetTransaction(sui.rpc.v2.GetTransactionRequest) returns (sui.rpc.v2.GetTransactionResponse);\n\t */\n\tgetTransaction(\n\t\tinput: GetTransactionRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<GetTransactionRequest, GetTransactionResponse>;\n\t/**\n\t * @generated from protobuf rpc: BatchGetTransactions(sui.rpc.v2.BatchGetTransactionsRequest) returns (sui.rpc.v2.BatchGetTransactionsResponse);\n\t */\n\tbatchGetTransactions(\n\t\tinput: BatchGetTransactionsRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<BatchGetTransactionsRequest, BatchGetTransactionsResponse>;\n\t/**\n\t * @generated from protobuf rpc: GetCheckpoint(sui.rpc.v2.GetCheckpointRequest) returns (sui.rpc.v2.GetCheckpointResponse);\n\t */\n\tgetCheckpoint(\n\t\tinput: GetCheckpointRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<GetCheckpointRequest, GetCheckpointResponse>;\n\t/**\n\t * @generated from protobuf rpc: GetEpoch(sui.rpc.v2.GetEpochRequest) returns (sui.rpc.v2.GetEpochResponse);\n\t */\n\tgetEpoch(\n\t\tinput: GetEpochRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<GetEpochRequest, GetEpochResponse>;\n}\n/**\n * @generated from protobuf service sui.rpc.v2.LedgerService\n */\nexport class LedgerServiceClient implements ILedgerServiceClient, ServiceInfo {\n\ttypeName = LedgerService.typeName;\n\tmethods = LedgerService.methods;\n\toptions = LedgerService.options;\n\tconstructor(private readonly _transport: RpcTransport) {}\n\t/**\n\t * Query the service for general information about its current state.\n\t *\n\t * @generated from protobuf rpc: GetServiceInfo(sui.rpc.v2.GetServiceInfoRequest) returns (sui.rpc.v2.GetServiceInfoResponse);\n\t */\n\tgetServiceInfo(\n\t\tinput: GetServiceInfoRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<GetServiceInfoRequest, GetServiceInfoResponse> {\n\t\tconst method = this.methods[0],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<GetServiceInfoRequest, GetServiceInfoResponse>(\n\t\t\t'unary',\n\t\t\tthis._transport,\n\t\t\tmethod,\n\t\t\topt,\n\t\t\tinput,\n\t\t);\n\t}\n\t/**\n\t * @generated from protobuf rpc: GetObject(sui.rpc.v2.GetObjectRequest) returns (sui.rpc.v2.GetObjectResponse);\n\t */\n\tgetObject(\n\t\tinput: GetObjectRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<GetObjectRequest, GetObjectResponse> {\n\t\tconst method = this.methods[1],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<GetObjectRequest, GetObjectResponse>(\n\t\t\t'unary',\n\t\t\tthis._transport,\n\t\t\tmethod,\n\t\t\topt,\n\t\t\tinput,\n\t\t);\n\t}\n\t/**\n\t * @generated from protobuf rpc: BatchGetObjects(sui.rpc.v2.BatchGetObjectsRequest) returns (sui.rpc.v2.BatchGetObjectsResponse);\n\t */\n\tbatchGetObjects(\n\t\tinput: BatchGetObjectsRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<BatchGetObjectsRequest, BatchGetObjectsResponse> {\n\t\tconst method = this.methods[2],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<BatchGetObjectsRequest, BatchGetObjectsResponse>(\n\t\t\t'unary',\n\t\t\tthis._transport,\n\t\t\tmethod,\n\t\t\topt,\n\t\t\tinput,\n\t\t);\n\t}\n\t/**\n\t * @generated from protobuf rpc: GetTransaction(sui.rpc.v2.GetTransactionRequest) returns (sui.rpc.v2.GetTransactionResponse);\n\t */\n\tgetTransaction(\n\t\tinput: GetTransactionRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<GetTransactionRequest, GetTransactionResponse> {\n\t\tconst method = this.methods[3],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<GetTransactionRequest, GetTransactionResponse>(\n\t\t\t'unary',\n\t\t\tthis._transport,\n\t\t\tmethod,\n\t\t\topt,\n\t\t\tinput,\n\t\t);\n\t}\n\t/**\n\t * @generated from protobuf rpc: BatchGetTransactions(sui.rpc.v2.BatchGetTransactionsRequest) returns (sui.rpc.v2.BatchGetTransactionsResponse);\n\t */\n\tbatchGetTransactions(\n\t\tinput: BatchGetTransactionsRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<BatchGetTransactionsRequest, BatchGetTransactionsResponse> {\n\t\tconst method = this.methods[4],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<BatchGetTransactionsRequest, BatchGetTransactionsResponse>(\n\t\t\t'unary',\n\t\t\tthis._transport,\n\t\t\tmethod,\n\t\t\topt,\n\t\t\tinput,\n\t\t);\n\t}\n\t/**\n\t * @generated from protobuf rpc: GetCheckpoint(sui.rpc.v2.GetCheckpointRequest) returns (sui.rpc.v2.GetCheckpointResponse);\n\t */\n\tgetCheckpoint(\n\t\tinput: GetCheckpointRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<GetCheckpointRequest, GetCheckpointResponse> {\n\t\tconst method = this.methods[5],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<GetCheckpointRequest, GetCheckpointResponse>(\n\t\t\t'unary',\n\t\t\tthis._transport,\n\t\t\tmethod,\n\t\t\topt,\n\t\t\tinput,\n\t\t);\n\t}\n\t/**\n\t * @generated from protobuf rpc: GetEpoch(sui.rpc.v2.GetEpochRequest) returns (sui.rpc.v2.GetEpochResponse);\n\t */\n\tgetEpoch(\n\t\tinput: GetEpochRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<GetEpochRequest, GetEpochResponse> {\n\t\tconst method = this.methods[6],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<GetEpochRequest, GetEpochResponse>(\n\t\t\t'unary',\n\t\t\tthis._transport,\n\t\t\tmethod,\n\t\t\topt,\n\t\t\tinput,\n\t\t);\n\t}\n}\n"],
5
+ "mappings": "AAaA,SAAS,qBAAqB;AAa9B,SAAS,sBAAsB;AAgExB,MAAM,oBAAiE;AAAA,EAI7E,YAA6B,YAA0B;AAA1B;AAH7B,oBAAW,cAAc;AACzB,mBAAU,cAAc;AACxB,mBAAU,cAAc;AAAA,EACgC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMxD,eAC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MACA;AAAA,MACA;AAAA,IACD;AAAA,EACD;AAAA;AAAA;AAAA;AAAA,EAIA,SACC,OACA,SAC+C;AAC/C,UAAM,SAAS,KAAK,QAAQ,CAAC,GAC5B,MAAM,KAAK,WAAW,aAAa,OAAO;AAC3C,WAAO;AAAA,MACN;AAAA,MACA,KAAK;AAAA,MACL;AAAA,MACA;AAAA,MACA;AAAA,IACD;AAAA,EACD;AACD;",
6
6
  "names": []
7
7
  }
@@ -1,12 +1,12 @@
1
- import { ServiceType } from "@protobuf-ts/runtime-rpc";
2
- import { MessageType } from "@protobuf-ts/runtime";
3
- import { Epoch } from "./epoch";
4
- import { Checkpoint } from "./checkpoint";
5
- import { ExecutedTransaction } from "./executed_transaction";
6
- import { Status } from "../../../google/rpc/status";
7
- import { Object } from "./object";
8
- import { FieldMask } from "../../../google/protobuf/field_mask";
9
- import { Timestamp } from "../../../google/protobuf/timestamp";
1
+ import { ServiceType } from '@protobuf-ts/runtime-rpc';
2
+ import { MessageType } from '@protobuf-ts/runtime';
3
+ import { Epoch } from './epoch.js';
4
+ import { Checkpoint } from './checkpoint.js';
5
+ import { ExecutedTransaction } from './executed_transaction.js';
6
+ import { Status } from '../../../google/rpc/status.js';
7
+ import { Object } from './object.js';
8
+ import { FieldMask } from '../../../google/protobuf/field_mask.js';
9
+ import { Timestamp } from '../../../google/protobuf/timestamp.js';
10
10
  /**
11
11
  * @generated from protobuf message sui.rpc.v2.GetServiceInfoRequest
12
12
  */
@@ -138,13 +138,13 @@ export interface GetObjectResult {
138
138
  * @generated from protobuf oneof: result
139
139
  */
140
140
  result: {
141
- oneofKind: "object";
141
+ oneofKind: 'object';
142
142
  /**
143
143
  * @generated from protobuf field: sui.rpc.v2.Object object = 1;
144
144
  */
145
145
  object: Object;
146
146
  } | {
147
- oneofKind: "error";
147
+ oneofKind: 'error';
148
148
  /**
149
149
  * @generated from protobuf field: google.rpc.Status error = 2;
150
150
  */
@@ -215,13 +215,13 @@ export interface GetTransactionResult {
215
215
  * @generated from protobuf oneof: result
216
216
  */
217
217
  result: {
218
- oneofKind: "transaction";
218
+ oneofKind: 'transaction';
219
219
  /**
220
220
  * @generated from protobuf field: sui.rpc.v2.ExecutedTransaction transaction = 1;
221
221
  */
222
222
  transaction: ExecutedTransaction;
223
223
  } | {
224
- oneofKind: "error";
224
+ oneofKind: 'error';
225
225
  /**
226
226
  * @generated from protobuf field: google.rpc.Status error = 2;
227
227
  */
@@ -238,7 +238,7 @@ export interface GetCheckpointRequest {
238
238
  * @generated from protobuf oneof: checkpoint_id
239
239
  */
240
240
  checkpointId: {
241
- oneofKind: "sequenceNumber";
241
+ oneofKind: 'sequenceNumber';
242
242
  /**
243
243
  * The sequence number of the requested checkpoint.
244
244
  *
@@ -246,7 +246,7 @@ export interface GetCheckpointRequest {
246
246
  */
247
247
  sequenceNumber: bigint;
248
248
  } | {
249
- oneofKind: "digest";
249
+ oneofKind: 'digest';
250
250
  /**
251
251
  * The digest of the requested checkpoint.
252
252
  *
@@ -1,12 +1,12 @@
1
1
  import { ServiceType } from "@protobuf-ts/runtime-rpc";
2
2
  import { MessageType } from "@protobuf-ts/runtime";
3
- import { Epoch } from "./epoch";
4
- import { Checkpoint } from "./checkpoint";
5
- import { ExecutedTransaction } from "./executed_transaction";
6
- import { Status } from "../../../google/rpc/status";
7
- import { Object } from "./object";
8
- import { FieldMask } from "../../../google/protobuf/field_mask";
9
- import { Timestamp } from "../../../google/protobuf/timestamp";
3
+ import { Epoch } from "./epoch.js";
4
+ import { Checkpoint } from "./checkpoint.js";
5
+ import { ExecutedTransaction } from "./executed_transaction.js";
6
+ import { Status } from "../../../google/rpc/status.js";
7
+ import { Object } from "./object.js";
8
+ import { FieldMask } from "../../../google/protobuf/field_mask.js";
9
+ import { Timestamp } from "../../../google/protobuf/timestamp.js";
10
10
  class GetServiceInfoRequest$Type extends MessageType {
11
11
  constructor() {
12
12
  super("sui.rpc.v2.GetServiceInfoRequest", []);
@@ -39,7 +39,6 @@ class GetServiceInfoResponse$Type extends MessageType {
39
39
  opt: true,
40
40
  T: 4,
41
41
  L: 0
42
- /*LongType.BIGINT*/
43
42
  },
44
43
  {
45
44
  no: 4,
@@ -48,7 +47,6 @@ class GetServiceInfoResponse$Type extends MessageType {
48
47
  opt: true,
49
48
  T: 4,
50
49
  L: 0
51
- /*LongType.BIGINT*/
52
50
  },
53
51
  { no: 5, name: "timestamp", kind: "message", T: () => Timestamp },
54
52
  {
@@ -58,7 +56,6 @@ class GetServiceInfoResponse$Type extends MessageType {
58
56
  opt: true,
59
57
  T: 4,
60
58
  L: 0
61
- /*LongType.BIGINT*/
62
59
  },
63
60
  {
64
61
  no: 7,
@@ -67,7 +64,6 @@ class GetServiceInfoResponse$Type extends MessageType {
67
64
  opt: true,
68
65
  T: 4,
69
66
  L: 0
70
- /*LongType.BIGINT*/
71
67
  },
72
68
  {
73
69
  no: 8,
@@ -99,7 +95,6 @@ class GetObjectRequest$Type extends MessageType {
99
95
  opt: true,
100
96
  T: 4,
101
97
  L: 0
102
- /*LongType.BIGINT*/
103
98
  },
104
99
  { no: 3, name: "read_mask", kind: "message", T: () => FieldMask }
105
100
  ]);
@@ -117,7 +112,13 @@ const GetObjectResponse = new GetObjectResponse$Type();
117
112
  class BatchGetObjectsRequest$Type extends MessageType {
118
113
  constructor() {
119
114
  super("sui.rpc.v2.BatchGetObjectsRequest", [
120
- { no: 1, name: "requests", kind: "message", repeat: 1, T: () => GetObjectRequest },
115
+ {
116
+ no: 1,
117
+ name: "requests",
118
+ kind: "message",
119
+ repeat: 1,
120
+ T: () => GetObjectRequest
121
+ },
121
122
  { no: 2, name: "read_mask", kind: "message", T: () => FieldMask }
122
123
  ]);
123
124
  }
@@ -126,7 +127,13 @@ const BatchGetObjectsRequest = new BatchGetObjectsRequest$Type();
126
127
  class BatchGetObjectsResponse$Type extends MessageType {
127
128
  constructor() {
128
129
  super("sui.rpc.v2.BatchGetObjectsResponse", [
129
- { no: 1, name: "objects", kind: "message", repeat: 1, T: () => GetObjectResult }
130
+ {
131
+ no: 1,
132
+ name: "objects",
133
+ kind: "message",
134
+ repeat: 1,
135
+ T: () => GetObjectResult
136
+ }
130
137
  ]);
131
138
  }
132
139
  }
@@ -173,7 +180,6 @@ class BatchGetTransactionsRequest$Type extends MessageType {
173
180
  kind: "scalar",
174
181
  repeat: 2,
175
182
  T: 9
176
- /*ScalarType.STRING*/
177
183
  },
178
184
  { no: 2, name: "read_mask", kind: "message", T: () => FieldMask }
179
185
  ]);
@@ -183,7 +189,13 @@ const BatchGetTransactionsRequest = new BatchGetTransactionsRequest$Type();
183
189
  class BatchGetTransactionsResponse$Type extends MessageType {
184
190
  constructor() {
185
191
  super("sui.rpc.v2.BatchGetTransactionsResponse", [
186
- { no: 1, name: "transactions", kind: "message", repeat: 1, T: () => GetTransactionResult }
192
+ {
193
+ no: 1,
194
+ name: "transactions",
195
+ kind: "message",
196
+ repeat: 1,
197
+ T: () => GetTransactionResult
198
+ }
187
199
  ]);
188
200
  }
189
201
  }
@@ -191,7 +203,13 @@ const BatchGetTransactionsResponse = new BatchGetTransactionsResponse$Type();
191
203
  class GetTransactionResult$Type extends MessageType {
192
204
  constructor() {
193
205
  super("sui.rpc.v2.GetTransactionResult", [
194
- { no: 1, name: "transaction", kind: "message", oneof: "result", T: () => ExecutedTransaction },
206
+ {
207
+ no: 1,
208
+ name: "transaction",
209
+ kind: "message",
210
+ oneof: "result",
211
+ T: () => ExecutedTransaction
212
+ },
195
213
  { no: 2, name: "error", kind: "message", oneof: "result", T: () => Status }
196
214
  ]);
197
215
  }
@@ -207,7 +225,6 @@ class GetCheckpointRequest$Type extends MessageType {
207
225
  oneof: "checkpointId",
208
226
  T: 4,
209
227
  L: 0
210
- /*LongType.BIGINT*/
211
228
  },
212
229
  {
213
230
  no: 2,
@@ -240,7 +257,6 @@ class GetEpochRequest$Type extends MessageType {
240
257
  opt: true,
241
258
  T: 4,
242
259
  L: 0
243
- /*LongType.BIGINT*/
244
260
  },
245
261
  { no: 2, name: "read_mask", kind: "message", T: () => FieldMask }
246
262
  ]);
@@ -260,7 +276,12 @@ const LedgerService = new ServiceType("sui.rpc.v2.LedgerService", [
260
276
  { name: "GetObject", options: {}, I: GetObjectRequest, O: GetObjectResponse },
261
277
  { name: "BatchGetObjects", options: {}, I: BatchGetObjectsRequest, O: BatchGetObjectsResponse },
262
278
  { name: "GetTransaction", options: {}, I: GetTransactionRequest, O: GetTransactionResponse },
263
- { name: "BatchGetTransactions", options: {}, I: BatchGetTransactionsRequest, O: BatchGetTransactionsResponse },
279
+ {
280
+ name: "BatchGetTransactions",
281
+ options: {},
282
+ I: BatchGetTransactionsRequest,
283
+ O: BatchGetTransactionsResponse
284
+ },
264
285
  { name: "GetCheckpoint", options: {}, I: GetCheckpointRequest, O: GetCheckpointResponse },
265
286
  { name: "GetEpoch", options: {}, I: GetEpochRequest, O: GetEpochResponse }
266
287
  ]);
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2/ledger_service.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/ledger_service.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 { ServiceType } from \"@protobuf-ts/runtime-rpc\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\nimport { Epoch } from \"./epoch\";\nimport { Checkpoint } from \"./checkpoint\";\nimport { ExecutedTransaction } from \"./executed_transaction\";\nimport { Status } from \"../../../google/rpc/status\";\nimport { Object } from \"./object\";\nimport { FieldMask } from \"../../../google/protobuf/field_mask\";\nimport { Timestamp } from \"../../../google/protobuf/timestamp\";\n/**\n * @generated from protobuf message sui.rpc.v2.GetServiceInfoRequest\n */\nexport interface GetServiceInfoRequest {\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetServiceInfoResponse\n */\nexport interface GetServiceInfoResponse {\n /**\n * The chain identifier of the chain that this node is on.\n *\n * The chain identifier is the digest of the genesis checkpoint, the\n * checkpoint with sequence number 0.\n *\n * @generated from protobuf field: optional string chain_id = 1;\n */\n chainId?: string;\n /**\n * Human-readable name of the chain that this node is on.\n *\n * This is intended to be a human-readable name like `mainnet`, `testnet`, and so on.\n *\n * @generated from protobuf field: optional string chain = 2;\n */\n chain?: string;\n /**\n * Current epoch of the node based on its highest executed checkpoint.\n *\n * @generated from protobuf field: optional uint64 epoch = 3;\n */\n epoch?: bigint;\n /**\n * Checkpoint height of the most recently executed checkpoint.\n *\n * @generated from protobuf field: optional uint64 checkpoint_height = 4;\n */\n checkpointHeight?: bigint;\n /**\n * Unix timestamp of the most recently executed checkpoint.\n *\n * @generated from protobuf field: optional google.protobuf.Timestamp timestamp = 5;\n */\n timestamp?: Timestamp;\n /**\n * The lowest checkpoint for which checkpoints and transaction data are available.\n *\n * @generated from protobuf field: optional uint64 lowest_available_checkpoint = 6;\n */\n lowestAvailableCheckpoint?: bigint;\n /**\n * The lowest checkpoint for which object data is available.\n *\n * @generated from protobuf field: optional uint64 lowest_available_checkpoint_objects = 7;\n */\n lowestAvailableCheckpointObjects?: bigint;\n /**\n * Software version of the service. Similar to the `server` http header.\n *\n * @generated from protobuf field: optional string server = 8;\n */\n server?: string;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetObjectRequest\n */\nexport interface GetObjectRequest {\n /**\n * Required. The `ObjectId` of the requested object.\n *\n * @generated from protobuf field: optional string object_id = 1;\n */\n objectId?: string;\n /**\n * Request a specific version of the object.\n * If no version is specified, and the object is live, then the latest\n * version of the object is returned.\n *\n * @generated from protobuf field: optional uint64 version = 2;\n */\n version?: bigint;\n /**\n * Mask specifying which fields to read.\n * If no mask is specified, defaults to `object_id,version,digest`.\n *\n * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 3;\n */\n readMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetObjectResponse\n */\nexport interface GetObjectResponse {\n /**\n * @generated from protobuf field: optional sui.rpc.v2.Object object = 1;\n */\n object?: Object;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.BatchGetObjectsRequest\n */\nexport interface BatchGetObjectsRequest {\n /**\n * @generated from protobuf field: repeated sui.rpc.v2.GetObjectRequest requests = 1;\n */\n requests: GetObjectRequest[];\n /**\n * Mask specifying which fields to read.\n * If no mask is specified, defaults to `object_id,version,digest`.\n *\n * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 2;\n */\n readMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.BatchGetObjectsResponse\n */\nexport interface BatchGetObjectsResponse {\n /**\n * @generated from protobuf field: repeated sui.rpc.v2.GetObjectResult objects = 1;\n */\n objects: GetObjectResult[];\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetObjectResult\n */\nexport interface GetObjectResult {\n /**\n * @generated from protobuf oneof: result\n */\n result: {\n oneofKind: \"object\";\n /**\n * @generated from protobuf field: sui.rpc.v2.Object object = 1;\n */\n object: Object;\n } | {\n oneofKind: \"error\";\n /**\n * @generated from protobuf field: google.rpc.Status error = 2;\n */\n error: Status;\n } | {\n oneofKind: undefined;\n };\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetTransactionRequest\n */\nexport interface GetTransactionRequest {\n /**\n * Required. The digest of the requested transaction.\n *\n * @generated from protobuf field: optional string digest = 1;\n */\n digest?: string;\n /**\n * Mask specifying which fields to read.\n * If no mask is specified, defaults to `digest`.\n *\n * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 2;\n */\n readMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetTransactionResponse\n */\nexport interface GetTransactionResponse {\n /**\n * @generated from protobuf field: optional sui.rpc.v2.ExecutedTransaction transaction = 1;\n */\n transaction?: ExecutedTransaction;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.BatchGetTransactionsRequest\n */\nexport interface BatchGetTransactionsRequest {\n /**\n * Required. The digests of the requested transactions.\n *\n * @generated from protobuf field: repeated string digests = 1;\n */\n digests: string[];\n /**\n * Mask specifying which fields to read.\n * If no mask is specified, defaults to `digest`.\n *\n * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 2;\n */\n readMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.BatchGetTransactionsResponse\n */\nexport interface BatchGetTransactionsResponse {\n /**\n * @generated from protobuf field: repeated sui.rpc.v2.GetTransactionResult transactions = 1;\n */\n transactions: GetTransactionResult[];\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetTransactionResult\n */\nexport interface GetTransactionResult {\n /**\n * @generated from protobuf oneof: result\n */\n result: {\n oneofKind: \"transaction\";\n /**\n * @generated from protobuf field: sui.rpc.v2.ExecutedTransaction transaction = 1;\n */\n transaction: ExecutedTransaction;\n } | {\n oneofKind: \"error\";\n /**\n * @generated from protobuf field: google.rpc.Status error = 2;\n */\n error: Status;\n } | {\n oneofKind: undefined;\n };\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetCheckpointRequest\n */\nexport interface GetCheckpointRequest {\n /**\n * @generated from protobuf oneof: checkpoint_id\n */\n checkpointId: {\n oneofKind: \"sequenceNumber\";\n /**\n * The sequence number of the requested checkpoint.\n *\n * @generated from protobuf field: uint64 sequence_number = 1;\n */\n sequenceNumber: bigint;\n } | {\n oneofKind: \"digest\";\n /**\n * The digest of the requested checkpoint.\n *\n * @generated from protobuf field: string digest = 2;\n */\n digest: string;\n } | {\n oneofKind: undefined;\n };\n /**\n * Mask specifying which fields to read.\n * If no mask is specified, defaults to `sequence_number,digest`.\n *\n * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 3;\n */\n readMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetCheckpointResponse\n */\nexport interface GetCheckpointResponse {\n /**\n * @generated from protobuf field: optional sui.rpc.v2.Checkpoint checkpoint = 1;\n */\n checkpoint?: Checkpoint;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetEpochRequest\n */\nexport interface GetEpochRequest {\n /**\n * The requested epoch.\n * If no epoch is provided the current epoch will be returned.\n *\n * @generated from protobuf field: optional uint64 epoch = 1;\n */\n epoch?: bigint;\n /**\n * Mask specifying which fields to read.\n * If no mask is specified, defaults to `epoch`.\n *\n * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 2;\n */\n readMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetEpochResponse\n */\nexport interface GetEpochResponse {\n /**\n * @generated from protobuf field: optional sui.rpc.v2.Epoch epoch = 1;\n */\n epoch?: Epoch;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetServiceInfoRequest$Type extends MessageType<GetServiceInfoRequest> {\n constructor() {\n super(\"sui.rpc.v2.GetServiceInfoRequest\", []);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetServiceInfoRequest\n */\nexport const GetServiceInfoRequest = new GetServiceInfoRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetServiceInfoResponse$Type extends MessageType<GetServiceInfoResponse> {\n constructor() {\n super(\"sui.rpc.v2.GetServiceInfoResponse\", [\n { no: 1, name: \"chain_id\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"chain\", 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: \"checkpoint_height\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 5, name: \"timestamp\", kind: \"message\", T: () => Timestamp },\n { no: 6, name: \"lowest_available_checkpoint\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 7, name: \"lowest_available_checkpoint_objects\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 8, name: \"server\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetServiceInfoResponse\n */\nexport const GetServiceInfoResponse = new GetServiceInfoResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetObjectRequest$Type extends MessageType<GetObjectRequest> {\n constructor() {\n super(\"sui.rpc.v2.GetObjectRequest\", [\n { no: 1, name: \"object_id\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"version\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 3, name: \"read_mask\", kind: \"message\", T: () => FieldMask }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetObjectRequest\n */\nexport const GetObjectRequest = new GetObjectRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetObjectResponse$Type extends MessageType<GetObjectResponse> {\n constructor() {\n super(\"sui.rpc.v2.GetObjectResponse\", [\n { no: 1, name: \"object\", kind: \"message\", T: () => Object }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetObjectResponse\n */\nexport const GetObjectResponse = new GetObjectResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass BatchGetObjectsRequest$Type extends MessageType<BatchGetObjectsRequest> {\n constructor() {\n super(\"sui.rpc.v2.BatchGetObjectsRequest\", [\n { no: 1, name: \"requests\", kind: \"message\", repeat: 1 /*RepeatType.PACKED*/, T: () => GetObjectRequest },\n { no: 2, name: \"read_mask\", kind: \"message\", T: () => FieldMask }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.BatchGetObjectsRequest\n */\nexport const BatchGetObjectsRequest = new BatchGetObjectsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass BatchGetObjectsResponse$Type extends MessageType<BatchGetObjectsResponse> {\n constructor() {\n super(\"sui.rpc.v2.BatchGetObjectsResponse\", [\n { no: 1, name: \"objects\", kind: \"message\", repeat: 1 /*RepeatType.PACKED*/, T: () => GetObjectResult }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.BatchGetObjectsResponse\n */\nexport const BatchGetObjectsResponse = new BatchGetObjectsResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetObjectResult$Type extends MessageType<GetObjectResult> {\n constructor() {\n super(\"sui.rpc.v2.GetObjectResult\", [\n { no: 1, name: \"object\", kind: \"message\", oneof: \"result\", T: () => Object },\n { no: 2, name: \"error\", kind: \"message\", oneof: \"result\", T: () => Status }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetObjectResult\n */\nexport const GetObjectResult = new GetObjectResult$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetTransactionRequest$Type extends MessageType<GetTransactionRequest> {\n constructor() {\n super(\"sui.rpc.v2.GetTransactionRequest\", [\n { no: 1, name: \"digest\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"read_mask\", kind: \"message\", T: () => FieldMask }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetTransactionRequest\n */\nexport const GetTransactionRequest = new GetTransactionRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetTransactionResponse$Type extends MessageType<GetTransactionResponse> {\n constructor() {\n super(\"sui.rpc.v2.GetTransactionResponse\", [\n { no: 1, name: \"transaction\", kind: \"message\", T: () => ExecutedTransaction }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetTransactionResponse\n */\nexport const GetTransactionResponse = new GetTransactionResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass BatchGetTransactionsRequest$Type extends MessageType<BatchGetTransactionsRequest> {\n constructor() {\n super(\"sui.rpc.v2.BatchGetTransactionsRequest\", [\n { no: 1, name: \"digests\", kind: \"scalar\", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"read_mask\", kind: \"message\", T: () => FieldMask }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.BatchGetTransactionsRequest\n */\nexport const BatchGetTransactionsRequest = new BatchGetTransactionsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass BatchGetTransactionsResponse$Type extends MessageType<BatchGetTransactionsResponse> {\n constructor() {\n super(\"sui.rpc.v2.BatchGetTransactionsResponse\", [\n { no: 1, name: \"transactions\", kind: \"message\", repeat: 1 /*RepeatType.PACKED*/, T: () => GetTransactionResult }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.BatchGetTransactionsResponse\n */\nexport const BatchGetTransactionsResponse = new BatchGetTransactionsResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetTransactionResult$Type extends MessageType<GetTransactionResult> {\n constructor() {\n super(\"sui.rpc.v2.GetTransactionResult\", [\n { no: 1, name: \"transaction\", kind: \"message\", oneof: \"result\", T: () => ExecutedTransaction },\n { no: 2, name: \"error\", kind: \"message\", oneof: \"result\", T: () => Status }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetTransactionResult\n */\nexport const GetTransactionResult = new GetTransactionResult$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetCheckpointRequest$Type extends MessageType<GetCheckpointRequest> {\n constructor() {\n super(\"sui.rpc.v2.GetCheckpointRequest\", [\n { no: 1, name: \"sequence_number\", kind: \"scalar\", oneof: \"checkpointId\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 2, name: \"digest\", kind: \"scalar\", oneof: \"checkpointId\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"read_mask\", kind: \"message\", T: () => FieldMask }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetCheckpointRequest\n */\nexport const GetCheckpointRequest = new GetCheckpointRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetCheckpointResponse$Type extends MessageType<GetCheckpointResponse> {\n constructor() {\n super(\"sui.rpc.v2.GetCheckpointResponse\", [\n { no: 1, name: \"checkpoint\", kind: \"message\", T: () => Checkpoint }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetCheckpointResponse\n */\nexport const GetCheckpointResponse = new GetCheckpointResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetEpochRequest$Type extends MessageType<GetEpochRequest> {\n constructor() {\n super(\"sui.rpc.v2.GetEpochRequest\", [\n { no: 1, name: \"epoch\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 2, name: \"read_mask\", kind: \"message\", T: () => FieldMask }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetEpochRequest\n */\nexport const GetEpochRequest = new GetEpochRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetEpochResponse$Type extends MessageType<GetEpochResponse> {\n constructor() {\n super(\"sui.rpc.v2.GetEpochResponse\", [\n { no: 1, name: \"epoch\", kind: \"message\", T: () => Epoch }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetEpochResponse\n */\nexport const GetEpochResponse = new GetEpochResponse$Type();\n/**\n * @generated ServiceType for protobuf service sui.rpc.v2.LedgerService\n */\nexport const LedgerService = new ServiceType(\"sui.rpc.v2.LedgerService\", [\n { name: \"GetServiceInfo\", options: {}, I: GetServiceInfoRequest, O: GetServiceInfoResponse },\n { name: \"GetObject\", options: {}, I: GetObjectRequest, O: GetObjectResponse },\n { name: \"BatchGetObjects\", options: {}, I: BatchGetObjectsRequest, O: BatchGetObjectsResponse },\n { name: \"GetTransaction\", options: {}, I: GetTransactionRequest, O: GetTransactionResponse },\n { name: \"BatchGetTransactions\", options: {}, I: BatchGetTransactionsRequest, O: BatchGetTransactionsResponse },\n { name: \"GetCheckpoint\", options: {}, I: GetCheckpointRequest, O: GetCheckpointResponse },\n { name: \"GetEpoch\", options: {}, I: GetEpochRequest, O: GetEpochResponse }\n]);\n"],
5
- "mappings": "AAWA,SAAS,mBAAmB;AAC5B,SAAS,mBAAmB;AAC5B,SAAS,aAAa;AACtB,SAAS,kBAAkB;AAC3B,SAAS,2BAA2B;AACpC,SAAS,cAAc;AACvB,SAAS,cAAc;AACvB,SAAS,iBAAiB;AAC1B,SAAS,iBAAiB;AAwS1B,MAAM,mCAAmC,YAAmC;AAAA,EACxE,cAAc;AACV,UAAM,oCAAoC,CAAC,CAAC;AAAA,EAChD;AACJ;AAIO,MAAM,wBAAwB,IAAI,2BAA2B;AAEpE,MAAM,oCAAoC,YAAoC;AAAA,EAC1E,cAAc;AACV,UAAM,qCAAqC;AAAA,MACvC;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAY,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MACjF;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAS,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MAC9E;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAS,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA,QAAyB,GAAG;AAAA;AAAA,MAAsB;AAAA,MACxG;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAqB,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA,QAAyB,GAAG;AAAA;AAAA,MAAsB;AAAA,MACpH,EAAE,IAAI,GAAG,MAAM,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,GAAG,wBAAwB,GAAG,wBAAwB;AAAA,EAC9F,EAAE,MAAM,kBAAkB,SAAS,CAAC,GAAG,GAAG,uBAAuB,GAAG,uBAAuB;AAAA,EAC3F,EAAE,MAAM,wBAAwB,SAAS,CAAC,GAAG,GAAG,6BAA6B,GAAG,6BAA6B;AAAA,EAC7G,EAAE,MAAM,iBAAiB,SAAS,CAAC,GAAG,GAAG,sBAAsB,GAAG,sBAAsB;AAAA,EACxF,EAAE,MAAM,YAAY,SAAS,CAAC,GAAG,GAAG,iBAAiB,GAAG,iBAAiB;AAC7E,CAAC;",
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/ledger_service.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 { ServiceType } from '@protobuf-ts/runtime-rpc';\nimport { MessageType } from '@protobuf-ts/runtime';\nimport { Epoch } from './epoch.js';\nimport { Checkpoint } from './checkpoint.js';\nimport { ExecutedTransaction } from './executed_transaction.js';\nimport { Status } from '../../../google/rpc/status.js';\nimport { Object } from './object.js';\nimport { FieldMask } from '../../../google/protobuf/field_mask.js';\nimport { Timestamp } from '../../../google/protobuf/timestamp.js';\n/**\n * @generated from protobuf message sui.rpc.v2.GetServiceInfoRequest\n */\nexport interface GetServiceInfoRequest {}\n/**\n * @generated from protobuf message sui.rpc.v2.GetServiceInfoResponse\n */\nexport interface GetServiceInfoResponse {\n\t/**\n\t * The chain identifier of the chain that this node is on.\n\t *\n\t * The chain identifier is the digest of the genesis checkpoint, the\n\t * checkpoint with sequence number 0.\n\t *\n\t * @generated from protobuf field: optional string chain_id = 1;\n\t */\n\tchainId?: string;\n\t/**\n\t * Human-readable name of the chain that this node is on.\n\t *\n\t * This is intended to be a human-readable name like `mainnet`, `testnet`, and so on.\n\t *\n\t * @generated from protobuf field: optional string chain = 2;\n\t */\n\tchain?: string;\n\t/**\n\t * Current epoch of the node based on its highest executed checkpoint.\n\t *\n\t * @generated from protobuf field: optional uint64 epoch = 3;\n\t */\n\tepoch?: bigint;\n\t/**\n\t * Checkpoint height of the most recently executed checkpoint.\n\t *\n\t * @generated from protobuf field: optional uint64 checkpoint_height = 4;\n\t */\n\tcheckpointHeight?: bigint;\n\t/**\n\t * Unix timestamp of the most recently executed checkpoint.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.Timestamp timestamp = 5;\n\t */\n\ttimestamp?: Timestamp;\n\t/**\n\t * The lowest checkpoint for which checkpoints and transaction data are available.\n\t *\n\t * @generated from protobuf field: optional uint64 lowest_available_checkpoint = 6;\n\t */\n\tlowestAvailableCheckpoint?: bigint;\n\t/**\n\t * The lowest checkpoint for which object data is available.\n\t *\n\t * @generated from protobuf field: optional uint64 lowest_available_checkpoint_objects = 7;\n\t */\n\tlowestAvailableCheckpointObjects?: bigint;\n\t/**\n\t * Software version of the service. Similar to the `server` http header.\n\t *\n\t * @generated from protobuf field: optional string server = 8;\n\t */\n\tserver?: string;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetObjectRequest\n */\nexport interface GetObjectRequest {\n\t/**\n\t * Required. The `ObjectId` of the requested object.\n\t *\n\t * @generated from protobuf field: optional string object_id = 1;\n\t */\n\tobjectId?: string;\n\t/**\n\t * Request a specific version of the object.\n\t * If no version is specified, and the object is live, then the latest\n\t * version of the object is returned.\n\t *\n\t * @generated from protobuf field: optional uint64 version = 2;\n\t */\n\tversion?: bigint;\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `object_id,version,digest`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 3;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetObjectResponse\n */\nexport interface GetObjectResponse {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.Object object = 1;\n\t */\n\tobject?: Object;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.BatchGetObjectsRequest\n */\nexport interface BatchGetObjectsRequest {\n\t/**\n\t * @generated from protobuf field: repeated sui.rpc.v2.GetObjectRequest requests = 1;\n\t */\n\trequests: GetObjectRequest[];\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `object_id,version,digest`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 2;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.BatchGetObjectsResponse\n */\nexport interface BatchGetObjectsResponse {\n\t/**\n\t * @generated from protobuf field: repeated sui.rpc.v2.GetObjectResult objects = 1;\n\t */\n\tobjects: GetObjectResult[];\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetObjectResult\n */\nexport interface GetObjectResult {\n\t/**\n\t * @generated from protobuf oneof: result\n\t */\n\tresult:\n\t\t| {\n\t\t\t\toneofKind: 'object';\n\t\t\t\t/**\n\t\t\t\t * @generated from protobuf field: sui.rpc.v2.Object object = 1;\n\t\t\t\t */\n\t\t\t\tobject: Object;\n\t\t }\n\t\t| {\n\t\t\t\toneofKind: 'error';\n\t\t\t\t/**\n\t\t\t\t * @generated from protobuf field: google.rpc.Status error = 2;\n\t\t\t\t */\n\t\t\t\terror: Status;\n\t\t }\n\t\t| {\n\t\t\t\toneofKind: undefined;\n\t\t };\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetTransactionRequest\n */\nexport interface GetTransactionRequest {\n\t/**\n\t * Required. The digest of the requested transaction.\n\t *\n\t * @generated from protobuf field: optional string digest = 1;\n\t */\n\tdigest?: string;\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `digest`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 2;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetTransactionResponse\n */\nexport interface GetTransactionResponse {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.ExecutedTransaction transaction = 1;\n\t */\n\ttransaction?: ExecutedTransaction;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.BatchGetTransactionsRequest\n */\nexport interface BatchGetTransactionsRequest {\n\t/**\n\t * Required. The digests of the requested transactions.\n\t *\n\t * @generated from protobuf field: repeated string digests = 1;\n\t */\n\tdigests: string[];\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `digest`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 2;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.BatchGetTransactionsResponse\n */\nexport interface BatchGetTransactionsResponse {\n\t/**\n\t * @generated from protobuf field: repeated sui.rpc.v2.GetTransactionResult transactions = 1;\n\t */\n\ttransactions: GetTransactionResult[];\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetTransactionResult\n */\nexport interface GetTransactionResult {\n\t/**\n\t * @generated from protobuf oneof: result\n\t */\n\tresult:\n\t\t| {\n\t\t\t\toneofKind: 'transaction';\n\t\t\t\t/**\n\t\t\t\t * @generated from protobuf field: sui.rpc.v2.ExecutedTransaction transaction = 1;\n\t\t\t\t */\n\t\t\t\ttransaction: ExecutedTransaction;\n\t\t }\n\t\t| {\n\t\t\t\toneofKind: 'error';\n\t\t\t\t/**\n\t\t\t\t * @generated from protobuf field: google.rpc.Status error = 2;\n\t\t\t\t */\n\t\t\t\terror: Status;\n\t\t }\n\t\t| {\n\t\t\t\toneofKind: undefined;\n\t\t };\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetCheckpointRequest\n */\nexport interface GetCheckpointRequest {\n\t/**\n\t * @generated from protobuf oneof: checkpoint_id\n\t */\n\tcheckpointId:\n\t\t| {\n\t\t\t\toneofKind: 'sequenceNumber';\n\t\t\t\t/**\n\t\t\t\t * The sequence number of the requested checkpoint.\n\t\t\t\t *\n\t\t\t\t * @generated from protobuf field: uint64 sequence_number = 1;\n\t\t\t\t */\n\t\t\t\tsequenceNumber: bigint;\n\t\t }\n\t\t| {\n\t\t\t\toneofKind: 'digest';\n\t\t\t\t/**\n\t\t\t\t * The digest of the requested checkpoint.\n\t\t\t\t *\n\t\t\t\t * @generated from protobuf field: string digest = 2;\n\t\t\t\t */\n\t\t\t\tdigest: string;\n\t\t }\n\t\t| {\n\t\t\t\toneofKind: undefined;\n\t\t };\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `sequence_number,digest`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 3;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetCheckpointResponse\n */\nexport interface GetCheckpointResponse {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.Checkpoint checkpoint = 1;\n\t */\n\tcheckpoint?: Checkpoint;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetEpochRequest\n */\nexport interface GetEpochRequest {\n\t/**\n\t * The requested epoch.\n\t * If no epoch is provided the current epoch will be returned.\n\t *\n\t * @generated from protobuf field: optional uint64 epoch = 1;\n\t */\n\tepoch?: bigint;\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `epoch`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 2;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetEpochResponse\n */\nexport interface GetEpochResponse {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.Epoch epoch = 1;\n\t */\n\tepoch?: Epoch;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetServiceInfoRequest$Type extends MessageType<GetServiceInfoRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetServiceInfoRequest', []);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetServiceInfoRequest\n */\nexport const GetServiceInfoRequest = new GetServiceInfoRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetServiceInfoResponse$Type extends MessageType<GetServiceInfoResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetServiceInfoResponse', [\n\t\t\t{ no: 1, name: 'chain_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'chain', 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: 'checkpoint_height',\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: 5, name: 'timestamp', kind: 'message', T: () => Timestamp },\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: 'lowest_available_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: 7,\n\t\t\t\tname: 'lowest_available_checkpoint_objects',\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: 'server', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetServiceInfoResponse\n */\nexport const GetServiceInfoResponse = new GetServiceInfoResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetObjectRequest$Type extends MessageType<GetObjectRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetObjectRequest', [\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: '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: 3, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetObjectRequest\n */\nexport const GetObjectRequest = new GetObjectRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetObjectResponse$Type extends MessageType<GetObjectResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetObjectResponse', [\n\t\t\t{ no: 1, name: 'object', kind: 'message', T: () => Object },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetObjectResponse\n */\nexport const GetObjectResponse = new GetObjectResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass BatchGetObjectsRequest$Type extends MessageType<BatchGetObjectsRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.BatchGetObjectsRequest', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'requests',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => GetObjectRequest,\n\t\t\t},\n\t\t\t{ no: 2, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.BatchGetObjectsRequest\n */\nexport const BatchGetObjectsRequest = new BatchGetObjectsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass BatchGetObjectsResponse$Type extends MessageType<BatchGetObjectsResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.BatchGetObjectsResponse', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'objects',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => GetObjectResult,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.BatchGetObjectsResponse\n */\nexport const BatchGetObjectsResponse = new BatchGetObjectsResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetObjectResult$Type extends MessageType<GetObjectResult> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetObjectResult', [\n\t\t\t{ no: 1, name: 'object', kind: 'message', oneof: 'result', T: () => Object },\n\t\t\t{ no: 2, name: 'error', kind: 'message', oneof: 'result', T: () => Status },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetObjectResult\n */\nexport const GetObjectResult = new GetObjectResult$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetTransactionRequest$Type extends MessageType<GetTransactionRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetTransactionRequest', [\n\t\t\t{ no: 1, name: 'digest', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetTransactionRequest\n */\nexport const GetTransactionRequest = new GetTransactionRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetTransactionResponse$Type extends MessageType<GetTransactionResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetTransactionResponse', [\n\t\t\t{ no: 1, name: 'transaction', kind: 'message', T: () => ExecutedTransaction },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetTransactionResponse\n */\nexport const GetTransactionResponse = new GetTransactionResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass BatchGetTransactionsRequest$Type extends MessageType<BatchGetTransactionsRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.BatchGetTransactionsRequest', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'digests',\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{ no: 2, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.BatchGetTransactionsRequest\n */\nexport const BatchGetTransactionsRequest = new BatchGetTransactionsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass BatchGetTransactionsResponse$Type extends MessageType<BatchGetTransactionsResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.BatchGetTransactionsResponse', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'transactions',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => GetTransactionResult,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.BatchGetTransactionsResponse\n */\nexport const BatchGetTransactionsResponse = new BatchGetTransactionsResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetTransactionResult$Type extends MessageType<GetTransactionResult> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetTransactionResult', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'transaction',\n\t\t\t\tkind: 'message',\n\t\t\t\toneof: 'result',\n\t\t\t\tT: () => ExecutedTransaction,\n\t\t\t},\n\t\t\t{ no: 2, name: 'error', kind: 'message', oneof: 'result', T: () => Status },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetTransactionResult\n */\nexport const GetTransactionResult = new GetTransactionResult$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetCheckpointRequest$Type extends MessageType<GetCheckpointRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetCheckpointRequest', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'sequence_number',\n\t\t\t\tkind: 'scalar',\n\t\t\t\toneof: 'checkpointId',\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: 'digest', kind: 'scalar', oneof: 'checkpointId', T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetCheckpointRequest\n */\nexport const GetCheckpointRequest = new GetCheckpointRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetCheckpointResponse$Type extends MessageType<GetCheckpointResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetCheckpointResponse', [\n\t\t\t{ no: 1, name: 'checkpoint', kind: 'message', T: () => Checkpoint },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetCheckpointResponse\n */\nexport const GetCheckpointResponse = new GetCheckpointResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetEpochRequest$Type extends MessageType<GetEpochRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetEpochRequest', [\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: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetEpochRequest\n */\nexport const GetEpochRequest = new GetEpochRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetEpochResponse$Type extends MessageType<GetEpochResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetEpochResponse', [\n\t\t\t{ no: 1, name: 'epoch', kind: 'message', T: () => Epoch },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetEpochResponse\n */\nexport const GetEpochResponse = new GetEpochResponse$Type();\n/**\n * @generated ServiceType for protobuf service sui.rpc.v2.LedgerService\n */\nexport const LedgerService = new ServiceType('sui.rpc.v2.LedgerService', [\n\t{ name: 'GetServiceInfo', options: {}, I: GetServiceInfoRequest, O: GetServiceInfoResponse },\n\t{ name: 'GetObject', options: {}, I: GetObjectRequest, O: GetObjectResponse },\n\t{ name: 'BatchGetObjects', options: {}, I: BatchGetObjectsRequest, O: BatchGetObjectsResponse },\n\t{ name: 'GetTransaction', options: {}, I: GetTransactionRequest, O: GetTransactionResponse },\n\t{\n\t\tname: 'BatchGetTransactions',\n\t\toptions: {},\n\t\tI: BatchGetTransactionsRequest,\n\t\tO: BatchGetTransactionsResponse,\n\t},\n\t{ name: 'GetCheckpoint', options: {}, I: GetCheckpointRequest, O: GetCheckpointResponse },\n\t{ name: 'GetEpoch', options: {}, I: GetEpochRequest, O: GetEpochResponse },\n]);\n"],
5
+ "mappings": "AAWA,SAAS,mBAAmB;AAC5B,SAAS,mBAAmB;AAC5B,SAAS,aAAa;AACtB,SAAS,kBAAkB;AAC3B,SAAS,2BAA2B;AACpC,SAAS,cAAc;AACvB,SAAS,cAAc;AACvB,SAAS,iBAAiB;AAC1B,SAAS,iBAAiB;AAgT1B,MAAM,mCAAmC,YAAmC;AAAA,EAC3E,cAAc;AACb,UAAM,oCAAo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N,KAAK;AAAA,QACL,GAAG;AAAA,QACH,GAAG;AAAA,MACJ;AAAA,MACA,EAAE,IAAI,GAAG,MAAM,aAAa,MAAM,WAAW,GAAG,MAAM,UAAU;AAAA,IACjE,CAAC;AAAA,EACF;AACD;AAIO,MAAM,kBAAkB,IAAI,qBAAqB;AAExD,MAAM,8BAA8B,YAA8B;AAAA,EACjE,cAAc;AACb,UAAM,+BAA+B;AAAA,MACpC,EAAE,IAAI,GAAG,MAAM,SAAS,MAAM,WAAW,GAAG,MAAM,MAAM;AAAA,IACzD,CAAC;AAAA,EACF;AACD;AAIO,MAAM,mBAAmB,IAAI,sBAAsB;AAInD,MAAM,gBAAgB,IAAI,YAAY,4BAA4B;AAAA,EACxE,EAAE,MAAM,kBAAkB,SAAS,CAAC,GAAG,GAAG,uBAAuB,GAAG,uBAAuB;AAAA,EAC3F,EAAE,MAAM,aAAa,SAAS,CAAC,GAAG,GAAG,kBAAkB,GAAG,kBAAkB;AAAA,EAC5E,EAAE,MAAM,mBAAmB,SAAS,CAAC,GAAG,GAAG,wBAAwB,GAAG,wBAAwB;AAAA,EAC9F,EAAE,MAAM,kBAAkB,SAAS,CAAC,GAAG,GAAG,uBAAuB,GAAG,uBAAuB;AAAA,EAC3F;AAAA,IACC,MAAM;AAAA,IACN,SAAS,CAAC;AAAA,IACV,GAAG;AAAA,IACH,GAAG;AAAA,EACJ;AAAA,EACA,EAAE,MAAM,iBAAiB,SAAS,CAAC,GAAG,GAAG,sBAAsB,GAAG,sBAAsB;AAAA,EACxF,EAAE,MAAM,YAAY,SAAS,CAAC,GAAG,GAAG,iBAAiB,GAAG,iBAAiB;AAC1E,CAAC;",
6
6
  "names": []
7
7
  }
@@ -1,4 +1,4 @@
1
- import { MessageType } from "@protobuf-ts/runtime";
1
+ import { MessageType } from '@protobuf-ts/runtime';
2
2
  /**
3
3
  * A Move Package
4
4
  *