@mysten/sui 2.39.1 → 3.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (425) hide show
  1. package/CHANGELOG.md +169 -0
  2. package/README.md +5 -188
  3. package/dist/bcs/bcs.d.mts +6 -6
  4. package/dist/bcs/bcs.d.mts.map +1 -1
  5. package/dist/bcs/bcs.mjs +49 -22
  6. package/dist/bcs/bcs.mjs.map +1 -1
  7. package/dist/bcs/effects.mjs +49 -20
  8. package/dist/bcs/effects.mjs.map +1 -1
  9. package/dist/bcs/index.d.mts +1441 -624
  10. package/dist/bcs/index.d.mts.map +1 -1
  11. package/dist/bcs/index.mjs +2 -1
  12. package/dist/bcs/index.mjs.map +1 -1
  13. package/dist/bcs/transactions.d.mts +1059 -0
  14. package/dist/bcs/transactions.d.mts.map +1 -0
  15. package/dist/bcs/transactions.mjs +33 -14
  16. package/dist/bcs/transactions.mjs.map +1 -1
  17. package/dist/bcs/types.d.mts +6 -1
  18. package/dist/bcs/types.d.mts.map +1 -1
  19. package/dist/client/core-resolver.mjs +4 -4
  20. package/dist/client/core-resolver.mjs.map +1 -1
  21. package/dist/client/core.d.mts +55 -4
  22. package/dist/client/core.d.mts.map +1 -1
  23. package/dist/client/core.mjs +98 -1
  24. package/dist/client/core.mjs.map +1 -1
  25. package/dist/client/errors.mjs +11 -1
  26. package/dist/client/errors.mjs.map +1 -1
  27. package/dist/client/index.d.mts +5 -3
  28. package/dist/client/index.mjs +6 -3
  29. package/dist/client/mvr.d.mts +12 -2
  30. package/dist/client/mvr.d.mts.map +1 -1
  31. package/dist/client/mvr.mjs +34 -13
  32. package/dist/client/mvr.mjs.map +1 -1
  33. package/dist/client/query-filters.mjs +80 -76
  34. package/dist/client/query-filters.mjs.map +1 -1
  35. package/dist/client/stream/adapter.d.mts +102 -0
  36. package/dist/client/stream/adapter.d.mts.map +1 -0
  37. package/dist/client/stream/errors.d.mts +14 -0
  38. package/dist/client/stream/errors.d.mts.map +1 -0
  39. package/dist/client/stream/errors.mjs +25 -0
  40. package/dist/client/stream/errors.mjs.map +1 -0
  41. package/dist/client/stream/filter.mjs +18 -0
  42. package/dist/client/stream/filter.mjs.map +1 -0
  43. package/dist/client/stream/follow.mjs +48 -0
  44. package/dist/client/stream/follow.mjs.map +1 -0
  45. package/dist/client/stream/index.d.mts +4 -0
  46. package/dist/client/stream/pager.mjs +123 -0
  47. package/dist/client/stream/pager.mjs.map +1 -0
  48. package/dist/client/stream/plan.mjs +79 -0
  49. package/dist/client/stream/plan.mjs.map +1 -0
  50. package/dist/client/stream/position.d.mts +30 -0
  51. package/dist/client/stream/position.d.mts.map +1 -0
  52. package/dist/client/stream/position.mjs +121 -0
  53. package/dist/client/stream/position.mjs.map +1 -0
  54. package/dist/client/stream/run.d.mts +2 -0
  55. package/dist/client/stream/run.mjs +99 -0
  56. package/dist/client/stream/run.mjs.map +1 -0
  57. package/dist/client/stream/session.mjs +205 -0
  58. package/dist/client/stream/session.mjs.map +1 -0
  59. package/dist/client/stream/status.mjs +47 -0
  60. package/dist/client/stream/status.mjs.map +1 -0
  61. package/dist/client/stream/token.mjs +80 -0
  62. package/dist/client/stream/token.mjs.map +1 -0
  63. package/dist/client/transaction-data.d.mts +17 -0
  64. package/dist/client/transaction-data.d.mts.map +1 -0
  65. package/dist/client/transaction-data.mjs +472 -0
  66. package/dist/client/transaction-data.mjs.map +1 -0
  67. package/dist/client/transaction-resolver.mjs +102 -58
  68. package/dist/client/transaction-resolver.mjs.map +1 -1
  69. package/dist/client/types.d.mts +560 -240
  70. package/dist/client/types.d.mts.map +1 -1
  71. package/dist/client/utils.d.mts +2 -2
  72. package/dist/client/utils.d.mts.map +1 -1
  73. package/dist/client/utils.mjs +91 -30
  74. package/dist/client/utils.mjs.map +1 -1
  75. package/dist/cryptography/index.d.mts +1 -1
  76. package/dist/cryptography/keypair.d.mts +1 -1
  77. package/dist/cryptography/publickey.d.mts +11 -0
  78. package/dist/cryptography/publickey.d.mts.map +1 -1
  79. package/dist/cryptography/publickey.mjs +12 -1
  80. package/dist/cryptography/publickey.mjs.map +1 -1
  81. package/dist/cryptography/signature.d.mts +8 -8
  82. package/dist/cryptography/signature.mjs +18 -7
  83. package/dist/cryptography/signature.mjs.map +1 -1
  84. package/dist/graphql/client.d.mts +51 -35
  85. package/dist/graphql/client.d.mts.map +1 -1
  86. package/dist/graphql/client.mjs +125 -69
  87. package/dist/graphql/client.mjs.map +1 -1
  88. package/dist/graphql/core.d.mts +14 -9
  89. package/dist/graphql/core.d.mts.map +1 -1
  90. package/dist/graphql/core.mjs +294 -118
  91. package/dist/graphql/core.mjs.map +1 -1
  92. package/dist/graphql/errors.d.mts +20 -0
  93. package/dist/graphql/errors.d.mts.map +1 -0
  94. package/dist/graphql/errors.mjs +19 -0
  95. package/dist/graphql/errors.mjs.map +1 -0
  96. package/dist/graphql/filters.mjs +32 -0
  97. package/dist/graphql/filters.mjs.map +1 -0
  98. package/dist/graphql/generated/queries.d.mts.map +1 -1
  99. package/dist/graphql/generated/queries.mjs +1216 -208
  100. package/dist/graphql/generated/queries.mjs.map +1 -1
  101. package/dist/graphql/generated/tada-env.d.mts +820 -11
  102. package/dist/graphql/index.d.mts +2 -1
  103. package/dist/graphql/index.mjs +2 -1
  104. package/dist/graphql/sse-parser.mjs +82 -0
  105. package/dist/graphql/sse-parser.mjs.map +1 -0
  106. package/dist/graphql/stream/families.mjs +306 -0
  107. package/dist/graphql/stream/families.mjs.map +1 -0
  108. package/dist/graphql/stream/index.mjs +38 -0
  109. package/dist/graphql/stream/index.mjs.map +1 -0
  110. package/dist/graphql/stream/live.mjs +60 -0
  111. package/dist/graphql/stream/live.mjs.map +1 -0
  112. package/dist/graphql/stream/page.mjs +38 -0
  113. package/dist/graphql/stream/page.mjs.map +1 -0
  114. package/dist/graphql/stream/query.mjs +47 -0
  115. package/dist/graphql/stream/query.mjs.map +1 -0
  116. package/dist/graphql/subscribe.mjs +70 -0
  117. package/dist/graphql/subscribe.mjs.map +1 -0
  118. package/dist/grpc/client.d.mts +31 -27
  119. package/dist/grpc/client.d.mts.map +1 -1
  120. package/dist/grpc/client.mjs +42 -46
  121. package/dist/grpc/client.mjs.map +1 -1
  122. package/dist/grpc/core.d.mts +13 -6
  123. package/dist/grpc/core.d.mts.map +1 -1
  124. package/dist/grpc/core.mjs +254 -166
  125. package/dist/grpc/core.mjs.map +1 -1
  126. package/dist/grpc/filters.mjs +44 -34
  127. package/dist/grpc/filters.mjs.map +1 -1
  128. package/dist/grpc/grpc-web-pull.mjs +245 -0
  129. package/dist/grpc/grpc-web-pull.mjs.map +1 -0
  130. package/dist/grpc/index.d.mts +2 -1
  131. package/dist/grpc/index.mjs +1 -1
  132. package/dist/grpc/network-error.mjs +31 -0
  133. package/dist/grpc/network-error.mjs.map +1 -0
  134. package/dist/grpc/proto/google/rpc/error_details.mjs +306 -0
  135. package/dist/grpc/proto/google/rpc/error_details.mjs.map +1 -0
  136. package/dist/grpc/proto/sui/forking/v1alpha/forking_service.client.d.mts +4 -4
  137. package/dist/grpc/proto/sui/rpc/v2/error_reason.d.mts +176 -1
  138. package/dist/grpc/proto/sui/rpc/v2/error_reason.d.mts.map +1 -1
  139. package/dist/grpc/proto/sui/rpc/v2/error_reason.mjs +175 -0
  140. package/dist/grpc/proto/sui/rpc/v2/error_reason.mjs.map +1 -1
  141. package/dist/grpc/proto/sui/rpc/v2/executed_transaction.d.mts +2 -2
  142. package/dist/grpc/proto/sui/rpc/v2/ledger_service.client.d.mts +4 -4
  143. package/dist/grpc/proto/sui/rpc/v2/ledger_service.d.mts +111 -0
  144. package/dist/grpc/proto/sui/rpc/v2/ledger_service.d.mts.map +1 -1
  145. package/dist/grpc/proto/sui/rpc/v2/ledger_service.mjs +46 -0
  146. package/dist/grpc/proto/sui/rpc/v2/ledger_service.mjs.map +1 -1
  147. package/dist/grpc/proto/sui/rpc/v2/move_package_service.client.d.mts +4 -4
  148. package/dist/grpc/proto/sui/rpc/v2/move_package_service.d.mts +24 -1
  149. package/dist/grpc/proto/sui/rpc/v2/move_package_service.d.mts.map +1 -1
  150. package/dist/grpc/proto/sui/rpc/v2/move_package_service.mjs +25 -7
  151. package/dist/grpc/proto/sui/rpc/v2/move_package_service.mjs.map +1 -1
  152. package/dist/grpc/proto/sui/rpc/v2/name_service.client.d.mts +4 -4
  153. package/dist/grpc/proto/sui/rpc/v2/object.mjs +1 -1
  154. package/dist/grpc/proto/sui/rpc/v2/query_options.d.mts +111 -9
  155. package/dist/grpc/proto/sui/rpc/v2/query_options.d.mts.map +1 -1
  156. package/dist/grpc/proto/sui/rpc/v2/query_options.mjs +63 -19
  157. package/dist/grpc/proto/sui/rpc/v2/query_options.mjs.map +1 -1
  158. package/dist/grpc/proto/sui/rpc/v2/signature.d.mts +5 -5
  159. package/dist/grpc/proto/sui/rpc/v2/signature.mjs.map +1 -1
  160. package/dist/grpc/proto/sui/rpc/v2/signature_scheme.d.mts +5 -1
  161. package/dist/grpc/proto/sui/rpc/v2/signature_scheme.d.mts.map +1 -1
  162. package/dist/grpc/proto/sui/rpc/v2/signature_scheme.mjs +4 -0
  163. package/dist/grpc/proto/sui/rpc/v2/signature_scheme.mjs.map +1 -1
  164. package/dist/grpc/proto/sui/rpc/v2/signature_verification_service.client.d.mts +4 -4
  165. package/dist/grpc/proto/sui/rpc/v2/signature_verification_service.d.mts +20 -1
  166. package/dist/grpc/proto/sui/rpc/v2/signature_verification_service.d.mts.map +1 -1
  167. package/dist/grpc/proto/sui/rpc/v2/signature_verification_service.mjs +30 -13
  168. package/dist/grpc/proto/sui/rpc/v2/signature_verification_service.mjs.map +1 -1
  169. package/dist/grpc/proto/sui/rpc/v2/state_service.client.d.mts +4 -4
  170. package/dist/grpc/proto/sui/rpc/v2/subscription_service.client.d.mts +20 -14
  171. package/dist/grpc/proto/sui/rpc/v2/subscription_service.client.d.mts.map +1 -1
  172. package/dist/grpc/proto/sui/rpc/v2/subscription_service.client.mjs +8 -5
  173. package/dist/grpc/proto/sui/rpc/v2/subscription_service.client.mjs.map +1 -1
  174. package/dist/grpc/proto/sui/rpc/v2/transaction.d.mts +11 -5
  175. package/dist/grpc/proto/sui/rpc/v2/transaction.d.mts.map +1 -1
  176. package/dist/grpc/proto/sui/rpc/v2/transaction.mjs +6 -0
  177. package/dist/grpc/proto/sui/rpc/v2/transaction.mjs.map +1 -1
  178. package/dist/grpc/proto/sui/rpc/v2/transaction_execution_service.d.mts +6 -2
  179. package/dist/grpc/proto/sui/rpc/v2/transaction_execution_service.d.mts.map +1 -1
  180. package/dist/grpc/proto/sui/rpc/v2/transaction_execution_service.mjs.map +1 -1
  181. package/dist/grpc/proto/types.d.mts +7 -7
  182. package/dist/grpc/proto/types.mjs +3 -2
  183. package/dist/grpc/pull-call.d.mts +20 -0
  184. package/dist/grpc/pull-call.d.mts.map +1 -0
  185. package/dist/grpc/pull-call.mjs +28 -0
  186. package/dist/grpc/pull-call.mjs.map +1 -0
  187. package/dist/grpc/stream/call.mjs +238 -0
  188. package/dist/grpc/stream/call.mjs.map +1 -0
  189. package/dist/grpc/stream/families.d.mts +26 -0
  190. package/dist/grpc/stream/families.d.mts.map +1 -0
  191. package/dist/grpc/stream/families.mjs +145 -0
  192. package/dist/grpc/stream/families.mjs.map +1 -0
  193. package/dist/grpc/stream/index.d.mts +41 -0
  194. package/dist/grpc/stream/index.d.mts.map +1 -0
  195. package/dist/grpc/stream/index.mjs +127 -0
  196. package/dist/grpc/stream/index.mjs.map +1 -0
  197. package/dist/grpc/stream/live.mjs +31 -0
  198. package/dist/grpc/stream/live.mjs.map +1 -0
  199. package/dist/grpc/stream/page.mjs +120 -0
  200. package/dist/grpc/stream/page.mjs.map +1 -0
  201. package/dist/grpc/stream-types.d.mts +28 -0
  202. package/dist/grpc/stream-types.d.mts.map +1 -0
  203. package/dist/grpc/transport.d.mts +8 -3
  204. package/dist/grpc/transport.d.mts.map +1 -1
  205. package/dist/grpc/transport.mjs +88 -45
  206. package/dist/grpc/transport.mjs.map +1 -1
  207. package/dist/jsonRpc/index.d.mts +34 -12
  208. package/dist/jsonRpc/index.d.mts.map +1 -0
  209. package/dist/jsonRpc/index.mjs +39 -5
  210. package/dist/jsonRpc/index.mjs.map +1 -0
  211. package/dist/jsonRpc/types.d.mts +420 -0
  212. package/dist/jsonRpc/types.d.mts.map +1 -0
  213. package/dist/keypairs/passkey/keypair.d.mts +1 -1
  214. package/dist/multisig/publickey.d.mts +12 -4
  215. package/dist/multisig/publickey.d.mts.map +1 -1
  216. package/dist/multisig/publickey.mjs +5 -5
  217. package/dist/multisig/publickey.mjs.map +1 -1
  218. package/dist/multisig/signer.d.mts +1 -1
  219. package/dist/transactions/ObjectCache.d.mts +1 -1
  220. package/dist/transactions/ObjectCache.mjs +5 -5
  221. package/dist/transactions/ObjectCache.mjs.map +1 -1
  222. package/dist/transactions/Transaction.d.mts +10 -9
  223. package/dist/transactions/Transaction.d.mts.map +1 -1
  224. package/dist/transactions/Transaction.mjs +17 -6
  225. package/dist/transactions/Transaction.mjs.map +1 -1
  226. package/dist/transactions/data/internal.d.mts +2 -0
  227. package/dist/transactions/data/internal.d.mts.map +1 -1
  228. package/dist/transactions/data/internal.mjs +2 -1
  229. package/dist/transactions/data/internal.mjs.map +1 -1
  230. package/dist/transactions/executor/parallel.d.mts +2 -2
  231. package/dist/transactions/executor/serial.d.mts +1 -1
  232. package/dist/transactions/executor/serial.mjs +2 -2
  233. package/dist/transactions/executor/serial.mjs.map +1 -1
  234. package/dist/transactions/index.d.mts +3 -2
  235. package/dist/transactions/index.mjs +4 -3
  236. package/dist/transactions/intents/AllowanceBalance.mjs +1 -1
  237. package/dist/transactions/intents/CoinWithBalance.mjs +1 -1
  238. package/dist/transactions/resolve.d.mts +6 -0
  239. package/dist/transactions/resolve.d.mts.map +1 -1
  240. package/dist/transactions/resolve.mjs.map +1 -1
  241. package/dist/transactions/restricted-move-calls.d.mts +25 -0
  242. package/dist/transactions/restricted-move-calls.d.mts.map +1 -0
  243. package/dist/transactions/restricted-move-calls.mjs +47 -0
  244. package/dist/transactions/restricted-move-calls.mjs.map +1 -0
  245. package/dist/transactions/serializer.d.mts +1 -4
  246. package/dist/transactions/serializer.d.mts.map +1 -1
  247. package/dist/transactions/serializer.mjs +1 -44
  248. package/dist/transactions/serializer.mjs.map +1 -1
  249. package/dist/transactions/utils.d.mts +0 -1
  250. package/dist/transactions/utils.d.mts.map +1 -1
  251. package/dist/transactions/utils.mjs.map +1 -1
  252. package/dist/utils/abort.mjs +89 -0
  253. package/dist/utils/abort.mjs.map +1 -0
  254. package/dist/utils/coin-reservation.mjs +1 -4
  255. package/dist/utils/coin-reservation.mjs.map +1 -1
  256. package/dist/utils/index.mjs +1 -1
  257. package/dist/utils/sui-types.mjs +1 -1
  258. package/dist/verify/index.d.mts +2 -2
  259. package/dist/verify/verify.d.mts +74 -24
  260. package/dist/verify/verify.d.mts.map +1 -1
  261. package/dist/verify/verify.mjs +128 -42
  262. package/dist/verify/verify.mjs.map +1 -1
  263. package/dist/version.mjs +1 -1
  264. package/dist/version.mjs.map +1 -1
  265. package/dist/zklogin/bcs.d.mts +14 -14
  266. package/dist/zklogin/publickey.d.mts.map +1 -1
  267. package/dist/zklogin/publickey.mjs +15 -20
  268. package/dist/zklogin/publickey.mjs.map +1 -1
  269. package/docs/bcs.md +2 -2
  270. package/docs/clients/core.md +19 -18
  271. package/docs/clients/executing.md +53 -8
  272. package/docs/clients/graphql.md +81 -11
  273. package/docs/clients/grpc.md +31 -15
  274. package/docs/clients/index.md +8 -7
  275. package/docs/clients/querying.md +134 -30
  276. package/docs/clients/streaming.md +324 -0
  277. package/docs/cryptography/index.md +85 -58
  278. package/docs/llms-index.md +4 -2
  279. package/docs/migrations/sui-2.0/dapp-kit.md +3 -2
  280. package/docs/migrations/sui-2.0/json-rpc-migration.md +106 -79
  281. package/docs/migrations/sui-3.0/index.md +247 -0
  282. package/docs/plugins.md +10 -10
  283. package/docs/sdk-building.md +3 -4
  284. package/docs/transactions/coins-and-balances.md +6 -11
  285. package/docs/transactions/reference.md +36 -1
  286. package/package.json +4 -5
  287. package/src/bcs/bcs.ts +80 -41
  288. package/src/bcs/effects.ts +61 -25
  289. package/src/bcs/index.ts +2 -0
  290. package/src/bcs/transactions.ts +36 -17
  291. package/src/bcs/types.ts +10 -4
  292. package/src/client/core-resolver.ts +3 -5
  293. package/src/client/core.ts +180 -8
  294. package/src/client/errors.ts +12 -0
  295. package/src/client/index.ts +4 -2
  296. package/src/client/mvr.ts +37 -10
  297. package/src/client/query-filters.ts +151 -97
  298. package/src/client/stream/adapter.ts +110 -0
  299. package/src/client/stream/errors.ts +40 -0
  300. package/src/client/stream/filter.ts +17 -0
  301. package/src/client/stream/follow.ts +63 -0
  302. package/src/client/stream/index.ts +9 -0
  303. package/src/client/stream/pager.ts +158 -0
  304. package/src/client/stream/plan.ts +147 -0
  305. package/src/client/stream/position.ts +143 -0
  306. package/src/client/stream/run.ts +147 -0
  307. package/src/client/stream/session.ts +259 -0
  308. package/src/client/stream/status.ts +44 -0
  309. package/src/client/stream/token.ts +104 -0
  310. package/src/client/transaction-data.ts +610 -0
  311. package/src/client/transaction-resolver.ts +158 -69
  312. package/src/client/types.ts +530 -115
  313. package/src/client/utils.ts +146 -61
  314. package/src/cryptography/publickey.ts +12 -1
  315. package/src/cryptography/signature.ts +6 -3
  316. package/src/graphql/client.ts +204 -135
  317. package/src/graphql/core.ts +446 -139
  318. package/src/graphql/errors.ts +24 -0
  319. package/src/graphql/filters.ts +48 -0
  320. package/src/graphql/generated/queries.ts +1455 -277
  321. package/src/graphql/generated/schema.graphql +282 -9
  322. package/src/graphql/generated/tada-env.ts +933 -4
  323. package/src/graphql/queries/checkpoints.graphql +34 -0
  324. package/src/graphql/queries/getDynamicFields.graphql +1 -0
  325. package/src/graphql/queries/listEvents.graphql +16 -24
  326. package/src/graphql/queries/streams.graphql +212 -0
  327. package/src/graphql/queries/transactions.graphql +71 -28
  328. package/src/graphql/queries/verifySignature.graphql +17 -0
  329. package/src/graphql/sse-parser.ts +99 -0
  330. package/src/graphql/stream/families.ts +515 -0
  331. package/src/graphql/stream/index.ts +55 -0
  332. package/src/graphql/stream/live.ts +70 -0
  333. package/src/graphql/stream/page.ts +47 -0
  334. package/src/graphql/stream/query.ts +52 -0
  335. package/src/graphql/subscribe.ts +83 -0
  336. package/src/grpc/client.ts +81 -79
  337. package/src/grpc/core.ts +388 -274
  338. package/src/grpc/filters.ts +59 -60
  339. package/src/grpc/grpc-web-pull.ts +360 -0
  340. package/src/grpc/index.ts +5 -0
  341. package/src/grpc/network-error.ts +33 -0
  342. package/src/grpc/proto/sui/rpc/v2/error_reason.ts +175 -0
  343. package/src/grpc/proto/sui/rpc/v2/ledger_service.ts +145 -0
  344. package/src/grpc/proto/sui/rpc/v2/move_package_service.ts +43 -1
  345. package/src/grpc/proto/sui/rpc/v2/query_options.ts +132 -8
  346. package/src/grpc/proto/sui/rpc/v2/signature.ts +4 -4
  347. package/src/grpc/proto/sui/rpc/v2/signature_scheme.ts +4 -0
  348. package/src/grpc/proto/sui/rpc/v2/signature_verification_service.ts +30 -0
  349. package/src/grpc/proto/sui/rpc/v2/subscription_service.client.ts +16 -10
  350. package/src/grpc/proto/sui/rpc/v2/transaction.ts +6 -0
  351. package/src/grpc/proto/sui/rpc/v2/transaction_execution_service.ts +5 -1
  352. package/src/grpc/pull-call.ts +54 -0
  353. package/src/grpc/stream/call.ts +317 -0
  354. package/src/grpc/stream/families.ts +228 -0
  355. package/src/grpc/stream/index.ts +182 -0
  356. package/src/grpc/stream/live.ts +33 -0
  357. package/src/grpc/stream/page.ts +161 -0
  358. package/src/grpc/stream-types.ts +33 -0
  359. package/src/grpc/transport.ts +116 -59
  360. package/src/jsonRpc/index.ts +60 -17
  361. package/src/jsonRpc/types.ts +421 -0
  362. package/src/multisig/publickey.ts +19 -7
  363. package/src/transactions/ObjectCache.ts +6 -6
  364. package/src/transactions/Transaction.ts +30 -6
  365. package/src/transactions/data/internal.ts +2 -0
  366. package/src/transactions/executor/serial.ts +2 -2
  367. package/src/transactions/index.ts +8 -1
  368. package/src/transactions/resolve.ts +6 -0
  369. package/src/transactions/restricted-move-calls.ts +87 -0
  370. package/src/transactions/serializer.ts +0 -70
  371. package/src/transactions/utils.ts +0 -37
  372. package/src/utils/abort.ts +101 -0
  373. package/src/verify/index.ts +1 -0
  374. package/src/verify/verify.ts +190 -62
  375. package/src/version.ts +1 -1
  376. package/src/zklogin/publickey.ts +18 -34
  377. package/dist/client/core-resolver.d.mts +0 -9
  378. package/dist/client/core-resolver.d.mts.map +0 -1
  379. package/dist/jsonRpc/client.d.mts +0 -507
  380. package/dist/jsonRpc/client.d.mts.map +0 -1
  381. package/dist/jsonRpc/client.mjs +0 -868
  382. package/dist/jsonRpc/client.mjs.map +0 -1
  383. package/dist/jsonRpc/core.d.mts +0 -168
  384. package/dist/jsonRpc/core.d.mts.map +0 -1
  385. package/dist/jsonRpc/core.mjs +0 -1054
  386. package/dist/jsonRpc/core.mjs.map +0 -1
  387. package/dist/jsonRpc/errors.d.mts +0 -27
  388. package/dist/jsonRpc/errors.d.mts.map +0 -1
  389. package/dist/jsonRpc/errors.mjs +0 -50
  390. package/dist/jsonRpc/errors.mjs.map +0 -1
  391. package/dist/jsonRpc/http-transport.d.mts +0 -62
  392. package/dist/jsonRpc/http-transport.d.mts.map +0 -1
  393. package/dist/jsonRpc/http-transport.mjs +0 -60
  394. package/dist/jsonRpc/http-transport.mjs.map +0 -1
  395. package/dist/jsonRpc/network.d.mts +0 -9
  396. package/dist/jsonRpc/network.d.mts.map +0 -1
  397. package/dist/jsonRpc/network.mjs +0 -18
  398. package/dist/jsonRpc/network.mjs.map +0 -1
  399. package/dist/jsonRpc/types/chain.d.mts +0 -169
  400. package/dist/jsonRpc/types/chain.d.mts.map +0 -1
  401. package/dist/jsonRpc/types/changes.d.mts +0 -48
  402. package/dist/jsonRpc/types/changes.d.mts.map +0 -1
  403. package/dist/jsonRpc/types/coins.d.mts +0 -15
  404. package/dist/jsonRpc/types/coins.d.mts.map +0 -1
  405. package/dist/jsonRpc/types/common.d.mts +0 -9
  406. package/dist/jsonRpc/types/common.d.mts.map +0 -1
  407. package/dist/jsonRpc/types/generated.d.mts +0 -1976
  408. package/dist/jsonRpc/types/generated.d.mts.map +0 -1
  409. package/dist/jsonRpc/types/index.d.mts +0 -6
  410. package/dist/jsonRpc/types/params.d.mts +0 -898
  411. package/dist/jsonRpc/types/params.d.mts.map +0 -1
  412. package/src/graphql/generated/tsconfig.tada.json +0 -11
  413. package/src/graphql/queries/verifyZkLoginSignature.graphql +0 -15
  414. package/src/jsonRpc/client.ts +0 -1252
  415. package/src/jsonRpc/core.ts +0 -1557
  416. package/src/jsonRpc/errors.ts +0 -57
  417. package/src/jsonRpc/http-transport.ts +0 -118
  418. package/src/jsonRpc/network.ts +0 -21
  419. package/src/jsonRpc/types/chain.ts +0 -190
  420. package/src/jsonRpc/types/changes.ts +0 -35
  421. package/src/jsonRpc/types/coins.ts +0 -14
  422. package/src/jsonRpc/types/common.ts +0 -8
  423. package/src/jsonRpc/types/generated.ts +0 -2165
  424. package/src/jsonRpc/types/index.ts +0 -9
  425. package/src/jsonRpc/types/params.ts +0 -908
