@mysten/sui 1.41.0 → 1.42.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (475) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/cjs/grpc/client.d.ts +7 -7
  3. package/dist/cjs/grpc/client.js +7 -7
  4. package/dist/cjs/grpc/client.js.map +2 -2
  5. package/dist/cjs/grpc/core.d.ts +1 -1
  6. package/dist/cjs/grpc/core.js +14 -19
  7. package/dist/cjs/grpc/core.js.map +2 -2
  8. package/dist/cjs/grpc/proto/google/protobuf/any.d.ts +6 -6
  9. package/dist/cjs/grpc/proto/google/protobuf/any.js +20 -20
  10. package/dist/cjs/grpc/proto/google/protobuf/any.js.map +2 -2
  11. package/dist/cjs/grpc/proto/google/protobuf/duration.d.ts +4 -4
  12. package/dist/cjs/grpc/proto/google/protobuf/duration.js +12 -8
  13. package/dist/cjs/grpc/proto/google/protobuf/duration.js.map +2 -2
  14. package/dist/cjs/grpc/proto/google/protobuf/empty.d.ts +1 -1
  15. package/dist/cjs/grpc/proto/google/protobuf/empty.js.map +2 -2
  16. package/dist/cjs/grpc/proto/google/protobuf/field_mask.d.ts +4 -4
  17. package/dist/cjs/grpc/proto/google/protobuf/field_mask.js +7 -8
  18. package/dist/cjs/grpc/proto/google/protobuf/field_mask.js.map +2 -2
  19. package/dist/cjs/grpc/proto/google/protobuf/struct.d.ts +10 -10
  20. package/dist/cjs/grpc/proto/google/protobuf/struct.js +17 -29
  21. package/dist/cjs/grpc/proto/google/protobuf/struct.js.map +2 -2
  22. package/dist/cjs/grpc/proto/google/protobuf/timestamp.d.ts +4 -4
  23. package/dist/cjs/grpc/proto/google/protobuf/timestamp.js +18 -21
  24. package/dist/cjs/grpc/proto/google/protobuf/timestamp.js.map +2 -2
  25. package/dist/cjs/grpc/proto/google/rpc/error_details.d.ts +2 -2
  26. package/dist/cjs/grpc/proto/google/rpc/error_details.js +11 -40
  27. package/dist/cjs/grpc/proto/google/rpc/error_details.js.map +2 -2
  28. package/dist/cjs/grpc/proto/google/rpc/status.d.ts +2 -2
  29. package/dist/cjs/grpc/proto/google/rpc/status.js +1 -1
  30. package/dist/cjs/grpc/proto/google/rpc/status.js.map +2 -2
  31. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/argument.d.ts +5 -5
  32. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/argument.js +2 -8
  33. package/dist/cjs/grpc/proto/sui/rpc/v2/argument.js.map +7 -0
  34. package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/balance_change.d.ts +3 -3
  35. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/balance_change.js +1 -1
  36. package/dist/cjs/grpc/proto/sui/rpc/v2/balance_change.js.map +7 -0
  37. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/bcs.d.ts +3 -3
  38. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/bcs.js +1 -1
  39. package/dist/cjs/grpc/proto/sui/rpc/v2/bcs.js.map +7 -0
  40. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint.d.ts +68 -0
  41. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/checkpoint.js +9 -12
  42. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint.js.map +7 -0
  43. package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/checkpoint_contents.d.ts +10 -10
  44. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/checkpoint_contents.js +6 -18
  45. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_contents.js.map +7 -0
  46. package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/checkpoint_summary.d.ts +19 -19
  47. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/checkpoint_summary.js +16 -38
  48. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_summary.js.map +7 -0
  49. package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/effects.d.ts +33 -28
  50. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/effects.js +23 -61
  51. package/dist/cjs/grpc/proto/sui/rpc/v2/effects.js.map +7 -0
  52. package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/epoch.d.ts +10 -10
  53. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/epoch.js +9 -5
  54. package/dist/cjs/grpc/proto/sui/rpc/v2/epoch.js.map +7 -0
  55. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/error_reason.d.ts +1 -1
  56. package/dist/cjs/grpc/proto/sui/rpc/v2/error_reason.js.map +7 -0
  57. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/event.d.ts +10 -10
  58. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/event.js +4 -4
  59. package/dist/cjs/grpc/proto/sui/rpc/v2/event.js.map +7 -0
  60. package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/executed_transaction.d.ts +19 -24
  61. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/executed_transaction.js +12 -36
  62. package/dist/cjs/grpc/proto/sui/rpc/v2/executed_transaction.js.map +7 -0
  63. package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/execution_status.d.ts +56 -56
  64. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/execution_status.js +29 -87
  65. package/dist/cjs/grpc/proto/sui/rpc/v2/execution_status.js.map +7 -0
  66. package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/gas_cost_summary.d.ts +3 -3
  67. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/gas_cost_summary.js +5 -1
  68. package/dist/cjs/grpc/proto/sui/rpc/v2/gas_cost_summary.js.map +7 -0
  69. package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/input.d.ts +6 -6
  70. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/input.js +4 -9
  71. package/dist/cjs/grpc/proto/sui/rpc/v2/input.js.map +7 -0
  72. package/dist/cjs/grpc/proto/sui/rpc/v2/jwk.d.ts +70 -0
  73. package/dist/cjs/grpc/proto/sui/rpc/v2/jwk.js +88 -0
  74. package/dist/cjs/grpc/proto/sui/rpc/v2/jwk.js.map +7 -0
  75. package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.client.d.ts +95 -0
  76. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/ledger_service.client.js +15 -57
  77. package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.client.js.map +7 -0
  78. package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/ledger_service.d.ts +58 -58
  79. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/ledger_service.js +37 -58
  80. package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.js.map +7 -0
  81. package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/move_package.d.ts +49 -49
  82. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/move_package.js +31 -140
  83. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package.js.map +7 -0
  84. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.client.d.ts +61 -0
  85. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/move_package_service.client.js +9 -33
  86. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.client.js.map +7 -0
  87. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/move_package_service.d.ts +28 -28
  88. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/move_package_service.js +16 -26
  89. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.js.map +7 -0
  90. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/name_service.client.d.ts +14 -14
  91. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/name_service.client.js +5 -17
  92. package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.client.js.map +7 -0
  93. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/name_service.d.ts +17 -17
  94. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/name_service.js +13 -24
  95. package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.js.map +7 -0
  96. package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/object.d.ts +31 -11
  97. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/object.js +19 -6
  98. package/dist/cjs/grpc/proto/sui/rpc/v2/object.js.map +7 -0
  99. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/object_reference.d.ts +3 -3
  100. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/object_reference.js +2 -1
  101. package/dist/cjs/grpc/proto/sui/rpc/v2/object_reference.js.map +7 -0
  102. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/owner.d.ts +5 -5
  103. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/owner.js +3 -8
  104. package/dist/cjs/grpc/proto/sui/rpc/v2/owner.js.map +7 -0
  105. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/protocol_config.d.ts +3 -3
  106. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/protocol_config.js +12 -23
  107. package/dist/cjs/grpc/proto/sui/rpc/v2/protocol_config.js.map +7 -0
  108. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/signature.d.ts +85 -72
  109. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/signature.js +44 -95
  110. package/dist/cjs/grpc/proto/sui/rpc/v2/signature.js.map +7 -0
  111. package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/signature_scheme.d.ts +1 -1
  112. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_scheme.js.map +7 -0
  113. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/signature_verification_service.client.d.ts +10 -10
  114. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/signature_verification_service.client.js +3 -9
  115. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.client.js.map +7 -0
  116. package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/signature_verification_service.d.ts +14 -14
  117. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/signature_verification_service.js +8 -9
  118. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.js.map +7 -0
  119. package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.client.d.ts +71 -0
  120. package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.client.js +69 -0
  121. package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.client.js.map +7 -0
  122. package/dist/{esm/grpc/proto/sui/rpc/v2beta2/live_data_service.d.ts → cjs/grpc/proto/sui/rpc/v2/state_service.d.ts} +70 -188
  123. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2/live_data_service.js → v2/state_service.js} +43 -195
  124. package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.js.map +7 -0
  125. package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/subscription_service.client.d.ts +12 -12
  126. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/subscription_service.client.js +4 -10
  127. package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.client.js.map +7 -0
  128. package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/subscription_service.d.ts +11 -11
  129. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/subscription_service.js +7 -12
  130. package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.js.map +7 -0
  131. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/system_state.d.ts +39 -39
  132. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/system_state.js +68 -35
  133. package/dist/cjs/grpc/proto/sui/rpc/v2/system_state.js.map +7 -0
  134. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/transaction.d.ts +308 -288
  135. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/transaction.js +144 -339
  136. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction.js.map +7 -0
  137. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.client.d.ts +41 -0
  138. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/transaction_execution_service.client.js +10 -12
  139. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js.map +7 -0
  140. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.d.ts +184 -0
  141. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.js +113 -0
  142. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.js.map +7 -0
  143. package/dist/cjs/version.d.ts +1 -1
  144. package/dist/cjs/version.js +1 -1
  145. package/dist/cjs/version.js.map +1 -1
  146. package/dist/esm/grpc/client.d.ts +7 -7
  147. package/dist/esm/grpc/client.js +7 -7
  148. package/dist/esm/grpc/client.js.map +2 -2
  149. package/dist/esm/grpc/core.d.ts +1 -1
  150. package/dist/esm/grpc/core.js +14 -19
  151. package/dist/esm/grpc/core.js.map +2 -2
  152. package/dist/esm/grpc/proto/google/protobuf/any.d.ts +6 -6
  153. package/dist/esm/grpc/proto/google/protobuf/any.js +20 -20
  154. package/dist/esm/grpc/proto/google/protobuf/any.js.map +2 -2
  155. package/dist/esm/grpc/proto/google/protobuf/duration.d.ts +4 -4
  156. package/dist/esm/grpc/proto/google/protobuf/duration.js +12 -8
  157. package/dist/esm/grpc/proto/google/protobuf/duration.js.map +2 -2
  158. package/dist/esm/grpc/proto/google/protobuf/empty.d.ts +1 -1
  159. package/dist/esm/grpc/proto/google/protobuf/empty.js.map +2 -2
  160. package/dist/esm/grpc/proto/google/protobuf/field_mask.d.ts +4 -4
  161. package/dist/esm/grpc/proto/google/protobuf/field_mask.js +7 -8
  162. package/dist/esm/grpc/proto/google/protobuf/field_mask.js.map +2 -2
  163. package/dist/esm/grpc/proto/google/protobuf/struct.d.ts +10 -10
  164. package/dist/esm/grpc/proto/google/protobuf/struct.js +17 -29
  165. package/dist/esm/grpc/proto/google/protobuf/struct.js.map +2 -2
  166. package/dist/esm/grpc/proto/google/protobuf/timestamp.d.ts +4 -4
  167. package/dist/esm/grpc/proto/google/protobuf/timestamp.js +18 -21
  168. package/dist/esm/grpc/proto/google/protobuf/timestamp.js.map +2 -2
  169. package/dist/esm/grpc/proto/google/rpc/error_details.d.ts +2 -2
  170. package/dist/esm/grpc/proto/google/rpc/error_details.js +11 -40
  171. package/dist/esm/grpc/proto/google/rpc/error_details.js.map +2 -2
  172. package/dist/esm/grpc/proto/google/rpc/status.d.ts +2 -2
  173. package/dist/esm/grpc/proto/google/rpc/status.js +1 -1
  174. package/dist/esm/grpc/proto/google/rpc/status.js.map +2 -2
  175. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/argument.d.ts +5 -5
  176. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/argument.js +2 -8
  177. package/dist/esm/grpc/proto/sui/rpc/v2/argument.js.map +7 -0
  178. package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/balance_change.d.ts +3 -3
  179. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/balance_change.js +1 -1
  180. package/dist/esm/grpc/proto/sui/rpc/v2/balance_change.js.map +7 -0
  181. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/bcs.d.ts +3 -3
  182. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/bcs.js +1 -1
  183. package/dist/esm/grpc/proto/sui/rpc/v2/bcs.js.map +7 -0
  184. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint.d.ts +68 -0
  185. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/checkpoint.js +9 -12
  186. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint.js.map +7 -0
  187. package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/checkpoint_contents.d.ts +10 -10
  188. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/checkpoint_contents.js +6 -18
  189. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_contents.js.map +7 -0
  190. package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/checkpoint_summary.d.ts +19 -19
  191. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/checkpoint_summary.js +16 -38
  192. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_summary.js.map +7 -0
  193. package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/effects.d.ts +33 -28
  194. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/effects.js +23 -61
  195. package/dist/esm/grpc/proto/sui/rpc/v2/effects.js.map +7 -0
  196. package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/epoch.d.ts +10 -10
  197. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/epoch.js +9 -5
  198. package/dist/esm/grpc/proto/sui/rpc/v2/epoch.js.map +7 -0
  199. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/error_reason.d.ts +1 -1
  200. package/dist/esm/grpc/proto/sui/rpc/v2/error_reason.js.map +7 -0
  201. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/event.d.ts +10 -10
  202. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/event.js +4 -4
  203. package/dist/esm/grpc/proto/sui/rpc/v2/event.js.map +7 -0
  204. package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/executed_transaction.d.ts +19 -24
  205. package/dist/esm/grpc/proto/sui/rpc/v2/executed_transaction.js +43 -0
  206. package/dist/esm/grpc/proto/sui/rpc/v2/executed_transaction.js.map +7 -0
  207. package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/execution_status.d.ts +56 -56
  208. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/execution_status.js +29 -87
  209. package/dist/esm/grpc/proto/sui/rpc/v2/execution_status.js.map +7 -0
  210. package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/gas_cost_summary.d.ts +3 -3
  211. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/gas_cost_summary.js +5 -1
  212. package/dist/esm/grpc/proto/sui/rpc/v2/gas_cost_summary.js.map +7 -0
  213. package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/input.d.ts +6 -6
  214. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/input.js +4 -9
  215. package/dist/esm/grpc/proto/sui/rpc/v2/input.js.map +7 -0
  216. package/dist/esm/grpc/proto/sui/rpc/v2/jwk.d.ts +70 -0
  217. package/dist/esm/grpc/proto/sui/rpc/v2/jwk.js +68 -0
  218. package/dist/esm/grpc/proto/sui/rpc/v2/jwk.js.map +7 -0
  219. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.client.d.ts +95 -0
  220. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.client.js +65 -0
  221. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.client.js.map +7 -0
  222. package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/ledger_service.d.ts +58 -58
  223. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/ledger_service.js +37 -58
  224. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.js.map +7 -0
  225. package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/move_package.d.ts +49 -49
  226. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/move_package.js +31 -140
  227. package/dist/esm/grpc/proto/sui/rpc/v2/move_package.js.map +7 -0
  228. package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.client.d.ts +61 -0
  229. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/move_package_service.client.js +9 -33
  230. package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.client.js.map +7 -0
  231. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/move_package_service.d.ts +28 -28
  232. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/move_package_service.js +16 -26
  233. package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.js.map +7 -0
  234. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/name_service.client.d.ts +14 -14
  235. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/name_service.client.js +5 -17
  236. package/dist/esm/grpc/proto/sui/rpc/v2/name_service.client.js.map +7 -0
  237. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/name_service.d.ts +17 -17
  238. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/name_service.js +13 -24
  239. package/dist/esm/grpc/proto/sui/rpc/v2/name_service.js.map +7 -0
  240. package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/object.d.ts +31 -11
  241. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/object.js +19 -6
  242. package/dist/esm/grpc/proto/sui/rpc/v2/object.js.map +7 -0
  243. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/object_reference.d.ts +3 -3
  244. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/object_reference.js +2 -1
  245. package/dist/esm/grpc/proto/sui/rpc/v2/object_reference.js.map +7 -0
  246. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/owner.d.ts +5 -5
  247. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/owner.js +3 -8
  248. package/dist/esm/grpc/proto/sui/rpc/v2/owner.js.map +7 -0
  249. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/protocol_config.d.ts +3 -3
  250. package/dist/esm/grpc/proto/sui/rpc/v2/protocol_config.js +31 -0
  251. package/dist/esm/grpc/proto/sui/rpc/v2/protocol_config.js.map +7 -0
  252. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/signature.d.ts +85 -72
  253. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/signature.js +44 -95
  254. package/dist/esm/grpc/proto/sui/rpc/v2/signature.js.map +7 -0
  255. package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/signature_scheme.d.ts +1 -1
  256. package/dist/esm/grpc/proto/sui/rpc/v2/signature_scheme.js.map +7 -0
  257. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/signature_verification_service.client.d.ts +10 -10
  258. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/signature_verification_service.client.js +3 -9
  259. package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.client.js.map +7 -0
  260. package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/signature_verification_service.d.ts +14 -14
  261. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/signature_verification_service.js +8 -9
  262. package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.js.map +7 -0
  263. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.d.ts +71 -0
  264. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.js +49 -0
  265. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.js.map +7 -0
  266. package/dist/{cjs/grpc/proto/sui/rpc/v2beta2/live_data_service.d.ts → esm/grpc/proto/sui/rpc/v2/state_service.d.ts} +70 -188
  267. package/dist/esm/grpc/proto/sui/rpc/{v2beta2/live_data_service.js → v2/state_service.js} +40 -192
  268. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.js.map +7 -0
  269. package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/subscription_service.client.d.ts +12 -12
  270. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/subscription_service.client.js +4 -10
  271. package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.client.js.map +7 -0
  272. package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/subscription_service.d.ts +11 -11
  273. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/subscription_service.js +7 -12
  274. package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.js.map +7 -0
  275. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/system_state.d.ts +39 -39
  276. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/system_state.js +68 -35
  277. package/dist/esm/grpc/proto/sui/rpc/v2/system_state.js.map +7 -0
  278. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/transaction.d.ts +308 -288
  279. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/transaction.js +142 -337
  280. package/dist/esm/grpc/proto/sui/rpc/v2/transaction.js.map +7 -0
  281. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.client.d.ts +41 -0
  282. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/transaction_execution_service.client.js +10 -12
  283. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js.map +7 -0
  284. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.d.ts +184 -0
  285. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.js +93 -0
  286. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.js.map +7 -0
  287. package/dist/esm/version.d.ts +1 -1
  288. package/dist/esm/version.js +1 -1
  289. package/dist/esm/version.js.map +1 -1
  290. package/dist/tsconfig.esm.tsbuildinfo +1 -1
  291. package/dist/tsconfig.tsbuildinfo +1 -1
  292. package/package.json +2 -2
  293. package/src/grpc/client.ts +8 -8
  294. package/src/grpc/core.ts +20 -26
  295. package/src/grpc/proto/google/protobuf/any.ts +144 -159
  296. package/src/grpc/proto/google/protobuf/duration.ts +74 -77
  297. package/src/grpc/proto/google/protobuf/empty.ts +6 -5
  298. package/src/grpc/proto/google/protobuf/field_mask.ts +47 -59
  299. package/src/grpc/proto/google/protobuf/struct.ts +201 -223
  300. package/src/grpc/proto/google/protobuf/timestamp.ts +100 -121
  301. package/src/grpc/proto/google/rpc/error_details.ts +352 -388
  302. package/src/grpc/proto/google/rpc/status.ts +32 -32
  303. package/src/grpc/proto/sui/rpc/v2/argument.ts +84 -0
  304. package/src/grpc/proto/sui/rpc/v2/balance_change.ts +51 -0
  305. package/src/grpc/proto/sui/rpc/v2/bcs.ts +46 -0
  306. package/src/grpc/proto/sui/rpc/v2/checkpoint.ts +89 -0
  307. package/src/grpc/proto/sui/rpc/v2/checkpoint_contents.ts +99 -0
  308. package/src/grpc/proto/sui/rpc/v2/checkpoint_summary.ts +234 -0
  309. package/src/grpc/proto/sui/rpc/v2/effects.ts +391 -0
  310. package/src/grpc/proto/sui/rpc/v2/epoch.ts +85 -0
  311. package/src/grpc/proto/sui/rpc/v2/error_reason.ts +28 -0
  312. package/src/grpc/proto/sui/rpc/v2/event.ts +115 -0
  313. package/src/grpc/proto/sui/rpc/v2/executed_transaction.ts +103 -0
  314. package/src/grpc/proto/sui/rpc/v2/execution_status.ts +946 -0
  315. package/src/grpc/proto/sui/rpc/v2/gas_cost_summary.ts +59 -0
  316. package/src/grpc/proto/sui/rpc/v2/input.ts +119 -0
  317. package/src/grpc/proto/sui/rpc/v2/jwk.ts +94 -0
  318. package/src/grpc/proto/sui/rpc/v2/ledger_service.client.ts +127 -0
  319. package/src/grpc/proto/sui/rpc/v2/ledger_service.ts +533 -0
  320. package/src/grpc/proto/sui/rpc/v2/move_package.ts +678 -0
  321. package/src/grpc/proto/sui/rpc/v2/move_package_service.client.ts +84 -0
  322. package/src/grpc/proto/sui/rpc/v2/move_package_service.ts +297 -0
  323. package/src/grpc/proto/sui/rpc/v2/name_service.client.ts +58 -0
  324. package/src/grpc/proto/sui/rpc/v2/name_service.ts +187 -0
  325. package/src/grpc/proto/sui/rpc/v2/object.ts +159 -0
  326. package/src/grpc/proto/sui/rpc/v2/object_reference.ts +51 -0
  327. package/src/grpc/proto/sui/rpc/v2/owner.ts +78 -0
  328. package/src/grpc/proto/sui/rpc/v2/protocol_config.ts +47 -0
  329. package/src/grpc/proto/sui/rpc/v2/signature.ts +771 -0
  330. package/src/grpc/proto/sui/rpc/v2/signature_scheme.ts +51 -0
  331. package/src/grpc/proto/sui/rpc/v2/signature_verification_service.client.ts +49 -0
  332. package/src/grpc/proto/sui/rpc/v2/signature_verification_service.ts +105 -0
  333. package/src/grpc/proto/sui/rpc/v2/state_service.client.ts +97 -0
  334. package/src/grpc/proto/sui/rpc/v2/state_service.ts +820 -0
  335. package/src/grpc/proto/sui/rpc/v2/subscription_service.client.ts +69 -0
  336. package/src/grpc/proto/sui/rpc/v2/subscription_service.ts +80 -0
  337. package/src/grpc/proto/sui/rpc/v2/system_state.ts +818 -0
  338. package/src/grpc/proto/sui/rpc/v2/transaction.ts +1549 -0
  339. package/src/grpc/proto/sui/rpc/v2/transaction_execution_service.client.ts +58 -0
  340. package/src/grpc/proto/sui/rpc/v2/transaction_execution_service.ts +236 -0
  341. package/src/version.ts +1 -1
  342. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/argument.js.map +0 -7
  343. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/balance_change.js.map +0 -7
  344. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/bcs.js.map +0 -7
  345. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/checkpoint.d.ts +0 -55
  346. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/checkpoint.js.map +0 -7
  347. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/checkpoint_contents.js.map +0 -7
  348. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/checkpoint_summary.js.map +0 -7
  349. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/effects.js.map +0 -7
  350. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/epoch.js.map +0 -7
  351. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/error_reason.js.map +0 -7
  352. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/event.js.map +0 -7
  353. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/executed_transaction.js.map +0 -7
  354. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/execution_status.js.map +0 -7
  355. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/gas_cost_summary.js.map +0 -7
  356. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/input.js.map +0 -7
  357. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/ledger_service.client.d.ts +0 -95
  358. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/ledger_service.client.js.map +0 -7
  359. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/ledger_service.js.map +0 -7
  360. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/live_data_service.client.d.ts +0 -81
  361. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/live_data_service.client.js +0 -0
  362. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/live_data_service.client.js.map +0 -7
  363. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/live_data_service.js.map +0 -7
  364. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/move_package.js.map +0 -7
  365. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/move_package_service.client.d.ts +0 -61
  366. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/move_package_service.client.js.map +0 -7
  367. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/move_package_service.js.map +0 -7
  368. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/name_service.client.js.map +0 -7
  369. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/name_service.js.map +0 -7
  370. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/object.js.map +0 -7
  371. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/object_reference.js.map +0 -7
  372. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/owner.js.map +0 -7
  373. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/protocol_config.js.map +0 -7
  374. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/signature.js.map +0 -7
  375. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/signature_scheme.js.map +0 -7
  376. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/signature_verification_service.client.js.map +0 -7
  377. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/signature_verification_service.js.map +0 -7
  378. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/subscription_service.client.js.map +0 -7
  379. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/subscription_service.js.map +0 -7
  380. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/system_state.js.map +0 -7
  381. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/transaction.js.map +0 -7
  382. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.client.d.ts +0 -37
  383. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.client.js.map +0 -7
  384. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.d.ts +0 -115
  385. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.js +0 -94
  386. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.js.map +0 -7
  387. package/dist/esm/grpc/proto/sui/rpc/v2beta2/argument.js.map +0 -7
  388. package/dist/esm/grpc/proto/sui/rpc/v2beta2/balance_change.js.map +0 -7
  389. package/dist/esm/grpc/proto/sui/rpc/v2beta2/bcs.js.map +0 -7
  390. package/dist/esm/grpc/proto/sui/rpc/v2beta2/checkpoint.d.ts +0 -55
  391. package/dist/esm/grpc/proto/sui/rpc/v2beta2/checkpoint.js.map +0 -7
  392. package/dist/esm/grpc/proto/sui/rpc/v2beta2/checkpoint_contents.js.map +0 -7
  393. package/dist/esm/grpc/proto/sui/rpc/v2beta2/checkpoint_summary.js.map +0 -7
  394. package/dist/esm/grpc/proto/sui/rpc/v2beta2/effects.js.map +0 -7
  395. package/dist/esm/grpc/proto/sui/rpc/v2beta2/epoch.js.map +0 -7
  396. package/dist/esm/grpc/proto/sui/rpc/v2beta2/error_reason.js.map +0 -7
  397. package/dist/esm/grpc/proto/sui/rpc/v2beta2/event.js.map +0 -7
  398. package/dist/esm/grpc/proto/sui/rpc/v2beta2/executed_transaction.js +0 -67
  399. package/dist/esm/grpc/proto/sui/rpc/v2beta2/executed_transaction.js.map +0 -7
  400. package/dist/esm/grpc/proto/sui/rpc/v2beta2/execution_status.js.map +0 -7
  401. package/dist/esm/grpc/proto/sui/rpc/v2beta2/gas_cost_summary.js.map +0 -7
  402. package/dist/esm/grpc/proto/sui/rpc/v2beta2/input.js.map +0 -7
  403. package/dist/esm/grpc/proto/sui/rpc/v2beta2/ledger_service.client.d.ts +0 -95
  404. package/dist/esm/grpc/proto/sui/rpc/v2beta2/ledger_service.client.js +0 -107
  405. package/dist/esm/grpc/proto/sui/rpc/v2beta2/ledger_service.client.js.map +0 -7
  406. package/dist/esm/grpc/proto/sui/rpc/v2beta2/ledger_service.js.map +0 -7
  407. package/dist/esm/grpc/proto/sui/rpc/v2beta2/live_data_service.client.d.ts +0 -81
  408. package/dist/esm/grpc/proto/sui/rpc/v2beta2/live_data_service.client.js +0 -92
  409. package/dist/esm/grpc/proto/sui/rpc/v2beta2/live_data_service.client.js.map +0 -7
  410. package/dist/esm/grpc/proto/sui/rpc/v2beta2/live_data_service.js.map +0 -7
  411. package/dist/esm/grpc/proto/sui/rpc/v2beta2/move_package.js.map +0 -7
  412. package/dist/esm/grpc/proto/sui/rpc/v2beta2/move_package_service.client.d.ts +0 -61
  413. package/dist/esm/grpc/proto/sui/rpc/v2beta2/move_package_service.client.js.map +0 -7
  414. package/dist/esm/grpc/proto/sui/rpc/v2beta2/move_package_service.js.map +0 -7
  415. package/dist/esm/grpc/proto/sui/rpc/v2beta2/name_service.client.js.map +0 -7
  416. package/dist/esm/grpc/proto/sui/rpc/v2beta2/name_service.js.map +0 -7
  417. package/dist/esm/grpc/proto/sui/rpc/v2beta2/object.js.map +0 -7
  418. package/dist/esm/grpc/proto/sui/rpc/v2beta2/object_reference.js.map +0 -7
  419. package/dist/esm/grpc/proto/sui/rpc/v2beta2/owner.js.map +0 -7
  420. package/dist/esm/grpc/proto/sui/rpc/v2beta2/protocol_config.js +0 -42
  421. package/dist/esm/grpc/proto/sui/rpc/v2beta2/protocol_config.js.map +0 -7
  422. package/dist/esm/grpc/proto/sui/rpc/v2beta2/signature.js.map +0 -7
  423. package/dist/esm/grpc/proto/sui/rpc/v2beta2/signature_scheme.js.map +0 -7
  424. package/dist/esm/grpc/proto/sui/rpc/v2beta2/signature_verification_service.client.js.map +0 -7
  425. package/dist/esm/grpc/proto/sui/rpc/v2beta2/signature_verification_service.js.map +0 -7
  426. package/dist/esm/grpc/proto/sui/rpc/v2beta2/subscription_service.client.js.map +0 -7
  427. package/dist/esm/grpc/proto/sui/rpc/v2beta2/subscription_service.js.map +0 -7
  428. package/dist/esm/grpc/proto/sui/rpc/v2beta2/system_state.js.map +0 -7
  429. package/dist/esm/grpc/proto/sui/rpc/v2beta2/transaction.js.map +0 -7
  430. package/dist/esm/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.client.d.ts +0 -37
  431. package/dist/esm/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.client.js.map +0 -7
  432. package/dist/esm/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.d.ts +0 -115
  433. package/dist/esm/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.js +0 -74
  434. package/dist/esm/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.js.map +0 -7
  435. package/src/grpc/proto/sui/rpc/v2beta2/argument.ts +0 -90
  436. package/src/grpc/proto/sui/rpc/v2beta2/balance_change.ts +0 -51
  437. package/src/grpc/proto/sui/rpc/v2beta2/bcs.ts +0 -46
  438. package/src/grpc/proto/sui/rpc/v2beta2/checkpoint.ts +0 -88
  439. package/src/grpc/proto/sui/rpc/v2beta2/checkpoint_contents.ts +0 -111
  440. package/src/grpc/proto/sui/rpc/v2beta2/checkpoint_summary.ts +0 -295
  441. package/src/grpc/proto/sui/rpc/v2beta2/effects.ts +0 -479
  442. package/src/grpc/proto/sui/rpc/v2beta2/epoch.ts +0 -113
  443. package/src/grpc/proto/sui/rpc/v2beta2/error_reason.ts +0 -28
  444. package/src/grpc/proto/sui/rpc/v2beta2/event.ts +0 -115
  445. package/src/grpc/proto/sui/rpc/v2beta2/executed_transaction.ts +0 -140
  446. package/src/grpc/proto/sui/rpc/v2beta2/execution_status.ts +0 -1079
  447. package/src/grpc/proto/sui/rpc/v2beta2/gas_cost_summary.ts +0 -87
  448. package/src/grpc/proto/sui/rpc/v2beta2/input.ts +0 -132
  449. package/src/grpc/proto/sui/rpc/v2beta2/ledger_service.client.ts +0 -217
  450. package/src/grpc/proto/sui/rpc/v2beta2/ledger_service.ts +0 -625
  451. package/src/grpc/proto/sui/rpc/v2beta2/live_data_service.client.ts +0 -187
  452. package/src/grpc/proto/sui/rpc/v2beta2/live_data_service.ts +0 -1066
  453. package/src/grpc/proto/sui/rpc/v2beta2/move_package.ts +0 -803
  454. package/src/grpc/proto/sui/rpc/v2beta2/move_package_service.client.ts +0 -135
  455. package/src/grpc/proto/sui/rpc/v2beta2/move_package_service.ts +0 -315
  456. package/src/grpc/proto/sui/rpc/v2beta2/name_service.client.ts +0 -83
  457. package/src/grpc/proto/sui/rpc/v2beta2/name_service.ts +0 -198
  458. package/src/grpc/proto/sui/rpc/v2beta2/object.ts +0 -161
  459. package/src/grpc/proto/sui/rpc/v2beta2/object_reference.ts +0 -58
  460. package/src/grpc/proto/sui/rpc/v2beta2/owner.ts +0 -91
  461. package/src/grpc/proto/sui/rpc/v2beta2/protocol_config.ts +0 -66
  462. package/src/grpc/proto/sui/rpc/v2beta2/signature.ts +0 -861
  463. package/src/grpc/proto/sui/rpc/v2beta2/signature_scheme.ts +0 -51
  464. package/src/grpc/proto/sui/rpc/v2beta2/signature_verification_service.client.ts +0 -63
  465. package/src/grpc/proto/sui/rpc/v2beta2/signature_verification_service.ts +0 -106
  466. package/src/grpc/proto/sui/rpc/v2beta2/subscription_service.client.ts +0 -81
  467. package/src/grpc/proto/sui/rpc/v2beta2/subscription_service.ts +0 -93
  468. package/src/grpc/proto/sui/rpc/v2beta2/system_state.ts +0 -1184
  469. package/src/grpc/proto/sui/rpc/v2beta2/transaction.ts +0 -2012
  470. package/src/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.client.ts +0 -65
  471. package/src/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.ts +0 -178
  472. /package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/error_reason.js +0 -0
  473. /package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/signature_scheme.js +0 -0
  474. /package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/error_reason.js +0 -0
  475. /package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/signature_scheme.js +0 -0
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2beta2/move_package.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/v2beta2/move_package.proto\" (package \"sui.rpc.v2beta2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { MessageType } from '@protobuf-ts/runtime';\n/**\n * A Move Package\n *\n * @generated from protobuf message sui.rpc.v2beta2.Package\n */\nexport interface Package {\n\t/**\n\t * The PackageId of this package\n\t *\n\t * A package's `storage_id` is the Sui ObjectId of the package on-chain.\n\t * Outside of system packages the `storage_id` for every package version is\n\t * different.\n\t *\n\t * @generated from protobuf field: optional string storage_id = 1;\n\t */\n\tstorageId?: string;\n\t/**\n\t * The PackageId of the first published version of this package.\n\t *\n\t * A package's `original_id` (sometimes also called its `runtime_id`) is the\n\t * `storage_id` of the first version of this package that has been published.\n\t * The `original_id`/`runtime_id` is stable across all versions of the\n\t * package and does not ever change.\n\t *\n\t * @generated from protobuf field: optional string original_id = 2;\n\t */\n\toriginalId?: string;\n\t/**\n\t * The version of this package\n\t *\n\t * @generated from protobuf field: optional uint64 version = 3;\n\t */\n\tversion?: bigint;\n\t/**\n\t * The modules defined by this package\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2beta2.Module modules = 4;\n\t */\n\tmodules: Module[];\n\t/**\n\t * List of datatype origins for mapping datatypes to a package version where\n\t * it was first defined\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2beta2.TypeOrigin type_origins = 5;\n\t */\n\ttypeOrigins: TypeOrigin[];\n\t/**\n\t * The package's transitive dependencies as a mapping from the package's\n\t * runtime Id (the Id it is referred to by in other packages) to its\n\t * storage Id (the Id it is loaded from on chain).\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2beta2.Linkage linkage = 6;\n\t */\n\tlinkage: Linkage[];\n}\n/**\n * A Move Module.\n *\n * @generated from protobuf message sui.rpc.v2beta2.Module\n */\nexport interface Module {\n\t/**\n\t * Name of this module.\n\t *\n\t * @generated from protobuf field: optional string name = 1;\n\t */\n\tname?: string;\n\t/**\n\t * Serialized bytecode of the module.\n\t *\n\t * @generated from protobuf field: optional bytes contents = 2;\n\t */\n\tcontents?: Uint8Array;\n\t/**\n\t * List of DataTypes defined by this module.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2beta2.DatatypeDescriptor datatypes = 3;\n\t */\n\tdatatypes: DatatypeDescriptor[];\n\t/**\n\t * List of Functions defined by this module.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2beta2.FunctionDescriptor functions = 4;\n\t */\n\tfunctions: FunctionDescriptor[];\n}\n/**\n * Describes a Move Datatype.\n *\n * @generated from protobuf message sui.rpc.v2beta2.DatatypeDescriptor\n */\nexport interface DatatypeDescriptor {\n\t/**\n\t * Fully qualified name of this Datatype.\n\t *\n\t * This is `<defining_id>::<module>::<name>`\n\t *\n\t * @generated from protobuf field: optional string type_name = 1;\n\t */\n\ttypeName?: string;\n\t/**\n\t * PackageId of the package where this Datatype is defined.\n\t *\n\t * A type's `defining_id` is the `storage_id` of the package version that first introduced or added that type.\n\t *\n\t * @generated from protobuf field: optional string defining_id = 2;\n\t */\n\tdefiningId?: string;\n\t/**\n\t * Name of the module where this Datatype is defined\n\t *\n\t * @generated from protobuf field: optional string module = 3;\n\t */\n\tmodule?: string;\n\t/**\n\t * Name of this Datatype\n\t *\n\t * @generated from protobuf field: optional string name = 4;\n\t */\n\tname?: string;\n\t/**\n\t * This type's abilities\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2beta2.Ability abilities = 5;\n\t */\n\tabilities: Ability[];\n\t/**\n\t * Ability constraints and phantom status for this type's generic type parameters\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2beta2.TypeParameter type_parameters = 6;\n\t */\n\ttypeParameters: TypeParameter[];\n\t/**\n\t * Indicates whether this datatype is a 'STRUCT' or an 'ENUM'\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.DatatypeDescriptor.DatatypeKind kind = 7;\n\t */\n\tkind?: DatatypeDescriptor_DatatypeKind;\n\t/**\n\t * Set of fields if this Datatype is a struct.\n\t *\n\t * The order of the entries is the order of how the fields are defined.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2beta2.FieldDescriptor fields = 8;\n\t */\n\tfields: FieldDescriptor[];\n\t/**\n\t * Set of variants if this Datatype is an enum.\n\t *\n\t * The order of the entries is the order of how the variants are defined.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2beta2.VariantDescriptor variants = 9;\n\t */\n\tvariants: VariantDescriptor[];\n}\n/**\n * @generated from protobuf enum sui.rpc.v2beta2.DatatypeDescriptor.DatatypeKind\n */\nexport enum DatatypeDescriptor_DatatypeKind {\n\t/**\n\t * @generated from protobuf enum value: DATATYPE_KIND_UNKNOWN = 0;\n\t */\n\tDATATYPE_KIND_UNKNOWN = 0,\n\t/**\n\t * @generated from protobuf enum value: STRUCT = 1;\n\t */\n\tSTRUCT = 1,\n\t/**\n\t * @generated from protobuf enum value: ENUM = 2;\n\t */\n\tENUM = 2,\n}\n/**\n * A generic type parameter used in the declaration of a struct or enum.\n *\n * @generated from protobuf message sui.rpc.v2beta2.TypeParameter\n */\nexport interface TypeParameter {\n\t/**\n\t * The type parameter constraints\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2beta2.Ability constraints = 1;\n\t */\n\tconstraints: Ability[];\n\t/**\n\t * Whether the parameter is declared as phantom\n\t *\n\t * @generated from protobuf field: optional bool is_phantom = 2;\n\t */\n\tisPhantom?: boolean;\n}\n/**\n * Descriptor of a field that belongs to a struct or enum variant\n *\n * @generated from protobuf message sui.rpc.v2beta2.FieldDescriptor\n */\nexport interface FieldDescriptor {\n\t/**\n\t * Name of the field\n\t *\n\t * @generated from protobuf field: optional string name = 1;\n\t */\n\tname?: string;\n\t/**\n\t * Order or position of the field in the struct or enum variant definition.\n\t *\n\t * @generated from protobuf field: optional uint32 position = 2;\n\t */\n\tposition?: number;\n\t/**\n\t * The type of the field\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.OpenSignatureBody type = 3;\n\t */\n\ttype?: OpenSignatureBody;\n}\n/**\n * Descriptor of an enum variant\n *\n * @generated from protobuf message sui.rpc.v2beta2.VariantDescriptor\n */\nexport interface VariantDescriptor {\n\t/**\n\t * Name of the variant\n\t *\n\t * @generated from protobuf field: optional string name = 1;\n\t */\n\tname?: string;\n\t/**\n\t * Order or position of the variant in the enum definition.\n\t *\n\t * @generated from protobuf field: optional uint32 position = 2;\n\t */\n\tposition?: number;\n\t/**\n\t * Set of fields defined by this variant.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2beta2.FieldDescriptor fields = 3;\n\t */\n\tfields: FieldDescriptor[];\n}\n/**\n * Representation of a type signature that could appear as a field type for a struct or enum\n *\n * @generated from protobuf message sui.rpc.v2beta2.OpenSignatureBody\n */\nexport interface OpenSignatureBody {\n\t/**\n\t * Type of this signature\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.OpenSignatureBody.Type type = 1;\n\t */\n\ttype?: OpenSignatureBody_Type;\n\t/**\n\t * Fully qualified name of the datatype when `type` is `DATATYPE`\n\t *\n\t * @generated from protobuf field: optional string type_name = 2;\n\t */\n\ttypeName?: string;\n\t/**\n\t * Set when `type` is `VECTOR` or `DATATYPE`\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2beta2.OpenSignatureBody type_parameter_instantiation = 3;\n\t */\n\ttypeParameterInstantiation: OpenSignatureBody[];\n\t/**\n\t * Position of the type parameter as defined in the containing data type descriptor when `type` is `TYPE_PARAMETER`\n\t *\n\t * @generated from protobuf field: optional uint32 type_parameter = 4;\n\t */\n\ttypeParameter?: number;\n}\n/**\n * @generated from protobuf enum sui.rpc.v2beta2.OpenSignatureBody.Type\n */\nexport enum OpenSignatureBody_Type {\n\t/**\n\t * @generated from protobuf enum value: TYPE_UNKNOWN = 0;\n\t */\n\tTYPE_UNKNOWN = 0,\n\t/**\n\t * @generated from protobuf enum value: ADDRESS = 1;\n\t */\n\tADDRESS = 1,\n\t/**\n\t * @generated from protobuf enum value: BOOL = 2;\n\t */\n\tBOOL = 2,\n\t/**\n\t * @generated from protobuf enum value: U8 = 3;\n\t */\n\tU8 = 3,\n\t/**\n\t * @generated from protobuf enum value: U16 = 4;\n\t */\n\tU16 = 4,\n\t/**\n\t * @generated from protobuf enum value: U32 = 5;\n\t */\n\tU32 = 5,\n\t/**\n\t * @generated from protobuf enum value: U64 = 6;\n\t */\n\tU64 = 6,\n\t/**\n\t * @generated from protobuf enum value: U128 = 7;\n\t */\n\tU128 = 7,\n\t/**\n\t * @generated from protobuf enum value: U256 = 8;\n\t */\n\tU256 = 8,\n\t/**\n\t * @generated from protobuf enum value: VECTOR = 9;\n\t */\n\tVECTOR = 9,\n\t/**\n\t * @generated from protobuf enum value: DATATYPE = 10;\n\t */\n\tDATATYPE = 10,\n\t/**\n\t * @generated from protobuf enum value: TYPE_PARAMETER = 11;\n\t */\n\tTYPE_PARAMETER = 11,\n}\n/**\n * Descriptor of a Move function\n *\n * @generated from protobuf message sui.rpc.v2beta2.FunctionDescriptor\n */\nexport interface FunctionDescriptor {\n\t/**\n\t * Name of the function\n\t *\n\t * @generated from protobuf field: optional string name = 1;\n\t */\n\tname?: string;\n\t/**\n\t * Whether the function is `public`, `private` or `public(friend)`\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.FunctionDescriptor.Visibility visibility = 5;\n\t */\n\tvisibility?: FunctionDescriptor_Visibility;\n\t/**\n\t * Whether the function is marked `entry` or not.\n\t *\n\t * @generated from protobuf field: optional bool is_entry = 6;\n\t */\n\tisEntry?: boolean;\n\t/**\n\t * Ability constraints for type parameters\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2beta2.TypeParameter type_parameters = 7;\n\t */\n\ttypeParameters: TypeParameter[];\n\t/**\n\t * Formal parameter types.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2beta2.OpenSignature parameters = 8;\n\t */\n\tparameters: OpenSignature[];\n\t/**\n\t * Return types.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2beta2.OpenSignature returns = 9;\n\t */\n\treturns: OpenSignature[];\n}\n/**\n * @generated from protobuf enum sui.rpc.v2beta2.FunctionDescriptor.Visibility\n */\nexport enum FunctionDescriptor_Visibility {\n\t/**\n\t * @generated from protobuf enum value: VISIBILITY_UNKNOWN = 0;\n\t */\n\tVISIBILITY_UNKNOWN = 0,\n\t/**\n\t * @generated from protobuf enum value: PRIVATE = 1;\n\t */\n\tPRIVATE = 1,\n\t/**\n\t * @generated from protobuf enum value: PUBLIC = 2;\n\t */\n\tPUBLIC = 2,\n\t/**\n\t * @generated from protobuf enum value: FRIEND = 3;\n\t */\n\tFRIEND = 3,\n}\n/**\n * Representation of a type signature that could appear as a function parameter or return value.\n *\n * @generated from protobuf message sui.rpc.v2beta2.OpenSignature\n */\nexport interface OpenSignature {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.OpenSignature.Reference reference = 1;\n\t */\n\treference?: OpenSignature_Reference;\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.OpenSignatureBody body = 2;\n\t */\n\tbody?: OpenSignatureBody;\n}\n/**\n * @generated from protobuf enum sui.rpc.v2beta2.OpenSignature.Reference\n */\nexport enum OpenSignature_Reference {\n\t/**\n\t * @generated from protobuf enum value: REFERENCE_UNKNOWN = 0;\n\t */\n\tREFERENCE_UNKNOWN = 0,\n\t/**\n\t * @generated from protobuf enum value: IMMUTABLE = 1;\n\t */\n\tIMMUTABLE = 1,\n\t/**\n\t * @generated from protobuf enum value: MUTABLE = 2;\n\t */\n\tMUTABLE = 2,\n}\n/**\n * Identifies a struct and the module it was defined in.\n *\n * @generated from protobuf message sui.rpc.v2beta2.TypeOrigin\n */\nexport interface TypeOrigin {\n\t/**\n\t * @generated from protobuf field: optional string module_name = 1;\n\t */\n\tmoduleName?: string;\n\t/**\n\t * @generated from protobuf field: optional string datatype_name = 2;\n\t */\n\tdatatypeName?: string;\n\t/**\n\t * @generated from protobuf field: optional string package_id = 3;\n\t */\n\tpackageId?: string;\n}\n/**\n * Upgraded package info for the linkage table.\n *\n * @generated from protobuf message sui.rpc.v2beta2.Linkage\n */\nexport interface Linkage {\n\t/**\n\t * Id of the original package.\n\t *\n\t * @generated from protobuf field: optional string original_id = 1;\n\t */\n\toriginalId?: string;\n\t/**\n\t * Id of the upgraded package.\n\t *\n\t * @generated from protobuf field: optional string upgraded_id = 2;\n\t */\n\tupgradedId?: string;\n\t/**\n\t * Version of the upgraded package.\n\t *\n\t * @generated from protobuf field: optional uint64 upgraded_version = 3;\n\t */\n\tupgradedVersion?: bigint;\n}\n/**\n * An `Ability` classifies what operations are permitted for a given type\n *\n * @generated from protobuf enum sui.rpc.v2beta2.Ability\n */\nexport enum Ability {\n\t/**\n\t * @generated from protobuf enum value: ABILITY_UNKNOWN = 0;\n\t */\n\tABILITY_UNKNOWN = 0,\n\t/**\n\t * Allows values of types with this ability to be copied\n\t *\n\t * @generated from protobuf enum value: COPY = 1;\n\t */\n\tCOPY = 1,\n\t/**\n\t * Allows values of types with this ability to be dropped.\n\t *\n\t * @generated from protobuf enum value: DROP = 2;\n\t */\n\tDROP = 2,\n\t/**\n\t * Allows values of types with this ability to exist inside a struct in global storage\n\t *\n\t * @generated from protobuf enum value: STORE = 3;\n\t */\n\tSTORE = 3,\n\t/**\n\t * Allows the type to serve as a key for global storage operations\n\t *\n\t * @generated from protobuf enum value: KEY = 4;\n\t */\n\tKEY = 4,\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass Package$Type extends MessageType<Package> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.Package', [\n\t\t\t{ no: 1, name: 'storage_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'original_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'version',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 4, name: 'modules', kind: 'message', repeat: 1 /*RepeatType.PACKED*/, T: () => Module },\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: 'type_origins',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => TypeOrigin,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: 'linkage',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => Linkage,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.Package\n */\nexport const Package = new Package$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass Module$Type extends MessageType<Module> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.Module', [\n\t\t\t{ no: 1, name: 'name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'contents', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'datatypes',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => DatatypeDescriptor,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: 'functions',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => FunctionDescriptor,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.Module\n */\nexport const Module = new Module$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass DatatypeDescriptor$Type extends MessageType<DatatypeDescriptor> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.DatatypeDescriptor', [\n\t\t\t{ no: 1, name: 'type_name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'defining_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'module', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 4, name: 'name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: 'abilities',\n\t\t\t\tkind: 'enum',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => ['sui.rpc.v2beta2.Ability', Ability],\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: 'type_parameters',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => TypeParameter,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 7,\n\t\t\t\tname: 'kind',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => [\n\t\t\t\t\t'sui.rpc.v2beta2.DatatypeDescriptor.DatatypeKind',\n\t\t\t\t\tDatatypeDescriptor_DatatypeKind,\n\t\t\t\t],\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 8,\n\t\t\t\tname: 'fields',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => FieldDescriptor,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 9,\n\t\t\t\tname: 'variants',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => VariantDescriptor,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.DatatypeDescriptor\n */\nexport const DatatypeDescriptor = new DatatypeDescriptor$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass TypeParameter$Type extends MessageType<TypeParameter> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.TypeParameter', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'constraints',\n\t\t\t\tkind: 'enum',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => ['sui.rpc.v2beta2.Ability', Ability],\n\t\t\t},\n\t\t\t{ no: 2, name: 'is_phantom', kind: 'scalar', opt: true, T: 8 /*ScalarType.BOOL*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.TypeParameter\n */\nexport const TypeParameter = new TypeParameter$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass FieldDescriptor$Type extends MessageType<FieldDescriptor> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.FieldDescriptor', [\n\t\t\t{ no: 1, name: 'name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'position', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },\n\t\t\t{ no: 3, name: 'type', kind: 'message', T: () => OpenSignatureBody },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.FieldDescriptor\n */\nexport const FieldDescriptor = new FieldDescriptor$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass VariantDescriptor$Type extends MessageType<VariantDescriptor> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.VariantDescriptor', [\n\t\t\t{ no: 1, name: 'name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'position', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'fields',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => FieldDescriptor,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.VariantDescriptor\n */\nexport const VariantDescriptor = new VariantDescriptor$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass OpenSignatureBody$Type extends MessageType<OpenSignatureBody> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.OpenSignatureBody', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'type',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => ['sui.rpc.v2beta2.OpenSignatureBody.Type', OpenSignatureBody_Type],\n\t\t\t},\n\t\t\t{ no: 2, name: 'type_name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'type_parameter_instantiation',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => OpenSignatureBody,\n\t\t\t},\n\t\t\t{ no: 4, name: 'type_parameter', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.OpenSignatureBody\n */\nexport const OpenSignatureBody = new OpenSignatureBody$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass FunctionDescriptor$Type extends MessageType<FunctionDescriptor> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.FunctionDescriptor', [\n\t\t\t{ no: 1, name: 'name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: 'visibility',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => ['sui.rpc.v2beta2.FunctionDescriptor.Visibility', FunctionDescriptor_Visibility],\n\t\t\t},\n\t\t\t{ no: 6, name: 'is_entry', kind: 'scalar', opt: true, T: 8 /*ScalarType.BOOL*/ },\n\t\t\t{\n\t\t\t\tno: 7,\n\t\t\t\tname: 'type_parameters',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => TypeParameter,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 8,\n\t\t\t\tname: 'parameters',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => OpenSignature,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 9,\n\t\t\t\tname: 'returns',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => OpenSignature,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.FunctionDescriptor\n */\nexport const FunctionDescriptor = new FunctionDescriptor$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass OpenSignature$Type extends MessageType<OpenSignature> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.OpenSignature', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'reference',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => ['sui.rpc.v2beta2.OpenSignature.Reference', OpenSignature_Reference],\n\t\t\t},\n\t\t\t{ no: 2, name: 'body', kind: 'message', T: () => OpenSignatureBody },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.OpenSignature\n */\nexport const OpenSignature = new OpenSignature$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass TypeOrigin$Type extends MessageType<TypeOrigin> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.TypeOrigin', [\n\t\t\t{ no: 1, name: 'module_name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'datatype_name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'package_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.TypeOrigin\n */\nexport const TypeOrigin = new TypeOrigin$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass Linkage$Type extends MessageType<Linkage> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.Linkage', [\n\t\t\t{ no: 1, name: 'original_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'upgraded_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'upgraded_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]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.Linkage\n */\nexport const Linkage = new Linkage$Type();\n"],
5
- "mappings": "AAWA,SAAS,mBAAmB;AA+JrB,IAAK,kCAAL,kBAAKA,qCAAL;AAIN,EAAAA,kEAAA,2BAAwB,KAAxB;AAIA,EAAAA,kEAAA,YAAS,KAAT;AAIA,EAAAA,kEAAA,UAAO,KAAP;AAZW,SAAAA;AAAA,GAAA;AAqHL,IAAK,yBAAL,kBAAKC,4BAAL;AAIN,EAAAA,gDAAA,kBAAe,KAAf;AAI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BAA2B;AAAA,MAChC;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAe,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MACpF;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAe,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MACpF;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,KAAK;AAAA,QACL,GAAG;AAAA,QACH,GAAG;AAAA,MACJ;AAAA,IACD,CAAC;AAAA,EACF;AACD;AAIO,MAAM,UAAU,IAAI,aAAa;",
6
- "names": ["DatatypeDescriptor_DatatypeKind", "OpenSignatureBody_Type", "FunctionDescriptor_Visibility", "OpenSignature_Reference", "Ability"]
7
- }
@@ -1,61 +0,0 @@
1
- import type { RpcTransport } from '@protobuf-ts/runtime-rpc';
2
- import type { ServiceInfo } from '@protobuf-ts/runtime-rpc';
3
- import type { ListPackageVersionsResponse } from './move_package_service.js';
4
- import type { ListPackageVersionsRequest } from './move_package_service.js';
5
- import type { GetFunctionResponse } from './move_package_service.js';
6
- import type { GetFunctionRequest } from './move_package_service.js';
7
- import type { GetDatatypeResponse } from './move_package_service.js';
8
- import type { GetDatatypeRequest } from './move_package_service.js';
9
- import type { GetPackageResponse } from './move_package_service.js';
10
- import type { GetPackageRequest } from './move_package_service.js';
11
- import type { UnaryCall } from '@protobuf-ts/runtime-rpc';
12
- import type { RpcOptions } from '@protobuf-ts/runtime-rpc';
13
- /**
14
- * @generated from protobuf service sui.rpc.v2beta2.MovePackageService
15
- */
16
- export interface IMovePackageServiceClient {
17
- /**
18
- * @generated from protobuf rpc: GetPackage(sui.rpc.v2beta2.GetPackageRequest) returns (sui.rpc.v2beta2.GetPackageResponse);
19
- */
20
- getPackage(input: GetPackageRequest, options?: RpcOptions): UnaryCall<GetPackageRequest, GetPackageResponse>;
21
- /**
22
- * @generated from protobuf rpc: GetDatatype(sui.rpc.v2beta2.GetDatatypeRequest) returns (sui.rpc.v2beta2.GetDatatypeResponse);
23
- */
24
- getDatatype(input: GetDatatypeRequest, options?: RpcOptions): UnaryCall<GetDatatypeRequest, GetDatatypeResponse>;
25
- /**
26
- * @generated from protobuf rpc: GetFunction(sui.rpc.v2beta2.GetFunctionRequest) returns (sui.rpc.v2beta2.GetFunctionResponse);
27
- */
28
- getFunction(input: GetFunctionRequest, options?: RpcOptions): UnaryCall<GetFunctionRequest, GetFunctionResponse>;
29
- /**
30
- * @generated from protobuf rpc: ListPackageVersions(sui.rpc.v2beta2.ListPackageVersionsRequest) returns (sui.rpc.v2beta2.ListPackageVersionsResponse);
31
- */
32
- listPackageVersions(input: ListPackageVersionsRequest, options?: RpcOptions): UnaryCall<ListPackageVersionsRequest, ListPackageVersionsResponse>;
33
- }
34
- /**
35
- * @generated from protobuf service sui.rpc.v2beta2.MovePackageService
36
- */
37
- export declare class MovePackageServiceClient implements IMovePackageServiceClient, ServiceInfo {
38
- private readonly _transport;
39
- typeName: string;
40
- methods: import("@protobuf-ts/runtime-rpc").MethodInfo<any, any>[];
41
- options: {
42
- [extensionName: string]: import("@protobuf-ts/runtime").JsonValue;
43
- };
44
- constructor(_transport: RpcTransport);
45
- /**
46
- * @generated from protobuf rpc: GetPackage(sui.rpc.v2beta2.GetPackageRequest) returns (sui.rpc.v2beta2.GetPackageResponse);
47
- */
48
- getPackage(input: GetPackageRequest, options?: RpcOptions): UnaryCall<GetPackageRequest, GetPackageResponse>;
49
- /**
50
- * @generated from protobuf rpc: GetDatatype(sui.rpc.v2beta2.GetDatatypeRequest) returns (sui.rpc.v2beta2.GetDatatypeResponse);
51
- */
52
- getDatatype(input: GetDatatypeRequest, options?: RpcOptions): UnaryCall<GetDatatypeRequest, GetDatatypeResponse>;
53
- /**
54
- * @generated from protobuf rpc: GetFunction(sui.rpc.v2beta2.GetFunctionRequest) returns (sui.rpc.v2beta2.GetFunctionResponse);
55
- */
56
- getFunction(input: GetFunctionRequest, options?: RpcOptions): UnaryCall<GetFunctionRequest, GetFunctionResponse>;
57
- /**
58
- * @generated from protobuf rpc: ListPackageVersions(sui.rpc.v2beta2.ListPackageVersionsRequest) returns (sui.rpc.v2beta2.ListPackageVersionsResponse);
59
- */
60
- listPackageVersions(input: ListPackageVersionsRequest, options?: RpcOptions): UnaryCall<ListPackageVersionsRequest, ListPackageVersionsResponse>;
61
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2beta2/move_package_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/v2beta2/move_package_service.proto\" (package \"sui.rpc.v2beta2\", 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 { MovePackageService } from './move_package_service.js';\nimport type { ListPackageVersionsResponse } from './move_package_service.js';\nimport type { ListPackageVersionsRequest } from './move_package_service.js';\nimport type { GetFunctionResponse } from './move_package_service.js';\nimport type { GetFunctionRequest } from './move_package_service.js';\nimport type { GetDatatypeResponse } from './move_package_service.js';\nimport type { GetDatatypeRequest } from './move_package_service.js';\nimport { stackIntercept } from '@protobuf-ts/runtime-rpc';\nimport type { GetPackageResponse } from './move_package_service.js';\nimport type { GetPackageRequest } from './move_package_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.v2beta2.MovePackageService\n */\nexport interface IMovePackageServiceClient {\n\t/**\n\t * @generated from protobuf rpc: GetPackage(sui.rpc.v2beta2.GetPackageRequest) returns (sui.rpc.v2beta2.GetPackageResponse);\n\t */\n\tgetPackage(\n\t\tinput: GetPackageRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<GetPackageRequest, GetPackageResponse>;\n\t/**\n\t * @generated from protobuf rpc: GetDatatype(sui.rpc.v2beta2.GetDatatypeRequest) returns (sui.rpc.v2beta2.GetDatatypeResponse);\n\t */\n\tgetDatatype(\n\t\tinput: GetDatatypeRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<GetDatatypeRequest, GetDatatypeResponse>;\n\t/**\n\t * @generated from protobuf rpc: GetFunction(sui.rpc.v2beta2.GetFunctionRequest) returns (sui.rpc.v2beta2.GetFunctionResponse);\n\t */\n\tgetFunction(\n\t\tinput: GetFunctionRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<GetFunctionRequest, GetFunctionResponse>;\n\t/**\n\t * @generated from protobuf rpc: ListPackageVersions(sui.rpc.v2beta2.ListPackageVersionsRequest) returns (sui.rpc.v2beta2.ListPackageVersionsResponse);\n\t */\n\tlistPackageVersions(\n\t\tinput: ListPackageVersionsRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<ListPackageVersionsRequest, ListPackageVersionsResponse>;\n}\n/**\n * @generated from protobuf service sui.rpc.v2beta2.MovePackageService\n */\nexport class MovePackageServiceClient implements IMovePackageServiceClient, ServiceInfo {\n\ttypeName = MovePackageService.typeName;\n\tmethods = MovePackageService.methods;\n\toptions = MovePackageService.options;\n\tconstructor(private readonly _transport: RpcTransport) {}\n\t/**\n\t * @generated from protobuf rpc: GetPackage(sui.rpc.v2beta2.GetPackageRequest) returns (sui.rpc.v2beta2.GetPackageResponse);\n\t */\n\tgetPackage(\n\t\tinput: GetPackageRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<GetPackageRequest, GetPackageResponse> {\n\t\tconst method = this.methods[0],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<GetPackageRequest, GetPackageResponse>(\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: GetDatatype(sui.rpc.v2beta2.GetDatatypeRequest) returns (sui.rpc.v2beta2.GetDatatypeResponse);\n\t */\n\tgetDatatype(\n\t\tinput: GetDatatypeRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<GetDatatypeRequest, GetDatatypeResponse> {\n\t\tconst method = this.methods[1],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<GetDatatypeRequest, GetDatatypeResponse>(\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: GetFunction(sui.rpc.v2beta2.GetFunctionRequest) returns (sui.rpc.v2beta2.GetFunctionResponse);\n\t */\n\tgetFunction(\n\t\tinput: GetFunctionRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<GetFunctionRequest, GetFunctionResponse> {\n\t\tconst method = this.methods[2],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<GetFunctionRequest, GetFunctionResponse>(\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: ListPackageVersions(sui.rpc.v2beta2.ListPackageVersionsRequest) returns (sui.rpc.v2beta2.ListPackageVersionsResponse);\n\t */\n\tlistPackageVersions(\n\t\tinput: ListPackageVersionsRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<ListPackageVersionsRequest, ListPackageVersionsResponse> {\n\t\tconst method = this.methods[3],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<ListPackageVersionsRequest, ListPackageVersionsResponse>(\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,0BAA0B;AAOnC,SAAS,sBAAsB;AAyCxB,MAAM,yBAA2E;AAAA,EAIvF,YAA6B,YAA0B;AAA1B;AAH7B,oBAAW,mBAAmB;AAC9B,mBAAU,mBAAmB;AAC7B,mBAAU,mBAAmB;AAAA,EAC2B;AAAA;AAAA;AAAA;AAAA,EAIxD,WACC,OACA,SACmD;AACnD,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;AAAA;AAAA;AAAA;AAAA,EAIA,YACC,OACA,SACqD;AACrD,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;AAAA;AAAA;AAAA;AAAA,EAIA,YACC,OACA,SACqD;AACrD,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;AAAA;AAAA;AAAA;AAAA,EAIA,oBACC,OACA,SACqE;AACrE,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
- "names": []
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2beta2/move_package_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/v2beta2/move_package_service.proto\" (package \"sui.rpc.v2beta2\", 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 { FunctionDescriptor } from './move_package.js';\nimport { DatatypeDescriptor } from './move_package.js';\nimport { Package } from './move_package.js';\n/**\n * @generated from protobuf message sui.rpc.v2beta2.GetPackageRequest\n */\nexport interface GetPackageRequest {\n\t/**\n\t * Required. The `storage_id` of the requested package.\n\t *\n\t * @generated from protobuf field: optional string package_id = 1;\n\t */\n\tpackageId?: string;\n}\n/**\n * @generated from protobuf message sui.rpc.v2beta2.GetPackageResponse\n */\nexport interface GetPackageResponse {\n\t/**\n\t * The package.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.Package package = 1;\n\t */\n\tpackage?: Package;\n}\n/**\n * @generated from protobuf message sui.rpc.v2beta2.GetDatatypeRequest\n */\nexport interface GetDatatypeRequest {\n\t/**\n\t * Required. The `storage_id` of the requested package.\n\t *\n\t * @generated from protobuf field: optional string package_id = 1;\n\t */\n\tpackageId?: string;\n\t/**\n\t * Required. The name of the requested module.\n\t *\n\t * @generated from protobuf field: optional string module_name = 2;\n\t */\n\tmoduleName?: string;\n\t/**\n\t * Required. The name of the requested datatype.\n\t *\n\t * @generated from protobuf field: optional string name = 3;\n\t */\n\tname?: string;\n}\n/**\n * @generated from protobuf message sui.rpc.v2beta2.GetDatatypeResponse\n */\nexport interface GetDatatypeResponse {\n\t/**\n\t * The datatype.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.DatatypeDescriptor datatype = 1;\n\t */\n\tdatatype?: DatatypeDescriptor;\n}\n/**\n * @generated from protobuf message sui.rpc.v2beta2.GetFunctionRequest\n */\nexport interface GetFunctionRequest {\n\t/**\n\t * Required. The `storage_id` of the requested package.\n\t *\n\t * @generated from protobuf field: optional string package_id = 1;\n\t */\n\tpackageId?: string;\n\t/**\n\t * Required. The name of the requested module.\n\t *\n\t * @generated from protobuf field: optional string module_name = 2;\n\t */\n\tmoduleName?: string;\n\t/**\n\t * Required. The name of the requested function.\n\t *\n\t * @generated from protobuf field: optional string name = 3;\n\t */\n\tname?: string;\n}\n/**\n * @generated from protobuf message sui.rpc.v2beta2.GetFunctionResponse\n */\nexport interface GetFunctionResponse {\n\t/**\n\t * The function.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.FunctionDescriptor function = 1;\n\t */\n\tfunction?: FunctionDescriptor;\n}\n/**\n * @generated from protobuf message sui.rpc.v2beta2.ListPackageVersionsRequest\n */\nexport interface ListPackageVersionsRequest {\n\t/**\n\t * Required. The `storage_id` of any version of the package.\n\t *\n\t * @generated from protobuf field: optional string package_id = 1;\n\t */\n\tpackageId?: string;\n\t/**\n\t * The maximum number of versions to return. The service may return fewer than this value.\n\t * If unspecified, at most `1000` entries will be returned.\n\t * The maximum value is `10000`; values above `10000` will be coerced to `10000`.\n\t *\n\t * @generated from protobuf field: optional uint32 page_size = 2;\n\t */\n\tpageSize?: number;\n\t/**\n\t * A page token, received from a previous `ListPackageVersions` call.\n\t * Provide this to retrieve the subsequent page.\n\t *\n\t * When paginating, all other parameters provided to `ListPackageVersions` must\n\t * match the call that provided the page token.\n\t *\n\t * @generated from protobuf field: optional bytes page_token = 3;\n\t */\n\tpageToken?: Uint8Array;\n}\n/**\n * @generated from protobuf message sui.rpc.v2beta2.ListPackageVersionsResponse\n */\nexport interface ListPackageVersionsResponse {\n\t/**\n\t * List of all package versions, ordered by version.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2beta2.PackageVersion versions = 1;\n\t */\n\tversions: PackageVersion[];\n\t/**\n\t * A token, which can be sent as `page_token` to retrieve the next page.\n\t * If this field is omitted, there are no subsequent pages.\n\t *\n\t * @generated from protobuf field: optional bytes next_page_token = 2;\n\t */\n\tnextPageToken?: Uint8Array;\n}\n/**\n * A simplified representation of a package version\n *\n * @generated from protobuf message sui.rpc.v2beta2.PackageVersion\n */\nexport interface PackageVersion {\n\t/**\n\t * The storage ID of this package version\n\t *\n\t * @generated from protobuf field: optional string package_id = 1;\n\t */\n\tpackageId?: string;\n\t/**\n\t * The version number\n\t *\n\t * @generated from protobuf field: optional uint64 version = 2;\n\t */\n\tversion?: bigint;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetPackageRequest$Type extends MessageType<GetPackageRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.GetPackageRequest', [\n\t\t\t{ no: 1, name: 'package_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.GetPackageRequest\n */\nexport const GetPackageRequest = new GetPackageRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetPackageResponse$Type extends MessageType<GetPackageResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.GetPackageResponse', [\n\t\t\t{ no: 1, name: 'package', kind: 'message', T: () => Package },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.GetPackageResponse\n */\nexport const GetPackageResponse = new GetPackageResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetDatatypeRequest$Type extends MessageType<GetDatatypeRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.GetDatatypeRequest', [\n\t\t\t{ no: 1, name: 'package_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'module_name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.GetDatatypeRequest\n */\nexport const GetDatatypeRequest = new GetDatatypeRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetDatatypeResponse$Type extends MessageType<GetDatatypeResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.GetDatatypeResponse', [\n\t\t\t{ no: 1, name: 'datatype', kind: 'message', T: () => DatatypeDescriptor },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.GetDatatypeResponse\n */\nexport const GetDatatypeResponse = new GetDatatypeResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetFunctionRequest$Type extends MessageType<GetFunctionRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.GetFunctionRequest', [\n\t\t\t{ no: 1, name: 'package_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'module_name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.GetFunctionRequest\n */\nexport const GetFunctionRequest = new GetFunctionRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetFunctionResponse$Type extends MessageType<GetFunctionResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.GetFunctionResponse', [\n\t\t\t{ no: 1, name: 'function', kind: 'message', T: () => FunctionDescriptor },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.GetFunctionResponse\n */\nexport const GetFunctionResponse = new GetFunctionResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListPackageVersionsRequest$Type extends MessageType<ListPackageVersionsRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.ListPackageVersionsRequest', [\n\t\t\t{ no: 1, name: 'package_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'page_size', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },\n\t\t\t{ no: 3, name: 'page_token', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.ListPackageVersionsRequest\n */\nexport const ListPackageVersionsRequest = new ListPackageVersionsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListPackageVersionsResponse$Type extends MessageType<ListPackageVersionsResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.ListPackageVersionsResponse', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'versions',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => PackageVersion,\n\t\t\t},\n\t\t\t{ no: 2, name: 'next_page_token', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.ListPackageVersionsResponse\n */\nexport const ListPackageVersionsResponse = new ListPackageVersionsResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass PackageVersion$Type extends MessageType<PackageVersion> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.PackageVersion', [\n\t\t\t{ no: 1, name: 'package_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]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.PackageVersion\n */\nexport const PackageVersion = new PackageVersion$Type();\n/**\n * @generated ServiceType for protobuf service sui.rpc.v2beta2.MovePackageService\n */\nexport const MovePackageService = new ServiceType('sui.rpc.v2beta2.MovePackageService', [\n\t{ name: 'GetPackage', options: {}, I: GetPackageRequest, O: GetPackageResponse },\n\t{ name: 'GetDatatype', options: {}, I: GetDatatypeRequest, O: GetDatatypeResponse },\n\t{ name: 'GetFunction', options: {}, I: GetFunctionRequest, O: GetFunctionResponse },\n\t{\n\t\tname: 'ListPackageVersions',\n\t\toptions: {},\n\t\tI: ListPackageVersionsRequest,\n\t\tO: ListPackageVersionsResponse,\n\t},\n]);\n"],
5
- "mappings": "AAWA,SAAS,mBAAmB;AAC5B,SAAS,mBAAmB;AAC5B,SAAS,0BAA0B;AACnC,SAAS,0BAA0B;AACnC,SAAS,eAAe;AA8JxB,MAAM,+BAA+B,YAA+B;AAAA,EACnE,cAAc;AACb,UAAM,qCAAqC;AAAA,MAC1C;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAc,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,IACpF,CAAC;AAAA,EACF;AACD;AAIO,MAAM,oBAAoB,IAAI,uBAAuB;AAE5D,MAAM,gCAAgC,YAAgC;AAAA,EACrE,cAAc;AACb,UAAM,sCAAsC;AAAA,MAC3C,EAAE,IAAI,GAAG,MAAM,WAAW,MAAM,WAAW,GAAG,MAAM,QAAQ;AAAA,IAC7D,CAAC;AAAA,EACF;AACD;AAIO,MAAM,qBAAqB,IAAI,wBAAwB;AAE9D,MAAM,gCAAgC,YAAgC;AAAA,EACrE,cAAc;AACb,UAAM,sCAAsC;AAAA,MAC3C;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAc,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MACnF;AAAA,QAAE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AoB;AAI/C,MAAM,qBAAqB,IAAI,YAAY,sCAAsC;AAAA,EACvF,EAAE,MAAM,cAAc,SAAS,CAAC,GAAG,GAAG,mBAAmB,GAAG,mBAAmB;AAAA,EAC/E,EAAE,MAAM,eAAe,SAAS,CAAC,GAAG,GAAG,oBAAoB,GAAG,oBAAoB;AAAA,EAClF,EAAE,MAAM,eAAe,SAAS,CAAC,GAAG,GAAG,oBAAoB,GAAG,oBAAoB;AAAA,EAClF;AAAA,IACC,MAAM;AAAA,IACN,SAAS,CAAC;AAAA,IACV,GAAG;AAAA,IACH,GAAG;AAAA,EACJ;AACD,CAAC;",
6
- "names": []
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2beta2/name_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/v2beta2/name_service.proto\" (package \"sui.rpc.v2beta2\", 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 { NameService } from './name_service.js';\nimport type { ReverseLookupNameResponse } from './name_service.js';\nimport type { ReverseLookupNameRequest } from './name_service.js';\nimport { stackIntercept } from '@protobuf-ts/runtime-rpc';\nimport type { LookupNameResponse } from './name_service.js';\nimport type { LookupNameRequest } from './name_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.v2beta2.NameService\n */\nexport interface INameServiceClient {\n\t/**\n\t * @generated from protobuf rpc: LookupName(sui.rpc.v2beta2.LookupNameRequest) returns (sui.rpc.v2beta2.LookupNameResponse);\n\t */\n\tlookupName(\n\t\tinput: LookupNameRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<LookupNameRequest, LookupNameResponse>;\n\t/**\n\t * @generated from protobuf rpc: ReverseLookupName(sui.rpc.v2beta2.ReverseLookupNameRequest) returns (sui.rpc.v2beta2.ReverseLookupNameResponse);\n\t */\n\treverseLookupName(\n\t\tinput: ReverseLookupNameRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<ReverseLookupNameRequest, ReverseLookupNameResponse>;\n}\n/**\n * @generated from protobuf service sui.rpc.v2beta2.NameService\n */\nexport class NameServiceClient implements INameServiceClient, ServiceInfo {\n\ttypeName = NameService.typeName;\n\tmethods = NameService.methods;\n\toptions = NameService.options;\n\tconstructor(private readonly _transport: RpcTransport) {}\n\t/**\n\t * @generated from protobuf rpc: LookupName(sui.rpc.v2beta2.LookupNameRequest) returns (sui.rpc.v2beta2.LookupNameResponse);\n\t */\n\tlookupName(\n\t\tinput: LookupNameRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<LookupNameRequest, LookupNameResponse> {\n\t\tconst method = this.methods[0],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<LookupNameRequest, LookupNameResponse>(\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: ReverseLookupName(sui.rpc.v2beta2.ReverseLookupNameRequest) returns (sui.rpc.v2beta2.ReverseLookupNameResponse);\n\t */\n\treverseLookupName(\n\t\tinput: ReverseLookupNameRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<ReverseLookupNameRequest, ReverseLookupNameResponse> {\n\t\tconst method = this.methods[1],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<ReverseLookupNameRequest, ReverseLookupNameResponse>(\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,mBAAmB;AAG5B,SAAS,sBAAsB;AA2BxB,MAAM,kBAA6D;AAAA,EAIzE,YAA6B,YAA0B;AAA1B;AAH7B,oBAAW,YAAY;AACvB,mBAAU,YAAY;AACtB,mBAAU,YAAY;AAAA,EACkC;AAAA;AAAA;AAAA;AAAA,EAIxD,WACC,OACA,SACmD;AACnD,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;AAAA;AAAA;AAAA;AAAA,EAIA,kBACC,OACA,SACiE;AACjE,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
- "names": []
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2beta2/name_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/v2beta2/name_service.proto\" (package \"sui.rpc.v2beta2\", 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 { Timestamp } from '../../../google/protobuf/timestamp.js';\n/**\n * @generated from protobuf message sui.rpc.v2beta2.LookupNameRequest\n */\nexport interface LookupNameRequest {\n\t/**\n\t * Required. The SuiNS name to lookup.\n\t *\n\t * Supports both `@name` as well as `name.sui` formats.\n\t *\n\t * @generated from protobuf field: optional string name = 1;\n\t */\n\tname?: string;\n}\n/**\n * @generated from protobuf message sui.rpc.v2beta2.LookupNameResponse\n */\nexport interface LookupNameResponse {\n\t/**\n\t * The record for the requested name\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.NameRecord record = 1;\n\t */\n\trecord?: NameRecord;\n}\n/**\n * @generated from protobuf message sui.rpc.v2beta2.ReverseLookupNameRequest\n */\nexport interface ReverseLookupNameRequest {\n\t/**\n\t * Required. The address to perform a reverse lookup for.\n\t *\n\t * @generated from protobuf field: optional string address = 1;\n\t */\n\taddress?: string;\n}\n/**\n * @generated from protobuf message sui.rpc.v2beta2.ReverseLookupNameResponse\n */\nexport interface ReverseLookupNameResponse {\n\t/**\n\t * The record for the SuiNS name linked to the requested address\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.NameRecord record = 1;\n\t */\n\trecord?: NameRecord;\n}\n/**\n * @generated from protobuf message sui.rpc.v2beta2.NameRecord\n */\nexport interface NameRecord {\n\t/**\n\t * Id of this record.\n\t *\n\t * Note that records are stored on chain as dynamic fields of the type\n\t * `Field<Domain,NameRecord>`.\n\t *\n\t * @generated from protobuf field: optional string id = 1;\n\t */\n\tid?: string;\n\t/**\n\t * The SuiNS name of this record\n\t *\n\t * @generated from protobuf field: optional string name = 2;\n\t */\n\tname?: string;\n\t/**\n\t * The ID of the `RegistrationNFT` assigned to this record.\n\t *\n\t * The owner of the corrisponding `RegistrationNFT` has the rights to\n\t * be able to change and adjust the `target_address` of this domain.\n\t *\n\t * It is possible that the ID changes if the record expires and is\n\t * purchased by someone else.\n\t *\n\t * @generated from protobuf field: optional string registration_nft_id = 3;\n\t */\n\tregistrationNftId?: string;\n\t/**\n\t * Timestamp when the record expires.\n\t *\n\t * This is either the expiration of the record itself or the expiration of\n\t * this record's parent if this is a leaf record.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.Timestamp expiration_timestamp = 4;\n\t */\n\texpirationTimestamp?: Timestamp;\n\t/**\n\t * The target address that this name points to\n\t *\n\t * @generated from protobuf field: optional string target_address = 5;\n\t */\n\ttargetAddress?: string;\n\t/**\n\t * Additional data which may be stored in a record\n\t *\n\t * @generated from protobuf field: map<string, string> data = 6;\n\t */\n\tdata: {\n\t\t[key: string]: string;\n\t};\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass LookupNameRequest$Type extends MessageType<LookupNameRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.LookupNameRequest', [\n\t\t\t{ no: 1, name: 'name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.LookupNameRequest\n */\nexport const LookupNameRequest = new LookupNameRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass LookupNameResponse$Type extends MessageType<LookupNameResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.LookupNameResponse', [\n\t\t\t{ no: 1, name: 'record', kind: 'message', T: () => NameRecord },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.LookupNameResponse\n */\nexport const LookupNameResponse = new LookupNameResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ReverseLookupNameRequest$Type extends MessageType<ReverseLookupNameRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.ReverseLookupNameRequest', [\n\t\t\t{ no: 1, name: 'address', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.ReverseLookupNameRequest\n */\nexport const ReverseLookupNameRequest = new ReverseLookupNameRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ReverseLookupNameResponse$Type extends MessageType<ReverseLookupNameResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.ReverseLookupNameResponse', [\n\t\t\t{ no: 1, name: 'record', kind: 'message', T: () => NameRecord },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.ReverseLookupNameResponse\n */\nexport const ReverseLookupNameResponse = new ReverseLookupNameResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass NameRecord$Type extends MessageType<NameRecord> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.NameRecord', [\n\t\t\t{ no: 1, name: 'id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'registration_nft_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 4, name: 'expiration_timestamp', kind: 'message', T: () => Timestamp },\n\t\t\t{ no: 5, name: 'target_address', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: 'data',\n\t\t\t\tkind: 'map',\n\t\t\t\tK: 9 /*ScalarType.STRING*/,\n\t\t\t\tV: { kind: 'scalar', T: 9 /*ScalarType.STRING*/ },\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.NameRecord\n */\nexport const NameRecord = new NameRecord$Type();\n/**\n * @generated ServiceType for protobuf service sui.rpc.v2beta2.NameService\n */\nexport const NameService = new ServiceType('sui.rpc.v2beta2.NameService', [\n\t{ name: 'LookupName', options: {}, I: LookupNameRequest, O: LookupNameResponse },\n\t{\n\t\tname: 'ReverseLookupName',\n\t\toptions: {},\n\t\tI: ReverseLookupNameRequest,\n\t\tO: ReverseLookupNameResponse,\n\t},\n]);\n"],
5
- "mappings": "AAWA,SAAS,mBAAmB;AAC5B,SAAS,mBAAmB;AAC5B,SAAS,iBAAiB;AA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AAA,MAAwB;AAAA,MAC7E;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAuB,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MAC5F,EAAE,IAAI,GAAG,MAAM,wBAAwB,MAAM,WAAW,GAAG,MAAM,UAAU;AAAA,MAC3E;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAkB,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MACvF;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,GAAG;AAAA,QACH,GAAG;AAAA,UAAE,MAAM;AAAA,UAAU,GAAG;AAAA;AAAA,QAAwB;AAAA,MACjD;AAAA,IACD,CAAC;AAAA,EACF;AACD;AAIO,MAAM,aAAa,IAAI,gBAAgB;AAIvC,MAAM,cAAc,IAAI,YAAY,+BAA+B;AAAA,EACzE,EAAE,MAAM,cAAc,SAAS,CAAC,GAAG,GAAG,mBAAmB,GAAG,mBAAmB;AAAA,EAC/E;AAAA,IACC,MAAM;AAAA,IACN,SAAS,CAAC;AAAA,IACV,GAAG;AAAA,IACH,GAAG;AAAA,EACJ;AACD,CAAC;",
6
- "names": []
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2beta2/object.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/v2beta2/object.proto\" (package \"sui.rpc.v2beta2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { MessageType } from '@protobuf-ts/runtime';\nimport { Value } from '../../../google/protobuf/struct.js';\nimport { Package } from './move_package.js';\nimport { Owner } from './owner.js';\nimport { Bcs } from './bcs.js';\n/**\n * An object on the Sui blockchain.\n *\n * @generated from protobuf message sui.rpc.v2beta2.Object\n */\nexport interface Object {\n\t/**\n\t * This Object serialized as BCS.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.Bcs bcs = 1;\n\t */\n\tbcs?: Bcs;\n\t/**\n\t * `ObjectId` for this object.\n\t *\n\t * @generated from protobuf field: optional string object_id = 2;\n\t */\n\tobjectId?: string;\n\t/**\n\t * Version of the object.\n\t *\n\t * @generated from protobuf field: optional uint64 version = 3;\n\t */\n\tversion?: bigint;\n\t/**\n\t * The digest of this Object.\n\t *\n\t * @generated from protobuf field: optional string digest = 4;\n\t */\n\tdigest?: string;\n\t/**\n\t * Owner of the object.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.Owner owner = 5;\n\t */\n\towner?: Owner;\n\t/**\n\t * The type of this object.\n\t *\n\t * This will be 'package' for packages and a StructTag for move structs.\n\t *\n\t * @generated from protobuf field: optional string object_type = 6;\n\t */\n\tobjectType?: string;\n\t/**\n\t * DEPRECATED this field is no longer used to determine whether a tx can transfer this\n\t * object. Instead, it is always calculated from the objects type when loaded in execution.\n\t *\n\t * Only set for Move structs\n\t *\n\t * @generated from protobuf field: optional bool has_public_transfer = 7;\n\t */\n\thasPublicTransfer?: boolean;\n\t/**\n\t * BCS bytes of a Move struct value.\n\t *\n\t * Only set for Move structs\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.Bcs contents = 8;\n\t */\n\tcontents?: Bcs;\n\t/**\n\t * Package information for Move Packages\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.Package package = 9;\n\t */\n\tpackage?: Package;\n\t/**\n\t * The digest of the transaction that created or last mutated this object\n\t *\n\t * @generated from protobuf field: optional string previous_transaction = 10;\n\t */\n\tpreviousTransaction?: string;\n\t/**\n\t * The amount of SUI to rebate if this object gets deleted.\n\t * This number is re-calculated each time the object is mutated based on\n\t * the present storage gas price.\n\t *\n\t * @generated from protobuf field: optional uint64 storage_rebate = 11;\n\t */\n\tstorageRebate?: bigint;\n\t/**\n\t * JSON rendering of the object.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.Value json = 100;\n\t */\n\tjson?: Value;\n\t/**\n\t * Current balance if this object is a `0x2::coin::Coin<T>`\n\t *\n\t * @generated from protobuf field: optional uint64 balance = 101;\n\t */\n\tbalance?: bigint;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass Object$Type extends MessageType<Object> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.Object', [\n\t\t\t{ no: 1, name: 'bcs', kind: 'message', T: () => Bcs },\n\t\t\t{ no: 2, name: 'object_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'version',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 4, name: 'digest', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 5, name: 'owner', kind: 'message', T: () => Owner },\n\t\t\t{ no: 6, name: 'object_type', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 7, name: 'has_public_transfer', kind: 'scalar', opt: true, T: 8 /*ScalarType.BOOL*/ },\n\t\t\t{ no: 8, name: 'contents', kind: 'message', T: () => Bcs },\n\t\t\t{ no: 9, name: 'package', kind: 'message', T: () => Package },\n\t\t\t{\n\t\t\t\tno: 10,\n\t\t\t\tname: 'previous_transaction',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 9 /*ScalarType.STRING*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 11,\n\t\t\t\tname: 'storage_rebate',\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: 100, name: 'json', kind: 'message', T: () => Value },\n\t\t\t{\n\t\t\t\tno: 101,\n\t\t\t\tname: 'balance',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.Object\n */\nexport const Object = new Object$Type();\n"],
5
- "mappings": "AAWA,SAAS,mBAAmB;AAC5B,SAAS,aAAa;AACtB,SAAS,eAAe;AACxB,SAAS,aAAa;AACtB,SAAS,WAAW;AAgGpB,MAAM,oBAAoB,YAAoB;AAAA,EAC7C,cAAc;AACb,UAAM,0BAA0B;AAAA,MAC/B,EAAE,IAAI,GAAG,MAAM,OAAO,MAAM,WAAW,GAAG,MAAM,IAAI;AAAA,MACpD;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAa,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MAClF;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,KAAK;AAAA,QACL,GAAG;AAAA,QACH,GAAG;AAAA,MACJ;AAAA,MACA;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAU,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MAC/E,EAAE,IAAI,GAAG,MAAM,SAAS,MAAM,WAAW,GAAG,MAAM,MAAM;AAAA,MACxD;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAe,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MACpF;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAuB,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAsB;AAAA,MAC1F,EAAE,IAAI,GAAG,MAAM,YAAY,MAAM,WAAW,GAAG,MAAM,IAAI;AAAA,MACzD,EAAE,IAAI,GAAG,MAAM,WAAW,MAAM,WAAW,GAAG,MAAM,QAAQ;AAAA,MAC5D;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,KAAK;AAAA,QACL,GAAG;AAAA,MACJ;AAAA,MACA;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,KAAK;AAAA,QACL,GAAG;AAAA,QACH,GAAG;AAAA,MACJ;AAAA,MACA,EAAE,IAAI,KAAK,MAAM,QAAQ,MAAM,WAAW,GAAG,MAAM,MAAM;AAAA,MACzD;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,KAAK;AAAA,QACL,GAAG;AAAA,QACH,GAAG;AAAA,MACJ;AAAA,IACD,CAAC;AAAA,EACF;AACD;AAIO,MAAM,SAAS,IAAI,YAAY;",
6
- "names": []
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2beta2/object_reference.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/v2beta2/object_reference.proto\" (package \"sui.rpc.v2beta2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { MessageType } from '@protobuf-ts/runtime';\n/**\n * Reference to an object.\n *\n * @generated from protobuf message sui.rpc.v2beta2.ObjectReference\n */\nexport interface ObjectReference {\n\t/**\n\t * The object id of this object.\n\t *\n\t * @generated from protobuf field: optional string object_id = 1;\n\t */\n\tobjectId?: string;\n\t/**\n\t * The version of this object.\n\t *\n\t * @generated from protobuf field: optional uint64 version = 2;\n\t */\n\tversion?: bigint;\n\t/**\n\t * The digest of this object.\n\t *\n\t * @generated from protobuf field: optional string digest = 3;\n\t */\n\tdigest?: string;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass ObjectReference$Type extends MessageType<ObjectReference> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.ObjectReference', [\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: 'digest', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.ObjectReference\n */\nexport const ObjectReference = new ObjectReference$Type();\n"],
5
- "mappings": "AAWA,SAAS,mBAAmB;AA2B5B,MAAM,6BAA6B,YAA6B;AAAA,EAC/D,cAAc;AACb,UAAM,mCAAmC;AAAA,MACxC;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAa,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MAClF;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,KAAK;AAAA,QACL,GAAG;AAAA,QACH,GAAG;AAAA,MACJ;AAAA,MACA;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAU,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,IAChF,CAAC;AAAA,EACF;AACD;AAIO,MAAM,kBAAkB,IAAI,qBAAqB;",
6
- "names": []
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2beta2/owner.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/v2beta2/owner.proto\" (package \"sui.rpc.v2beta2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { MessageType } from '@protobuf-ts/runtime';\n/**\n * Enum of different types of ownership for an object.\n *\n * @generated from protobuf message sui.rpc.v2beta2.Owner\n */\nexport interface Owner {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.Owner.OwnerKind kind = 1;\n\t */\n\tkind?: Owner_OwnerKind;\n\t/**\n\t * Address or ObjectId of the owner\n\t *\n\t * @generated from protobuf field: optional string address = 2;\n\t */\n\taddress?: string;\n\t/**\n\t * The `initial_shared_version` if kind is `SHARED` or `start_version` if kind `CONSENSUS_ADDRESS`.\n\t *\n\t * @generated from protobuf field: optional uint64 version = 3;\n\t */\n\tversion?: bigint;\n}\n/**\n * @generated from protobuf enum sui.rpc.v2beta2.Owner.OwnerKind\n */\nexport enum Owner_OwnerKind {\n\t/**\n\t * @generated from protobuf enum value: OWNER_KIND_UNKNOWN = 0;\n\t */\n\tOWNER_KIND_UNKNOWN = 0,\n\t/**\n\t * @generated from protobuf enum value: ADDRESS = 1;\n\t */\n\tADDRESS = 1,\n\t/**\n\t * @generated from protobuf enum value: OBJECT = 2;\n\t */\n\tOBJECT = 2,\n\t/**\n\t * @generated from protobuf enum value: SHARED = 3;\n\t */\n\tSHARED = 3,\n\t/**\n\t * @generated from protobuf enum value: IMMUTABLE = 4;\n\t */\n\tIMMUTABLE = 4,\n\t/**\n\t * @generated from protobuf enum value: CONSENSUS_ADDRESS = 5;\n\t */\n\tCONSENSUS_ADDRESS = 5,\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass Owner$Type extends MessageType<Owner> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.Owner', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'kind',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => ['sui.rpc.v2beta2.Owner.OwnerKind', Owner_OwnerKind],\n\t\t\t},\n\t\t\t{ no: 2, name: 'address', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'version',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.Owner\n */\nexport const Owner = new Owner$Type();\n"],
5
- "mappings": "AAWA,SAAS,mBAAmB;AA2BrB,IAAK,kBAAL,kBAAKA,qBAAL;AAIN,EAAAA,kCAAA,wBAAqB,KAArB;AAIA,EAAAA,kCAAA,aAAU,KAAV;AAIA,EAAAA,kCAAA,YAAS,KAAT;AAIA,EAAAA,kCAAA,YAAS,KAAT;AAIA,EAAAA,kCAAA,eAAY,KAAZ;AAIA,EAAAA,kCAAA,uBAAoB,KAApB;AAxBW,SAAAA;AAAA,GAAA;AA2BZ,MAAM,mBAAmB,YAAmB;AAAA,EAC3C,cAAc;AACb,UAAM,yBAAyB;AAAA,MAC9B;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,KAAK;AAAA,QACL,GAAG,MAAM,CAAC,mCAAmC,eAAe;AAAA,MAC7D;AAAA,MACA;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAW,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MAChF;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,KAAK;AAAA,QACL,GAAG;AAAA,QACH,GAAG;AAAA,MACJ;AAAA,IACD,CAAC;AAAA,EACF;AACD;AAIO,MAAM,QAAQ,IAAI,WAAW;",
6
- "names": ["Owner_OwnerKind"]
7
- }
@@ -1,42 +0,0 @@
1
- import { MessageType } from "@protobuf-ts/runtime";
2
- class ProtocolConfig$Type extends MessageType {
3
- constructor() {
4
- super("sui.rpc.v2beta2.ProtocolConfig", [
5
- {
6
- no: 1,
7
- name: "protocol_version",
8
- kind: "scalar",
9
- opt: true,
10
- T: 4,
11
- L: 0
12
- },
13
- {
14
- no: 2,
15
- name: "feature_flags",
16
- kind: "map",
17
- K: 9,
18
- V: {
19
- kind: "scalar",
20
- T: 8
21
- /*ScalarType.BOOL*/
22
- }
23
- },
24
- {
25
- no: 3,
26
- name: "attributes",
27
- kind: "map",
28
- K: 9,
29
- V: {
30
- kind: "scalar",
31
- T: 9
32
- /*ScalarType.STRING*/
33
- }
34
- }
35
- ]);
36
- }
37
- }
38
- const ProtocolConfig = new ProtocolConfig$Type();
39
- export {
40
- ProtocolConfig
41
- };
42
- //# sourceMappingURL=protocol_config.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2beta2/protocol_config.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/v2beta2/protocol_config.proto\" (package \"sui.rpc.v2beta2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { MessageType } from '@protobuf-ts/runtime';\n/**\n * @generated from protobuf message sui.rpc.v2beta2.ProtocolConfig\n */\nexport interface ProtocolConfig {\n\t/**\n\t * @generated from protobuf field: optional uint64 protocol_version = 1;\n\t */\n\tprotocolVersion?: bigint;\n\t/**\n\t * @generated from protobuf field: map<string, bool> feature_flags = 2;\n\t */\n\tfeatureFlags: {\n\t\t[key: string]: boolean;\n\t};\n\t/**\n\t * @generated from protobuf field: map<string, string> attributes = 3;\n\t */\n\tattributes: {\n\t\t[key: string]: string;\n\t};\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass ProtocolConfig$Type extends MessageType<ProtocolConfig> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.ProtocolConfig', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'protocol_version',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'feature_flags',\n\t\t\t\tkind: 'map',\n\t\t\t\tK: 9 /*ScalarType.STRING*/,\n\t\t\t\tV: { kind: 'scalar', T: 8 /*ScalarType.BOOL*/ },\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'attributes',\n\t\t\t\tkind: 'map',\n\t\t\t\tK: 9 /*ScalarType.STRING*/,\n\t\t\t\tV: { kind: 'scalar', T: 9 /*ScalarType.STRING*/ },\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.ProtocolConfig\n */\nexport const ProtocolConfig = new ProtocolConfig$Type();\n"],
5
- "mappings": "AAWA,SAAS,mBAAmB;AAuB5B,MAAM,4BAA4B,YAA4B;AAAA,EAC7D,cAAc;AACb,UAAM,kCAAkC;AAAA,MACvC;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,KAAK;AAAA,QACL,GAAG;AAAA,QACH,GAAG;AAAA,MACJ;AAAA,MACA;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,GAAG;AAAA,QACH,GAAG;AAAA,UAAE,MAAM;AAAA,UAAU,GAAG;AAAA;AAAA,QAAsB;AAAA,MAC/C;AAAA,MACA;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,GAAG;AAAA,QACH,GAAG;AAAA,UAAE,MAAM;AAAA,UAAU,GAAG;AAAA;AAAA,QAAwB;AAAA,MACjD;AAAA,IACD,CAAC;AAAA,EACF;AACD;AAIO,MAAM,iBAAiB,IAAI,oBAAoB;",
6
- "names": []
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2beta2/signature.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/v2beta2/signature.proto\" (package \"sui.rpc.v2beta2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { MessageType } from '@protobuf-ts/runtime';\nimport { SignatureScheme } from './signature_scheme.js';\nimport { Bcs } from './bcs.js';\n/**\n * A signature from a user.\n *\n * @generated from protobuf message sui.rpc.v2beta2.UserSignature\n */\nexport interface UserSignature {\n\t/**\n\t * This signature serialized as as BCS.\n\t *\n\t * When provided as input this will support both the form that is length\n\t * prefixed as well as not length prefixed.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.Bcs bcs = 1;\n\t */\n\tbcs?: Bcs;\n\t/**\n\t * The signature scheme of this signature.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.SignatureScheme scheme = 2;\n\t */\n\tscheme?: SignatureScheme;\n\t/**\n\t * @generated from protobuf oneof: signature\n\t */\n\tsignature:\n\t\t| {\n\t\t\t\toneofKind: 'simple';\n\t\t\t\t/**\n\t\t\t\t * Simple signature if scheme is ed25519 | secp256k1 | secp256r1.\n\t\t\t\t *\n\t\t\t\t * @generated from protobuf field: sui.rpc.v2beta2.SimpleSignature simple = 3;\n\t\t\t\t */\n\t\t\t\tsimple: SimpleSignature;\n\t\t }\n\t\t| {\n\t\t\t\toneofKind: 'multisig';\n\t\t\t\t/**\n\t\t\t\t * The multisig aggregated signature if scheme is `MULTISIG`.\n\t\t\t\t *\n\t\t\t\t * @generated from protobuf field: sui.rpc.v2beta2.MultisigAggregatedSignature multisig = 4;\n\t\t\t\t */\n\t\t\t\tmultisig: MultisigAggregatedSignature;\n\t\t }\n\t\t| {\n\t\t\t\toneofKind: 'zklogin';\n\t\t\t\t/**\n\t\t\t\t * The zklogin authenticator if scheme is `ZKLOGIN`.\n\t\t\t\t *\n\t\t\t\t * @generated from protobuf field: sui.rpc.v2beta2.ZkLoginAuthenticator zklogin = 5;\n\t\t\t\t */\n\t\t\t\tzklogin: ZkLoginAuthenticator;\n\t\t }\n\t\t| {\n\t\t\t\toneofKind: 'passkey';\n\t\t\t\t/**\n\t\t\t\t * The passkey authenticator if scheme is `PASSKEY`.\n\t\t\t\t *\n\t\t\t\t * @generated from protobuf field: sui.rpc.v2beta2.PasskeyAuthenticator passkey = 6;\n\t\t\t\t */\n\t\t\t\tpasskey: PasskeyAuthenticator;\n\t\t }\n\t\t| {\n\t\t\t\toneofKind: undefined;\n\t\t };\n}\n/**\n * Either an ed25519, secp256k1 or secp256r1 signature\n *\n * @generated from protobuf message sui.rpc.v2beta2.SimpleSignature\n */\nexport interface SimpleSignature {\n\t/**\n\t * The signature scheme of this signature.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.SignatureScheme scheme = 1;\n\t */\n\tscheme?: SignatureScheme;\n\t/**\n\t * Signature bytes\n\t *\n\t * @generated from protobuf field: optional bytes signature = 2;\n\t */\n\tsignature?: Uint8Array;\n\t/**\n\t * Public key bytes\n\t *\n\t * @generated from protobuf field: optional bytes public_key = 3;\n\t */\n\tpublicKey?: Uint8Array;\n}\n/**\n * Public key equivalent for zklogin authenticators.\n *\n * @generated from protobuf message sui.rpc.v2beta2.ZkLoginPublicIdentifier\n */\nexport interface ZkLoginPublicIdentifier {\n\t/**\n\t * @generated from protobuf field: optional string iss = 1;\n\t */\n\tiss?: string;\n\t/**\n\t * base10 encoded Bn254FieldElement\n\t *\n\t * @generated from protobuf field: optional string address_seed = 2;\n\t */\n\taddressSeed?: string;\n}\n/**\n * Set of valid public keys for multisig committee members.\n *\n * @generated from protobuf message sui.rpc.v2beta2.MultisigMemberPublicKey\n */\nexport interface MultisigMemberPublicKey {\n\t/**\n\t * The signature scheme of this public key.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.SignatureScheme scheme = 1;\n\t */\n\tscheme?: SignatureScheme;\n\t/**\n\t * Public key bytes if scheme is ed25519 | secp256k1 | secp256r1 | passkey.\n\t *\n\t * @generated from protobuf field: optional bytes public_key = 2;\n\t */\n\tpublicKey?: Uint8Array;\n\t/**\n\t * A zklogin public identifier if scheme is zklogin.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.ZkLoginPublicIdentifier zklogin = 3;\n\t */\n\tzklogin?: ZkLoginPublicIdentifier;\n}\n/**\n * A member in a multisig committee.\n *\n * @generated from protobuf message sui.rpc.v2beta2.MultisigMember\n */\nexport interface MultisigMember {\n\t/**\n\t * The public key of the committee member.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.MultisigMemberPublicKey public_key = 1;\n\t */\n\tpublicKey?: MultisigMemberPublicKey;\n\t/**\n\t * The weight of this member's signature.\n\t *\n\t * @generated from protobuf field: optional uint32 weight = 2;\n\t */\n\tweight?: number;\n}\n/**\n * A multisig committee.\n *\n * @generated from protobuf message sui.rpc.v2beta2.MultisigCommittee\n */\nexport interface MultisigCommittee {\n\t/**\n\t * A list of committee members and their corresponding weight.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2beta2.MultisigMember members = 1;\n\t */\n\tmembers: MultisigMember[];\n\t/**\n\t * The threshold of signatures needed to validate a signature from\n\t * this committee.\n\t *\n\t * @generated from protobuf field: optional uint32 threshold = 2;\n\t */\n\tthreshold?: number;\n}\n/**\n * Aggregated signature from members of a multisig committee.\n *\n * @generated from protobuf message sui.rpc.v2beta2.MultisigAggregatedSignature\n */\nexport interface MultisigAggregatedSignature {\n\t/**\n\t * The plain signatures encoded with signature scheme.\n\t *\n\t * The signatures must be in the same order as they are listed in the committee.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2beta2.MultisigMemberSignature signatures = 1;\n\t */\n\tsignatures: MultisigMemberSignature[];\n\t/**\n\t * Bitmap indicating which committee members contributed to the\n\t * signature.\n\t *\n\t * @generated from protobuf field: optional uint32 bitmap = 2;\n\t */\n\tbitmap?: number;\n\t/**\n\t * If present, means this signature's on-chain format uses the old\n\t * legacy multisig format.\n\t *\n\t * @generated from protobuf field: repeated uint32 legacy_bitmap = 3;\n\t */\n\tlegacyBitmap: number[];\n\t/**\n\t * The committee to use to validate this signature.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.MultisigCommittee committee = 4;\n\t */\n\tcommittee?: MultisigCommittee;\n}\n/**\n * A signature from a member of a multisig committee.\n *\n * @generated from protobuf message sui.rpc.v2beta2.MultisigMemberSignature\n */\nexport interface MultisigMemberSignature {\n\t/**\n\t * The signature scheme of this signature.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.SignatureScheme scheme = 1;\n\t */\n\tscheme?: SignatureScheme;\n\t/**\n\t * Signature bytes if scheme is ed25519 | secp256k1 | secp256r1.\n\t *\n\t * @generated from protobuf field: optional bytes signature = 2;\n\t */\n\tsignature?: Uint8Array;\n\t/**\n\t * The zklogin authenticator if scheme is `ZKLOGIN`.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.ZkLoginAuthenticator zklogin = 3;\n\t */\n\tzklogin?: ZkLoginAuthenticator;\n\t/**\n\t * The passkey authenticator if scheme is `PASSKEY`.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.PasskeyAuthenticator passkey = 4;\n\t */\n\tpasskey?: PasskeyAuthenticator;\n}\n/**\n * A zklogin authenticator.\n *\n * @generated from protobuf message sui.rpc.v2beta2.ZkLoginAuthenticator\n */\nexport interface ZkLoginAuthenticator {\n\t/**\n\t * Zklogin proof and inputs required to perform proof verification.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.ZkLoginInputs inputs = 1;\n\t */\n\tinputs?: ZkLoginInputs;\n\t/**\n\t * Maximum epoch for which the proof is valid.\n\t *\n\t * @generated from protobuf field: optional uint64 max_epoch = 2;\n\t */\n\tmaxEpoch?: bigint;\n\t/**\n\t * User signature with the public key attested to by the provided proof.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.SimpleSignature signature = 3;\n\t */\n\tsignature?: SimpleSignature;\n}\n/**\n * A zklogin groth16 proof and the required inputs to perform proof verification.\n *\n * @generated from protobuf message sui.rpc.v2beta2.ZkLoginInputs\n */\nexport interface ZkLoginInputs {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.ZkLoginProof proof_points = 1;\n\t */\n\tproofPoints?: ZkLoginProof;\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.ZkLoginClaim iss_base64_details = 2;\n\t */\n\tissBase64Details?: ZkLoginClaim;\n\t/**\n\t * @generated from protobuf field: optional string header_base64 = 3;\n\t */\n\theaderBase64?: string;\n\t/**\n\t * base10 encoded Bn254FieldElement\n\t *\n\t * @generated from protobuf field: optional string address_seed = 4;\n\t */\n\taddressSeed?: string;\n}\n/**\n * A zklogin groth16 proof.\n *\n * @generated from protobuf message sui.rpc.v2beta2.ZkLoginProof\n */\nexport interface ZkLoginProof {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.CircomG1 a = 1;\n\t */\n\ta?: CircomG1;\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.CircomG2 b = 2;\n\t */\n\tb?: CircomG2;\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.CircomG1 c = 3;\n\t */\n\tc?: CircomG1;\n}\n/**\n * A claim of the iss in a zklogin proof.\n *\n * @generated from protobuf message sui.rpc.v2beta2.ZkLoginClaim\n */\nexport interface ZkLoginClaim {\n\t/**\n\t * @generated from protobuf field: optional string value = 1;\n\t */\n\tvalue?: string;\n\t/**\n\t * @generated from protobuf field: optional uint32 index_mod_4 = 2;\n\t */\n\tindexMod4?: number;\n}\n/**\n * A G1 point.\n *\n * @generated from protobuf message sui.rpc.v2beta2.CircomG1\n */\nexport interface CircomG1 {\n\t/**\n\t * base10 encoded Bn254FieldElement\n\t *\n\t * @generated from protobuf field: optional string e0 = 1;\n\t */\n\te0?: string;\n\t/**\n\t * base10 encoded Bn254FieldElement\n\t *\n\t * @generated from protobuf field: optional string e1 = 2;\n\t */\n\te1?: string;\n\t/**\n\t * base10 encoded Bn254FieldElement\n\t *\n\t * @generated from protobuf field: optional string e2 = 3;\n\t */\n\te2?: string;\n}\n/**\n * A G2 point.\n *\n * @generated from protobuf message sui.rpc.v2beta2.CircomG2\n */\nexport interface CircomG2 {\n\t/**\n\t * base10 encoded Bn254FieldElement\n\t *\n\t * @generated from protobuf field: optional string e00 = 1;\n\t */\n\te00?: string;\n\t/**\n\t * base10 encoded Bn254FieldElement\n\t *\n\t * @generated from protobuf field: optional string e01 = 2;\n\t */\n\te01?: string;\n\t/**\n\t * base10 encoded Bn254FieldElement\n\t *\n\t * @generated from protobuf field: optional string e10 = 3;\n\t */\n\te10?: string;\n\t/**\n\t * base10 encoded Bn254FieldElement\n\t *\n\t * @generated from protobuf field: optional string e11 = 4;\n\t */\n\te11?: string;\n\t/**\n\t * base10 encoded Bn254FieldElement\n\t *\n\t * @generated from protobuf field: optional string e20 = 5;\n\t */\n\te20?: string;\n\t/**\n\t * base10 encoded Bn254FieldElement\n\t *\n\t * @generated from protobuf field: optional string e21 = 6;\n\t */\n\te21?: string;\n}\n/**\n * A passkey authenticator.\n *\n * See\n * [struct.PasskeyAuthenticator](https://mystenlabs.github.io/sui-rust-sdk/sui_sdk_types/struct.PasskeyAuthenticator.html#bcs)\n * for more information on the requirements on the shape of the\n * `client_data_json` field.\n *\n * @generated from protobuf message sui.rpc.v2beta2.PasskeyAuthenticator\n */\nexport interface PasskeyAuthenticator {\n\t/**\n\t * Opaque authenticator data for this passkey signature.\n\t *\n\t * See [Authenticator Data](https://www.w3.org/TR/webauthn-2/#sctn-authenticator-data) for\n\t * more information on this field.\n\t *\n\t * @generated from protobuf field: optional bytes authenticator_data = 1;\n\t */\n\tauthenticatorData?: Uint8Array;\n\t/**\n\t * Structured, unparsed, JSON for this passkey signature.\n\t *\n\t * See [CollectedClientData](https://www.w3.org/TR/webauthn-2/#dictdef-collectedclientdata)\n\t * for more information on this field.\n\t *\n\t * @generated from protobuf field: optional string client_data_json = 2;\n\t */\n\tclientDataJson?: string;\n\t/**\n\t * A secp256r1 signature.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.SimpleSignature signature = 3;\n\t */\n\tsignature?: SimpleSignature;\n}\n/**\n * The validator set for a particular epoch.\n *\n * @generated from protobuf message sui.rpc.v2beta2.ValidatorCommittee\n */\nexport interface ValidatorCommittee {\n\t/**\n\t * The epoch where this committee governs.\n\t *\n\t * @generated from protobuf field: optional uint64 epoch = 1;\n\t */\n\tepoch?: bigint;\n\t/**\n\t * The committee members.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2beta2.ValidatorCommitteeMember members = 2;\n\t */\n\tmembers: ValidatorCommitteeMember[];\n}\n/**\n * A member of a validator committee.\n *\n * @generated from protobuf message sui.rpc.v2beta2.ValidatorCommitteeMember\n */\nexport interface ValidatorCommitteeMember {\n\t/**\n\t * The 96-byte Bls12381 public key for this validator.\n\t *\n\t * @generated from protobuf field: optional bytes public_key = 1;\n\t */\n\tpublicKey?: Uint8Array;\n\t/**\n\t * voting weight this validator possesses.\n\t *\n\t * @generated from protobuf field: optional uint64 weight = 2;\n\t */\n\tweight?: bigint;\n}\n/**\n * / An aggregated signature from multiple validators.\n *\n * @generated from protobuf message sui.rpc.v2beta2.ValidatorAggregatedSignature\n */\nexport interface ValidatorAggregatedSignature {\n\t/**\n\t * The epoch when this signature was produced.\n\t *\n\t * This can be used to lookup the `ValidatorCommittee` from this epoch\n\t * to verify this signature.\n\t *\n\t * @generated from protobuf field: optional uint64 epoch = 1;\n\t */\n\tepoch?: bigint;\n\t/**\n\t * The 48-byte Bls12381 aggregated signature.\n\t *\n\t * @generated from protobuf field: optional bytes signature = 2;\n\t */\n\tsignature?: Uint8Array;\n\t/**\n\t * Bitmap indicating which members of the committee contributed to\n\t * this signature.\n\t *\n\t * @generated from protobuf field: repeated uint32 bitmap = 3;\n\t */\n\tbitmap: number[];\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass UserSignature$Type extends MessageType<UserSignature> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.UserSignature', [\n\t\t\t{ no: 1, name: 'bcs', kind: 'message', T: () => Bcs },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'scheme',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => ['sui.rpc.v2beta2.SignatureScheme', SignatureScheme],\n\t\t\t},\n\t\t\t{ no: 3, name: 'simple', kind: 'message', oneof: 'signature', T: () => SimpleSignature },\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: 'multisig',\n\t\t\t\tkind: 'message',\n\t\t\t\toneof: 'signature',\n\t\t\t\tT: () => MultisigAggregatedSignature,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: 'zklogin',\n\t\t\t\tkind: 'message',\n\t\t\t\toneof: 'signature',\n\t\t\t\tT: () => ZkLoginAuthenticator,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: 'passkey',\n\t\t\t\tkind: 'message',\n\t\t\t\toneof: 'signature',\n\t\t\t\tT: () => PasskeyAuthenticator,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.UserSignature\n */\nexport const UserSignature = new UserSignature$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass SimpleSignature$Type extends MessageType<SimpleSignature> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.SimpleSignature', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'scheme',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => ['sui.rpc.v2beta2.SignatureScheme', SignatureScheme],\n\t\t\t},\n\t\t\t{ no: 2, name: 'signature', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{ no: 3, name: 'public_key', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.SimpleSignature\n */\nexport const SimpleSignature = new SimpleSignature$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ZkLoginPublicIdentifier$Type extends MessageType<ZkLoginPublicIdentifier> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.ZkLoginPublicIdentifier', [\n\t\t\t{ no: 1, name: 'iss', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'address_seed', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.ZkLoginPublicIdentifier\n */\nexport const ZkLoginPublicIdentifier = new ZkLoginPublicIdentifier$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass MultisigMemberPublicKey$Type extends MessageType<MultisigMemberPublicKey> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.MultisigMemberPublicKey', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'scheme',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => ['sui.rpc.v2beta2.SignatureScheme', SignatureScheme],\n\t\t\t},\n\t\t\t{ no: 2, name: 'public_key', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{ no: 3, name: 'zklogin', kind: 'message', T: () => ZkLoginPublicIdentifier },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.MultisigMemberPublicKey\n */\nexport const MultisigMemberPublicKey = new MultisigMemberPublicKey$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass MultisigMember$Type extends MessageType<MultisigMember> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.MultisigMember', [\n\t\t\t{ no: 1, name: 'public_key', kind: 'message', T: () => MultisigMemberPublicKey },\n\t\t\t{ no: 2, name: 'weight', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.MultisigMember\n */\nexport const MultisigMember = new MultisigMember$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass MultisigCommittee$Type extends MessageType<MultisigCommittee> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.MultisigCommittee', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'members',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => MultisigMember,\n\t\t\t},\n\t\t\t{ no: 2, name: 'threshold', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.MultisigCommittee\n */\nexport const MultisigCommittee = new MultisigCommittee$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass MultisigAggregatedSignature$Type extends MessageType<MultisigAggregatedSignature> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.MultisigAggregatedSignature', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'signatures',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => MultisigMemberSignature,\n\t\t\t},\n\t\t\t{ no: 2, name: 'bitmap', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'legacy_bitmap',\n\t\t\t\tkind: 'scalar',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: 13 /*ScalarType.UINT32*/,\n\t\t\t},\n\t\t\t{ no: 4, name: 'committee', kind: 'message', T: () => MultisigCommittee },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.MultisigAggregatedSignature\n */\nexport const MultisigAggregatedSignature = new MultisigAggregatedSignature$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass MultisigMemberSignature$Type extends MessageType<MultisigMemberSignature> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.MultisigMemberSignature', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'scheme',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => ['sui.rpc.v2beta2.SignatureScheme', SignatureScheme],\n\t\t\t},\n\t\t\t{ no: 2, name: 'signature', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{ no: 3, name: 'zklogin', kind: 'message', T: () => ZkLoginAuthenticator },\n\t\t\t{ no: 4, name: 'passkey', kind: 'message', T: () => PasskeyAuthenticator },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.MultisigMemberSignature\n */\nexport const MultisigMemberSignature = new MultisigMemberSignature$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ZkLoginAuthenticator$Type extends MessageType<ZkLoginAuthenticator> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.ZkLoginAuthenticator', [\n\t\t\t{ no: 1, name: 'inputs', kind: 'message', T: () => ZkLoginInputs },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'max_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: 3, name: 'signature', kind: 'message', T: () => SimpleSignature },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.ZkLoginAuthenticator\n */\nexport const ZkLoginAuthenticator = new ZkLoginAuthenticator$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ZkLoginInputs$Type extends MessageType<ZkLoginInputs> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.ZkLoginInputs', [\n\t\t\t{ no: 1, name: 'proof_points', kind: 'message', T: () => ZkLoginProof },\n\t\t\t{ no: 2, name: 'iss_base64_details', kind: 'message', T: () => ZkLoginClaim },\n\t\t\t{ no: 3, name: 'header_base64', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 4, name: 'address_seed', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.ZkLoginInputs\n */\nexport const ZkLoginInputs = new ZkLoginInputs$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ZkLoginProof$Type extends MessageType<ZkLoginProof> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.ZkLoginProof', [\n\t\t\t{ no: 1, name: 'a', kind: 'message', T: () => CircomG1 },\n\t\t\t{ no: 2, name: 'b', kind: 'message', T: () => CircomG2 },\n\t\t\t{ no: 3, name: 'c', kind: 'message', T: () => CircomG1 },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.ZkLoginProof\n */\nexport const ZkLoginProof = new ZkLoginProof$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ZkLoginClaim$Type extends MessageType<ZkLoginClaim> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.ZkLoginClaim', [\n\t\t\t{ no: 1, name: 'value', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'index_mod_4', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.ZkLoginClaim\n */\nexport const ZkLoginClaim = new ZkLoginClaim$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass CircomG1$Type extends MessageType<CircomG1> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.CircomG1', [\n\t\t\t{ no: 1, name: 'e0', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'e1', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'e2', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.CircomG1\n */\nexport const CircomG1 = new CircomG1$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass CircomG2$Type extends MessageType<CircomG2> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.CircomG2', [\n\t\t\t{ no: 1, name: 'e00', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'e01', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'e10', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 4, name: 'e11', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 5, name: 'e20', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 6, name: 'e21', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.CircomG2\n */\nexport const CircomG2 = new CircomG2$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass PasskeyAuthenticator$Type extends MessageType<PasskeyAuthenticator> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.PasskeyAuthenticator', [\n\t\t\t{ no: 1, name: 'authenticator_data', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{ no: 2, name: 'client_data_json', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'signature', kind: 'message', T: () => SimpleSignature },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.PasskeyAuthenticator\n */\nexport const PasskeyAuthenticator = new PasskeyAuthenticator$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ValidatorCommittee$Type extends MessageType<ValidatorCommittee> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.ValidatorCommittee', [\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{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'members',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => ValidatorCommitteeMember,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.ValidatorCommittee\n */\nexport const ValidatorCommittee = new ValidatorCommittee$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ValidatorCommitteeMember$Type extends MessageType<ValidatorCommitteeMember> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.ValidatorCommitteeMember', [\n\t\t\t{ no: 1, name: 'public_key', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'weight',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.ValidatorCommitteeMember\n */\nexport const ValidatorCommitteeMember = new ValidatorCommitteeMember$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ValidatorAggregatedSignature$Type extends MessageType<ValidatorAggregatedSignature> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.ValidatorAggregatedSignature', [\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: 'signature', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'bitmap',\n\t\t\t\tkind: 'scalar',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: 13 /*ScalarType.UINT32*/,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.ValidatorAggregatedSignature\n */\nexport const ValidatorAggregatedSignature = new ValidatorAggregatedSignature$Type();\n"],
5
- "mappings": "AAWA,SAAS,mBAAmB;AAC5B,SAAS,uBAAuB;AAChC,SAAS,WAAW;AA8epB,MAAM,2BAA2B,YAA2B;AAAA,EAC3D,cAAc;AACb,UAAM,iCAAiC;AAAA,MACtC,EAAE,IAAI,GAAG,MAAM,OAAO,MAAM,WAAW,GAAG,MAAM,IAAI;AAAA,MACpD;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,KAAK;AAAA,QACL,GAAG,MAAM,CAAC,mCAAmC,eAAe;AAAA,MAC7D;AAAA,MACA,EAAE,IAAI,GAAG,MAAM,UAAU,MAAM,WAAW,OAAO,aAAa,GAAG,MAAM,gBAAgB;AAAA,MACvF;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,OAAO;AAAA,QACP,GAAG,MAAM;AAAA,MACV;AAAA,MACA;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,OAAO;AAAA,QACP,GAAG,MAAM;AAAA,MACV;AAAA,MACA;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,OAAO;AAAA,QACP,GAAG,MAAM;AAAA,MACV;AAAA,IACD,CAAC;AAAA,EACF;AACD;AAIO,MAAM,gBAAgB,IAAI,mBAAmB;AAEpD,MAAM,6BAA6B,YAA6B;AAAA,EAC/D,cAAc;AACb,UAAM,mCAAmC;AAAA,MACxC;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,KAAK;AAAA,QACL,GAAG,MAAM,CAAC,mCAAmC,eAAe;AAAA,MAC7D;AAAA,MACA;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAa,MAAM;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AAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MAClF;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,QAAQ;AAAA,QACR,GAAG;AAAA,MACJ;AAAA,IACD,CAAC;AAAA,EACF;AACD;AAIO,MAAM,+BAA+B,IAAI,kCAAkC;",
6
- "names": []
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2beta2/signature_scheme.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/v2beta2/signature_scheme.proto\" (package \"sui.rpc.v2beta2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\n/**\n * Flag use to disambiguate the signature schemes supported by Sui.\n *\n * Note: the enum values defined by this proto message exactly match their\n * expected BCS serialized values when serialized as a u8. See\n * [enum.SignatureScheme](https://mystenlabs.github.io/sui-rust-sdk/sui_sdk_types/enum.SignatureScheme.html)\n * for more information about signature schemes.\n *\n * @generated from protobuf enum sui.rpc.v2beta2.SignatureScheme\n */\nexport enum SignatureScheme {\n\t/**\n\t * @generated from protobuf enum value: ED25519 = 0;\n\t */\n\tED25519 = 0,\n\t/**\n\t * @generated from protobuf enum value: SECP256K1 = 1;\n\t */\n\tSECP256K1 = 1,\n\t/**\n\t * @generated from protobuf enum value: SECP256R1 = 2;\n\t */\n\tSECP256R1 = 2,\n\t/**\n\t * @generated from protobuf enum value: MULTISIG = 3;\n\t */\n\tMULTISIG = 3,\n\t/**\n\t * @generated from protobuf enum value: BLS12381 = 4;\n\t */\n\tBLS12381 = 4,\n\t/**\n\t * @generated from protobuf enum value: ZKLOGIN = 5;\n\t */\n\tZKLOGIN = 5,\n\t/**\n\t * @generated from protobuf enum value: PASSKEY = 6;\n\t */\n\tPASSKEY = 6,\n}\n"],
5
- "mappings": "AAqBO,IAAK,kBAAL,kBAAKA,qBAAL;AAIN,EAAAA,kCAAA,aAAU,KAAV;AAIA,EAAAA,kCAAA,eAAY,KAAZ;AAIA,EAAAA,kCAAA,eAAY,KAAZ;AAIA,EAAAA,kCAAA,cAAW,KAAX;AAIA,EAAAA,kCAAA,cAAW,KAAX;AAIA,EAAAA,kCAAA,aAAU,KAAV;AAIA,EAAAA,kCAAA,aAAU,KAAV;AA5BW,SAAAA;AAAA,GAAA;",
6
- "names": ["SignatureScheme"]
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2beta2/signature_verification_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/v2beta2/signature_verification_service.proto\" (package \"sui.rpc.v2beta2\", 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 { SignatureVerificationService } from './signature_verification_service.js';\nimport { stackIntercept } from '@protobuf-ts/runtime-rpc';\nimport type { VerifySignatureResponse } from './signature_verification_service.js';\nimport type { VerifySignatureRequest } from './signature_verification_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.v2beta2.SignatureVerificationService\n */\nexport interface ISignatureVerificationServiceClient {\n\t/**\n\t * Perform signature verification of a UserSignature against the provided message.\n\t *\n\t * @generated from protobuf rpc: VerifySignature(sui.rpc.v2beta2.VerifySignatureRequest) returns (sui.rpc.v2beta2.VerifySignatureResponse);\n\t */\n\tverifySignature(\n\t\tinput: VerifySignatureRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<VerifySignatureRequest, VerifySignatureResponse>;\n}\n/**\n * @generated from protobuf service sui.rpc.v2beta2.SignatureVerificationService\n */\nexport class SignatureVerificationServiceClient\n\timplements ISignatureVerificationServiceClient, ServiceInfo\n{\n\ttypeName = SignatureVerificationService.typeName;\n\tmethods = SignatureVerificationService.methods;\n\toptions = SignatureVerificationService.options;\n\tconstructor(private readonly _transport: RpcTransport) {}\n\t/**\n\t * Perform signature verification of a UserSignature against the provided message.\n\t *\n\t * @generated from protobuf rpc: VerifySignature(sui.rpc.v2beta2.VerifySignatureRequest) returns (sui.rpc.v2beta2.VerifySignatureResponse);\n\t */\n\tverifySignature(\n\t\tinput: VerifySignatureRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<VerifySignatureRequest, VerifySignatureResponse> {\n\t\tconst method = this.methods[0],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<VerifySignatureRequest, VerifySignatureResponse>(\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,oCAAoC;AAC7C,SAAS,sBAAsB;AAsBxB,MAAM,mCAEb;AAAA,EAIC,YAA6B,YAA0B;AAA1B;AAH7B,oBAAW,6BAA6B;AACxC,mBAAU,6BAA6B;AACvC,mBAAU,6BAA6B;AAAA,EACiB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMxD,gBACC,OACA,SAC6D;AAC7D,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
- "names": []
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2beta2/signature_verification_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/v2beta2/signature_verification_service.proto\" (package \"sui.rpc.v2beta2\", 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 { ActiveJwk } from './transaction.js';\nimport { UserSignature } from './signature.js';\nimport { Bcs } from './bcs.js';\n/**\n * @generated from protobuf message sui.rpc.v2beta2.VerifySignatureRequest\n */\nexport interface VerifySignatureRequest {\n\t/**\n\t * The message to verify against.\n\t *\n\t * Today the only supported message types are `PersonalMessage` and\n\t * `TransactionData` and the `Bcs.name` must be set to indicate which type of\n\t * message is being verified.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.Bcs message = 1;\n\t */\n\tmessage?: Bcs;\n\t/**\n\t * The siganture to verify.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.UserSignature signature = 2;\n\t */\n\tsignature?: UserSignature;\n\t/**\n\t * Optional. Address to validate against the provided signature.\n\t *\n\t * If provided, this address will be compared against the the address derived\n\t * from the provide signature and a successful response will only be returned\n\t * if they match.\n\t *\n\t * @generated from protobuf field: optional string address = 3;\n\t */\n\taddress?: string;\n\t/**\n\t * The set of JWKs to use when verifying Zklogin signatures.\n\t * If this is empty the current set of valid JWKs stored onchain will be used\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2beta2.ActiveJwk jwks = 4;\n\t */\n\tjwks: ActiveJwk[];\n}\n/**\n * @generated from protobuf message sui.rpc.v2beta2.VerifySignatureResponse\n */\nexport interface VerifySignatureResponse {\n\t/**\n\t * Indicates if the provided signature was valid given the requested parameters.\n\t *\n\t * @generated from protobuf field: optional bool is_valid = 1;\n\t */\n\tisValid?: boolean;\n\t/**\n\t * If `is_valid` is `false`, this is the reason for why the signature verification failed.\n\t *\n\t * @generated from protobuf field: optional string reason = 2;\n\t */\n\treason?: string;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass VerifySignatureRequest$Type extends MessageType<VerifySignatureRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.VerifySignatureRequest', [\n\t\t\t{ no: 1, name: 'message', kind: 'message', T: () => Bcs },\n\t\t\t{ no: 2, name: 'signature', kind: 'message', T: () => UserSignature },\n\t\t\t{ no: 3, name: 'address', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 4, name: 'jwks', kind: 'message', repeat: 1 /*RepeatType.PACKED*/, T: () => ActiveJwk },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.VerifySignatureRequest\n */\nexport const VerifySignatureRequest = new VerifySignatureRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass VerifySignatureResponse$Type extends MessageType<VerifySignatureResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.VerifySignatureResponse', [\n\t\t\t{ no: 1, name: 'is_valid', kind: 'scalar', opt: true, T: 8 /*ScalarType.BOOL*/ },\n\t\t\t{ no: 2, name: 'reason', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.VerifySignatureResponse\n */\nexport const VerifySignatureResponse = new VerifySignatureResponse$Type();\n/**\n * @generated ServiceType for protobuf service sui.rpc.v2beta2.SignatureVerificationService\n */\nexport const SignatureVerificationService = new ServiceType(\n\t'sui.rpc.v2beta2.SignatureVerificationService',\n\t[{ name: 'VerifySignature', options: {}, I: VerifySignatureRequest, O: VerifySignatureResponse }],\n);\n"],
5
- "mappings": "AAWA,SAAS,mBAAmB;AAC5B,SAAS,mBAAmB;AAC5B,SAAS,iBAAiB;AAC1B,SAAS,qBAAqB;AAC9B,SAAS,WAAW;AAyDpB,MAAM,oCAAoC,YAAoC;AAAA,EAC7E,cAAc;AACb,UAAM,0CAA0C;AAAA,MAC/C,EAAE,IAAI,GAAG,MAAM,WAAW,MAAM,WAAW,GAAG,MAAM,IAAI;AAAA,MACxD,EAAE,IAAI,GAAG,MAAM,aAAa,MAAM,WAAW,GAAG,MAAM,cAAc;AAAA,MACpE;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAW,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MAChF,EAAE,IAAI,GAAG,MAAM,QAAQ,MAAM,WAAW,QAAQ,GAAyB,GAAG,MAAM,UAAU;AAAA,IAC7F,CAAC;AAAA,EACF;AACD;AAIO,MAAM,yBAAyB,IAAI,4BAA4B;AAEtE,MAAM,qCAAqC,YAAqC;AAAA,EAC/E,cAAc;AACb,UAAM,2CAA2C;AAAA,MAChD;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAY,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAsB;AAAA,MAC/E;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAU,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,IAChF,CAAC;AAAA,EACF;AACD;AAIO,MAAM,0BAA0B,IAAI,6BAA6B;AAIjE,MAAM,+BAA+B,IAAI;AAAA,EAC/C;AAAA,EACA,CAAC,EAAE,MAAM,mBAAmB,SAAS,CAAC,GAAG,GAAG,wBAAwB,GAAG,wBAAwB,CAAC;AACjG;",
6
- "names": []
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2beta2/subscription_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/v2beta2/subscription_service.proto\" (package \"sui.rpc.v2beta2\", 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 { SubscriptionService } from './subscription_service.js';\nimport { stackIntercept } from '@protobuf-ts/runtime-rpc';\nimport type { SubscribeCheckpointsResponse } from './subscription_service.js';\nimport type { SubscribeCheckpointsRequest } from './subscription_service.js';\nimport type { ServerStreamingCall } from '@protobuf-ts/runtime-rpc';\nimport type { RpcOptions } from '@protobuf-ts/runtime-rpc';\n/**\n * @generated from protobuf service sui.rpc.v2beta2.SubscriptionService\n */\nexport interface ISubscriptionServiceClient {\n\t/**\n\t * Subscribe to the stream of checkpoints.\n\t *\n\t * This API provides a subscription to the checkpoint stream for the Sui\n\t * blockchain. When a subscription is initialized the stream will begin with\n\t * the latest executed checkpoint as seen by the server. Responses are\n\t * guaranteed to return checkpoints in-order and without gaps. This enables\n\t * clients to know exactly the last checkpoint they have processed and in the\n\t * event the subscription terminates (either by the client/server or by the\n\t * connection breaking), clients will be able to reinitailize a subscription\n\t * and then leverage other APIs in order to request data for the checkpoints\n\t * they missed.\n\t *\n\t * @generated from protobuf rpc: SubscribeCheckpoints(sui.rpc.v2beta2.SubscribeCheckpointsRequest) returns (stream sui.rpc.v2beta2.SubscribeCheckpointsResponse);\n\t */\n\tsubscribeCheckpoints(\n\t\tinput: SubscribeCheckpointsRequest,\n\t\toptions?: RpcOptions,\n\t): ServerStreamingCall<SubscribeCheckpointsRequest, SubscribeCheckpointsResponse>;\n}\n/**\n * @generated from protobuf service sui.rpc.v2beta2.SubscriptionService\n */\nexport class SubscriptionServiceClient implements ISubscriptionServiceClient, ServiceInfo {\n\ttypeName = SubscriptionService.typeName;\n\tmethods = SubscriptionService.methods;\n\toptions = SubscriptionService.options;\n\tconstructor(private readonly _transport: RpcTransport) {}\n\t/**\n\t * Subscribe to the stream of checkpoints.\n\t *\n\t * This API provides a subscription to the checkpoint stream for the Sui\n\t * blockchain. When a subscription is initialized the stream will begin with\n\t * the latest executed checkpoint as seen by the server. Responses are\n\t * guaranteed to return checkpoints in-order and without gaps. This enables\n\t * clients to know exactly the last checkpoint they have processed and in the\n\t * event the subscription terminates (either by the client/server or by the\n\t * connection breaking), clients will be able to reinitailize a subscription\n\t * and then leverage other APIs in order to request data for the checkpoints\n\t * they missed.\n\t *\n\t * @generated from protobuf rpc: SubscribeCheckpoints(sui.rpc.v2beta2.SubscribeCheckpointsRequest) returns (stream sui.rpc.v2beta2.SubscribeCheckpointsResponse);\n\t */\n\tsubscribeCheckpoints(\n\t\tinput: SubscribeCheckpointsRequest,\n\t\toptions?: RpcOptions,\n\t): ServerStreamingCall<SubscribeCheckpointsRequest, SubscribeCheckpointsResponse> {\n\t\tconst method = this.methods[0],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<SubscribeCheckpointsRequest, SubscribeCheckpointsResponse>(\n\t\t\t'serverStreaming',\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,2BAA2B;AACpC,SAAS,sBAAsB;AAgCxB,MAAM,0BAA6E;AAAA,EAIzF,YAA6B,YAA0B;AAA1B;AAH7B,oBAAW,oBAAoB;AAC/B,mBAAU,oBAAoB;AAC9B,mBAAU,oBAAoB;AAAA,EAC0B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAgBxD,qBACC,OACA,SACiF;AACjF,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
- "names": []
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2beta2/subscription_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/v2beta2/subscription_service.proto\" (package \"sui.rpc.v2beta2\", 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 { Checkpoint } from './checkpoint.js';\nimport { FieldMask } from '../../../google/protobuf/field_mask.js';\n/**\n * Request message for SubscriptionService.SubscribeCheckpoints\n *\n * @generated from protobuf message sui.rpc.v2beta2.SubscribeCheckpointsRequest\n */\nexport interface SubscribeCheckpointsRequest {\n\t/**\n\t * Optional. Mask for specifiying which parts of the\n\t * SubscribeCheckpointsResponse should be returned.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 1;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * Response message for SubscriptionService.SubscribeCheckpoints\n *\n * @generated from protobuf message sui.rpc.v2beta2.SubscribeCheckpointsResponse\n */\nexport interface SubscribeCheckpointsResponse {\n\t/**\n\t * Required. The checkpoint sequence number and value of the current cursor\n\t * into the checkpoint stream\n\t *\n\t * @generated from protobuf field: optional uint64 cursor = 1;\n\t */\n\tcursor?: bigint;\n\t/**\n\t * The requested data for this checkpoint\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.Checkpoint checkpoint = 2;\n\t */\n\tcheckpoint?: Checkpoint;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass SubscribeCheckpointsRequest$Type extends MessageType<SubscribeCheckpointsRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.SubscribeCheckpointsRequest', [\n\t\t\t{ no: 1, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.SubscribeCheckpointsRequest\n */\nexport const SubscribeCheckpointsRequest = new SubscribeCheckpointsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass SubscribeCheckpointsResponse$Type extends MessageType<SubscribeCheckpointsResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.SubscribeCheckpointsResponse', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'cursor',\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: 'checkpoint', kind: 'message', T: () => Checkpoint },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.SubscribeCheckpointsResponse\n */\nexport const SubscribeCheckpointsResponse = new SubscribeCheckpointsResponse$Type();\n/**\n * @generated ServiceType for protobuf service sui.rpc.v2beta2.SubscriptionService\n */\nexport const SubscriptionService = new ServiceType('sui.rpc.v2beta2.SubscriptionService', [\n\t{\n\t\tname: 'SubscribeCheckpoints',\n\t\tserverStreaming: true,\n\t\toptions: {},\n\t\tI: SubscribeCheckpointsRequest,\n\t\tO: SubscribeCheckpointsResponse,\n\t},\n]);\n"],
5
- "mappings": "AAWA,SAAS,mBAAmB;AAC5B,SAAS,mBAAmB;AAC5B,SAAS,kBAAkB;AAC3B,SAAS,iBAAiB;AAoC1B,MAAM,yCAAyC,YAAyC;AAAA,EACvF,cAAc;AACb,UAAM,+CAA+C;AAAA,MACpD,EAAE,IAAI,GAAG,MAAM,aAAa,MAAM,WAAW,GAAG,MAAM,UAAU;AAAA,IACjE,CAAC;AAAA,EACF;AACD;AAIO,MAAM,8BAA8B,IAAI,iCAAiC;AAEhF,MAAM,0CAA0C,YAA0C;AAAA,EACzF,cAAc;AACb,UAAM,gDAAgD;AAAA,MACrD;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,KAAK;AAAA,QACL,GAAG;AAAA,QACH,GAAG;AAAA,MACJ;AAAA,MACA,EAAE,IAAI,GAAG,MAAM,cAAc,MAAM,WAAW,GAAG,MAAM,WAAW;AAAA,IACnE,CAAC;AAAA,EACF;AACD;AAIO,MAAM,+BAA+B,IAAI,kCAAkC;AAI3E,MAAM,sBAAsB,IAAI,YAAY,uCAAuC;AAAA,EACzF;AAAA,IACC,MAAM;AAAA,IACN,iBAAiB;AAAA,IACjB,SAAS,CAAC;AAAA,IACV,GAAG;AAAA,IACH,GAAG;AAAA,EACJ;AACD,CAAC;",
6
- "names": []
7
- }