@@ -1,6 +1,6 @@
1
1
  import { LookupNameRequest, LookupNameResponse, ReverseLookupNameRequest, ReverseLookupNameResponse } from "./name_service.mjs";
2
- import * as _protobuf_ts_runtime5 from "@protobuf-ts/runtime";
3
- import * as _protobuf_ts_runtime_rpc5 from "@protobuf-ts/runtime-rpc";
2
+ import * as _protobuf_ts_runtime6 from "@protobuf-ts/runtime";
3
+ import * as _protobuf_ts_runtime_rpc6 from "@protobuf-ts/runtime-rpc";
4
4
  import { RpcOptions, RpcTransport, ServiceInfo, UnaryCall } from "@protobuf-ts/runtime-rpc";
5
5
 
6
6
  //#region src/grpc/proto/sui/rpc/v2/name_service.client.d.ts
@@ -23,9 +23,9 @@ interface INameServiceClient {
23
23
  declare class NameServiceClient implements INameServiceClient, ServiceInfo {
24
24
  private readonly _transport;
25
25
  typeName: string;
26
- methods: _protobuf_ts_runtime_rpc5.MethodInfo<any, any>[];
26
+ methods: _protobuf_ts_runtime_rpc6.MethodInfo<any, any>[];
27
27
  options: {
28
- [extensionName: string]: _protobuf_ts_runtime5.JsonValue;
28
+ [extensionName: string]: _protobuf_ts_runtime6.JsonValue;
29
29
  };
30
30
  constructor(_transport: RpcTransport);
31
31
  /**
@@ -1,6 +1,6 @@
1
+ import { Owner } from "./owner.mjs";
1
2
  import { Value } from "../../../google/protobuf/struct.mjs";
2
3
  import { Package } from "./move_package.mjs";
3
- import { Owner } from "./owner.mjs";
4
4
  import { Bcs } from "./bcs.mjs";
5
5
  import { MessageType } from "@protobuf-ts/runtime";
6
6
 
@@ -57,20 +57,89 @@ interface QueryOptions {
57
57
  ordering?: Ordering;
58
58
  }
59
59
  /**
60
- * Progress marker for a query scan. Carried on every response frame, whether or
61
- * not the frame delivers a matching item. Watermarks never regress in the
62
- * requested ordering, but consecutive frames may carry the same watermark when
60
+ * A point in ledger order: the boundary between the items whose keys sort
61
+ * below this position and the items whose keys sort at or above it.
62
+ *
63
+ * An item's key is (`sequence_number`) for a `Checkpoint`, (`checkpoint`,
64
+ * `transaction_index`) for an `ExecutedTransaction`, and (`checkpoint`,
65
+ * `transaction_index`, `event_index`) for an `Event`. Keys and positions sort
66
+ * lexicographically, with unset fields counting as 0.
67
+ *
68
+ * An index past the last transaction of a checkpoint, or past the last event of
69
+ * a transaction, names the start of the next one, so different positions can
70
+ * name the same boundary: after the last of checkpoint `c`'s `n` transactions,
71
+ * both (`c`, `n`) and (`c + 1`, 0) name the start of checkpoint `c + 1`.
72
+ * Sorting never contradicts ledger order: a position that sorts below another
73
+ * is at or before it. Use comparisons to drop what is behind, and never assume
74
+ * that positions that differ name different boundaries.
75
+ *
76
+ * To bound a request at a position: as its start, set `start_checkpoint` to
77
+ * `checkpoint` and, when either index is nonzero, the start index fields to
78
+ * both indexes, including one that is 0 (`start_transaction_index`, plus
79
+ * `start_event_index` for events). As its end, set `end_checkpoint` to
80
+ * `checkpoint` when both indexes are 0; otherwise set `end_checkpoint` to
81
+ * `checkpoint + 1` and the end index fields to both indexes
82
+ * (`end_transaction_index`, plus `end_event_index` for events). Checkpoint
83
+ * positions carry only `checkpoint`, so they set only `start_checkpoint` or
84
+ * `end_checkpoint`.
85
+ *
86
+ * @generated from protobuf message sui.rpc.v2.LedgerPosition
87
+ */
88
+ interface LedgerPosition {
89
+ /**
90
+ * Checkpoint sequence number.
91
+ *
92
+ * @generated from protobuf field: optional uint64 checkpoint = 1;
93
+ */
94
+ checkpoint?: bigint;
95
+ /**
96
+ * Zero-based position of a transaction within `checkpoint`.
97
+ *
98
+ * @generated from protobuf field: optional uint64 transaction_index = 2;
99
+ */
100
+ transactionIndex?: bigint;
101
+ /**
102
+ * Zero-based index of an event within its transaction's event list. Event
103
+ * streams only.
104
+ *
105
+ * @generated from protobuf field: optional uint32 event_index = 3;
106
+ */
107
+ eventIndex?: number;
108
+ }
109
+ /**
110
+ * Progress of a scan, carried on every response frame, whether or not the
111
+ * frame delivers a matching item. Watermarks never regress in the requested
112
+ * ordering, but consecutive frames may carry the same watermark when
63
113
  * additional work does not advance the safe resume frontier.
64
114
  *
115
+ * A watermark has two parts:
116
+ *
117
+ * - The resume point, in two forms: `cursor`, opaque, for the server, and
118
+ * `cursor_position`, in ledger coordinates, for clients to order frames and
119
+ * drop duplicates.
120
+ * - Coverage: `checkpoint`, the boundary checkpoint the scan has proven fully
121
+ * covered. It trails the resume point.
122
+ *
123
+ * To continue in the same direction, set the request's start (ascending) or
124
+ * end (descending) at `cursor_position`. To read in the other direction, set
125
+ * the other bound at `cursor_position` from a frame without an item; from a
126
+ * frame with an item, start a page after the item at its key with the finest
127
+ * index incremented, or end a page before it at its key. In both cases pass
128
+ * `cursor` as `options.after` with a start and as `options.before` with an
129
+ * end.
130
+ *
65
131
  * @generated from protobuf message sui.rpc.v2.Watermark
66
132
  */
67
133
  interface Watermark {
68
134
  /**
69
- * Opaque cursor at this scan position. Set on every watermark. Use as
135
+ * Opaque cursor at the resume point. Set on every watermark. Use as
70
136
  * `options.after` (ascending) or `options.before` (descending) on the next
71
137
  * request to resume from here. The most recently received cursor is always
72
138
  * the safe resume point.
73
139
  *
140
+ * Pass cursors back unchanged; never compare or inspect them. Cursors that
141
+ * differ can name the same point, and their encoding may change.
142
+ *
74
143
  * @generated from protobuf field: optional bytes cursor = 1;
75
144
  */
76
145
  cursor?: Uint8Array;
@@ -91,6 +160,30 @@ interface Watermark {
91
160
  * @generated from protobuf field: optional uint64 checkpoint = 2;
92
161
  */
93
162
  checkpoint?: bigint;
163
+ /**
164
+ * The resume point in ledger coordinates. Set on every watermark by servers
165
+ * that support it.
166
+ *
167
+ * Ascending, every match from the request's start up to (excluding)
168
+ * `cursor_position` has been delivered. Descending, every match from
169
+ * `cursor_position` up to (excluding) the request's end has been delivered.
170
+ *
171
+ * On a frame that carries an item, ascending, it is the boundary just past
172
+ * the item, so it is not the item's own key: it is that key with its finest
173
+ * index incremented (`event_index` for events, `transaction_index` for
174
+ * transactions, `checkpoint` for checkpoints). Descending, it is the boundary
175
+ * just before the item, which is the item's key.
176
+ *
177
+ * It never moves before the request's start (ascending) or past its end
178
+ * (descending), so an ascending request that starts beyond what the server
179
+ * has indexed gets its start echoed back: the resume point says where the
180
+ * client is, not where the ledger is. `cursor` may then name an earlier
181
+ * point; bounds intersect, so resuming with both starts at
182
+ * `cursor_position`.
183
+ *
184
+ * @generated from protobuf field: optional sui.rpc.v2.LedgerPosition cursor_position = 4;
185
+ */
186
+ cursorPosition?: LedgerPosition;
94
187
  }
95
188
  /**
96
189
  * Marker for the final frame of a successful query stream. Every successful
@@ -121,13 +214,13 @@ interface QueryEnd {
121
214
  */
122
215
  declare enum Ordering {
123
216
  /**
124
- * Return results in increasing cursor order.
217
+ * Return results in increasing ledger order.
125
218
  *
126
219
  * @generated from protobuf enum value: ORDERING_ASCENDING = 0;
127
220
  */
128
221
  ASCENDING = 0,
129
222
  /**
130
- * Return results in decreasing cursor order.
223
+ * Return results in decreasing ledger order.
131
224
  *
132
225
  * @generated from protobuf enum value: ORDERING_DESCENDING = 1;
133
226
  */
@@ -163,8 +256,10 @@ declare enum QueryEndReason {
163
256
  */
164
257
  SCAN_LIMIT = 2,
165
258
  /**
166
- * The scan reached a requested checkpoint range bound. The terminal frame
167
- * carries no item.
259
+ * The scan reached the edge of the window the request set: its checkpoint
260
+ * range bound, or a start or end position the request set within a
261
+ * checkpoint at that range's edge (for example `end_transaction_index` on
262
+ * `ListTransactionsRequest`). The terminal frame carries no item.
168
263
  *
169
264
  * @generated from protobuf enum value: QUERY_END_REASON_CHECKPOINT_BOUND = 3;
170
265
  */
@@ -192,6 +287,13 @@ declare class QueryOptions$Type extends MessageType<QueryOptions> {
192
287
  * @generated MessageType for protobuf message sui.rpc.v2.QueryOptions
193
288
  */
194
289
  declare const QueryOptions: QueryOptions$Type;
290
+ declare class LedgerPosition$Type extends MessageType<LedgerPosition> {
291
+ constructor();
292
+ }
293
+ /**
294
+ * @generated MessageType for protobuf message sui.rpc.v2.LedgerPosition
295
+ */
296
+ declare const LedgerPosition: LedgerPosition$Type;
195
297
  declare class Watermark$Type extends MessageType<Watermark> {
196
298
  constructor();
197
299
  }
@@ -207,5 +309,5 @@ declare class QueryEnd$Type extends MessageType<QueryEnd> {
207
309
  */
208
310
  declare const QueryEnd: QueryEnd$Type;
209
311
  //#endregion
210
- export { Ordering, QueryEnd, QueryEndReason, QueryOptions, Watermark };
312
+ export { LedgerPosition, Ordering, QueryEnd, QueryEndReason, QueryOptions, Watermark };
211
313
  //# sourceMappingURL=query_options.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"query_options.d.mts","names":[],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/query_options.ts"],"mappings":";;;;;AAmCA;;;;;;;;;;;;;;;;;AAwCA;;;;UAxCiB,YAAA;EAiDP;;;;AAiCV;;EA3EC,KAAA;EAiFA;;AAOD;;;;EAjFC,KAAA,GAAQ,UAAA;EAoGG;;;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B,SAAA;;;;;;;;;;;;EAYhB,MAAA,GAAS,UAAA;;;;;;;;;;;;;;;;;EAiBT,UAAA;;;;;;;;;;;;;;;;;;;;;;;;EAwBA,cAAA,GAAiB,cAAA;AAAA;;;;;;;;;;;;;;;UAgBD,QAAA;;;;;;EAMhB,MAAA,GAAS,cAAA;AAAA;;;;;;aAOE,QAAA;;;;;;EAMX,SAAA;;;;;;EAMA,UAAA;AAAA;;;;;;aAOW,cAAA;;;;;;EAMX,OAAA;;;;;;;;EAQA,UAAA;;;;;;;;;EASA,UAAA;;;;;;;;;EASA,gBAAA;;;;;;;;EAQA,YAAA;;;;;;;EAOA,UAAA;AAAA;AAAA,cAGK,iBAAA,SAA0B,WAAA,CAAY,YAAA;;;;;;cAmB/B,YAAA,EAAY,iBAAA;AAAA,cAEnB,mBAAA,SAA4B,WAAA,CAAY,cAAA;;;;;;cA0BjC,cAAA,EAAc,mBAAA;AAAA,cAErB,cAAA,SAAuB,WAAA,CAAY,SAAA;;;;;;cAmB5B,SAAA,EAAS,cAAA;AAAA,cAEhB,aAAA,SAAsB,WAAA,CAAY,QAAA;;;;;;cAgB3B,QAAA,EAAQ,aAAA"}
@@ -8,13 +8,13 @@ import { MessageType } from "@protobuf-ts/runtime";
8
8
  */
9
9
  let Ordering = /* @__PURE__ */ function(Ordering$1) {
10
10
  /**
11
- * Return results in increasing cursor order.
11
+ * Return results in increasing ledger order.
12
12
  *
13
13
  * @generated from protobuf enum value: ORDERING_ASCENDING = 0;
14
14
  */
15
15
  Ordering$1[Ordering$1["ASCENDING"] = 0] = "ASCENDING";
16
16
  /**
17
- * Return results in decreasing cursor order.
17
+ * Return results in decreasing ledger order.
18
18
  *
19
19
  * @generated from protobuf enum value: ORDERING_DESCENDING = 1;
20
20
  */
@@ -51,8 +51,10 @@ let QueryEndReason = /* @__PURE__ */ function(QueryEndReason$1) {
51
51
  */
52
52
  QueryEndReason$1[QueryEndReason$1["SCAN_LIMIT"] = 2] = "SCAN_LIMIT";
53
53
  /**
54
- * The scan reached a requested checkpoint range bound. The terminal frame
55
- * carries no item.
54
+ * The scan reached the edge of the window the request set: its checkpoint
55
+ * range bound, or a start or end position the request set within a
56
+ * checkpoint at that range's edge (for example `end_transaction_index` on
57
+ * `ListTransactionsRequest`). The terminal frame carries no item.
56
58
  *
57
59
  * @generated from protobuf enum value: QUERY_END_REASON_CHECKPOINT_BOUND = 3;
58
60
  */
@@ -116,22 +118,64 @@ var QueryOptions$Type = class extends MessageType {
116
118
  * @generated MessageType for protobuf message sui.rpc.v2.QueryOptions
117
119
  */
118
120
  const QueryOptions = new QueryOptions$Type();
121
+ var LedgerPosition$Type = class extends MessageType {
122
+ constructor() {
123
+ super("sui.rpc.v2.LedgerPosition", [
124
+ {
125
+ no: 1,
126
+ name: "checkpoint",
127
+ kind: "scalar",
128
+ opt: true,
129
+ T: 4,
130
+ L: 0
131
+ },
132
+ {
133
+ no: 2,
134
+ name: "transaction_index",
135
+ kind: "scalar",
136
+ opt: true,
137
+ T: 4,
138
+ L: 0
139
+ },
140
+ {
141
+ no: 3,
142
+ name: "event_index",
143
+ kind: "scalar",
144
+ opt: true,
145
+ T: 13
146
+ }
147
+ ]);
148
+ }
149
+ };
150
+ /**
151
+ * @generated MessageType for protobuf message sui.rpc.v2.LedgerPosition
152
+ */
153
+ const LedgerPosition = new LedgerPosition$Type();
119
154
  var Watermark$Type = class extends MessageType {
120
155
  constructor() {
121
- super("sui.rpc.v2.Watermark", [{
122
- no: 1,
123
- name: "cursor",
124
- kind: "scalar",
125
- opt: true,
126
- T: 12
127
- }, {
128
- no: 2,
129
- name: "checkpoint",
130
- kind: "scalar",
131
- opt: true,
132
- T: 4,
133
- L: 0
134
- }]);
156
+ super("sui.rpc.v2.Watermark", [
157
+ {
158
+ no: 1,
159
+ name: "cursor",
160
+ kind: "scalar",
161
+ opt: true,
162
+ T: 12
163
+ },
164
+ {
165
+ no: 2,
166
+ name: "checkpoint",
167
+ kind: "scalar",
168
+ opt: true,
169
+ T: 4,
170
+ L: 0
171
+ },
172
+ {
173
+ no: 4,
174
+ name: "cursor_position",
175
+ kind: "message",
176
+ T: () => LedgerPosition
177
+ }
178
+ ]);
135
179
  }
136
180
  };
137
181
  /**
@@ -159,5 +203,5 @@ var QueryEnd$Type = class extends MessageType {
159
203
  const QueryEnd = new QueryEnd$Type();
160
204
 
161
205
  //#endregion
162
- export { Ordering, QueryEnd, QueryEndReason, QueryOptions, Watermark };
206
+ export { LedgerPosition, Ordering, QueryEnd, QueryEndReason, QueryOptions, Watermark };
163
207
  //# sourceMappingURL=query_options.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"query_options.mjs","names":[],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/query_options.ts"],"sourcesContent":["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/query_options.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { MessageType } from '@protobuf-ts/runtime';\n/**\n * Cursor-bounded query options.\n *\n * `after` and `before` are canonical ledger-position bounds, not\n * ordering-relative cursors. `after` always excludes items at or below that\n * cursor, and `before` always excludes items at or above that cursor. Ordering\n * only controls the order of returned items within the resulting open interval.\n *\n * When a request also specifies a checkpoint range, cursor bounds and\n * checkpoint bounds compose by intersection: results come only from ledger\n * positions inside both. Checkpoint bounds are likewise canonical and\n * ordering-independent.\n *\n * For example, with `after = A`, `before = B`, `ordering = DESCENDING`, and\n * `limit = N`, the response contains up to N matching items in descending\n * order from the interval `(A, B)`. If the response ends with\n * `QUERY_END_REASON_ITEM_LIMIT`, resume by keeping `after = A` and setting\n * `before` to the last `Watermark.cursor` received. That cursor is the\n * lowest position reached in ledger order, so it becomes the next exclusive\n * upper bound.\n *\n * @generated from protobuf message sui.rpc.v2.QueryOptions\n */\nexport interface QueryOptions {\n\t/**\n\t * The maximum number of items to return. Each method applies its own default\n\t * and maximum. QueryEnd does not count against this limit.\n\t *\n\t * @generated from protobuf field: optional uint32 limit = 1;\n\t */\n\tlimit?: number;\n\t/**\n\t * Opaque exclusive lower bound. Results must be strictly after this cursor in\n\t * canonical ledger order.\n\t *\n\t * @generated from protobuf field: optional bytes after = 2;\n\t */\n\tafter?: Uint8Array;\n\t/**\n\t * Opaque exclusive upper bound. Results must be strictly before this cursor\n\t * in canonical ledger order.\n\t *\n\t * @generated from protobuf field: optional bytes before = 3;\n\t */\n\tbefore?: Uint8Array;\n\t/**\n\t * Ordering for returned results. Defaults to ASCENDING.\n\t *\n\t * Ordering only controls the order of results within the bounded interval;\n\t * cursor bounds keep the same meaning for ascending and descending reads.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Ordering ordering = 4;\n\t */\n\tordering?: Ordering;\n}\n/**\n * Progress marker for a query scan. Carried on every response frame, whether or\n * not the frame delivers a matching item. Watermarks never regress in the\n * requested ordering, but consecutive frames may carry the same watermark when\n * additional work does not advance the safe resume frontier.\n *\n * @generated from protobuf message sui.rpc.v2.Watermark\n */\nexport interface Watermark {\n\t/**\n\t * Opaque cursor at this scan position. Set on every watermark. Use as\n\t * `options.after` (ascending) or `options.before` (descending) on the next\n\t * request to resume from here. The most recently received cursor is always\n\t * the safe resume point.\n\t *\n\t * @generated from protobuf field: optional bytes cursor = 1;\n\t */\n\tcursor?: Uint8Array;\n\t/**\n\t * The inclusive boundary checkpoint that the scan has fully covered within\n\t * the request's effective interval, in the request's ordering direction: an\n\t * ascending scan has emitted every matching item in the interval at\n\t * checkpoints `<= checkpoint` (strictly greater ones may still hold\n\t * matches); a descending scan has emitted every matching item in the\n\t * interval at checkpoints `>= checkpoint`. This boundary never regresses in\n\t * the scan direction, but it may repeat while the cursor advances.\n\t *\n\t * Unset until the scan's first checkpoint is fully covered. For example, a\n\t * scan resumed from a cursor that lands mid-checkpoint leaves this unset\n\t * until the next checkpoint boundary in the scan direction is fully covered.\n\t * A watermark still has a valid resume cursor while this field is unset.\n\t *\n\t * @generated from protobuf field: optional uint64 checkpoint = 2;\n\t */\n\tcheckpoint?: bigint;\n}\n/**\n * Marker for the final frame of a successful query stream. Every successful\n * stream sets `QueryEnd` on exactly one frame, after which no further frames\n * are sent. That frame always carries the final watermark. For `ItemLimit`, it\n * also carries the final matching item; for every other reason it carries no\n * item. A ScanLimit terminal watermark may repeat the previous frame's cursor\n * when its authoritative scan frontier was already emitted; this does not\n * repeat an item.\n *\n * A stream that fails or is cancelled terminates with a gRPC status and does\n * not send `QueryEnd`.\n *\n * @generated from protobuf message sui.rpc.v2.QueryEnd\n */\nexport interface QueryEnd {\n\t/**\n\t * Reason this response stopped.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.QueryEndReason reason = 1;\n\t */\n\treason?: QueryEndReason;\n}\n/**\n * Ordering for the returned result set.\n *\n * @generated from protobuf enum sui.rpc.v2.Ordering\n */\nexport enum Ordering {\n\t/**\n\t * Return results in increasing cursor order.\n\t *\n\t * @generated from protobuf enum value: ORDERING_ASCENDING = 0;\n\t */\n\tASCENDING = 0,\n\t/**\n\t * Return results in decreasing cursor order.\n\t *\n\t * @generated from protobuf enum value: ORDERING_DESCENDING = 1;\n\t */\n\tDESCENDING = 1,\n}\n/**\n * Reason the server stopped this query response.\n *\n * @generated from protobuf enum sui.rpc.v2.QueryEndReason\n */\nexport enum QueryEndReason {\n\t/**\n\t * The stop reason was not specified.\n\t *\n\t * @generated from protobuf enum value: QUERY_END_REASON_UNKNOWN = 0;\n\t */\n\tUNKNOWN = 0,\n\t/**\n\t * The response reached the requested item limit. The final matching item's\n\t * frame carries `QueryEnd` and the final watermark. Resume from that frame's\n\t * `Watermark.cursor` to continue reading the same effective interval.\n\t *\n\t * @generated from protobuf enum value: QUERY_END_REASON_ITEM_LIMIT = 1;\n\t */\n\tITEM_LIMIT = 1,\n\t/**\n\t * The response reached the server's per-request bucket-fetch budget for\n\t * filtered scans before reaching the effective interval bound. The terminal\n\t * frame carries no item. Its watermark cursor is the authoritative scan\n\t * frontier from which to resume.\n\t *\n\t * @generated from protobuf enum value: QUERY_END_REASON_SCAN_LIMIT = 2;\n\t */\n\tSCAN_LIMIT = 2,\n\t/**\n\t * The scan reached a requested checkpoint range bound. The terminal frame\n\t * carries no item.\n\t *\n\t * @generated from protobuf enum value: QUERY_END_REASON_CHECKPOINT_BOUND = 3;\n\t */\n\tCHECKPOINT_BOUND = 3,\n\t/**\n\t * The scan reached an exclusive cursor bound. The terminal frame carries no\n\t * item. Its watermark cursor represents that resolved bound without claiming\n\t * that its containing checkpoint was fully covered.\n\t *\n\t * @generated from protobuf enum value: QUERY_END_REASON_CURSOR_BOUND = 4;\n\t */\n\tCURSOR_BOUND = 4,\n\t/**\n\t * The scan reached the currently indexed ledger tip. The terminal frame\n\t * carries no item.\n\t *\n\t * @generated from protobuf enum value: QUERY_END_REASON_LEDGER_TIP = 5;\n\t */\n\tLEDGER_TIP = 5,\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass QueryOptions$Type extends MessageType<QueryOptions> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.QueryOptions', [\n\t\t\t{ no: 1, name: 'limit', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },\n\t\t\t{ no: 2, name: 'after', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{ no: 3, name: 'before', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: 'ordering',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => ['sui.rpc.v2.Ordering', Ordering, 'ORDERING_'],\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.QueryOptions\n */\nexport const QueryOptions = new QueryOptions$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass Watermark$Type extends MessageType<Watermark> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.Watermark', [\n\t\t\t{ no: 1, name: 'cursor', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'checkpoint',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.Watermark\n */\nexport const Watermark = new Watermark$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass QueryEnd$Type extends MessageType<QueryEnd> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.QueryEnd', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'reason',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => ['sui.rpc.v2.QueryEndReason', QueryEndReason, 'QUERY_END_REASON_'],\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.QueryEnd\n */\nexport const QueryEnd = new QueryEnd$Type();\n"],"mappings":";;;;;;;;AAkIA,IAAY,gDAAL;;;;;;AAMN;;;;;;AAMA;;;;;;;;AAOD,IAAY,4DAAL;;;;;;AAMN;;;;;;;;AAQA;;;;;;;;;AASA;;;;;;;AAOA;;;;;;;;AAQA;;;;;;;AAOA;;;AAGD,IAAM,oBAAN,cAAgC,YAA0B;CACzD,cAAc;AACb,QAAM,2BAA2B;GAChC;IAAE,IAAI;IAAG,MAAM;IAAS,MAAM;IAAU,KAAK;IAAM,GAAG;IAA0B;GAChF;IAAE,IAAI;IAAG,MAAM;IAAS,MAAM;IAAU,KAAK;IAAM,GAAG;IAAyB;GAC/E;IAAE,IAAI;IAAG,MAAM;IAAU,MAAM;IAAU,KAAK;IAAM,GAAG;IAAyB;GAChF;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,SAAS;KAAC;KAAuB;KAAU;KAAY;IACvD;GACD,CAAC;;;;;;AAMJ,MAAa,eAAe,IAAI,mBAAmB;AAEnD,IAAM,iBAAN,cAA6B,YAAuB;CACnD,cAAc;AACb,QAAM,wBAAwB,CAC7B;GAAE,IAAI;GAAG,MAAM;GAAU,MAAM;GAAU,KAAK;GAAM,GAAG;GAAyB,EAChF;GACC,IAAI;GACJ,MAAM;GACN,MAAM;GACN,KAAK;GACL,GAAG;GACH,GAAG;GACH,CACD,CAAC;;;;;;AAMJ,MAAa,YAAY,IAAI,gBAAgB;AAE7C,IAAM,gBAAN,cAA4B,YAAsB;CACjD,cAAc;AACb,QAAM,uBAAuB,CAC5B;GACC,IAAI;GACJ,MAAM;GACN,MAAM;GACN,KAAK;GACL,SAAS;IAAC;IAA6B;IAAgB;IAAoB;GAC3E,CACD,CAAC;;;;;;AAMJ,MAAa,WAAW,IAAI,eAAe"}
1
+ {"version":3,"file":"query_options.mjs","names":[],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/query_options.ts"],"sourcesContent":["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/query_options.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { MessageType } from '@protobuf-ts/runtime';\n/**\n * Cursor-bounded query options.\n *\n * `after` and `before` are canonical ledger-position bounds, not\n * ordering-relative cursors. `after` always excludes items at or below that\n * cursor, and `before` always excludes items at or above that cursor. Ordering\n * only controls the order of returned items within the resulting open interval.\n *\n * When a request also specifies a checkpoint range, cursor bounds and\n * checkpoint bounds compose by intersection: results come only from ledger\n * positions inside both. Checkpoint bounds are likewise canonical and\n * ordering-independent.\n *\n * For example, with `after = A`, `before = B`, `ordering = DESCENDING`, and\n * `limit = N`, the response contains up to N matching items in descending\n * order from the interval `(A, B)`. If the response ends with\n * `QUERY_END_REASON_ITEM_LIMIT`, resume by keeping `after = A` and setting\n * `before` to the last `Watermark.cursor` received. That cursor is the\n * lowest position reached in ledger order, so it becomes the next exclusive\n * upper bound.\n *\n * @generated from protobuf message sui.rpc.v2.QueryOptions\n */\nexport interface QueryOptions {\n\t/**\n\t * The maximum number of items to return. Each method applies its own default\n\t * and maximum. QueryEnd does not count against this limit.\n\t *\n\t * @generated from protobuf field: optional uint32 limit = 1;\n\t */\n\tlimit?: number;\n\t/**\n\t * Opaque exclusive lower bound. Results must be strictly after this cursor in\n\t * canonical ledger order.\n\t *\n\t * @generated from protobuf field: optional bytes after = 2;\n\t */\n\tafter?: Uint8Array;\n\t/**\n\t * Opaque exclusive upper bound. Results must be strictly before this cursor\n\t * in canonical ledger order.\n\t *\n\t * @generated from protobuf field: optional bytes before = 3;\n\t */\n\tbefore?: Uint8Array;\n\t/**\n\t * Ordering for returned results. Defaults to ASCENDING.\n\t *\n\t * Ordering only controls the order of results within the bounded interval;\n\t * cursor bounds keep the same meaning for ascending and descending reads.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Ordering ordering = 4;\n\t */\n\tordering?: Ordering;\n}\n/**\n * A point in ledger order: the boundary between the items whose keys sort\n * below this position and the items whose keys sort at or above it.\n *\n * An item's key is (`sequence_number`) for a `Checkpoint`, (`checkpoint`,\n * `transaction_index`) for an `ExecutedTransaction`, and (`checkpoint`,\n * `transaction_index`, `event_index`) for an `Event`. Keys and positions sort\n * lexicographically, with unset fields counting as 0.\n *\n * An index past the last transaction of a checkpoint, or past the last event of\n * a transaction, names the start of the next one, so different positions can\n * name the same boundary: after the last of checkpoint `c`'s `n` transactions,\n * both (`c`, `n`) and (`c + 1`, 0) name the start of checkpoint `c + 1`.\n * Sorting never contradicts ledger order: a position that sorts below another\n * is at or before it. Use comparisons to drop what is behind, and never assume\n * that positions that differ name different boundaries.\n *\n * To bound a request at a position: as its start, set `start_checkpoint` to\n * `checkpoint` and, when either index is nonzero, the start index fields to\n * both indexes, including one that is 0 (`start_transaction_index`, plus\n * `start_event_index` for events). As its end, set `end_checkpoint` to\n * `checkpoint` when both indexes are 0; otherwise set `end_checkpoint` to\n * `checkpoint + 1` and the end index fields to both indexes\n * (`end_transaction_index`, plus `end_event_index` for events). Checkpoint\n * positions carry only `checkpoint`, so they set only `start_checkpoint` or\n * `end_checkpoint`.\n *\n * @generated from protobuf message sui.rpc.v2.LedgerPosition\n */\nexport interface LedgerPosition {\n\t/**\n\t * Checkpoint sequence number.\n\t *\n\t * @generated from protobuf field: optional uint64 checkpoint = 1;\n\t */\n\tcheckpoint?: bigint;\n\t/**\n\t * Zero-based position of a transaction within `checkpoint`.\n\t *\n\t * @generated from protobuf field: optional uint64 transaction_index = 2;\n\t */\n\ttransactionIndex?: bigint;\n\t/**\n\t * Zero-based index of an event within its transaction's event list. Event\n\t * streams only.\n\t *\n\t * @generated from protobuf field: optional uint32 event_index = 3;\n\t */\n\teventIndex?: number;\n}\n/**\n * Progress of a scan, carried on every response frame, whether or not the\n * frame delivers a matching item. Watermarks never regress in the requested\n * ordering, but consecutive frames may carry the same watermark when\n * additional work does not advance the safe resume frontier.\n *\n * A watermark has two parts:\n *\n * - The resume point, in two forms: `cursor`, opaque, for the server, and\n * `cursor_position`, in ledger coordinates, for clients to order frames and\n * drop duplicates.\n * - Coverage: `checkpoint`, the boundary checkpoint the scan has proven fully\n * covered. It trails the resume point.\n *\n * To continue in the same direction, set the request's start (ascending) or\n * end (descending) at `cursor_position`. To read in the other direction, set\n * the other bound at `cursor_position` from a frame without an item; from a\n * frame with an item, start a page after the item at its key with the finest\n * index incremented, or end a page before it at its key. In both cases pass\n * `cursor` as `options.after` with a start and as `options.before` with an\n * end.\n *\n * @generated from protobuf message sui.rpc.v2.Watermark\n */\nexport interface Watermark {\n\t/**\n\t * Opaque cursor at the resume point. Set on every watermark. Use as\n\t * `options.after` (ascending) or `options.before` (descending) on the next\n\t * request to resume from here. The most recently received cursor is always\n\t * the safe resume point.\n\t *\n\t * Pass cursors back unchanged; never compare or inspect them. Cursors that\n\t * differ can name the same point, and their encoding may change.\n\t *\n\t * @generated from protobuf field: optional bytes cursor = 1;\n\t */\n\tcursor?: Uint8Array;\n\t/**\n\t * The inclusive boundary checkpoint that the scan has fully covered within\n\t * the request's effective interval, in the request's ordering direction: an\n\t * ascending scan has emitted every matching item in the interval at\n\t * checkpoints `<= checkpoint` (strictly greater ones may still hold\n\t * matches); a descending scan has emitted every matching item in the\n\t * interval at checkpoints `>= checkpoint`. This boundary never regresses in\n\t * the scan direction, but it may repeat while the cursor advances.\n\t *\n\t * Unset until the scan's first checkpoint is fully covered. For example, a\n\t * scan resumed from a cursor that lands mid-checkpoint leaves this unset\n\t * until the next checkpoint boundary in the scan direction is fully covered.\n\t * A watermark still has a valid resume cursor while this field is unset.\n\t *\n\t * @generated from protobuf field: optional uint64 checkpoint = 2;\n\t */\n\tcheckpoint?: bigint;\n\t/**\n\t * The resume point in ledger coordinates. Set on every watermark by servers\n\t * that support it.\n\t *\n\t * Ascending, every match from the request's start up to (excluding)\n\t * `cursor_position` has been delivered. Descending, every match from\n\t * `cursor_position` up to (excluding) the request's end has been delivered.\n\t *\n\t * On a frame that carries an item, ascending, it is the boundary just past\n\t * the item, so it is not the item's own key: it is that key with its finest\n\t * index incremented (`event_index` for events, `transaction_index` for\n\t * transactions, `checkpoint` for checkpoints). Descending, it is the boundary\n\t * just before the item, which is the item's key.\n\t *\n\t * It never moves before the request's start (ascending) or past its end\n\t * (descending), so an ascending request that starts beyond what the server\n\t * has indexed gets its start echoed back: the resume point says where the\n\t * client is, not where the ledger is. `cursor` may then name an earlier\n\t * point; bounds intersect, so resuming with both starts at\n\t * `cursor_position`.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.LedgerPosition cursor_position = 4;\n\t */\n\tcursorPosition?: LedgerPosition;\n}\n/**\n * Marker for the final frame of a successful query stream. Every successful\n * stream sets `QueryEnd` on exactly one frame, after which no further frames\n * are sent. That frame always carries the final watermark. For `ItemLimit`, it\n * also carries the final matching item; for every other reason it carries no\n * item. A ScanLimit terminal watermark may repeat the previous frame's cursor\n * when its authoritative scan frontier was already emitted; this does not\n * repeat an item.\n *\n * A stream that fails or is cancelled terminates with a gRPC status and does\n * not send `QueryEnd`.\n *\n * @generated from protobuf message sui.rpc.v2.QueryEnd\n */\nexport interface QueryEnd {\n\t/**\n\t * Reason this response stopped.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.QueryEndReason reason = 1;\n\t */\n\treason?: QueryEndReason;\n}\n/**\n * Ordering for the returned result set.\n *\n * @generated from protobuf enum sui.rpc.v2.Ordering\n */\nexport enum Ordering {\n\t/**\n\t * Return results in increasing ledger order.\n\t *\n\t * @generated from protobuf enum value: ORDERING_ASCENDING = 0;\n\t */\n\tASCENDING = 0,\n\t/**\n\t * Return results in decreasing ledger order.\n\t *\n\t * @generated from protobuf enum value: ORDERING_DESCENDING = 1;\n\t */\n\tDESCENDING = 1,\n}\n/**\n * Reason the server stopped this query response.\n *\n * @generated from protobuf enum sui.rpc.v2.QueryEndReason\n */\nexport enum QueryEndReason {\n\t/**\n\t * The stop reason was not specified.\n\t *\n\t * @generated from protobuf enum value: QUERY_END_REASON_UNKNOWN = 0;\n\t */\n\tUNKNOWN = 0,\n\t/**\n\t * The response reached the requested item limit. The final matching item's\n\t * frame carries `QueryEnd` and the final watermark. Resume from that frame's\n\t * `Watermark.cursor` to continue reading the same effective interval.\n\t *\n\t * @generated from protobuf enum value: QUERY_END_REASON_ITEM_LIMIT = 1;\n\t */\n\tITEM_LIMIT = 1,\n\t/**\n\t * The response reached the server's per-request bucket-fetch budget for\n\t * filtered scans before reaching the effective interval bound. The terminal\n\t * frame carries no item. Its watermark cursor is the authoritative scan\n\t * frontier from which to resume.\n\t *\n\t * @generated from protobuf enum value: QUERY_END_REASON_SCAN_LIMIT = 2;\n\t */\n\tSCAN_LIMIT = 2,\n\t/**\n\t * The scan reached the edge of the window the request set: its checkpoint\n\t * range bound, or a start or end position the request set within a\n\t * checkpoint at that range's edge (for example `end_transaction_index` on\n\t * `ListTransactionsRequest`). The terminal frame carries no item.\n\t *\n\t * @generated from protobuf enum value: QUERY_END_REASON_CHECKPOINT_BOUND = 3;\n\t */\n\tCHECKPOINT_BOUND = 3,\n\t/**\n\t * The scan reached an exclusive cursor bound. The terminal frame carries no\n\t * item. Its watermark cursor represents that resolved bound without claiming\n\t * that its containing checkpoint was fully covered.\n\t *\n\t * @generated from protobuf enum value: QUERY_END_REASON_CURSOR_BOUND = 4;\n\t */\n\tCURSOR_BOUND = 4,\n\t/**\n\t * The scan reached the currently indexed ledger tip. The terminal frame\n\t * carries no item.\n\t *\n\t * @generated from protobuf enum value: QUERY_END_REASON_LEDGER_TIP = 5;\n\t */\n\tLEDGER_TIP = 5,\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass QueryOptions$Type extends MessageType<QueryOptions> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.QueryOptions', [\n\t\t\t{ no: 1, name: 'limit', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },\n\t\t\t{ no: 2, name: 'after', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{ no: 3, name: 'before', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: 'ordering',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => ['sui.rpc.v2.Ordering', Ordering, 'ORDERING_'],\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.QueryOptions\n */\nexport const QueryOptions = new QueryOptions$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass LedgerPosition$Type extends MessageType<LedgerPosition> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.LedgerPosition', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'checkpoint',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'transaction_index',\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: 'event_index', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.LedgerPosition\n */\nexport const LedgerPosition = new LedgerPosition$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass Watermark$Type extends MessageType<Watermark> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.Watermark', [\n\t\t\t{ no: 1, name: 'cursor', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'checkpoint',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 4, name: 'cursor_position', kind: 'message', T: () => LedgerPosition },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.Watermark\n */\nexport const Watermark = new Watermark$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass QueryEnd$Type extends MessageType<QueryEnd> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.QueryEnd', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'reason',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => ['sui.rpc.v2.QueryEndReason', QueryEndReason, 'QUERY_END_REASON_'],\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.QueryEnd\n */\nexport const QueryEnd = new QueryEnd$Type();\n"],"mappings":";;;;;;;;AA+NA,IAAY,gDAAL;;;;;;AAMN;;;;;;AAMA;;;;;;;;AAOD,IAAY,4DAAL;;;;;;AAMN;;;;;;;;AAQA;;;;;;;;;AASA;;;;;;;;;AASA;;;;;;;;AAQA;;;;;;;AAOA;;;AAGD,IAAM,oBAAN,cAAgC,YAA0B;CACzD,cAAc;AACb,QAAM,2BAA2B;GAChC;IAAE,IAAI;IAAG,MAAM;IAAS,MAAM;IAAU,KAAK;IAAM,GAAG;IAA0B;GAChF;IAAE,IAAI;IAAG,MAAM;IAAS,MAAM;IAAU,KAAK;IAAM,GAAG;IAAyB;GAC/E;IAAE,IAAI;IAAG,MAAM;IAAU,MAAM;IAAU,KAAK;IAAM,GAAG;IAAyB;GAChF;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,SAAS;KAAC;KAAuB;KAAU;KAAY;IACvD;GACD,CAAC;;;;;;AAMJ,MAAa,eAAe,IAAI,mBAAmB;AAEnD,IAAM,sBAAN,cAAkC,YAA4B;CAC7D,cAAc;AACb,QAAM,6BAA6B;GAClC;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,GAAG;IACH,GAAG;IACH;GACD;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,GAAG;IACH,GAAG;IACH;GACD;IAAE,IAAI;IAAG,MAAM;IAAe,MAAM;IAAU,KAAK;IAAM,GAAG;IAA0B;GACtF,CAAC;;;;;;AAMJ,MAAa,iBAAiB,IAAI,qBAAqB;AAEvD,IAAM,iBAAN,cAA6B,YAAuB;CACnD,cAAc;AACb,QAAM,wBAAwB;GAC7B;IAAE,IAAI;IAAG,MAAM;IAAU,MAAM;IAAU,KAAK;IAAM,GAAG;IAAyB;GAChF;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,GAAG;IACH,GAAG;IACH;GACD;IAAE,IAAI;IAAG,MAAM;IAAmB,MAAM;IAAW,SAAS;IAAgB;GAC5E,CAAC;;;;;;AAMJ,MAAa,YAAY,IAAI,gBAAgB;AAE7C,IAAM,gBAAN,cAA4B,YAAsB;CACjD,cAAc;AACb,QAAM,uBAAuB,CAC5B;GACC,IAAI;GACJ,MAAM;GACN,MAAM;GACN,KAAK;GACL,SAAS;IAAC;IAA6B;IAAgB;IAAoB;GAC3E,CACD,CAAC;;;;;;AAMJ,MAAa,WAAW,IAAI,eAAe"}
@@ -1,5 +1,5 @@
1
- import { Bcs } from "./bcs.mjs";
2
1
  import { JwkId } from "./jwk.mjs";
2
+ import { Bcs } from "./bcs.mjs";
3
3
  import { SignatureScheme } from "./signature_scheme.mjs";
4
4
  import { MessageType } from "@protobuf-ts/runtime";
5
5
 
@@ -31,7 +31,7 @@ interface UserSignature {
31
31
  signature: {
32
32
  oneofKind: 'simple';
33
33
  /**
34
- * Simple signature if scheme is ed25519 | secp256k1 | secp256r1.
34
+ * Simple signature if scheme is ed25519 | secp256k1 | secp256r1 | mldsa65.
35
35
  *
36
36
  * @generated from protobuf field: sui.rpc.v2.SimpleSignature simple = 3;
37
37
  */
@@ -65,7 +65,7 @@ interface UserSignature {
65
65
  };
66
66
  }
67
67
  /**
68
- * Either an ed25519, secp256k1 or secp256r1 signature
68
+ * Either an ed25519, secp256k1, secp256r1 or mldsa65 signature
69
69
  *
70
70
  * @generated from protobuf message sui.rpc.v2.SimpleSignature
71
71
  */
@@ -119,7 +119,7 @@ interface MultisigMemberPublicKey {
119
119
  */
120
120
  scheme?: SignatureScheme;
121
121
  /**
122
- * Public key bytes if scheme is ed25519 | secp256k1 | secp256r1 | passkey.
122
+ * Public key bytes if scheme is ed25519 | secp256k1 | secp256r1 | passkey | mldsa65.
123
123
  *
124
124
  * @generated from protobuf field: optional bytes public_key = 2;
125
125
  */
@@ -218,7 +218,7 @@ interface MultisigMemberSignature {
218
218
  */
219
219
  scheme?: SignatureScheme;
220
220
  /**
221
- * Signature bytes if scheme is ed25519 | secp256k1 | secp256r1.
221
+ * Signature bytes if scheme is ed25519 | secp256k1 | secp256r1 | mldsa65.
222
222
  *
223
223
  * @generated from protobuf field: optional bytes signature = 2;
224
224
  */
@@ -1 +1 @@
1
- {"version":3,"file":"signature.mjs","names":[],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/signature.ts"],"sourcesContent":["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/signature.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { MessageType } from '@protobuf-ts/runtime';\nimport { JwkId } from './jwk.js';\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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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: optional bytes legacy_bitmap = 3;\n\t */\n\tlegacyBitmap?: Uint8Array;\n\t/**\n\t * The committee to use to validate this signature.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.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.v2.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.v2.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.v2.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.v2.PasskeyAuthenticator passkey = 4;\n\t */\n\tpasskey?: PasskeyAuthenticator;\n}\n/**\n * A zklogin authenticator.\n *\n * @generated from protobuf message sui.rpc.v2.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.v2.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.v2.SimpleSignature signature = 3;\n\t */\n\tsignature?: SimpleSignature;\n\t/**\n\t * The public identifier (similar to a public key) for this zklogin authenticator\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.ZkLoginPublicIdentifier public_identifier = 4;\n\t */\n\tpublicIdentifier?: ZkLoginPublicIdentifier;\n\t/**\n\t * The id of the JWK used to authorize this zklogin authenticator\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.JwkId jwk_id = 5;\n\t */\n\tjwkId?: JwkId;\n}\n/**\n * A zklogin groth16 proof and the required inputs to perform proof verification.\n *\n * @generated from protobuf message sui.rpc.v2.ZkLoginInputs\n */\nexport interface ZkLoginInputs {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.ZkLoginProof proof_points = 1;\n\t */\n\tproofPoints?: ZkLoginProof;\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.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.v2.ZkLoginProof\n */\nexport interface ZkLoginProof {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.CircomG1 a = 1;\n\t */\n\ta?: CircomG1;\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.CircomG2 b = 2;\n\t */\n\tb?: CircomG2;\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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: optional bytes bitmap = 3;\n\t */\n\tbitmap?: Uint8Array;\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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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: 2 /*RepeatType.UNPACKED*/,\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.v2.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.v2.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: 2 /*RepeatType.UNPACKED*/,\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{ no: 3, name: 'legacy_bitmap', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\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.v2.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.v2.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.v2.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.v2.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.v2.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\t{ no: 4, name: 'public_identifier', kind: 'message', T: () => ZkLoginPublicIdentifier },\n\t\t\t{ no: 5, name: 'jwk_id', kind: 'message', T: () => JwkId },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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: 2 /*RepeatType.UNPACKED*/,\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.v2.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.v2.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.v2.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.v2.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{ no: 3, name: 'bitmap', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ValidatorAggregatedSignature\n */\nexport const ValidatorAggregatedSignature = new ValidatorAggregatedSignature$Type();\n"],"mappings":";;;;;;AAwgBA,IAAM,qBAAN,cAAiC,YAA2B;CAC3D,cAAc;AACb,QAAM,4BAA4B;GACjC;IAAE,IAAI;IAAG,MAAM;IAAO,MAAM;IAAW,SAAS;IAAK;GACrD;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,SAAS,CAA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
1
+ {"version":3,"file":"signature.mjs","names":[],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/signature.ts"],"sourcesContent":["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/signature.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { MessageType } from '@protobuf-ts/runtime';\nimport { JwkId } from './jwk.js';\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.v2.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.v2.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.v2.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 | mldsa65.\n\t\t\t\t *\n\t\t\t\t * @generated from protobuf field: sui.rpc.v2.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.v2.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.v2.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.v2.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, secp256r1 or mldsa65 signature\n *\n * @generated from protobuf message sui.rpc.v2.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.v2.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.v2.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.v2.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.v2.SignatureScheme scheme = 1;\n\t */\n\tscheme?: SignatureScheme;\n\t/**\n\t * Public key bytes if scheme is ed25519 | secp256k1 | secp256r1 | passkey | mldsa65.\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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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: optional bytes legacy_bitmap = 3;\n\t */\n\tlegacyBitmap?: Uint8Array;\n\t/**\n\t * The committee to use to validate this signature.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.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.v2.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.v2.SignatureScheme scheme = 1;\n\t */\n\tscheme?: SignatureScheme;\n\t/**\n\t * Signature bytes if scheme is ed25519 | secp256k1 | secp256r1 | mldsa65.\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.v2.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.v2.PasskeyAuthenticator passkey = 4;\n\t */\n\tpasskey?: PasskeyAuthenticator;\n}\n/**\n * A zklogin authenticator.\n *\n * @generated from protobuf message sui.rpc.v2.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.v2.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.v2.SimpleSignature signature = 3;\n\t */\n\tsignature?: SimpleSignature;\n\t/**\n\t * The public identifier (similar to a public key) for this zklogin authenticator\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.ZkLoginPublicIdentifier public_identifier = 4;\n\t */\n\tpublicIdentifier?: ZkLoginPublicIdentifier;\n\t/**\n\t * The id of the JWK used to authorize this zklogin authenticator\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.JwkId jwk_id = 5;\n\t */\n\tjwkId?: JwkId;\n}\n/**\n * A zklogin groth16 proof and the required inputs to perform proof verification.\n *\n * @generated from protobuf message sui.rpc.v2.ZkLoginInputs\n */\nexport interface ZkLoginInputs {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.ZkLoginProof proof_points = 1;\n\t */\n\tproofPoints?: ZkLoginProof;\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.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.v2.ZkLoginProof\n */\nexport interface ZkLoginProof {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.CircomG1 a = 1;\n\t */\n\ta?: CircomG1;\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.CircomG2 b = 2;\n\t */\n\tb?: CircomG2;\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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: optional bytes bitmap = 3;\n\t */\n\tbitmap?: Uint8Array;\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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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: 2 /*RepeatType.UNPACKED*/,\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.v2.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.v2.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: 2 /*RepeatType.UNPACKED*/,\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{ no: 3, name: 'legacy_bitmap', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\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.v2.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.v2.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.v2.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.v2.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.v2.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\t{ no: 4, name: 'public_identifier', kind: 'message', T: () => ZkLoginPublicIdentifier },\n\t\t\t{ no: 5, name: 'jwk_id', kind: 'message', T: () => JwkId },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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: 2 /*RepeatType.UNPACKED*/,\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.v2.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.v2.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.v2.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.v2.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{ no: 3, name: 'bitmap', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ValidatorAggregatedSignature\n */\nexport const ValidatorAggregatedSignature = new ValidatorAggregatedSignature$Type();\n"],"mappings":";;;;;;AAwgBA,IAAM,qBAAN,cAAiC,YAA2B;CAC3D,cAAc;AACb,QAAM,4BAA4B;GACjC;IAAE,IAAI;IAAG,MAAM;IAAO,MAAM;IAAW,SAAS;IAAK;GACrD;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,SAAS,CAAC,8BAA8B,gBAAgB;IACxD;GACD;IAAE,IAAI;IAAG,MAAM;IAAU,MAAM;IAAW,OAAO;IAAa,SAAS;IAAiB;GACxF;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,OAAO;IACP,SAAS;IACT;GACD;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,OAAO;IACP,SAAS;IACT;GACD;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,OAAO;I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M;IAAW,SAAS;IAAiB;GACvE,CAAC;;;;;;AAMJ,MAAa,uBAAuB,IAAI,2BAA2B;AAEnE,IAAM,0BAAN,cAAsC,YAAgC;CACrE,cAAc;AACb,QAAM,iCAAiC,CACtC;GACC,IAAI;GACJ,MAAM;GACN,MAAM;GACN,KAAK;GACL,GAAG;GACH,GAAG;GACH,EACD;GACC,IAAI;GACJ,MAAM;GACN,MAAM;GACN,QAAQ;GACR,SAAS;GACT,CACD,CAAC;;;;;;AAMJ,MAAa,qBAAqB,IAAI,yBAAyB;AAE/D,IAAM,gCAAN,cAA4C,YAAsC;CACjF,cAAc;AACb,QAAM,uCAAuC,CAC5C;GAAE,IAAI;GAAG,MAAM;GAAc,MAAM;GAAU,KAAK;GAAM,GAAG;GAAyB,EACpF;GACC,IAAI;GACJ,MAAM;GACN,MAAM;GACN,KAAK;GACL,GAAG;GACH,GAAG;GACH,CACD,CAAC;;;;;;AAMJ,MAAa,2BAA2B,IAAI,+BAA+B;AAE3E,IAAM,oCAAN,cAAgD,YAA0C;CACzF,cAAc;AACb,QAAM,2CAA2C;GAChD;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,GAAG;IACH,GAAG;IACH;GACD;IAAE,IAAI;IAAG,MAAM;IAAa,MAAM;IAAU,KAAK;IAAM,GAAG;IAAyB;GACnF;IAAE,IAAI;IAAG,MAAM;IAAU,MAAM;IAAU,KAAK;IAAM,GAAG;IAAyB;GAChF,CAAC;;;;;;AAMJ,MAAa,+BAA+B,IAAI,mCAAmC"}
@@ -37,7 +37,11 @@ declare enum SignatureScheme {
37
37
  /**
38
38
  * @generated from protobuf enum value: PASSKEY = 6;
39
39
  */
40
- PASSKEY = 6
40
+ PASSKEY = 6,
41
+ /**
42
+ * @generated from protobuf enum value: MLDSA65 = 7;
43
+ */
44
+ MLDSA65 = 7
41
45
  }
42
46
  //#endregion
43
47
  export { SignatureScheme };
@@ -1 +1 @@
1
- {"version":3,"file":"signature_scheme.d.mts","names":[],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/signature_scheme.ts"],"mappings":";;AAqBA;;;;;;;;;aAAY,eAAA;EA4BX;;;EAxBA,OAAA;;;;EAIA,SAAA;;;;EAIA,SAAA;;;;EAIA,QAAA;;;;EAIA,QAAA;;;;EAIA,OAAA;;;;EAIA,OAAA;AAAA"}
1
+ {"version":3,"file":"signature_scheme.d.mts","names":[],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/signature_scheme.ts"],"mappings":";;AAqBA;;;;;;;;;aAAY,eAAA;EA4BX;;;EAxBA,OAAA;;;;EAIA,SAAA;;;;EAIA,SAAA;;;;EAIA,QAAA;;;;EAIA,QAAA;;;;EAIA,OAAA;;;;EAIA,OAAA;;;;EAIA,OAAA;AAAA"}