@mysten/sui 0.0.0-experimental-20240529040124

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 (609) hide show
  1. package/CHANGELOG.md +905 -0
  2. package/LICENSE +201 -0
  3. package/README.md +520 -0
  4. package/bcs/package.json +6 -0
  5. package/client/package.json +6 -0
  6. package/cryptography/package.json +6 -0
  7. package/dist/cjs/bcs/bcs.d.ts +2283 -0
  8. package/dist/cjs/bcs/bcs.js +306 -0
  9. package/dist/cjs/bcs/bcs.js.map +7 -0
  10. package/dist/cjs/bcs/effects.d.ts +793 -0
  11. package/dist/cjs/bcs/effects.js +203 -0
  12. package/dist/cjs/bcs/effects.js.map +7 -0
  13. package/dist/cjs/bcs/index.d.ts +3081 -0
  14. package/dist/cjs/bcs/index.js +73 -0
  15. package/dist/cjs/bcs/index.js.map +7 -0
  16. package/dist/cjs/bcs/type-tag-serializer.d.ts +6 -0
  17. package/dist/cjs/bcs/type-tag-serializer.js +113 -0
  18. package/dist/cjs/bcs/type-tag-serializer.js.map +7 -0
  19. package/dist/cjs/bcs/types.d.ts +114 -0
  20. package/dist/cjs/bcs/types.js +27 -0
  21. package/dist/cjs/bcs/types.js.map +7 -0
  22. package/dist/cjs/client/client.d.ts +229 -0
  23. package/dist/cjs/client/client.js +582 -0
  24. package/dist/cjs/client/client.js.map +7 -0
  25. package/dist/cjs/client/errors.d.ts +12 -0
  26. package/dist/cjs/client/errors.js +60 -0
  27. package/dist/cjs/client/errors.js.map +7 -0
  28. package/dist/cjs/client/http-transport.d.ts +40 -0
  29. package/dist/cjs/client/http-transport.js +125 -0
  30. package/dist/cjs/client/http-transport.js.map +7 -0
  31. package/dist/cjs/client/index.d.ts +5 -0
  32. package/dist/cjs/client/index.js +36 -0
  33. package/dist/cjs/client/index.js.map +7 -0
  34. package/dist/cjs/client/network.d.ts +1 -0
  35. package/dist/cjs/client/network.js +38 -0
  36. package/dist/cjs/client/network.js.map +7 -0
  37. package/dist/cjs/client/rpc-websocket-client.d.ts +49 -0
  38. package/dist/cjs/client/rpc-websocket-client.js +206 -0
  39. package/dist/cjs/client/rpc-websocket-client.js.map +7 -0
  40. package/dist/cjs/client/types/chain.d.ts +99 -0
  41. package/dist/cjs/client/types/chain.js +17 -0
  42. package/dist/cjs/client/types/chain.js.map +7 -0
  43. package/dist/cjs/client/types/changes.d.ts +19 -0
  44. package/dist/cjs/client/types/changes.js +17 -0
  45. package/dist/cjs/client/types/changes.js.map +7 -0
  46. package/dist/cjs/client/types/coins.d.ts +6 -0
  47. package/dist/cjs/client/types/coins.js +17 -0
  48. package/dist/cjs/client/types/coins.js.map +7 -0
  49. package/dist/cjs/client/types/common.d.ts +2 -0
  50. package/dist/cjs/client/types/common.js +17 -0
  51. package/dist/cjs/client/types/common.js.map +7 -0
  52. package/dist/cjs/client/types/generated.d.ts +1376 -0
  53. package/dist/cjs/client/types/generated.js +17 -0
  54. package/dist/cjs/client/types/generated.js.map +7 -0
  55. package/dist/cjs/client/types/index.d.ts +6 -0
  56. package/dist/cjs/client/types/index.js +24 -0
  57. package/dist/cjs/client/types/index.js.map +7 -0
  58. package/dist/cjs/client/types/params.d.ts +585 -0
  59. package/dist/cjs/client/types/params.js +17 -0
  60. package/dist/cjs/client/types/params.js.map +7 -0
  61. package/dist/cjs/cryptography/index.d.ts +7 -0
  62. package/dist/cjs/cryptography/index.js +47 -0
  63. package/dist/cjs/cryptography/index.js.map +7 -0
  64. package/dist/cjs/cryptography/intent.d.ts +6 -0
  65. package/dist/cjs/cryptography/intent.js +35 -0
  66. package/dist/cjs/cryptography/intent.js.map +7 -0
  67. package/dist/cjs/cryptography/keypair.d.ts +63 -0
  68. package/dist/cjs/cryptography/keypair.js +105 -0
  69. package/dist/cjs/cryptography/keypair.js.map +7 -0
  70. package/dist/cjs/cryptography/mnemonics.d.ts +27 -0
  71. package/dist/cjs/cryptography/mnemonics.js +47 -0
  72. package/dist/cjs/cryptography/mnemonics.js.map +7 -0
  73. package/dist/cjs/cryptography/publickey.d.ts +56 -0
  74. package/dist/cjs/cryptography/publickey.js +112 -0
  75. package/dist/cjs/cryptography/publickey.js.map +7 -0
  76. package/dist/cjs/cryptography/signature-scheme.d.ts +21 -0
  77. package/dist/cjs/cryptography/signature-scheme.js +45 -0
  78. package/dist/cjs/cryptography/signature-scheme.js.map +7 -0
  79. package/dist/cjs/cryptography/signature.d.ts +60 -0
  80. package/dist/cjs/cryptography/signature.js +75 -0
  81. package/dist/cjs/cryptography/signature.js.map +7 -0
  82. package/dist/cjs/faucet/faucet.d.ts +42 -0
  83. package/dist/cjs/faucet/faucet.js +103 -0
  84. package/dist/cjs/faucet/faucet.js.map +7 -0
  85. package/dist/cjs/faucet/index.d.ts +1 -0
  86. package/dist/cjs/faucet/index.js +29 -0
  87. package/dist/cjs/faucet/index.js.map +7 -0
  88. package/dist/cjs/graphql/client.d.ts +42 -0
  89. package/dist/cjs/graphql/client.js +93 -0
  90. package/dist/cjs/graphql/client.js.map +7 -0
  91. package/dist/cjs/graphql/generated/2024-01/tada-env.d.js +17 -0
  92. package/dist/cjs/graphql/generated/2024-01/tada-env.d.js.map +7 -0
  93. package/dist/cjs/graphql/generated/2024.1/tada-env.d.js +17 -0
  94. package/dist/cjs/graphql/generated/2024.1/tada-env.d.js.map +7 -0
  95. package/dist/cjs/graphql/generated/2024.1/tsconfig.tada.js +12 -0
  96. package/dist/cjs/graphql/generated/2024.1/tsconfig.tada.js.map +7 -0
  97. package/dist/cjs/graphql/generated/2024.4/tada-env.d.js +17 -0
  98. package/dist/cjs/graphql/generated/2024.4/tada-env.d.js.map +7 -0
  99. package/dist/cjs/graphql/generated/2024.4/tsconfig.tada.js +12 -0
  100. package/dist/cjs/graphql/generated/2024.4/tsconfig.tada.js.map +7 -0
  101. package/dist/cjs/graphql/index.d.ts +1 -0
  102. package/dist/cjs/graphql/index.js +26 -0
  103. package/dist/cjs/graphql/index.js.map +7 -0
  104. package/dist/cjs/graphql/schemas/2024.1/index.d.ts +8971 -0
  105. package/dist/cjs/graphql/schemas/2024.1/index.js +31 -0
  106. package/dist/cjs/graphql/schemas/2024.1/index.js.map +7 -0
  107. package/dist/cjs/graphql/schemas/2024.4/index.d.ts +8995 -0
  108. package/dist/cjs/graphql/schemas/2024.4/index.js +31 -0
  109. package/dist/cjs/graphql/schemas/2024.4/index.js.map +7 -0
  110. package/dist/cjs/graphql/types.d.ts +70 -0
  111. package/dist/cjs/graphql/types.js +17 -0
  112. package/dist/cjs/graphql/types.js.map +7 -0
  113. package/dist/cjs/keypairs/ed25519/ed25519-hd-key.d.ts +13 -0
  114. package/dist/cjs/keypairs/ed25519/ed25519-hd-key.js +101 -0
  115. package/dist/cjs/keypairs/ed25519/ed25519-hd-key.js.map +7 -0
  116. package/dist/cjs/keypairs/ed25519/index.d.ts +2 -0
  117. package/dist/cjs/keypairs/ed25519/index.js +28 -0
  118. package/dist/cjs/keypairs/ed25519/index.js.map +7 -0
  119. package/dist/cjs/keypairs/ed25519/keypair.d.ts +74 -0
  120. package/dist/cjs/keypairs/ed25519/keypair.js +151 -0
  121. package/dist/cjs/keypairs/ed25519/keypair.js.map +7 -0
  122. package/dist/cjs/keypairs/ed25519/publickey.d.ts +30 -0
  123. package/dist/cjs/keypairs/ed25519/publickey.js +99 -0
  124. package/dist/cjs/keypairs/ed25519/publickey.js.map +7 -0
  125. package/dist/cjs/keypairs/secp256k1/index.d.ts +2 -0
  126. package/dist/cjs/keypairs/secp256k1/index.js +28 -0
  127. package/dist/cjs/keypairs/secp256k1/index.js.map +7 -0
  128. package/dist/cjs/keypairs/secp256k1/keypair.d.ts +73 -0
  129. package/dist/cjs/keypairs/secp256k1/keypair.js +143 -0
  130. package/dist/cjs/keypairs/secp256k1/keypair.js.map +7 -0
  131. package/dist/cjs/keypairs/secp256k1/publickey.d.ts +30 -0
  132. package/dist/cjs/keypairs/secp256k1/publickey.js +94 -0
  133. package/dist/cjs/keypairs/secp256k1/publickey.js.map +7 -0
  134. package/dist/cjs/keypairs/secp256r1/index.d.ts +2 -0
  135. package/dist/cjs/keypairs/secp256r1/index.js +28 -0
  136. package/dist/cjs/keypairs/secp256r1/index.js.map +7 -0
  137. package/dist/cjs/keypairs/secp256r1/keypair.d.ts +73 -0
  138. package/dist/cjs/keypairs/secp256r1/keypair.js +137 -0
  139. package/dist/cjs/keypairs/secp256r1/keypair.js.map +7 -0
  140. package/dist/cjs/keypairs/secp256r1/publickey.d.ts +30 -0
  141. package/dist/cjs/keypairs/secp256r1/publickey.js +94 -0
  142. package/dist/cjs/keypairs/secp256r1/publickey.js.map +7 -0
  143. package/dist/cjs/multisig/index.d.ts +2 -0
  144. package/dist/cjs/multisig/index.js +28 -0
  145. package/dist/cjs/multisig/index.js.map +7 -0
  146. package/dist/cjs/multisig/publickey.d.ts +110 -0
  147. package/dist/cjs/multisig/publickey.js +260 -0
  148. package/dist/cjs/multisig/publickey.js.map +7 -0
  149. package/dist/cjs/multisig/signer.d.ts +19 -0
  150. package/dist/cjs/multisig/signer.js +115 -0
  151. package/dist/cjs/multisig/signer.js.map +7 -0
  152. package/dist/cjs/package.json +5 -0
  153. package/dist/cjs/transactions/Commands.d.ts +110 -0
  154. package/dist/cjs/transactions/Commands.js +140 -0
  155. package/dist/cjs/transactions/Commands.js.map +7 -0
  156. package/dist/cjs/transactions/Inputs.d.ts +22 -0
  157. package/dist/cjs/transactions/Inputs.js +80 -0
  158. package/dist/cjs/transactions/Inputs.js.map +7 -0
  159. package/dist/cjs/transactions/ObjectCache.d.ts +85 -0
  160. package/dist/cjs/transactions/ObjectCache.js +246 -0
  161. package/dist/cjs/transactions/ObjectCache.js.map +7 -0
  162. package/dist/cjs/transactions/Transaction.d.ts +672 -0
  163. package/dist/cjs/transactions/Transaction.js +459 -0
  164. package/dist/cjs/transactions/Transaction.js.map +7 -0
  165. package/dist/cjs/transactions/TransactionData.d.ts +64 -0
  166. package/dist/cjs/transactions/TransactionData.js +249 -0
  167. package/dist/cjs/transactions/TransactionData.js.map +7 -0
  168. package/dist/cjs/transactions/__tests__/Transaction.test.d.ts +1 -0
  169. package/dist/cjs/transactions/__tests__/bcs.test.d.ts +1 -0
  170. package/dist/cjs/transactions/data/internal.d.ts +2689 -0
  171. package/dist/cjs/transactions/data/internal.js +210 -0
  172. package/dist/cjs/transactions/data/internal.js.map +7 -0
  173. package/dist/cjs/transactions/data/v1.d.ts +1839 -0
  174. package/dist/cjs/transactions/data/v1.js +440 -0
  175. package/dist/cjs/transactions/data/v1.js.map +7 -0
  176. package/dist/cjs/transactions/data/v2.d.ts +450 -0
  177. package/dist/cjs/transactions/data/v2.js +123 -0
  178. package/dist/cjs/transactions/data/v2.js.map +7 -0
  179. package/dist/cjs/transactions/executor/caching.d.ts +29 -0
  180. package/dist/cjs/transactions/executor/caching.js +109 -0
  181. package/dist/cjs/transactions/executor/caching.js.map +7 -0
  182. package/dist/cjs/transactions/executor/parallel.d.ts +22 -0
  183. package/dist/cjs/transactions/executor/parallel.js +316 -0
  184. package/dist/cjs/transactions/executor/parallel.js.map +7 -0
  185. package/dist/cjs/transactions/executor/queue.d.ts +11 -0
  186. package/dist/cjs/transactions/executor/queue.js +92 -0
  187. package/dist/cjs/transactions/executor/queue.js.map +7 -0
  188. package/dist/cjs/transactions/executor/serial.d.ts +27 -0
  189. package/dist/cjs/transactions/executor/serial.js +140 -0
  190. package/dist/cjs/transactions/executor/serial.js.map +7 -0
  191. package/dist/cjs/transactions/hash.d.ts +7 -0
  192. package/dist/cjs/transactions/hash.js +32 -0
  193. package/dist/cjs/transactions/hash.js.map +7 -0
  194. package/dist/cjs/transactions/index.d.ts +13 -0
  195. package/dist/cjs/transactions/index.js +47 -0
  196. package/dist/cjs/transactions/index.js.map +7 -0
  197. package/dist/cjs/transactions/intents/CoinWithBalance.d.ts +6 -0
  198. package/dist/cjs/transactions/intents/CoinWithBalance.js +168 -0
  199. package/dist/cjs/transactions/intents/CoinWithBalance.js.map +7 -0
  200. package/dist/cjs/transactions/json-rpc-resolver.d.ts +12 -0
  201. package/dist/cjs/transactions/json-rpc-resolver.js +353 -0
  202. package/dist/cjs/transactions/json-rpc-resolver.js.map +7 -0
  203. package/dist/cjs/transactions/pure.d.ts +185 -0
  204. package/dist/cjs/transactions/pure.js +41 -0
  205. package/dist/cjs/transactions/pure.js.map +7 -0
  206. package/dist/cjs/transactions/serializer.d.ts +7 -0
  207. package/dist/cjs/transactions/serializer.js +176 -0
  208. package/dist/cjs/transactions/serializer.js.map +7 -0
  209. package/dist/cjs/transactions/utils.d.ts +8 -0
  210. package/dist/cjs/transactions/utils.js +66 -0
  211. package/dist/cjs/transactions/utils.js.map +7 -0
  212. package/dist/cjs/utils/constants.d.ts +9 -0
  213. package/dist/cjs/utils/constants.js +42 -0
  214. package/dist/cjs/utils/constants.js.map +7 -0
  215. package/dist/cjs/utils/format.d.ts +2 -0
  216. package/dist/cjs/utils/format.js +36 -0
  217. package/dist/cjs/utils/format.js.map +7 -0
  218. package/dist/cjs/utils/index.d.ts +5 -0
  219. package/dist/cjs/utils/index.js +53 -0
  220. package/dist/cjs/utils/index.js.map +7 -0
  221. package/dist/cjs/utils/sui-types.d.ts +27 -0
  222. package/dist/cjs/utils/sui-types.js +90 -0
  223. package/dist/cjs/utils/sui-types.js.map +7 -0
  224. package/dist/cjs/utils/suins.d.ts +2 -0
  225. package/dist/cjs/utils/suins.js +57 -0
  226. package/dist/cjs/utils/suins.js.map +7 -0
  227. package/dist/cjs/verify/index.d.ts +1 -0
  228. package/dist/cjs/verify/index.js +29 -0
  229. package/dist/cjs/verify/index.js.map +7 -0
  230. package/dist/cjs/verify/verify.d.ts +11 -0
  231. package/dist/cjs/verify/verify.js +101 -0
  232. package/dist/cjs/verify/verify.js.map +7 -0
  233. package/dist/cjs/version.d.ts +2 -0
  234. package/dist/cjs/version.js +27 -0
  235. package/dist/cjs/version.js.map +7 -0
  236. package/dist/cjs/zklogin/address.d.ts +1 -0
  237. package/dist/cjs/zklogin/address.js +44 -0
  238. package/dist/cjs/zklogin/address.js.map +7 -0
  239. package/dist/cjs/zklogin/bcs.d.ts +46 -0
  240. package/dist/cjs/zklogin/bcs.js +42 -0
  241. package/dist/cjs/zklogin/bcs.js.map +7 -0
  242. package/dist/cjs/zklogin/index.d.ts +5 -0
  243. package/dist/cjs/zklogin/index.js +33 -0
  244. package/dist/cjs/zklogin/index.js.map +7 -0
  245. package/dist/cjs/zklogin/jwt-utils.d.ts +5 -0
  246. package/dist/cjs/zklogin/jwt-utils.js +102 -0
  247. package/dist/cjs/zklogin/jwt-utils.js.map +7 -0
  248. package/dist/cjs/zklogin/publickey.d.ts +69 -0
  249. package/dist/cjs/zklogin/publickey.js +197 -0
  250. package/dist/cjs/zklogin/publickey.js.map +7 -0
  251. package/dist/cjs/zklogin/signature.d.ts +23 -0
  252. package/dist/cjs/zklogin/signature.js +48 -0
  253. package/dist/cjs/zklogin/signature.js.map +7 -0
  254. package/dist/cjs/zklogin/utils.d.ts +2 -0
  255. package/dist/cjs/zklogin/utils.js +46 -0
  256. package/dist/cjs/zklogin/utils.js.map +7 -0
  257. package/dist/esm/bcs/bcs.d.ts +2283 -0
  258. package/dist/esm/bcs/bcs.js +286 -0
  259. package/dist/esm/bcs/bcs.js.map +7 -0
  260. package/dist/esm/bcs/effects.d.ts +793 -0
  261. package/dist/esm/bcs/effects.js +183 -0
  262. package/dist/esm/bcs/effects.js.map +7 -0
  263. package/dist/esm/bcs/index.d.ts +3081 -0
  264. package/dist/esm/bcs/index.js +83 -0
  265. package/dist/esm/bcs/index.js.map +7 -0
  266. package/dist/esm/bcs/type-tag-serializer.d.ts +6 -0
  267. package/dist/esm/bcs/type-tag-serializer.js +93 -0
  268. package/dist/esm/bcs/type-tag-serializer.js.map +7 -0
  269. package/dist/esm/bcs/types.d.ts +114 -0
  270. package/dist/esm/bcs/types.js +7 -0
  271. package/dist/esm/bcs/types.js.map +7 -0
  272. package/dist/esm/client/client.d.ts +229 -0
  273. package/dist/esm/client/client.js +568 -0
  274. package/dist/esm/client/client.js.map +7 -0
  275. package/dist/esm/client/errors.d.ts +12 -0
  276. package/dist/esm/client/errors.js +40 -0
  277. package/dist/esm/client/errors.js.map +7 -0
  278. package/dist/esm/client/http-transport.d.ts +40 -0
  279. package/dist/esm/client/http-transport.js +105 -0
  280. package/dist/esm/client/http-transport.js.map +7 -0
  281. package/dist/esm/client/index.d.ts +5 -0
  282. package/dist/esm/client/index.js +20 -0
  283. package/dist/esm/client/index.js.map +7 -0
  284. package/dist/esm/client/network.d.ts +1 -0
  285. package/dist/esm/client/network.js +18 -0
  286. package/dist/esm/client/network.js.map +7 -0
  287. package/dist/esm/client/rpc-websocket-client.d.ts +49 -0
  288. package/dist/esm/client/rpc-websocket-client.js +186 -0
  289. package/dist/esm/client/rpc-websocket-client.js.map +7 -0
  290. package/dist/esm/client/types/chain.d.ts +99 -0
  291. package/dist/esm/client/types/chain.js +1 -0
  292. package/dist/esm/client/types/chain.js.map +7 -0
  293. package/dist/esm/client/types/changes.d.ts +19 -0
  294. package/dist/esm/client/types/changes.js +1 -0
  295. package/dist/esm/client/types/changes.js.map +7 -0
  296. package/dist/esm/client/types/coins.d.ts +6 -0
  297. package/dist/esm/client/types/coins.js +1 -0
  298. package/dist/esm/client/types/coins.js.map +7 -0
  299. package/dist/esm/client/types/common.d.ts +2 -0
  300. package/dist/esm/client/types/common.js +1 -0
  301. package/dist/esm/client/types/common.js.map +7 -0
  302. package/dist/esm/client/types/generated.d.ts +1376 -0
  303. package/dist/esm/client/types/generated.js +1 -0
  304. package/dist/esm/client/types/generated.js.map +7 -0
  305. package/dist/esm/client/types/index.d.ts +6 -0
  306. package/dist/esm/client/types/index.js +7 -0
  307. package/dist/esm/client/types/index.js.map +7 -0
  308. package/dist/esm/client/types/params.d.ts +585 -0
  309. package/dist/esm/client/types/params.js +1 -0
  310. package/dist/esm/client/types/params.js.map +7 -0
  311. package/dist/esm/cryptography/index.d.ts +7 -0
  312. package/dist/esm/cryptography/index.js +47 -0
  313. package/dist/esm/cryptography/index.js.map +7 -0
  314. package/dist/esm/cryptography/intent.d.ts +6 -0
  315. package/dist/esm/cryptography/intent.js +15 -0
  316. package/dist/esm/cryptography/intent.js.map +7 -0
  317. package/dist/esm/cryptography/keypair.d.ts +63 -0
  318. package/dist/esm/cryptography/keypair.js +85 -0
  319. package/dist/esm/cryptography/keypair.js.map +7 -0
  320. package/dist/esm/cryptography/mnemonics.d.ts +27 -0
  321. package/dist/esm/cryptography/mnemonics.js +27 -0
  322. package/dist/esm/cryptography/mnemonics.js.map +7 -0
  323. package/dist/esm/cryptography/publickey.d.ts +56 -0
  324. package/dist/esm/cryptography/publickey.js +92 -0
  325. package/dist/esm/cryptography/publickey.js.map +7 -0
  326. package/dist/esm/cryptography/signature-scheme.d.ts +21 -0
  327. package/dist/esm/cryptography/signature-scheme.js +25 -0
  328. package/dist/esm/cryptography/signature-scheme.js.map +7 -0
  329. package/dist/esm/cryptography/signature.d.ts +60 -0
  330. package/dist/esm/cryptography/signature.js +59 -0
  331. package/dist/esm/cryptography/signature.js.map +7 -0
  332. package/dist/esm/faucet/faucet.d.ts +42 -0
  333. package/dist/esm/faucet/faucet.js +83 -0
  334. package/dist/esm/faucet/faucet.js.map +7 -0
  335. package/dist/esm/faucet/index.d.ts +1 -0
  336. package/dist/esm/faucet/index.js +15 -0
  337. package/dist/esm/faucet/index.js.map +7 -0
  338. package/dist/esm/graphql/client.d.ts +42 -0
  339. package/dist/esm/graphql/client.js +73 -0
  340. package/dist/esm/graphql/client.js.map +7 -0
  341. package/dist/esm/graphql/generated/2024-01/tada-env.d.js +1 -0
  342. package/dist/esm/graphql/generated/2024-01/tada-env.d.js.map +7 -0
  343. package/dist/esm/graphql/generated/2024.1/tada-env.d.js +1 -0
  344. package/dist/esm/graphql/generated/2024.1/tada-env.d.js.map +7 -0
  345. package/dist/esm/graphql/generated/2024.1/tsconfig.tada.js +17 -0
  346. package/dist/esm/graphql/generated/2024.1/tsconfig.tada.js.map +7 -0
  347. package/dist/esm/graphql/generated/2024.4/tada-env.d.js +1 -0
  348. package/dist/esm/graphql/generated/2024.4/tada-env.d.js.map +7 -0
  349. package/dist/esm/graphql/generated/2024.4/tsconfig.tada.js +17 -0
  350. package/dist/esm/graphql/generated/2024.4/tsconfig.tada.js.map +7 -0
  351. package/dist/esm/graphql/index.d.ts +1 -0
  352. package/dist/esm/graphql/index.js +9 -0
  353. package/dist/esm/graphql/index.js.map +7 -0
  354. package/dist/esm/graphql/schemas/2024.1/index.d.ts +8971 -0
  355. package/dist/esm/graphql/schemas/2024.1/index.js +10 -0
  356. package/dist/esm/graphql/schemas/2024.1/index.js.map +7 -0
  357. package/dist/esm/graphql/schemas/2024.4/index.d.ts +8995 -0
  358. package/dist/esm/graphql/schemas/2024.4/index.js +10 -0
  359. package/dist/esm/graphql/schemas/2024.4/index.js.map +7 -0
  360. package/dist/esm/graphql/types.d.ts +70 -0
  361. package/dist/esm/graphql/types.js +1 -0
  362. package/dist/esm/graphql/types.js.map +7 -0
  363. package/dist/esm/keypairs/ed25519/ed25519-hd-key.d.ts +13 -0
  364. package/dist/esm/keypairs/ed25519/ed25519-hd-key.js +71 -0
  365. package/dist/esm/keypairs/ed25519/ed25519-hd-key.js.map +7 -0
  366. package/dist/esm/keypairs/ed25519/index.d.ts +2 -0
  367. package/dist/esm/keypairs/ed25519/index.js +11 -0
  368. package/dist/esm/keypairs/ed25519/index.js.map +7 -0
  369. package/dist/esm/keypairs/ed25519/keypair.d.ts +74 -0
  370. package/dist/esm/keypairs/ed25519/keypair.js +121 -0
  371. package/dist/esm/keypairs/ed25519/keypair.js.map +7 -0
  372. package/dist/esm/keypairs/ed25519/publickey.d.ts +30 -0
  373. package/dist/esm/keypairs/ed25519/publickey.js +69 -0
  374. package/dist/esm/keypairs/ed25519/publickey.js.map +7 -0
  375. package/dist/esm/keypairs/secp256k1/index.d.ts +2 -0
  376. package/dist/esm/keypairs/secp256k1/index.js +11 -0
  377. package/dist/esm/keypairs/secp256k1/index.js.map +7 -0
  378. package/dist/esm/keypairs/secp256k1/keypair.d.ts +73 -0
  379. package/dist/esm/keypairs/secp256k1/keypair.js +123 -0
  380. package/dist/esm/keypairs/secp256k1/keypair.js.map +7 -0
  381. package/dist/esm/keypairs/secp256k1/publickey.d.ts +30 -0
  382. package/dist/esm/keypairs/secp256k1/publickey.js +74 -0
  383. package/dist/esm/keypairs/secp256k1/publickey.js.map +7 -0
  384. package/dist/esm/keypairs/secp256r1/index.d.ts +2 -0
  385. package/dist/esm/keypairs/secp256r1/index.js +11 -0
  386. package/dist/esm/keypairs/secp256r1/index.js.map +7 -0
  387. package/dist/esm/keypairs/secp256r1/keypair.d.ts +73 -0
  388. package/dist/esm/keypairs/secp256r1/keypair.js +117 -0
  389. package/dist/esm/keypairs/secp256r1/keypair.js.map +7 -0
  390. package/dist/esm/keypairs/secp256r1/publickey.d.ts +30 -0
  391. package/dist/esm/keypairs/secp256r1/publickey.js +74 -0
  392. package/dist/esm/keypairs/secp256r1/publickey.js.map +7 -0
  393. package/dist/esm/multisig/index.d.ts +2 -0
  394. package/dist/esm/multisig/index.js +8 -0
  395. package/dist/esm/multisig/index.js.map +7 -0
  396. package/dist/esm/multisig/publickey.d.ts +110 -0
  397. package/dist/esm/multisig/publickey.js +243 -0
  398. package/dist/esm/multisig/publickey.js.map +7 -0
  399. package/dist/esm/multisig/signer.d.ts +19 -0
  400. package/dist/esm/multisig/signer.js +95 -0
  401. package/dist/esm/multisig/signer.js.map +7 -0
  402. package/dist/esm/package.json +5 -0
  403. package/dist/esm/transactions/Commands.d.ts +110 -0
  404. package/dist/esm/transactions/Commands.js +120 -0
  405. package/dist/esm/transactions/Commands.js.map +7 -0
  406. package/dist/esm/transactions/Inputs.d.ts +22 -0
  407. package/dist/esm/transactions/Inputs.js +60 -0
  408. package/dist/esm/transactions/Inputs.js.map +7 -0
  409. package/dist/esm/transactions/ObjectCache.d.ts +85 -0
  410. package/dist/esm/transactions/ObjectCache.js +226 -0
  411. package/dist/esm/transactions/ObjectCache.js.map +7 -0
  412. package/dist/esm/transactions/Transaction.d.ts +672 -0
  413. package/dist/esm/transactions/Transaction.js +439 -0
  414. package/dist/esm/transactions/Transaction.js.map +7 -0
  415. package/dist/esm/transactions/TransactionData.d.ts +64 -0
  416. package/dist/esm/transactions/TransactionData.js +229 -0
  417. package/dist/esm/transactions/TransactionData.js.map +7 -0
  418. package/dist/esm/transactions/__tests__/Transaction.test.d.ts +1 -0
  419. package/dist/esm/transactions/__tests__/bcs.test.d.ts +1 -0
  420. package/dist/esm/transactions/data/internal.d.ts +2689 -0
  421. package/dist/esm/transactions/data/internal.js +208 -0
  422. package/dist/esm/transactions/data/internal.js.map +7 -0
  423. package/dist/esm/transactions/data/v1.d.ts +1839 -0
  424. package/dist/esm/transactions/data/v1.js +437 -0
  425. package/dist/esm/transactions/data/v1.js.map +7 -0
  426. package/dist/esm/transactions/data/v2.d.ts +450 -0
  427. package/dist/esm/transactions/data/v2.js +118 -0
  428. package/dist/esm/transactions/data/v2.js.map +7 -0
  429. package/dist/esm/transactions/executor/caching.d.ts +29 -0
  430. package/dist/esm/transactions/executor/caching.js +89 -0
  431. package/dist/esm/transactions/executor/caching.js.map +7 -0
  432. package/dist/esm/transactions/executor/parallel.d.ts +22 -0
  433. package/dist/esm/transactions/executor/parallel.js +296 -0
  434. package/dist/esm/transactions/executor/parallel.js.map +7 -0
  435. package/dist/esm/transactions/executor/queue.d.ts +11 -0
  436. package/dist/esm/transactions/executor/queue.js +72 -0
  437. package/dist/esm/transactions/executor/queue.js.map +7 -0
  438. package/dist/esm/transactions/executor/serial.d.ts +27 -0
  439. package/dist/esm/transactions/executor/serial.js +120 -0
  440. package/dist/esm/transactions/executor/serial.js.map +7 -0
  441. package/dist/esm/transactions/hash.d.ts +7 -0
  442. package/dist/esm/transactions/hash.js +12 -0
  443. package/dist/esm/transactions/hash.js.map +7 -0
  444. package/dist/esm/transactions/index.d.ts +13 -0
  445. package/dist/esm/transactions/index.js +33 -0
  446. package/dist/esm/transactions/index.js.map +7 -0
  447. package/dist/esm/transactions/intents/CoinWithBalance.d.ts +6 -0
  448. package/dist/esm/transactions/intents/CoinWithBalance.js +148 -0
  449. package/dist/esm/transactions/intents/CoinWithBalance.js.map +7 -0
  450. package/dist/esm/transactions/json-rpc-resolver.d.ts +12 -0
  451. package/dist/esm/transactions/json-rpc-resolver.js +333 -0
  452. package/dist/esm/transactions/json-rpc-resolver.js.map +7 -0
  453. package/dist/esm/transactions/pure.d.ts +185 -0
  454. package/dist/esm/transactions/pure.js +21 -0
  455. package/dist/esm/transactions/pure.js.map +7 -0
  456. package/dist/esm/transactions/serializer.d.ts +7 -0
  457. package/dist/esm/transactions/serializer.js +156 -0
  458. package/dist/esm/transactions/serializer.js.map +7 -0
  459. package/dist/esm/transactions/utils.d.ts +8 -0
  460. package/dist/esm/transactions/utils.js +46 -0
  461. package/dist/esm/transactions/utils.js.map +7 -0
  462. package/dist/esm/utils/constants.d.ts +9 -0
  463. package/dist/esm/utils/constants.js +22 -0
  464. package/dist/esm/utils/constants.js.map +7 -0
  465. package/dist/esm/utils/format.d.ts +2 -0
  466. package/dist/esm/utils/format.js +16 -0
  467. package/dist/esm/utils/format.js.map +7 -0
  468. package/dist/esm/utils/index.d.ts +5 -0
  469. package/dist/esm/utils/index.js +52 -0
  470. package/dist/esm/utils/index.js.map +7 -0
  471. package/dist/esm/utils/sui-types.d.ts +27 -0
  472. package/dist/esm/utils/sui-types.js +70 -0
  473. package/dist/esm/utils/sui-types.js.map +7 -0
  474. package/dist/esm/utils/suins.d.ts +2 -0
  475. package/dist/esm/utils/suins.js +37 -0
  476. package/dist/esm/utils/suins.js.map +7 -0
  477. package/dist/esm/verify/index.d.ts +1 -0
  478. package/dist/esm/verify/index.js +15 -0
  479. package/dist/esm/verify/index.js.map +7 -0
  480. package/dist/esm/verify/verify.d.ts +11 -0
  481. package/dist/esm/verify/verify.js +81 -0
  482. package/dist/esm/verify/verify.js.map +7 -0
  483. package/dist/esm/version.d.ts +2 -0
  484. package/dist/esm/version.js +7 -0
  485. package/dist/esm/version.js.map +7 -0
  486. package/dist/esm/zklogin/address.d.ts +1 -0
  487. package/dist/esm/zklogin/address.js +24 -0
  488. package/dist/esm/zklogin/address.js.map +7 -0
  489. package/dist/esm/zklogin/bcs.d.ts +46 -0
  490. package/dist/esm/zklogin/bcs.js +22 -0
  491. package/dist/esm/zklogin/bcs.js.map +7 -0
  492. package/dist/esm/zklogin/index.d.ts +5 -0
  493. package/dist/esm/zklogin/index.js +13 -0
  494. package/dist/esm/zklogin/index.js.map +7 -0
  495. package/dist/esm/zklogin/jwt-utils.d.ts +5 -0
  496. package/dist/esm/zklogin/jwt-utils.js +82 -0
  497. package/dist/esm/zklogin/jwt-utils.js.map +7 -0
  498. package/dist/esm/zklogin/publickey.d.ts +69 -0
  499. package/dist/esm/zklogin/publickey.js +177 -0
  500. package/dist/esm/zklogin/publickey.js.map +7 -0
  501. package/dist/esm/zklogin/signature.d.ts +23 -0
  502. package/dist/esm/zklogin/signature.js +28 -0
  503. package/dist/esm/zklogin/signature.js.map +7 -0
  504. package/dist/esm/zklogin/utils.d.ts +2 -0
  505. package/dist/esm/zklogin/utils.js +26 -0
  506. package/dist/esm/zklogin/utils.js.map +7 -0
  507. package/dist/tsconfig.esm.tsbuildinfo +1 -0
  508. package/dist/tsconfig.tsbuildinfo +1 -0
  509. package/faucet/package.json +6 -0
  510. package/graphql/package.json +6 -0
  511. package/graphql/schemas/2024.1/package.json +6 -0
  512. package/graphql/schemas/2024.4/package.json +6 -0
  513. package/keypairs/ed25519/package.json +6 -0
  514. package/keypairs/secp256k1/package.json +6 -0
  515. package/keypairs/secp256r1/package.json +6 -0
  516. package/multisig/package.json +6 -0
  517. package/package.json +160 -0
  518. package/src/bcs/bcs.ts +300 -0
  519. package/src/bcs/effects.ts +200 -0
  520. package/src/bcs/index.ts +87 -0
  521. package/src/bcs/type-tag-serializer.ts +106 -0
  522. package/src/bcs/types.ts +113 -0
  523. package/src/client/client.ts +814 -0
  524. package/src/client/errors.ts +45 -0
  525. package/src/client/http-transport.ts +130 -0
  526. package/src/client/index.ts +21 -0
  527. package/src/client/network.ts +17 -0
  528. package/src/client/rpc-websocket-client.ts +234 -0
  529. package/src/client/types/chain.ts +122 -0
  530. package/src/client/types/changes.ts +11 -0
  531. package/src/client/types/coins.ts +9 -0
  532. package/src/client/types/common.ts +5 -0
  533. package/src/client/types/generated.ts +1508 -0
  534. package/src/client/types/index.ts +9 -0
  535. package/src/client/types/params.ts +584 -0
  536. package/src/cryptography/index.ts +36 -0
  537. package/src/cryptography/intent.ts +22 -0
  538. package/src/cryptography/keypair.ts +130 -0
  539. package/src/cryptography/mnemonics.ts +49 -0
  540. package/src/cryptography/publickey.ts +133 -0
  541. package/src/cryptography/signature-scheme.ts +28 -0
  542. package/src/cryptography/signature.ts +86 -0
  543. package/src/faucet/faucet.ts +130 -0
  544. package/src/faucet/index.ts +10 -0
  545. package/src/graphql/client.ts +110 -0
  546. package/src/graphql/generated/2024-01/tada-env.d.ts +202 -0
  547. package/src/graphql/generated/2024.1/schema.graphql +4168 -0
  548. package/src/graphql/generated/2024.1/tada-env.d.ts +201 -0
  549. package/src/graphql/generated/2024.1/tsconfig.tada.json +11 -0
  550. package/src/graphql/generated/2024.4/schema.graphql +4183 -0
  551. package/src/graphql/generated/2024.4/tada-env.d.ts +202 -0
  552. package/src/graphql/generated/2024.4/tsconfig.tada.json +11 -0
  553. package/src/graphql/index.ts +12 -0
  554. package/src/graphql/schemas/2024.1/index.ts +17 -0
  555. package/src/graphql/schemas/2024.4/index.ts +17 -0
  556. package/src/graphql/types.ts +86 -0
  557. package/src/keypairs/ed25519/ed25519-hd-key.ts +93 -0
  558. package/src/keypairs/ed25519/index.ts +9 -0
  559. package/src/keypairs/ed25519/keypair.ts +151 -0
  560. package/src/keypairs/ed25519/publickey.ts +86 -0
  561. package/src/keypairs/secp256k1/index.ts +9 -0
  562. package/src/keypairs/secp256k1/keypair.ts +151 -0
  563. package/src/keypairs/secp256k1/publickey.ts +91 -0
  564. package/src/keypairs/secp256r1/index.ts +9 -0
  565. package/src/keypairs/secp256r1/keypair.ts +147 -0
  566. package/src/keypairs/secp256r1/publickey.ts +91 -0
  567. package/src/multisig/index.ts +5 -0
  568. package/src/multisig/publickey.ts +356 -0
  569. package/src/multisig/signer.ts +92 -0
  570. package/src/transactions/Commands.ts +178 -0
  571. package/src/transactions/Inputs.ts +68 -0
  572. package/src/transactions/ObjectCache.ts +296 -0
  573. package/src/transactions/Transaction.ts +553 -0
  574. package/src/transactions/TransactionData.ts +296 -0
  575. package/src/transactions/__tests__/Transaction.test.ts +184 -0
  576. package/src/transactions/__tests__/bcs.test.ts +205 -0
  577. package/src/transactions/data/internal.ts +321 -0
  578. package/src/transactions/data/v1.ts +501 -0
  579. package/src/transactions/data/v2.ts +146 -0
  580. package/src/transactions/executor/caching.ts +94 -0
  581. package/src/transactions/executor/parallel.ts +335 -0
  582. package/src/transactions/executor/queue.ts +65 -0
  583. package/src/transactions/executor/serial.ts +131 -0
  584. package/src/transactions/hash.ts +20 -0
  585. package/src/transactions/index.ts +41 -0
  586. package/src/transactions/intents/CoinWithBalance.ts +204 -0
  587. package/src/transactions/json-rpc-resolver.ts +482 -0
  588. package/src/transactions/pure.ts +32 -0
  589. package/src/transactions/serializer.ts +205 -0
  590. package/src/transactions/utils.ts +66 -0
  591. package/src/utils/constants.ts +15 -0
  592. package/src/utils/format.ts +19 -0
  593. package/src/utils/index.ts +29 -0
  594. package/src/utils/sui-types.ts +110 -0
  595. package/src/utils/suins.ts +43 -0
  596. package/src/verify/index.ts +11 -0
  597. package/src/verify/verify.ts +111 -0
  598. package/src/version.ts +7 -0
  599. package/src/zklogin/address.ts +27 -0
  600. package/src/zklogin/bcs.ts +26 -0
  601. package/src/zklogin/index.ts +8 -0
  602. package/src/zklogin/jwt-utils.ts +113 -0
  603. package/src/zklogin/publickey.ts +190 -0
  604. package/src/zklogin/signature.ts +37 -0
  605. package/src/zklogin/utils.ts +33 -0
  606. package/transactions/package.json +6 -0
  607. package/utils/package.json +6 -0
  608. package/verify/package.json +6 -0
  609. package/zklogin/package.json +6 -0
@@ -0,0 +1,2689 @@
1
+ import type { EnumInputShape, EnumOutputShape } from '@mysten/bcs';
2
+ import type { BaseSchema, Input, Output } from 'valibot';
3
+ type Merge<T> = T extends object ? {
4
+ [K in keyof T]: T[K];
5
+ } : never;
6
+ type EnumSchema<T extends Record<string, BaseSchema<any>>> = BaseSchema<EnumInputShape<Merge<{
7
+ [K in keyof T]: Input<T[K]>;
8
+ }>>, EnumOutputShape<Merge<{
9
+ [K in keyof T]: Output<T[K]>;
10
+ }>>>;
11
+ export declare function safeEnum<T extends Record<string, BaseSchema<any>>>(options: T): EnumSchema<T>;
12
+ export declare const SuiAddress: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
13
+ export declare const ObjectID: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
14
+ export declare const BCSBytes: import("valibot").StringSchema<string>;
15
+ export declare const JsonU64: import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>;
16
+ export declare const ObjectRef: import("valibot").ObjectSchema<{
17
+ objectId: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
18
+ version: import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>;
19
+ digest: import("valibot").StringSchema<string>;
20
+ }, undefined, {
21
+ objectId: string;
22
+ version: string | number;
23
+ digest: string;
24
+ }>;
25
+ export type ObjectRef = Output<typeof ObjectRef>;
26
+ export declare const Argument: BaseSchema<{
27
+ GasCoin: true;
28
+ } | {
29
+ Input: number;
30
+ type?: "object" | "pure" | undefined;
31
+ } | {
32
+ Result: number;
33
+ } | {
34
+ NestedResult: [number, number];
35
+ }, {
36
+ $kind: 'GasCoin';
37
+ GasCoin: true;
38
+ } | {
39
+ $kind: 'Input';
40
+ Input: number;
41
+ type?: "pure" | undefined;
42
+ } | {
43
+ $kind: 'Input';
44
+ Input: number;
45
+ type?: "object" | undefined;
46
+ } | {
47
+ $kind: 'Result';
48
+ Result: number;
49
+ } | {
50
+ $kind: 'NestedResult';
51
+ NestedResult: [number, number];
52
+ }>;
53
+ export type Argument = Output<typeof Argument>;
54
+ export declare const GasData: import("valibot").ObjectSchema<{
55
+ budget: import("valibot").NullableSchema<import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>, undefined, string | number | null>;
56
+ price: import("valibot").NullableSchema<import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>, undefined, string | number | null>;
57
+ owner: import("valibot").NullableSchema<import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>, undefined, string | null>;
58
+ payment: import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
59
+ objectId: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
60
+ version: import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>;
61
+ digest: import("valibot").StringSchema<string>;
62
+ }, undefined, {
63
+ objectId: string;
64
+ version: string | number;
65
+ digest: string;
66
+ }>, {
67
+ objectId: string;
68
+ version: string | number;
69
+ digest: string;
70
+ }[]>, undefined, {
71
+ objectId: string;
72
+ version: string | number;
73
+ digest: string;
74
+ }[] | null>;
75
+ }, undefined, {
76
+ payment: {
77
+ objectId: string;
78
+ version: string | number;
79
+ digest: string;
80
+ }[] | null;
81
+ owner: string | null;
82
+ price: string | number | null;
83
+ budget: string | number | null;
84
+ }>;
85
+ export type GasData = Output<typeof GasData>;
86
+ export declare const StructTag: import("valibot").ObjectSchema<{
87
+ address: import("valibot").StringSchema<string>;
88
+ module: import("valibot").StringSchema<string>;
89
+ name: import("valibot").StringSchema<string>;
90
+ typeParams: import("valibot").ArraySchema<import("valibot").StringSchema<string>, string[]>;
91
+ }, undefined, {
92
+ address: string;
93
+ module: string;
94
+ name: string;
95
+ typeParams: string[];
96
+ }>;
97
+ export type StructTag = Output<typeof StructTag>;
98
+ export type OpenMoveTypeSignatureBody = 'address' | 'bool' | 'u8' | 'u16' | 'u32' | 'u64' | 'u128' | 'u256' | {
99
+ vector: OpenMoveTypeSignatureBody;
100
+ } | {
101
+ datatype: {
102
+ package: string;
103
+ module: string;
104
+ type: string;
105
+ typeParameters: OpenMoveTypeSignatureBody[];
106
+ };
107
+ } | {
108
+ typeParameter: number;
109
+ };
110
+ export declare const OpenMoveTypeSignatureBody: BaseSchema<OpenMoveTypeSignatureBody>;
111
+ export declare const OpenMoveTypeSignature: import("valibot").ObjectSchema<{
112
+ ref: import("valibot").NullableSchema<import("valibot").UnionSchema<(import("valibot").LiteralSchema<"&", "&"> | import("valibot").LiteralSchema<"&mut", "&mut">)[], "&" | "&mut">, undefined, "&" | "&mut" | null>;
113
+ body: BaseSchema<OpenMoveTypeSignatureBody>;
114
+ }, undefined, {
115
+ ref: "&" | "&mut" | null;
116
+ body: OpenMoveTypeSignatureBody;
117
+ }>;
118
+ export type OpenMoveTypeSignature = Output<typeof OpenMoveTypeSignature>;
119
+ declare const ProgrammableMoveCall: import("valibot").ObjectSchema<{
120
+ package: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
121
+ module: import("valibot").StringSchema<string>;
122
+ function: import("valibot").StringSchema<string>;
123
+ typeArguments: import("valibot").ArraySchema<import("valibot").StringSchema<string>, string[]>;
124
+ arguments: import("valibot").ArraySchema<BaseSchema<{
125
+ GasCoin: true;
126
+ } | {
127
+ Input: number;
128
+ type?: "object" | "pure" | undefined;
129
+ } | {
130
+ Result: number;
131
+ } | {
132
+ NestedResult: [number, number];
133
+ }, {
134
+ $kind: 'GasCoin';
135
+ GasCoin: true;
136
+ } | {
137
+ $kind: 'Input';
138
+ Input: number;
139
+ type?: "pure" | undefined;
140
+ } | {
141
+ $kind: 'Input';
142
+ Input: number;
143
+ type?: "object" | undefined;
144
+ } | {
145
+ $kind: 'Result';
146
+ Result: number;
147
+ } | {
148
+ $kind: 'NestedResult';
149
+ NestedResult: [number, number];
150
+ }>, ({
151
+ $kind: 'GasCoin';
152
+ GasCoin: true;
153
+ } | {
154
+ $kind: 'Input';
155
+ Input: number;
156
+ type?: "pure" | undefined;
157
+ } | {
158
+ $kind: 'Input';
159
+ Input: number;
160
+ type?: "object" | undefined;
161
+ } | {
162
+ $kind: 'Result';
163
+ Result: number;
164
+ } | {
165
+ $kind: 'NestedResult';
166
+ NestedResult: [number, number];
167
+ })[]>;
168
+ _argumentTypes: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
169
+ ref: import("valibot").NullableSchema<import("valibot").UnionSchema<(import("valibot").LiteralSchema<"&", "&"> | import("valibot").LiteralSchema<"&mut", "&mut">)[], "&" | "&mut">, undefined, "&" | "&mut" | null>;
170
+ body: BaseSchema<OpenMoveTypeSignatureBody>;
171
+ }, undefined, {
172
+ ref: "&" | "&mut" | null;
173
+ body: OpenMoveTypeSignatureBody;
174
+ }>, {
175
+ ref: "&" | "&mut" | null;
176
+ body: OpenMoveTypeSignatureBody;
177
+ }[]>, undefined, {
178
+ ref: "&" | "&mut" | null;
179
+ body: OpenMoveTypeSignatureBody;
180
+ }[] | null>, undefined, {
181
+ ref: "&" | "&mut" | null;
182
+ body: OpenMoveTypeSignatureBody;
183
+ }[] | null | undefined>;
184
+ }, undefined, {
185
+ function: string;
186
+ module: string;
187
+ package: string;
188
+ typeArguments: string[];
189
+ arguments: ({
190
+ $kind: 'GasCoin';
191
+ GasCoin: true;
192
+ } | {
193
+ $kind: 'Input';
194
+ Input: number;
195
+ type?: "pure" | undefined;
196
+ } | {
197
+ $kind: 'Input';
198
+ Input: number;
199
+ type?: "object" | undefined;
200
+ } | {
201
+ $kind: 'Result';
202
+ Result: number;
203
+ } | {
204
+ $kind: 'NestedResult';
205
+ NestedResult: [number, number];
206
+ })[];
207
+ _argumentTypes?: {
208
+ ref: "&" | "&mut" | null;
209
+ body: OpenMoveTypeSignatureBody;
210
+ }[] | null | undefined;
211
+ }>;
212
+ export type ProgrammableMoveCall = Output<typeof ProgrammableMoveCall>;
213
+ export declare const $Intent: import("valibot").ObjectSchema<{
214
+ name: import("valibot").StringSchema<string>;
215
+ inputs: import("valibot").RecordSchema<import("valibot").StringSchema<string>, import("valibot").UnionSchema<(BaseSchema<{
216
+ GasCoin: true;
217
+ } | {
218
+ Input: number;
219
+ type?: "object" | "pure" | undefined;
220
+ } | {
221
+ Result: number;
222
+ } | {
223
+ NestedResult: [number, number];
224
+ }, {
225
+ $kind: 'GasCoin';
226
+ GasCoin: true;
227
+ } | {
228
+ $kind: 'Input';
229
+ Input: number;
230
+ type?: "pure" | undefined;
231
+ } | {
232
+ $kind: 'Input';
233
+ Input: number;
234
+ type?: "object" | undefined;
235
+ } | {
236
+ $kind: 'Result';
237
+ Result: number;
238
+ } | {
239
+ $kind: 'NestedResult';
240
+ NestedResult: [number, number];
241
+ }> | import("valibot").ArraySchema<BaseSchema<{
242
+ GasCoin: true;
243
+ } | {
244
+ Input: number;
245
+ type?: "object" | "pure" | undefined;
246
+ } | {
247
+ Result: number;
248
+ } | {
249
+ NestedResult: [number, number];
250
+ }, {
251
+ $kind: 'GasCoin';
252
+ GasCoin: true;
253
+ } | {
254
+ $kind: 'Input';
255
+ Input: number;
256
+ type?: "pure" | undefined;
257
+ } | {
258
+ $kind: 'Input';
259
+ Input: number;
260
+ type?: "object" | undefined;
261
+ } | {
262
+ $kind: 'Result';
263
+ Result: number;
264
+ } | {
265
+ $kind: 'NestedResult';
266
+ NestedResult: [number, number];
267
+ }>, ({
268
+ $kind: 'GasCoin';
269
+ GasCoin: true;
270
+ } | {
271
+ $kind: 'Input';
272
+ Input: number;
273
+ type?: "pure" | undefined;
274
+ } | {
275
+ $kind: 'Input';
276
+ Input: number;
277
+ type?: "object" | undefined;
278
+ } | {
279
+ $kind: 'Result';
280
+ Result: number;
281
+ } | {
282
+ $kind: 'NestedResult';
283
+ NestedResult: [number, number];
284
+ })[]>)[], {
285
+ $kind: 'GasCoin';
286
+ GasCoin: true;
287
+ } | {
288
+ $kind: 'Input';
289
+ Input: number;
290
+ type?: "pure" | undefined;
291
+ } | {
292
+ $kind: 'Input';
293
+ Input: number;
294
+ type?: "object" | undefined;
295
+ } | {
296
+ $kind: 'Result';
297
+ Result: number;
298
+ } | {
299
+ $kind: 'NestedResult';
300
+ NestedResult: [number, number];
301
+ } | ({
302
+ $kind: 'GasCoin';
303
+ GasCoin: true;
304
+ } | {
305
+ $kind: 'Input';
306
+ Input: number;
307
+ type?: "pure" | undefined;
308
+ } | {
309
+ $kind: 'Input';
310
+ Input: number;
311
+ type?: "object" | undefined;
312
+ } | {
313
+ $kind: 'Result';
314
+ Result: number;
315
+ } | {
316
+ $kind: 'NestedResult';
317
+ NestedResult: [number, number];
318
+ })[]>, {
319
+ [x: string]: {
320
+ $kind: 'GasCoin';
321
+ GasCoin: true;
322
+ } | {
323
+ $kind: 'Input';
324
+ Input: number;
325
+ type?: "pure" | undefined;
326
+ } | {
327
+ $kind: 'Input';
328
+ Input: number;
329
+ type?: "object" | undefined;
330
+ } | {
331
+ $kind: 'Result';
332
+ Result: number;
333
+ } | {
334
+ $kind: 'NestedResult';
335
+ NestedResult: [number, number];
336
+ } | ({
337
+ $kind: 'GasCoin';
338
+ GasCoin: true;
339
+ } | {
340
+ $kind: 'Input';
341
+ Input: number;
342
+ type?: "pure" | undefined;
343
+ } | {
344
+ $kind: 'Input';
345
+ Input: number;
346
+ type?: "object" | undefined;
347
+ } | {
348
+ $kind: 'Result';
349
+ Result: number;
350
+ } | {
351
+ $kind: 'NestedResult';
352
+ NestedResult: [number, number];
353
+ })[];
354
+ }>;
355
+ data: import("valibot").RecordSchema<import("valibot").StringSchema<string>, import("valibot").UnknownSchema<unknown>, {
356
+ [x: string]: unknown;
357
+ }>;
358
+ }, undefined, {
359
+ name: string;
360
+ inputs: {
361
+ [x: string]: {
362
+ $kind: 'GasCoin';
363
+ GasCoin: true;
364
+ } | {
365
+ $kind: 'Input';
366
+ Input: number;
367
+ type?: "pure" | undefined;
368
+ } | {
369
+ $kind: 'Input';
370
+ Input: number;
371
+ type?: "object" | undefined;
372
+ } | {
373
+ $kind: 'Result';
374
+ Result: number;
375
+ } | {
376
+ $kind: 'NestedResult';
377
+ NestedResult: [number, number];
378
+ } | ({
379
+ $kind: 'GasCoin';
380
+ GasCoin: true;
381
+ } | {
382
+ $kind: 'Input';
383
+ Input: number;
384
+ type?: "pure" | undefined;
385
+ } | {
386
+ $kind: 'Input';
387
+ Input: number;
388
+ type?: "object" | undefined;
389
+ } | {
390
+ $kind: 'Result';
391
+ Result: number;
392
+ } | {
393
+ $kind: 'NestedResult';
394
+ NestedResult: [number, number];
395
+ })[];
396
+ };
397
+ data: {
398
+ [x: string]: unknown;
399
+ };
400
+ }>;
401
+ export declare const Command: EnumSchema<{
402
+ MoveCall: import("valibot").ObjectSchema<{
403
+ package: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
404
+ module: import("valibot").StringSchema<string>;
405
+ function: import("valibot").StringSchema<string>;
406
+ typeArguments: import("valibot").ArraySchema<import("valibot").StringSchema<string>, string[]>;
407
+ arguments: import("valibot").ArraySchema<BaseSchema<{
408
+ GasCoin: true;
409
+ } | {
410
+ Input: number;
411
+ type?: "object" | "pure" | undefined;
412
+ } | {
413
+ Result: number;
414
+ } | {
415
+ NestedResult: [number, number];
416
+ }, {
417
+ $kind: 'GasCoin';
418
+ GasCoin: true;
419
+ } | {
420
+ $kind: 'Input';
421
+ Input: number;
422
+ type?: "pure" | undefined;
423
+ } | {
424
+ $kind: 'Input';
425
+ Input: number;
426
+ type?: "object" | undefined;
427
+ } | {
428
+ $kind: 'Result';
429
+ Result: number;
430
+ } | {
431
+ $kind: 'NestedResult';
432
+ NestedResult: [number, number];
433
+ }>, ({
434
+ $kind: 'GasCoin';
435
+ GasCoin: true;
436
+ } | {
437
+ $kind: 'Input';
438
+ Input: number;
439
+ type?: "pure" | undefined;
440
+ } | {
441
+ $kind: 'Input';
442
+ Input: number;
443
+ type?: "object" | undefined;
444
+ } | {
445
+ $kind: 'Result';
446
+ Result: number;
447
+ } | {
448
+ $kind: 'NestedResult';
449
+ NestedResult: [number, number];
450
+ })[]>;
451
+ _argumentTypes: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
452
+ ref: import("valibot").NullableSchema<import("valibot").UnionSchema<(import("valibot").LiteralSchema<"&", "&"> | import("valibot").LiteralSchema<"&mut", "&mut">)[], "&" | "&mut">, undefined, "&" | "&mut" | null>;
453
+ body: BaseSchema<OpenMoveTypeSignatureBody>;
454
+ }, undefined, {
455
+ ref: "&" | "&mut" | null;
456
+ body: OpenMoveTypeSignatureBody;
457
+ }>, {
458
+ ref: "&" | "&mut" | null;
459
+ body: OpenMoveTypeSignatureBody;
460
+ }[]>, undefined, {
461
+ ref: "&" | "&mut" | null;
462
+ body: OpenMoveTypeSignatureBody;
463
+ }[] | null>, undefined, {
464
+ ref: "&" | "&mut" | null;
465
+ body: OpenMoveTypeSignatureBody;
466
+ }[] | null | undefined>;
467
+ }, undefined, {
468
+ function: string;
469
+ module: string;
470
+ package: string;
471
+ typeArguments: string[];
472
+ arguments: ({
473
+ $kind: 'GasCoin';
474
+ GasCoin: true;
475
+ } | {
476
+ $kind: 'Input';
477
+ Input: number;
478
+ type?: "pure" | undefined;
479
+ } | {
480
+ $kind: 'Input';
481
+ Input: number;
482
+ type?: "object" | undefined;
483
+ } | {
484
+ $kind: 'Result';
485
+ Result: number;
486
+ } | {
487
+ $kind: 'NestedResult';
488
+ NestedResult: [number, number];
489
+ })[];
490
+ _argumentTypes?: {
491
+ ref: "&" | "&mut" | null;
492
+ body: OpenMoveTypeSignatureBody;
493
+ }[] | null | undefined;
494
+ }>;
495
+ TransferObjects: import("valibot").ObjectSchema<{
496
+ objects: import("valibot").ArraySchema<BaseSchema<{
497
+ GasCoin: true;
498
+ } | {
499
+ Input: number;
500
+ type?: "object" | "pure" | undefined;
501
+ } | {
502
+ Result: number;
503
+ } | {
504
+ NestedResult: [number, number];
505
+ }, {
506
+ $kind: 'GasCoin';
507
+ GasCoin: true;
508
+ } | {
509
+ $kind: 'Input';
510
+ Input: number;
511
+ type?: "pure" | undefined;
512
+ } | {
513
+ $kind: 'Input';
514
+ Input: number;
515
+ type?: "object" | undefined;
516
+ } | {
517
+ $kind: 'Result';
518
+ Result: number;
519
+ } | {
520
+ $kind: 'NestedResult';
521
+ NestedResult: [number, number];
522
+ }>, ({
523
+ $kind: 'GasCoin';
524
+ GasCoin: true;
525
+ } | {
526
+ $kind: 'Input';
527
+ Input: number;
528
+ type?: "pure" | undefined;
529
+ } | {
530
+ $kind: 'Input';
531
+ Input: number;
532
+ type?: "object" | undefined;
533
+ } | {
534
+ $kind: 'Result';
535
+ Result: number;
536
+ } | {
537
+ $kind: 'NestedResult';
538
+ NestedResult: [number, number];
539
+ })[]>;
540
+ address: BaseSchema<{
541
+ GasCoin: true;
542
+ } | {
543
+ Input: number;
544
+ type?: "object" | "pure" | undefined;
545
+ } | {
546
+ Result: number;
547
+ } | {
548
+ NestedResult: [number, number];
549
+ }, {
550
+ $kind: 'GasCoin';
551
+ GasCoin: true;
552
+ } | {
553
+ $kind: 'Input';
554
+ Input: number;
555
+ type?: "pure" | undefined;
556
+ } | {
557
+ $kind: 'Input';
558
+ Input: number;
559
+ type?: "object" | undefined;
560
+ } | {
561
+ $kind: 'Result';
562
+ Result: number;
563
+ } | {
564
+ $kind: 'NestedResult';
565
+ NestedResult: [number, number];
566
+ }>;
567
+ }, undefined, {
568
+ address: {
569
+ $kind: 'GasCoin';
570
+ GasCoin: true;
571
+ } | {
572
+ $kind: 'Input';
573
+ Input: number;
574
+ type?: "pure" | undefined;
575
+ } | {
576
+ $kind: 'Input';
577
+ Input: number;
578
+ type?: "object" | undefined;
579
+ } | {
580
+ $kind: 'Result';
581
+ Result: number;
582
+ } | {
583
+ $kind: 'NestedResult';
584
+ NestedResult: [number, number];
585
+ };
586
+ objects: ({
587
+ $kind: 'GasCoin';
588
+ GasCoin: true;
589
+ } | {
590
+ $kind: 'Input';
591
+ Input: number;
592
+ type?: "pure" | undefined;
593
+ } | {
594
+ $kind: 'Input';
595
+ Input: number;
596
+ type?: "object" | undefined;
597
+ } | {
598
+ $kind: 'Result';
599
+ Result: number;
600
+ } | {
601
+ $kind: 'NestedResult';
602
+ NestedResult: [number, number];
603
+ })[];
604
+ }>;
605
+ SplitCoins: import("valibot").ObjectSchema<{
606
+ coin: BaseSchema<{
607
+ GasCoin: true;
608
+ } | {
609
+ Input: number;
610
+ type?: "object" | "pure" | undefined;
611
+ } | {
612
+ Result: number;
613
+ } | {
614
+ NestedResult: [number, number];
615
+ }, {
616
+ $kind: 'GasCoin';
617
+ GasCoin: true;
618
+ } | {
619
+ $kind: 'Input';
620
+ Input: number;
621
+ type?: "pure" | undefined;
622
+ } | {
623
+ $kind: 'Input';
624
+ Input: number;
625
+ type?: "object" | undefined;
626
+ } | {
627
+ $kind: 'Result';
628
+ Result: number;
629
+ } | {
630
+ $kind: 'NestedResult';
631
+ NestedResult: [number, number];
632
+ }>;
633
+ amounts: import("valibot").ArraySchema<BaseSchema<{
634
+ GasCoin: true;
635
+ } | {
636
+ Input: number;
637
+ type?: "object" | "pure" | undefined;
638
+ } | {
639
+ Result: number;
640
+ } | {
641
+ NestedResult: [number, number];
642
+ }, {
643
+ $kind: 'GasCoin';
644
+ GasCoin: true;
645
+ } | {
646
+ $kind: 'Input';
647
+ Input: number;
648
+ type?: "pure" | undefined;
649
+ } | {
650
+ $kind: 'Input';
651
+ Input: number;
652
+ type?: "object" | undefined;
653
+ } | {
654
+ $kind: 'Result';
655
+ Result: number;
656
+ } | {
657
+ $kind: 'NestedResult';
658
+ NestedResult: [number, number];
659
+ }>, ({
660
+ $kind: 'GasCoin';
661
+ GasCoin: true;
662
+ } | {
663
+ $kind: 'Input';
664
+ Input: number;
665
+ type?: "pure" | undefined;
666
+ } | {
667
+ $kind: 'Input';
668
+ Input: number;
669
+ type?: "object" | undefined;
670
+ } | {
671
+ $kind: 'Result';
672
+ Result: number;
673
+ } | {
674
+ $kind: 'NestedResult';
675
+ NestedResult: [number, number];
676
+ })[]>;
677
+ }, undefined, {
678
+ coin: {
679
+ $kind: 'GasCoin';
680
+ GasCoin: true;
681
+ } | {
682
+ $kind: 'Input';
683
+ Input: number;
684
+ type?: "pure" | undefined;
685
+ } | {
686
+ $kind: 'Input';
687
+ Input: number;
688
+ type?: "object" | undefined;
689
+ } | {
690
+ $kind: 'Result';
691
+ Result: number;
692
+ } | {
693
+ $kind: 'NestedResult';
694
+ NestedResult: [number, number];
695
+ };
696
+ amounts: ({
697
+ $kind: 'GasCoin';
698
+ GasCoin: true;
699
+ } | {
700
+ $kind: 'Input';
701
+ Input: number;
702
+ type?: "pure" | undefined;
703
+ } | {
704
+ $kind: 'Input';
705
+ Input: number;
706
+ type?: "object" | undefined;
707
+ } | {
708
+ $kind: 'Result';
709
+ Result: number;
710
+ } | {
711
+ $kind: 'NestedResult';
712
+ NestedResult: [number, number];
713
+ })[];
714
+ }>;
715
+ MergeCoins: import("valibot").ObjectSchema<{
716
+ destination: BaseSchema<{
717
+ GasCoin: true;
718
+ } | {
719
+ Input: number;
720
+ type?: "object" | "pure" | undefined;
721
+ } | {
722
+ Result: number;
723
+ } | {
724
+ NestedResult: [number, number];
725
+ }, {
726
+ $kind: 'GasCoin';
727
+ GasCoin: true;
728
+ } | {
729
+ $kind: 'Input';
730
+ Input: number;
731
+ type?: "pure" | undefined;
732
+ } | {
733
+ $kind: 'Input';
734
+ Input: number;
735
+ type?: "object" | undefined;
736
+ } | {
737
+ $kind: 'Result';
738
+ Result: number;
739
+ } | {
740
+ $kind: 'NestedResult';
741
+ NestedResult: [number, number];
742
+ }>;
743
+ sources: import("valibot").ArraySchema<BaseSchema<{
744
+ GasCoin: true;
745
+ } | {
746
+ Input: number;
747
+ type?: "object" | "pure" | undefined;
748
+ } | {
749
+ Result: number;
750
+ } | {
751
+ NestedResult: [number, number];
752
+ }, {
753
+ $kind: 'GasCoin';
754
+ GasCoin: true;
755
+ } | {
756
+ $kind: 'Input';
757
+ Input: number;
758
+ type?: "pure" | undefined;
759
+ } | {
760
+ $kind: 'Input';
761
+ Input: number;
762
+ type?: "object" | undefined;
763
+ } | {
764
+ $kind: 'Result';
765
+ Result: number;
766
+ } | {
767
+ $kind: 'NestedResult';
768
+ NestedResult: [number, number];
769
+ }>, ({
770
+ $kind: 'GasCoin';
771
+ GasCoin: true;
772
+ } | {
773
+ $kind: 'Input';
774
+ Input: number;
775
+ type?: "pure" | undefined;
776
+ } | {
777
+ $kind: 'Input';
778
+ Input: number;
779
+ type?: "object" | undefined;
780
+ } | {
781
+ $kind: 'Result';
782
+ Result: number;
783
+ } | {
784
+ $kind: 'NestedResult';
785
+ NestedResult: [number, number];
786
+ })[]>;
787
+ }, undefined, {
788
+ destination: {
789
+ $kind: 'GasCoin';
790
+ GasCoin: true;
791
+ } | {
792
+ $kind: 'Input';
793
+ Input: number;
794
+ type?: "pure" | undefined;
795
+ } | {
796
+ $kind: 'Input';
797
+ Input: number;
798
+ type?: "object" | undefined;
799
+ } | {
800
+ $kind: 'Result';
801
+ Result: number;
802
+ } | {
803
+ $kind: 'NestedResult';
804
+ NestedResult: [number, number];
805
+ };
806
+ sources: ({
807
+ $kind: 'GasCoin';
808
+ GasCoin: true;
809
+ } | {
810
+ $kind: 'Input';
811
+ Input: number;
812
+ type?: "pure" | undefined;
813
+ } | {
814
+ $kind: 'Input';
815
+ Input: number;
816
+ type?: "object" | undefined;
817
+ } | {
818
+ $kind: 'Result';
819
+ Result: number;
820
+ } | {
821
+ $kind: 'NestedResult';
822
+ NestedResult: [number, number];
823
+ })[];
824
+ }>;
825
+ Publish: import("valibot").ObjectSchema<{
826
+ modules: import("valibot").ArraySchema<import("valibot").StringSchema<string>, string[]>;
827
+ dependencies: import("valibot").ArraySchema<import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>, string[]>;
828
+ }, undefined, {
829
+ modules: string[];
830
+ dependencies: string[];
831
+ }>;
832
+ MakeMoveVec: import("valibot").ObjectSchema<{
833
+ type: import("valibot").NullableSchema<import("valibot").StringSchema<string>, undefined, string | null>;
834
+ elements: import("valibot").ArraySchema<BaseSchema<{
835
+ GasCoin: true;
836
+ } | {
837
+ Input: number;
838
+ type?: "object" | "pure" | undefined;
839
+ } | {
840
+ Result: number;
841
+ } | {
842
+ NestedResult: [number, number];
843
+ }, {
844
+ $kind: 'GasCoin';
845
+ GasCoin: true;
846
+ } | {
847
+ $kind: 'Input';
848
+ Input: number;
849
+ type?: "pure" | undefined;
850
+ } | {
851
+ $kind: 'Input';
852
+ Input: number;
853
+ type?: "object" | undefined;
854
+ } | {
855
+ $kind: 'Result';
856
+ Result: number;
857
+ } | {
858
+ $kind: 'NestedResult';
859
+ NestedResult: [number, number];
860
+ }>, ({
861
+ $kind: 'GasCoin';
862
+ GasCoin: true;
863
+ } | {
864
+ $kind: 'Input';
865
+ Input: number;
866
+ type?: "pure" | undefined;
867
+ } | {
868
+ $kind: 'Input';
869
+ Input: number;
870
+ type?: "object" | undefined;
871
+ } | {
872
+ $kind: 'Result';
873
+ Result: number;
874
+ } | {
875
+ $kind: 'NestedResult';
876
+ NestedResult: [number, number];
877
+ })[]>;
878
+ }, undefined, {
879
+ type: string | null;
880
+ elements: ({
881
+ $kind: 'GasCoin';
882
+ GasCoin: true;
883
+ } | {
884
+ $kind: 'Input';
885
+ Input: number;
886
+ type?: "pure" | undefined;
887
+ } | {
888
+ $kind: 'Input';
889
+ Input: number;
890
+ type?: "object" | undefined;
891
+ } | {
892
+ $kind: 'Result';
893
+ Result: number;
894
+ } | {
895
+ $kind: 'NestedResult';
896
+ NestedResult: [number, number];
897
+ })[];
898
+ }>;
899
+ Upgrade: import("valibot").ObjectSchema<{
900
+ modules: import("valibot").ArraySchema<import("valibot").StringSchema<string>, string[]>;
901
+ dependencies: import("valibot").ArraySchema<import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>, string[]>;
902
+ package: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
903
+ ticket: BaseSchema<{
904
+ GasCoin: true;
905
+ } | {
906
+ Input: number;
907
+ type?: "object" | "pure" | undefined;
908
+ } | {
909
+ Result: number;
910
+ } | {
911
+ NestedResult: [number, number];
912
+ }, {
913
+ $kind: 'GasCoin';
914
+ GasCoin: true;
915
+ } | {
916
+ $kind: 'Input';
917
+ Input: number;
918
+ type?: "pure" | undefined;
919
+ } | {
920
+ $kind: 'Input';
921
+ Input: number;
922
+ type?: "object" | undefined;
923
+ } | {
924
+ $kind: 'Result';
925
+ Result: number;
926
+ } | {
927
+ $kind: 'NestedResult';
928
+ NestedResult: [number, number];
929
+ }>;
930
+ }, undefined, {
931
+ package: string;
932
+ modules: string[];
933
+ dependencies: string[];
934
+ ticket: {
935
+ $kind: 'GasCoin';
936
+ GasCoin: true;
937
+ } | {
938
+ $kind: 'Input';
939
+ Input: number;
940
+ type?: "pure" | undefined;
941
+ } | {
942
+ $kind: 'Input';
943
+ Input: number;
944
+ type?: "object" | undefined;
945
+ } | {
946
+ $kind: 'Result';
947
+ Result: number;
948
+ } | {
949
+ $kind: 'NestedResult';
950
+ NestedResult: [number, number];
951
+ };
952
+ }>;
953
+ $Intent: import("valibot").ObjectSchema<{
954
+ name: import("valibot").StringSchema<string>;
955
+ inputs: import("valibot").RecordSchema<import("valibot").StringSchema<string>, import("valibot").UnionSchema<(BaseSchema<{
956
+ GasCoin: true;
957
+ } | {
958
+ Input: number;
959
+ type?: "object" | "pure" | undefined;
960
+ } | {
961
+ Result: number;
962
+ } | {
963
+ NestedResult: [number, number];
964
+ }, {
965
+ $kind: 'GasCoin';
966
+ GasCoin: true;
967
+ } | {
968
+ $kind: 'Input';
969
+ Input: number;
970
+ type?: "pure" | undefined;
971
+ } | {
972
+ $kind: 'Input';
973
+ Input: number;
974
+ type?: "object" | undefined;
975
+ } | {
976
+ $kind: 'Result';
977
+ Result: number;
978
+ } | {
979
+ $kind: 'NestedResult';
980
+ NestedResult: [number, number];
981
+ }> | import("valibot").ArraySchema<BaseSchema<{
982
+ GasCoin: true;
983
+ } | {
984
+ Input: number;
985
+ type?: "object" | "pure" | undefined;
986
+ } | {
987
+ Result: number;
988
+ } | {
989
+ NestedResult: [number, number];
990
+ }, {
991
+ $kind: 'GasCoin';
992
+ GasCoin: true;
993
+ } | {
994
+ $kind: 'Input';
995
+ Input: number;
996
+ type?: "pure" | undefined;
997
+ } | {
998
+ $kind: 'Input';
999
+ Input: number;
1000
+ type?: "object" | undefined;
1001
+ } | {
1002
+ $kind: 'Result';
1003
+ Result: number;
1004
+ } | {
1005
+ $kind: 'NestedResult';
1006
+ NestedResult: [number, number];
1007
+ }>, ({
1008
+ $kind: 'GasCoin';
1009
+ GasCoin: true;
1010
+ } | {
1011
+ $kind: 'Input';
1012
+ Input: number;
1013
+ type?: "pure" | undefined;
1014
+ } | {
1015
+ $kind: 'Input';
1016
+ Input: number;
1017
+ type?: "object" | undefined;
1018
+ } | {
1019
+ $kind: 'Result';
1020
+ Result: number;
1021
+ } | {
1022
+ $kind: 'NestedResult';
1023
+ NestedResult: [number, number];
1024
+ })[]>)[], {
1025
+ $kind: 'GasCoin';
1026
+ GasCoin: true;
1027
+ } | {
1028
+ $kind: 'Input';
1029
+ Input: number;
1030
+ type?: "pure" | undefined;
1031
+ } | {
1032
+ $kind: 'Input';
1033
+ Input: number;
1034
+ type?: "object" | undefined;
1035
+ } | {
1036
+ $kind: 'Result';
1037
+ Result: number;
1038
+ } | {
1039
+ $kind: 'NestedResult';
1040
+ NestedResult: [number, number];
1041
+ } | ({
1042
+ $kind: 'GasCoin';
1043
+ GasCoin: true;
1044
+ } | {
1045
+ $kind: 'Input';
1046
+ Input: number;
1047
+ type?: "pure" | undefined;
1048
+ } | {
1049
+ $kind: 'Input';
1050
+ Input: number;
1051
+ type?: "object" | undefined;
1052
+ } | {
1053
+ $kind: 'Result';
1054
+ Result: number;
1055
+ } | {
1056
+ $kind: 'NestedResult';
1057
+ NestedResult: [number, number];
1058
+ })[]>, {
1059
+ [x: string]: {
1060
+ $kind: 'GasCoin';
1061
+ GasCoin: true;
1062
+ } | {
1063
+ $kind: 'Input';
1064
+ Input: number;
1065
+ type?: "pure" | undefined;
1066
+ } | {
1067
+ $kind: 'Input';
1068
+ Input: number;
1069
+ type?: "object" | undefined;
1070
+ } | {
1071
+ $kind: 'Result';
1072
+ Result: number;
1073
+ } | {
1074
+ $kind: 'NestedResult';
1075
+ NestedResult: [number, number];
1076
+ } | ({
1077
+ $kind: 'GasCoin';
1078
+ GasCoin: true;
1079
+ } | {
1080
+ $kind: 'Input';
1081
+ Input: number;
1082
+ type?: "pure" | undefined;
1083
+ } | {
1084
+ $kind: 'Input';
1085
+ Input: number;
1086
+ type?: "object" | undefined;
1087
+ } | {
1088
+ $kind: 'Result';
1089
+ Result: number;
1090
+ } | {
1091
+ $kind: 'NestedResult';
1092
+ NestedResult: [number, number];
1093
+ })[];
1094
+ }>;
1095
+ data: import("valibot").RecordSchema<import("valibot").StringSchema<string>, import("valibot").UnknownSchema<unknown>, {
1096
+ [x: string]: unknown;
1097
+ }>;
1098
+ }, undefined, {
1099
+ name: string;
1100
+ inputs: {
1101
+ [x: string]: {
1102
+ $kind: 'GasCoin';
1103
+ GasCoin: true;
1104
+ } | {
1105
+ $kind: 'Input';
1106
+ Input: number;
1107
+ type?: "pure" | undefined;
1108
+ } | {
1109
+ $kind: 'Input';
1110
+ Input: number;
1111
+ type?: "object" | undefined;
1112
+ } | {
1113
+ $kind: 'Result';
1114
+ Result: number;
1115
+ } | {
1116
+ $kind: 'NestedResult';
1117
+ NestedResult: [number, number];
1118
+ } | ({
1119
+ $kind: 'GasCoin';
1120
+ GasCoin: true;
1121
+ } | {
1122
+ $kind: 'Input';
1123
+ Input: number;
1124
+ type?: "pure" | undefined;
1125
+ } | {
1126
+ $kind: 'Input';
1127
+ Input: number;
1128
+ type?: "object" | undefined;
1129
+ } | {
1130
+ $kind: 'Result';
1131
+ Result: number;
1132
+ } | {
1133
+ $kind: 'NestedResult';
1134
+ NestedResult: [number, number];
1135
+ })[];
1136
+ };
1137
+ data: {
1138
+ [x: string]: unknown;
1139
+ };
1140
+ }>;
1141
+ }>;
1142
+ export type Command<Arg = Argument> = EnumOutputShape<{
1143
+ MoveCall: {
1144
+ package: string;
1145
+ module: string;
1146
+ function: string;
1147
+ typeArguments: string[];
1148
+ arguments: Arg[];
1149
+ _argumentTypes?: OpenMoveTypeSignature[] | null;
1150
+ };
1151
+ TransferObjects: {
1152
+ objects: Arg[];
1153
+ address: Arg;
1154
+ };
1155
+ SplitCoins: {
1156
+ coin: Arg;
1157
+ amounts: Arg[];
1158
+ };
1159
+ MergeCoins: {
1160
+ destination: Arg;
1161
+ sources: Arg[];
1162
+ };
1163
+ Publish: {
1164
+ modules: string[];
1165
+ dependencies: string[];
1166
+ };
1167
+ MakeMoveVec: {
1168
+ type: string | null;
1169
+ elements: Arg[];
1170
+ };
1171
+ Upgrade: {
1172
+ modules: string[];
1173
+ dependencies: string[];
1174
+ package: string;
1175
+ ticket: Arg;
1176
+ };
1177
+ $Intent: {
1178
+ name: string;
1179
+ inputs: Record<string, Argument | Argument[]>;
1180
+ data: Record<string, unknown>;
1181
+ };
1182
+ }>;
1183
+ export declare const ObjectArg: EnumSchema<{
1184
+ ImmOrOwnedObject: import("valibot").ObjectSchema<{
1185
+ objectId: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
1186
+ version: import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>;
1187
+ digest: import("valibot").StringSchema<string>;
1188
+ }, undefined, {
1189
+ objectId: string;
1190
+ version: string | number;
1191
+ digest: string;
1192
+ }>;
1193
+ SharedObject: import("valibot").ObjectSchema<{
1194
+ objectId: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
1195
+ initialSharedVersion: import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>;
1196
+ mutable: import("valibot").NullableSchema<import("valibot").BooleanSchema<boolean>, undefined, boolean | null>;
1197
+ }, undefined, {
1198
+ objectId: string;
1199
+ initialSharedVersion: string | number;
1200
+ mutable: boolean | null;
1201
+ }>;
1202
+ Receiving: import("valibot").ObjectSchema<{
1203
+ objectId: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
1204
+ version: import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>;
1205
+ digest: import("valibot").StringSchema<string>;
1206
+ }, undefined, {
1207
+ objectId: string;
1208
+ version: string | number;
1209
+ digest: string;
1210
+ }>;
1211
+ }>;
1212
+ declare const CallArg: EnumSchema<{
1213
+ Object: EnumSchema<{
1214
+ ImmOrOwnedObject: import("valibot").ObjectSchema<{
1215
+ objectId: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
1216
+ version: import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>;
1217
+ digest: import("valibot").StringSchema<string>;
1218
+ }, undefined, {
1219
+ objectId: string;
1220
+ version: string | number;
1221
+ digest: string;
1222
+ }>;
1223
+ SharedObject: import("valibot").ObjectSchema<{
1224
+ objectId: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
1225
+ initialSharedVersion: import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>;
1226
+ mutable: import("valibot").NullableSchema<import("valibot").BooleanSchema<boolean>, undefined, boolean | null>;
1227
+ }, undefined, {
1228
+ objectId: string;
1229
+ initialSharedVersion: string | number;
1230
+ mutable: boolean | null;
1231
+ }>;
1232
+ Receiving: import("valibot").ObjectSchema<{
1233
+ objectId: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
1234
+ version: import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>;
1235
+ digest: import("valibot").StringSchema<string>;
1236
+ }, undefined, {
1237
+ objectId: string;
1238
+ version: string | number;
1239
+ digest: string;
1240
+ }>;
1241
+ }>;
1242
+ Pure: import("valibot").ObjectSchema<{
1243
+ bytes: import("valibot").StringSchema<string>;
1244
+ }, undefined, {
1245
+ bytes: string;
1246
+ }>;
1247
+ UnresolvedPure: import("valibot").ObjectSchema<{
1248
+ value: import("valibot").UnknownSchema<unknown>;
1249
+ }, undefined, {
1250
+ value: unknown;
1251
+ }>;
1252
+ UnresolvedObject: import("valibot").ObjectSchema<{
1253
+ objectId: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
1254
+ version: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>, undefined, string | number | null>, undefined, string | number | null | undefined>;
1255
+ digest: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<string>, undefined, string | null>, undefined, string | null | undefined>;
1256
+ initialSharedVersion: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>, undefined, string | number | null>, undefined, string | number | null | undefined>;
1257
+ }, undefined, {
1258
+ objectId: string;
1259
+ version?: string | number | null | undefined;
1260
+ digest?: string | null | undefined;
1261
+ initialSharedVersion?: string | number | null | undefined;
1262
+ }>;
1263
+ }>;
1264
+ export type CallArg = Output<typeof CallArg>;
1265
+ export declare const NormalizedCallArg: EnumSchema<{
1266
+ Object: EnumSchema<{
1267
+ ImmOrOwnedObject: import("valibot").ObjectSchema<{
1268
+ objectId: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
1269
+ version: import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>;
1270
+ digest: import("valibot").StringSchema<string>;
1271
+ }, undefined, {
1272
+ objectId: string;
1273
+ version: string | number;
1274
+ digest: string;
1275
+ }>;
1276
+ SharedObject: import("valibot").ObjectSchema<{
1277
+ objectId: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
1278
+ initialSharedVersion: import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>;
1279
+ mutable: import("valibot").NullableSchema<import("valibot").BooleanSchema<boolean>, undefined, boolean | null>;
1280
+ }, undefined, {
1281
+ objectId: string;
1282
+ initialSharedVersion: string | number;
1283
+ mutable: boolean | null;
1284
+ }>;
1285
+ Receiving: import("valibot").ObjectSchema<{
1286
+ objectId: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
1287
+ version: import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>;
1288
+ digest: import("valibot").StringSchema<string>;
1289
+ }, undefined, {
1290
+ objectId: string;
1291
+ version: string | number;
1292
+ digest: string;
1293
+ }>;
1294
+ }>;
1295
+ Pure: import("valibot").ObjectSchema<{
1296
+ bytes: import("valibot").StringSchema<string>;
1297
+ }, undefined, {
1298
+ bytes: string;
1299
+ }>;
1300
+ }>;
1301
+ export declare const TransactionExpiration: EnumSchema<{
1302
+ None: import("valibot").LiteralSchema<true, true>;
1303
+ Epoch: import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>;
1304
+ }>;
1305
+ export type TransactionExpiration = Output<typeof TransactionExpiration>;
1306
+ export declare const TransactionData: import("valibot").ObjectSchema<{
1307
+ version: import("valibot").LiteralSchema<2, 2>;
1308
+ sender: import("valibot").NullishSchema<import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>, undefined, string | null | undefined>;
1309
+ expiration: import("valibot").NullishSchema<EnumSchema<{
1310
+ None: import("valibot").LiteralSchema<true, true>;
1311
+ Epoch: import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>;
1312
+ }>, undefined, import("@mysten/bcs").EnumOutputShapeWithKeys<{
1313
+ None: true;
1314
+ Epoch: string | number;
1315
+ }, "None" | "Epoch"> | null | undefined>;
1316
+ gasData: import("valibot").ObjectSchema<{
1317
+ budget: import("valibot").NullableSchema<import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>, undefined, string | number | null>;
1318
+ price: import("valibot").NullableSchema<import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>, undefined, string | number | null>;
1319
+ owner: import("valibot").NullableSchema<import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>, undefined, string | null>;
1320
+ payment: import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
1321
+ objectId: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
1322
+ version: import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>;
1323
+ digest: import("valibot").StringSchema<string>;
1324
+ }, undefined, {
1325
+ objectId: string;
1326
+ version: string | number;
1327
+ digest: string;
1328
+ }>, {
1329
+ objectId: string;
1330
+ version: string | number;
1331
+ digest: string;
1332
+ }[]>, undefined, {
1333
+ objectId: string;
1334
+ version: string | number;
1335
+ digest: string;
1336
+ }[] | null>;
1337
+ }, undefined, {
1338
+ payment: {
1339
+ objectId: string;
1340
+ version: string | number;
1341
+ digest: string;
1342
+ }[] | null;
1343
+ owner: string | null;
1344
+ price: string | number | null;
1345
+ budget: string | number | null;
1346
+ }>;
1347
+ inputs: import("valibot").ArraySchema<EnumSchema<{
1348
+ Object: EnumSchema<{
1349
+ ImmOrOwnedObject: import("valibot").ObjectSchema<{
1350
+ objectId: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
1351
+ version: import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>;
1352
+ digest: import("valibot").StringSchema<string>;
1353
+ }, undefined, {
1354
+ objectId: string;
1355
+ version: string | number;
1356
+ digest: string;
1357
+ }>;
1358
+ SharedObject: import("valibot").ObjectSchema<{
1359
+ objectId: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
1360
+ initialSharedVersion: import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>;
1361
+ mutable: import("valibot").NullableSchema<import("valibot").BooleanSchema<boolean>, undefined, boolean | null>;
1362
+ }, undefined, {
1363
+ objectId: string;
1364
+ initialSharedVersion: string | number;
1365
+ mutable: boolean | null;
1366
+ }>;
1367
+ Receiving: import("valibot").ObjectSchema<{
1368
+ objectId: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
1369
+ version: import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>;
1370
+ digest: import("valibot").StringSchema<string>;
1371
+ }, undefined, {
1372
+ objectId: string;
1373
+ version: string | number;
1374
+ digest: string;
1375
+ }>;
1376
+ }>;
1377
+ Pure: import("valibot").ObjectSchema<{
1378
+ bytes: import("valibot").StringSchema<string>;
1379
+ }, undefined, {
1380
+ bytes: string;
1381
+ }>;
1382
+ UnresolvedPure: import("valibot").ObjectSchema<{
1383
+ value: import("valibot").UnknownSchema<unknown>;
1384
+ }, undefined, {
1385
+ value: unknown;
1386
+ }>;
1387
+ UnresolvedObject: import("valibot").ObjectSchema<{
1388
+ objectId: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
1389
+ version: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>, undefined, string | number | null>, undefined, string | number | null | undefined>;
1390
+ digest: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<string>, undefined, string | null>, undefined, string | null | undefined>;
1391
+ initialSharedVersion: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>, undefined, string | number | null>, undefined, string | number | null | undefined>;
1392
+ }, undefined, {
1393
+ objectId: string;
1394
+ version?: string | number | null | undefined;
1395
+ digest?: string | null | undefined;
1396
+ initialSharedVersion?: string | number | null | undefined;
1397
+ }>;
1398
+ }>, import("@mysten/bcs").EnumOutputShapeWithKeys<{
1399
+ Object: import("@mysten/bcs").EnumOutputShapeWithKeys<{
1400
+ ImmOrOwnedObject: {
1401
+ objectId: string;
1402
+ version: string | number;
1403
+ digest: string;
1404
+ };
1405
+ SharedObject: {
1406
+ objectId: string;
1407
+ initialSharedVersion: string | number;
1408
+ mutable: boolean | null;
1409
+ };
1410
+ Receiving: {
1411
+ objectId: string;
1412
+ version: string | number;
1413
+ digest: string;
1414
+ };
1415
+ }, "ImmOrOwnedObject" | "SharedObject" | "Receiving">;
1416
+ Pure: {
1417
+ bytes: string;
1418
+ };
1419
+ UnresolvedPure: {
1420
+ value: unknown;
1421
+ };
1422
+ UnresolvedObject: {
1423
+ objectId: string;
1424
+ version?: string | number | null | undefined;
1425
+ digest?: string | null | undefined;
1426
+ initialSharedVersion?: string | number | null | undefined;
1427
+ };
1428
+ }, "Pure" | "Object" | "UnresolvedPure" | "UnresolvedObject">[]>;
1429
+ commands: import("valibot").ArraySchema<EnumSchema<{
1430
+ MoveCall: import("valibot").ObjectSchema<{
1431
+ package: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
1432
+ module: import("valibot").StringSchema<string>;
1433
+ function: import("valibot").StringSchema<string>;
1434
+ typeArguments: import("valibot").ArraySchema<import("valibot").StringSchema<string>, string[]>;
1435
+ arguments: import("valibot").ArraySchema<BaseSchema<{
1436
+ GasCoin: true;
1437
+ } | {
1438
+ Input: number;
1439
+ type?: "object" | "pure" | undefined;
1440
+ } | {
1441
+ Result: number;
1442
+ } | {
1443
+ NestedResult: [number, number];
1444
+ }, {
1445
+ $kind: 'GasCoin';
1446
+ GasCoin: true;
1447
+ } | {
1448
+ $kind: 'Input';
1449
+ Input: number;
1450
+ type?: "pure" | undefined;
1451
+ } | {
1452
+ $kind: 'Input';
1453
+ Input: number;
1454
+ type?: "object" | undefined;
1455
+ } | {
1456
+ $kind: 'Result';
1457
+ Result: number;
1458
+ } | {
1459
+ $kind: 'NestedResult';
1460
+ NestedResult: [number, number];
1461
+ }>, ({
1462
+ $kind: 'GasCoin';
1463
+ GasCoin: true;
1464
+ } | {
1465
+ $kind: 'Input';
1466
+ Input: number;
1467
+ type?: "pure" | undefined;
1468
+ } | {
1469
+ $kind: 'Input';
1470
+ Input: number;
1471
+ type?: "object" | undefined;
1472
+ } | {
1473
+ $kind: 'Result';
1474
+ Result: number;
1475
+ } | {
1476
+ $kind: 'NestedResult';
1477
+ NestedResult: [number, number];
1478
+ })[]>;
1479
+ _argumentTypes: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
1480
+ ref: import("valibot").NullableSchema<import("valibot").UnionSchema<(import("valibot").LiteralSchema<"&", "&"> | import("valibot").LiteralSchema<"&mut", "&mut">)[], "&" | "&mut">, undefined, "&" | "&mut" | null>;
1481
+ body: BaseSchema<OpenMoveTypeSignatureBody>;
1482
+ }, undefined, {
1483
+ ref: "&" | "&mut" | null;
1484
+ body: OpenMoveTypeSignatureBody;
1485
+ }>, {
1486
+ ref: "&" | "&mut" | null;
1487
+ body: OpenMoveTypeSignatureBody;
1488
+ }[]>, undefined, {
1489
+ ref: "&" | "&mut" | null;
1490
+ body: OpenMoveTypeSignatureBody;
1491
+ }[] | null>, undefined, {
1492
+ ref: "&" | "&mut" | null;
1493
+ body: OpenMoveTypeSignatureBody;
1494
+ }[] | null | undefined>;
1495
+ }, undefined, {
1496
+ function: string;
1497
+ module: string;
1498
+ package: string;
1499
+ typeArguments: string[];
1500
+ arguments: ({
1501
+ $kind: 'GasCoin';
1502
+ GasCoin: true;
1503
+ } | {
1504
+ $kind: 'Input';
1505
+ Input: number;
1506
+ type?: "pure" | undefined;
1507
+ } | {
1508
+ $kind: 'Input';
1509
+ Input: number;
1510
+ type?: "object" | undefined;
1511
+ } | {
1512
+ $kind: 'Result';
1513
+ Result: number;
1514
+ } | {
1515
+ $kind: 'NestedResult';
1516
+ NestedResult: [number, number];
1517
+ })[];
1518
+ _argumentTypes?: {
1519
+ ref: "&" | "&mut" | null;
1520
+ body: OpenMoveTypeSignatureBody;
1521
+ }[] | null | undefined;
1522
+ }>;
1523
+ TransferObjects: import("valibot").ObjectSchema<{
1524
+ objects: import("valibot").ArraySchema<BaseSchema<{
1525
+ GasCoin: true;
1526
+ } | {
1527
+ Input: number;
1528
+ type?: "object" | "pure" | undefined;
1529
+ } | {
1530
+ Result: number;
1531
+ } | {
1532
+ NestedResult: [number, number];
1533
+ }, {
1534
+ $kind: 'GasCoin';
1535
+ GasCoin: true;
1536
+ } | {
1537
+ $kind: 'Input';
1538
+ Input: number;
1539
+ type?: "pure" | undefined;
1540
+ } | {
1541
+ $kind: 'Input';
1542
+ Input: number;
1543
+ type?: "object" | undefined;
1544
+ } | {
1545
+ $kind: 'Result';
1546
+ Result: number;
1547
+ } | {
1548
+ $kind: 'NestedResult';
1549
+ NestedResult: [number, number];
1550
+ }>, ({
1551
+ $kind: 'GasCoin';
1552
+ GasCoin: true;
1553
+ } | {
1554
+ $kind: 'Input';
1555
+ Input: number;
1556
+ type?: "pure" | undefined;
1557
+ } | {
1558
+ $kind: 'Input';
1559
+ Input: number;
1560
+ type?: "object" | undefined;
1561
+ } | {
1562
+ $kind: 'Result';
1563
+ Result: number;
1564
+ } | {
1565
+ $kind: 'NestedResult';
1566
+ NestedResult: [number, number];
1567
+ })[]>;
1568
+ address: BaseSchema<{
1569
+ GasCoin: true;
1570
+ } | {
1571
+ Input: number;
1572
+ type?: "object" | "pure" | undefined;
1573
+ } | {
1574
+ Result: number;
1575
+ } | {
1576
+ NestedResult: [number, number];
1577
+ }, {
1578
+ $kind: 'GasCoin';
1579
+ GasCoin: true;
1580
+ } | {
1581
+ $kind: 'Input';
1582
+ Input: number;
1583
+ type?: "pure" | undefined;
1584
+ } | {
1585
+ $kind: 'Input';
1586
+ Input: number;
1587
+ type?: "object" | undefined;
1588
+ } | {
1589
+ $kind: 'Result';
1590
+ Result: number;
1591
+ } | {
1592
+ $kind: 'NestedResult';
1593
+ NestedResult: [number, number];
1594
+ }>;
1595
+ }, undefined, {
1596
+ address: {
1597
+ $kind: 'GasCoin';
1598
+ GasCoin: true;
1599
+ } | {
1600
+ $kind: 'Input';
1601
+ Input: number;
1602
+ type?: "pure" | undefined;
1603
+ } | {
1604
+ $kind: 'Input';
1605
+ Input: number;
1606
+ type?: "object" | undefined;
1607
+ } | {
1608
+ $kind: 'Result';
1609
+ Result: number;
1610
+ } | {
1611
+ $kind: 'NestedResult';
1612
+ NestedResult: [number, number];
1613
+ };
1614
+ objects: ({
1615
+ $kind: 'GasCoin';
1616
+ GasCoin: true;
1617
+ } | {
1618
+ $kind: 'Input';
1619
+ Input: number;
1620
+ type?: "pure" | undefined;
1621
+ } | {
1622
+ $kind: 'Input';
1623
+ Input: number;
1624
+ type?: "object" | undefined;
1625
+ } | {
1626
+ $kind: 'Result';
1627
+ Result: number;
1628
+ } | {
1629
+ $kind: 'NestedResult';
1630
+ NestedResult: [number, number];
1631
+ })[];
1632
+ }>;
1633
+ SplitCoins: import("valibot").ObjectSchema<{
1634
+ coin: BaseSchema<{
1635
+ GasCoin: true;
1636
+ } | {
1637
+ Input: number;
1638
+ type?: "object" | "pure" | undefined;
1639
+ } | {
1640
+ Result: number;
1641
+ } | {
1642
+ NestedResult: [number, number];
1643
+ }, {
1644
+ $kind: 'GasCoin';
1645
+ GasCoin: true;
1646
+ } | {
1647
+ $kind: 'Input';
1648
+ Input: number;
1649
+ type?: "pure" | undefined;
1650
+ } | {
1651
+ $kind: 'Input';
1652
+ Input: number;
1653
+ type?: "object" | undefined;
1654
+ } | {
1655
+ $kind: 'Result';
1656
+ Result: number;
1657
+ } | {
1658
+ $kind: 'NestedResult';
1659
+ NestedResult: [number, number];
1660
+ }>;
1661
+ amounts: import("valibot").ArraySchema<BaseSchema<{
1662
+ GasCoin: true;
1663
+ } | {
1664
+ Input: number;
1665
+ type?: "object" | "pure" | undefined;
1666
+ } | {
1667
+ Result: number;
1668
+ } | {
1669
+ NestedResult: [number, number];
1670
+ }, {
1671
+ $kind: 'GasCoin';
1672
+ GasCoin: true;
1673
+ } | {
1674
+ $kind: 'Input';
1675
+ Input: number;
1676
+ type?: "pure" | undefined;
1677
+ } | {
1678
+ $kind: 'Input';
1679
+ Input: number;
1680
+ type?: "object" | undefined;
1681
+ } | {
1682
+ $kind: 'Result';
1683
+ Result: number;
1684
+ } | {
1685
+ $kind: 'NestedResult';
1686
+ NestedResult: [number, number];
1687
+ }>, ({
1688
+ $kind: 'GasCoin';
1689
+ GasCoin: true;
1690
+ } | {
1691
+ $kind: 'Input';
1692
+ Input: number;
1693
+ type?: "pure" | undefined;
1694
+ } | {
1695
+ $kind: 'Input';
1696
+ Input: number;
1697
+ type?: "object" | undefined;
1698
+ } | {
1699
+ $kind: 'Result';
1700
+ Result: number;
1701
+ } | {
1702
+ $kind: 'NestedResult';
1703
+ NestedResult: [number, number];
1704
+ })[]>;
1705
+ }, undefined, {
1706
+ coin: {
1707
+ $kind: 'GasCoin';
1708
+ GasCoin: true;
1709
+ } | {
1710
+ $kind: 'Input';
1711
+ Input: number;
1712
+ type?: "pure" | undefined;
1713
+ } | {
1714
+ $kind: 'Input';
1715
+ Input: number;
1716
+ type?: "object" | undefined;
1717
+ } | {
1718
+ $kind: 'Result';
1719
+ Result: number;
1720
+ } | {
1721
+ $kind: 'NestedResult';
1722
+ NestedResult: [number, number];
1723
+ };
1724
+ amounts: ({
1725
+ $kind: 'GasCoin';
1726
+ GasCoin: true;
1727
+ } | {
1728
+ $kind: 'Input';
1729
+ Input: number;
1730
+ type?: "pure" | undefined;
1731
+ } | {
1732
+ $kind: 'Input';
1733
+ Input: number;
1734
+ type?: "object" | undefined;
1735
+ } | {
1736
+ $kind: 'Result';
1737
+ Result: number;
1738
+ } | {
1739
+ $kind: 'NestedResult';
1740
+ NestedResult: [number, number];
1741
+ })[];
1742
+ }>;
1743
+ MergeCoins: import("valibot").ObjectSchema<{
1744
+ destination: BaseSchema<{
1745
+ GasCoin: true;
1746
+ } | {
1747
+ Input: number;
1748
+ type?: "object" | "pure" | undefined;
1749
+ } | {
1750
+ Result: number;
1751
+ } | {
1752
+ NestedResult: [number, number];
1753
+ }, {
1754
+ $kind: 'GasCoin';
1755
+ GasCoin: true;
1756
+ } | {
1757
+ $kind: 'Input';
1758
+ Input: number;
1759
+ type?: "pure" | undefined;
1760
+ } | {
1761
+ $kind: 'Input';
1762
+ Input: number;
1763
+ type?: "object" | undefined;
1764
+ } | {
1765
+ $kind: 'Result';
1766
+ Result: number;
1767
+ } | {
1768
+ $kind: 'NestedResult';
1769
+ NestedResult: [number, number];
1770
+ }>;
1771
+ sources: import("valibot").ArraySchema<BaseSchema<{
1772
+ GasCoin: true;
1773
+ } | {
1774
+ Input: number;
1775
+ type?: "object" | "pure" | undefined;
1776
+ } | {
1777
+ Result: number;
1778
+ } | {
1779
+ NestedResult: [number, number];
1780
+ }, {
1781
+ $kind: 'GasCoin';
1782
+ GasCoin: true;
1783
+ } | {
1784
+ $kind: 'Input';
1785
+ Input: number;
1786
+ type?: "pure" | undefined;
1787
+ } | {
1788
+ $kind: 'Input';
1789
+ Input: number;
1790
+ type?: "object" | undefined;
1791
+ } | {
1792
+ $kind: 'Result';
1793
+ Result: number;
1794
+ } | {
1795
+ $kind: 'NestedResult';
1796
+ NestedResult: [number, number];
1797
+ }>, ({
1798
+ $kind: 'GasCoin';
1799
+ GasCoin: true;
1800
+ } | {
1801
+ $kind: 'Input';
1802
+ Input: number;
1803
+ type?: "pure" | undefined;
1804
+ } | {
1805
+ $kind: 'Input';
1806
+ Input: number;
1807
+ type?: "object" | undefined;
1808
+ } | {
1809
+ $kind: 'Result';
1810
+ Result: number;
1811
+ } | {
1812
+ $kind: 'NestedResult';
1813
+ NestedResult: [number, number];
1814
+ })[]>;
1815
+ }, undefined, {
1816
+ destination: {
1817
+ $kind: 'GasCoin';
1818
+ GasCoin: true;
1819
+ } | {
1820
+ $kind: 'Input';
1821
+ Input: number;
1822
+ type?: "pure" | undefined;
1823
+ } | {
1824
+ $kind: 'Input';
1825
+ Input: number;
1826
+ type?: "object" | undefined;
1827
+ } | {
1828
+ $kind: 'Result';
1829
+ Result: number;
1830
+ } | {
1831
+ $kind: 'NestedResult';
1832
+ NestedResult: [number, number];
1833
+ };
1834
+ sources: ({
1835
+ $kind: 'GasCoin';
1836
+ GasCoin: true;
1837
+ } | {
1838
+ $kind: 'Input';
1839
+ Input: number;
1840
+ type?: "pure" | undefined;
1841
+ } | {
1842
+ $kind: 'Input';
1843
+ Input: number;
1844
+ type?: "object" | undefined;
1845
+ } | {
1846
+ $kind: 'Result';
1847
+ Result: number;
1848
+ } | {
1849
+ $kind: 'NestedResult';
1850
+ NestedResult: [number, number];
1851
+ })[];
1852
+ }>;
1853
+ Publish: import("valibot").ObjectSchema<{
1854
+ modules: import("valibot").ArraySchema<import("valibot").StringSchema<string>, string[]>;
1855
+ dependencies: import("valibot").ArraySchema<import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>, string[]>;
1856
+ }, undefined, {
1857
+ modules: string[];
1858
+ dependencies: string[];
1859
+ }>;
1860
+ MakeMoveVec: import("valibot").ObjectSchema<{
1861
+ type: import("valibot").NullableSchema<import("valibot").StringSchema<string>, undefined, string | null>;
1862
+ elements: import("valibot").ArraySchema<BaseSchema<{
1863
+ GasCoin: true;
1864
+ } | {
1865
+ Input: number;
1866
+ type?: "object" | "pure" | undefined;
1867
+ } | {
1868
+ Result: number;
1869
+ } | {
1870
+ NestedResult: [number, number];
1871
+ }, {
1872
+ $kind: 'GasCoin';
1873
+ GasCoin: true;
1874
+ } | {
1875
+ $kind: 'Input';
1876
+ Input: number;
1877
+ type?: "pure" | undefined;
1878
+ } | {
1879
+ $kind: 'Input';
1880
+ Input: number;
1881
+ type?: "object" | undefined;
1882
+ } | {
1883
+ $kind: 'Result';
1884
+ Result: number;
1885
+ } | {
1886
+ $kind: 'NestedResult';
1887
+ NestedResult: [number, number];
1888
+ }>, ({
1889
+ $kind: 'GasCoin';
1890
+ GasCoin: true;
1891
+ } | {
1892
+ $kind: 'Input';
1893
+ Input: number;
1894
+ type?: "pure" | undefined;
1895
+ } | {
1896
+ $kind: 'Input';
1897
+ Input: number;
1898
+ type?: "object" | undefined;
1899
+ } | {
1900
+ $kind: 'Result';
1901
+ Result: number;
1902
+ } | {
1903
+ $kind: 'NestedResult';
1904
+ NestedResult: [number, number];
1905
+ })[]>;
1906
+ }, undefined, {
1907
+ type: string | null;
1908
+ elements: ({
1909
+ $kind: 'GasCoin';
1910
+ GasCoin: true;
1911
+ } | {
1912
+ $kind: 'Input';
1913
+ Input: number;
1914
+ type?: "pure" | undefined;
1915
+ } | {
1916
+ $kind: 'Input';
1917
+ Input: number;
1918
+ type?: "object" | undefined;
1919
+ } | {
1920
+ $kind: 'Result';
1921
+ Result: number;
1922
+ } | {
1923
+ $kind: 'NestedResult';
1924
+ NestedResult: [number, number];
1925
+ })[];
1926
+ }>;
1927
+ Upgrade: import("valibot").ObjectSchema<{
1928
+ modules: import("valibot").ArraySchema<import("valibot").StringSchema<string>, string[]>;
1929
+ dependencies: import("valibot").ArraySchema<import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>, string[]>;
1930
+ package: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
1931
+ ticket: BaseSchema<{
1932
+ GasCoin: true;
1933
+ } | {
1934
+ Input: number;
1935
+ type?: "object" | "pure" | undefined;
1936
+ } | {
1937
+ Result: number;
1938
+ } | {
1939
+ NestedResult: [number, number];
1940
+ }, {
1941
+ $kind: 'GasCoin';
1942
+ GasCoin: true;
1943
+ } | {
1944
+ $kind: 'Input';
1945
+ Input: number;
1946
+ type?: "pure" | undefined;
1947
+ } | {
1948
+ $kind: 'Input';
1949
+ Input: number;
1950
+ type?: "object" | undefined;
1951
+ } | {
1952
+ $kind: 'Result';
1953
+ Result: number;
1954
+ } | {
1955
+ $kind: 'NestedResult';
1956
+ NestedResult: [number, number];
1957
+ }>;
1958
+ }, undefined, {
1959
+ package: string;
1960
+ modules: string[];
1961
+ dependencies: string[];
1962
+ ticket: {
1963
+ $kind: 'GasCoin';
1964
+ GasCoin: true;
1965
+ } | {
1966
+ $kind: 'Input';
1967
+ Input: number;
1968
+ type?: "pure" | undefined;
1969
+ } | {
1970
+ $kind: 'Input';
1971
+ Input: number;
1972
+ type?: "object" | undefined;
1973
+ } | {
1974
+ $kind: 'Result';
1975
+ Result: number;
1976
+ } | {
1977
+ $kind: 'NestedResult';
1978
+ NestedResult: [number, number];
1979
+ };
1980
+ }>;
1981
+ $Intent: import("valibot").ObjectSchema<{
1982
+ name: import("valibot").StringSchema<string>;
1983
+ inputs: import("valibot").RecordSchema<import("valibot").StringSchema<string>, import("valibot").UnionSchema<(BaseSchema<{
1984
+ GasCoin: true;
1985
+ } | {
1986
+ Input: number;
1987
+ type?: "object" | "pure" | undefined;
1988
+ } | {
1989
+ Result: number;
1990
+ } | {
1991
+ NestedResult: [number, number];
1992
+ }, {
1993
+ $kind: 'GasCoin';
1994
+ GasCoin: true;
1995
+ } | {
1996
+ $kind: 'Input';
1997
+ Input: number;
1998
+ type?: "pure" | undefined;
1999
+ } | {
2000
+ $kind: 'Input';
2001
+ Input: number;
2002
+ type?: "object" | undefined;
2003
+ } | {
2004
+ $kind: 'Result';
2005
+ Result: number;
2006
+ } | {
2007
+ $kind: 'NestedResult';
2008
+ NestedResult: [number, number];
2009
+ }> | import("valibot").ArraySchema<BaseSchema<{
2010
+ GasCoin: true;
2011
+ } | {
2012
+ Input: number;
2013
+ type?: "object" | "pure" | undefined;
2014
+ } | {
2015
+ Result: number;
2016
+ } | {
2017
+ NestedResult: [number, number];
2018
+ }, {
2019
+ $kind: 'GasCoin';
2020
+ GasCoin: true;
2021
+ } | {
2022
+ $kind: 'Input';
2023
+ Input: number;
2024
+ type?: "pure" | undefined;
2025
+ } | {
2026
+ $kind: 'Input';
2027
+ Input: number;
2028
+ type?: "object" | undefined;
2029
+ } | {
2030
+ $kind: 'Result';
2031
+ Result: number;
2032
+ } | {
2033
+ $kind: 'NestedResult';
2034
+ NestedResult: [number, number];
2035
+ }>, ({
2036
+ $kind: 'GasCoin';
2037
+ GasCoin: true;
2038
+ } | {
2039
+ $kind: 'Input';
2040
+ Input: number;
2041
+ type?: "pure" | undefined;
2042
+ } | {
2043
+ $kind: 'Input';
2044
+ Input: number;
2045
+ type?: "object" | undefined;
2046
+ } | {
2047
+ $kind: 'Result';
2048
+ Result: number;
2049
+ } | {
2050
+ $kind: 'NestedResult';
2051
+ NestedResult: [number, number];
2052
+ })[]>)[], {
2053
+ $kind: 'GasCoin';
2054
+ GasCoin: true;
2055
+ } | {
2056
+ $kind: 'Input';
2057
+ Input: number;
2058
+ type?: "pure" | undefined;
2059
+ } | {
2060
+ $kind: 'Input';
2061
+ Input: number;
2062
+ type?: "object" | undefined;
2063
+ } | {
2064
+ $kind: 'Result';
2065
+ Result: number;
2066
+ } | {
2067
+ $kind: 'NestedResult';
2068
+ NestedResult: [number, number];
2069
+ } | ({
2070
+ $kind: 'GasCoin';
2071
+ GasCoin: true;
2072
+ } | {
2073
+ $kind: 'Input';
2074
+ Input: number;
2075
+ type?: "pure" | undefined;
2076
+ } | {
2077
+ $kind: 'Input';
2078
+ Input: number;
2079
+ type?: "object" | undefined;
2080
+ } | {
2081
+ $kind: 'Result';
2082
+ Result: number;
2083
+ } | {
2084
+ $kind: 'NestedResult';
2085
+ NestedResult: [number, number];
2086
+ })[]>, {
2087
+ [x: string]: {
2088
+ $kind: 'GasCoin';
2089
+ GasCoin: true;
2090
+ } | {
2091
+ $kind: 'Input';
2092
+ Input: number;
2093
+ type?: "pure" | undefined;
2094
+ } | {
2095
+ $kind: 'Input';
2096
+ Input: number;
2097
+ type?: "object" | undefined;
2098
+ } | {
2099
+ $kind: 'Result';
2100
+ Result: number;
2101
+ } | {
2102
+ $kind: 'NestedResult';
2103
+ NestedResult: [number, number];
2104
+ } | ({
2105
+ $kind: 'GasCoin';
2106
+ GasCoin: true;
2107
+ } | {
2108
+ $kind: 'Input';
2109
+ Input: number;
2110
+ type?: "pure" | undefined;
2111
+ } | {
2112
+ $kind: 'Input';
2113
+ Input: number;
2114
+ type?: "object" | undefined;
2115
+ } | {
2116
+ $kind: 'Result';
2117
+ Result: number;
2118
+ } | {
2119
+ $kind: 'NestedResult';
2120
+ NestedResult: [number, number];
2121
+ })[];
2122
+ }>;
2123
+ data: import("valibot").RecordSchema<import("valibot").StringSchema<string>, import("valibot").UnknownSchema<unknown>, {
2124
+ [x: string]: unknown;
2125
+ }>;
2126
+ }, undefined, {
2127
+ name: string;
2128
+ inputs: {
2129
+ [x: string]: {
2130
+ $kind: 'GasCoin';
2131
+ GasCoin: true;
2132
+ } | {
2133
+ $kind: 'Input';
2134
+ Input: number;
2135
+ type?: "pure" | undefined;
2136
+ } | {
2137
+ $kind: 'Input';
2138
+ Input: number;
2139
+ type?: "object" | undefined;
2140
+ } | {
2141
+ $kind: 'Result';
2142
+ Result: number;
2143
+ } | {
2144
+ $kind: 'NestedResult';
2145
+ NestedResult: [number, number];
2146
+ } | ({
2147
+ $kind: 'GasCoin';
2148
+ GasCoin: true;
2149
+ } | {
2150
+ $kind: 'Input';
2151
+ Input: number;
2152
+ type?: "pure" | undefined;
2153
+ } | {
2154
+ $kind: 'Input';
2155
+ Input: number;
2156
+ type?: "object" | undefined;
2157
+ } | {
2158
+ $kind: 'Result';
2159
+ Result: number;
2160
+ } | {
2161
+ $kind: 'NestedResult';
2162
+ NestedResult: [number, number];
2163
+ })[];
2164
+ };
2165
+ data: {
2166
+ [x: string]: unknown;
2167
+ };
2168
+ }>;
2169
+ }>, import("@mysten/bcs").EnumOutputShapeWithKeys<{
2170
+ MoveCall: {
2171
+ function: string;
2172
+ module: string;
2173
+ package: string;
2174
+ typeArguments: string[];
2175
+ arguments: ({
2176
+ $kind: 'GasCoin';
2177
+ GasCoin: true;
2178
+ } | {
2179
+ $kind: 'Input';
2180
+ Input: number;
2181
+ type?: "pure" | undefined;
2182
+ } | {
2183
+ $kind: 'Input';
2184
+ Input: number;
2185
+ type?: "object" | undefined;
2186
+ } | {
2187
+ $kind: 'Result';
2188
+ Result: number;
2189
+ } | {
2190
+ $kind: 'NestedResult';
2191
+ NestedResult: [number, number];
2192
+ })[];
2193
+ _argumentTypes?: {
2194
+ ref: "&" | "&mut" | null;
2195
+ body: OpenMoveTypeSignatureBody;
2196
+ }[] | null | undefined;
2197
+ };
2198
+ TransferObjects: {
2199
+ address: {
2200
+ $kind: 'GasCoin';
2201
+ GasCoin: true;
2202
+ } | {
2203
+ $kind: 'Input';
2204
+ Input: number;
2205
+ type?: "pure" | undefined;
2206
+ } | {
2207
+ $kind: 'Input';
2208
+ Input: number;
2209
+ type?: "object" | undefined;
2210
+ } | {
2211
+ $kind: 'Result';
2212
+ Result: number;
2213
+ } | {
2214
+ $kind: 'NestedResult';
2215
+ NestedResult: [number, number];
2216
+ };
2217
+ objects: ({
2218
+ $kind: 'GasCoin';
2219
+ GasCoin: true;
2220
+ } | {
2221
+ $kind: 'Input';
2222
+ Input: number;
2223
+ type?: "pure" | undefined;
2224
+ } | {
2225
+ $kind: 'Input';
2226
+ Input: number;
2227
+ type?: "object" | undefined;
2228
+ } | {
2229
+ $kind: 'Result';
2230
+ Result: number;
2231
+ } | {
2232
+ $kind: 'NestedResult';
2233
+ NestedResult: [number, number];
2234
+ })[];
2235
+ };
2236
+ SplitCoins: {
2237
+ coin: {
2238
+ $kind: 'GasCoin';
2239
+ GasCoin: true;
2240
+ } | {
2241
+ $kind: 'Input';
2242
+ Input: number;
2243
+ type?: "pure" | undefined;
2244
+ } | {
2245
+ $kind: 'Input';
2246
+ Input: number;
2247
+ type?: "object" | undefined;
2248
+ } | {
2249
+ $kind: 'Result';
2250
+ Result: number;
2251
+ } | {
2252
+ $kind: 'NestedResult';
2253
+ NestedResult: [number, number];
2254
+ };
2255
+ amounts: ({
2256
+ $kind: 'GasCoin';
2257
+ GasCoin: true;
2258
+ } | {
2259
+ $kind: 'Input';
2260
+ Input: number;
2261
+ type?: "pure" | undefined;
2262
+ } | {
2263
+ $kind: 'Input';
2264
+ Input: number;
2265
+ type?: "object" | undefined;
2266
+ } | {
2267
+ $kind: 'Result';
2268
+ Result: number;
2269
+ } | {
2270
+ $kind: 'NestedResult';
2271
+ NestedResult: [number, number];
2272
+ })[];
2273
+ };
2274
+ MergeCoins: {
2275
+ destination: {
2276
+ $kind: 'GasCoin';
2277
+ GasCoin: true;
2278
+ } | {
2279
+ $kind: 'Input';
2280
+ Input: number;
2281
+ type?: "pure" | undefined;
2282
+ } | {
2283
+ $kind: 'Input';
2284
+ Input: number;
2285
+ type?: "object" | undefined;
2286
+ } | {
2287
+ $kind: 'Result';
2288
+ Result: number;
2289
+ } | {
2290
+ $kind: 'NestedResult';
2291
+ NestedResult: [number, number];
2292
+ };
2293
+ sources: ({
2294
+ $kind: 'GasCoin';
2295
+ GasCoin: true;
2296
+ } | {
2297
+ $kind: 'Input';
2298
+ Input: number;
2299
+ type?: "pure" | undefined;
2300
+ } | {
2301
+ $kind: 'Input';
2302
+ Input: number;
2303
+ type?: "object" | undefined;
2304
+ } | {
2305
+ $kind: 'Result';
2306
+ Result: number;
2307
+ } | {
2308
+ $kind: 'NestedResult';
2309
+ NestedResult: [number, number];
2310
+ })[];
2311
+ };
2312
+ Publish: {
2313
+ modules: string[];
2314
+ dependencies: string[];
2315
+ };
2316
+ MakeMoveVec: {
2317
+ type: string | null;
2318
+ elements: ({
2319
+ $kind: 'GasCoin';
2320
+ GasCoin: true;
2321
+ } | {
2322
+ $kind: 'Input';
2323
+ Input: number;
2324
+ type?: "pure" | undefined;
2325
+ } | {
2326
+ $kind: 'Input';
2327
+ Input: number;
2328
+ type?: "object" | undefined;
2329
+ } | {
2330
+ $kind: 'Result';
2331
+ Result: number;
2332
+ } | {
2333
+ $kind: 'NestedResult';
2334
+ NestedResult: [number, number];
2335
+ })[];
2336
+ };
2337
+ Upgrade: {
2338
+ package: string;
2339
+ modules: string[];
2340
+ dependencies: string[];
2341
+ ticket: {
2342
+ $kind: 'GasCoin';
2343
+ GasCoin: true;
2344
+ } | {
2345
+ $kind: 'Input';
2346
+ Input: number;
2347
+ type?: "pure" | undefined;
2348
+ } | {
2349
+ $kind: 'Input';
2350
+ Input: number;
2351
+ type?: "object" | undefined;
2352
+ } | {
2353
+ $kind: 'Result';
2354
+ Result: number;
2355
+ } | {
2356
+ $kind: 'NestedResult';
2357
+ NestedResult: [number, number];
2358
+ };
2359
+ };
2360
+ $Intent: {
2361
+ name: string;
2362
+ inputs: {
2363
+ [x: string]: {
2364
+ $kind: 'GasCoin';
2365
+ GasCoin: true;
2366
+ } | {
2367
+ $kind: 'Input';
2368
+ Input: number;
2369
+ type?: "pure" | undefined;
2370
+ } | {
2371
+ $kind: 'Input';
2372
+ Input: number;
2373
+ type?: "object" | undefined;
2374
+ } | {
2375
+ $kind: 'Result';
2376
+ Result: number;
2377
+ } | {
2378
+ $kind: 'NestedResult';
2379
+ NestedResult: [number, number];
2380
+ } | ({
2381
+ $kind: 'GasCoin';
2382
+ GasCoin: true;
2383
+ } | {
2384
+ $kind: 'Input';
2385
+ Input: number;
2386
+ type?: "pure" | undefined;
2387
+ } | {
2388
+ $kind: 'Input';
2389
+ Input: number;
2390
+ type?: "object" | undefined;
2391
+ } | {
2392
+ $kind: 'Result';
2393
+ Result: number;
2394
+ } | {
2395
+ $kind: 'NestedResult';
2396
+ NestedResult: [number, number];
2397
+ })[];
2398
+ };
2399
+ data: {
2400
+ [x: string]: unknown;
2401
+ };
2402
+ };
2403
+ }, "MoveCall" | "TransferObjects" | "SplitCoins" | "MergeCoins" | "Publish" | "MakeMoveVec" | "Upgrade" | "$Intent">[]>;
2404
+ }, undefined, {
2405
+ version: 2;
2406
+ inputs: import("@mysten/bcs").EnumOutputShapeWithKeys<{
2407
+ Object: import("@mysten/bcs").EnumOutputShapeWithKeys<{
2408
+ ImmOrOwnedObject: {
2409
+ objectId: string;
2410
+ version: string | number;
2411
+ digest: string;
2412
+ };
2413
+ SharedObject: {
2414
+ objectId: string;
2415
+ initialSharedVersion: string | number;
2416
+ mutable: boolean | null;
2417
+ };
2418
+ Receiving: {
2419
+ objectId: string;
2420
+ version: string | number;
2421
+ digest: string;
2422
+ };
2423
+ }, "ImmOrOwnedObject" | "SharedObject" | "Receiving">;
2424
+ Pure: {
2425
+ bytes: string;
2426
+ };
2427
+ UnresolvedPure: {
2428
+ value: unknown;
2429
+ };
2430
+ UnresolvedObject: {
2431
+ objectId: string;
2432
+ version?: string | number | null | undefined;
2433
+ digest?: string | null | undefined;
2434
+ initialSharedVersion?: string | number | null | undefined;
2435
+ };
2436
+ }, "Pure" | "Object" | "UnresolvedPure" | "UnresolvedObject">[];
2437
+ commands: import("@mysten/bcs").EnumOutputShapeWithKeys<{
2438
+ MoveCall: {
2439
+ function: string;
2440
+ module: string;
2441
+ package: string;
2442
+ typeArguments: string[];
2443
+ arguments: ({
2444
+ $kind: 'GasCoin';
2445
+ GasCoin: true;
2446
+ } | {
2447
+ $kind: 'Input';
2448
+ Input: number;
2449
+ type?: "pure" | undefined;
2450
+ } | {
2451
+ $kind: 'Input';
2452
+ Input: number;
2453
+ type?: "object" | undefined;
2454
+ } | {
2455
+ $kind: 'Result';
2456
+ Result: number;
2457
+ } | {
2458
+ $kind: 'NestedResult';
2459
+ NestedResult: [number, number];
2460
+ })[];
2461
+ _argumentTypes?: {
2462
+ ref: "&" | "&mut" | null;
2463
+ body: OpenMoveTypeSignatureBody;
2464
+ }[] | null | undefined;
2465
+ };
2466
+ TransferObjects: {
2467
+ address: {
2468
+ $kind: 'GasCoin';
2469
+ GasCoin: true;
2470
+ } | {
2471
+ $kind: 'Input';
2472
+ Input: number;
2473
+ type?: "pure" | undefined;
2474
+ } | {
2475
+ $kind: 'Input';
2476
+ Input: number;
2477
+ type?: "object" | undefined;
2478
+ } | {
2479
+ $kind: 'Result';
2480
+ Result: number;
2481
+ } | {
2482
+ $kind: 'NestedResult';
2483
+ NestedResult: [number, number];
2484
+ };
2485
+ objects: ({
2486
+ $kind: 'GasCoin';
2487
+ GasCoin: true;
2488
+ } | {
2489
+ $kind: 'Input';
2490
+ Input: number;
2491
+ type?: "pure" | undefined;
2492
+ } | {
2493
+ $kind: 'Input';
2494
+ Input: number;
2495
+ type?: "object" | undefined;
2496
+ } | {
2497
+ $kind: 'Result';
2498
+ Result: number;
2499
+ } | {
2500
+ $kind: 'NestedResult';
2501
+ NestedResult: [number, number];
2502
+ })[];
2503
+ };
2504
+ SplitCoins: {
2505
+ coin: {
2506
+ $kind: 'GasCoin';
2507
+ GasCoin: true;
2508
+ } | {
2509
+ $kind: 'Input';
2510
+ Input: number;
2511
+ type?: "pure" | undefined;
2512
+ } | {
2513
+ $kind: 'Input';
2514
+ Input: number;
2515
+ type?: "object" | undefined;
2516
+ } | {
2517
+ $kind: 'Result';
2518
+ Result: number;
2519
+ } | {
2520
+ $kind: 'NestedResult';
2521
+ NestedResult: [number, number];
2522
+ };
2523
+ amounts: ({
2524
+ $kind: 'GasCoin';
2525
+ GasCoin: true;
2526
+ } | {
2527
+ $kind: 'Input';
2528
+ Input: number;
2529
+ type?: "pure" | undefined;
2530
+ } | {
2531
+ $kind: 'Input';
2532
+ Input: number;
2533
+ type?: "object" | undefined;
2534
+ } | {
2535
+ $kind: 'Result';
2536
+ Result: number;
2537
+ } | {
2538
+ $kind: 'NestedResult';
2539
+ NestedResult: [number, number];
2540
+ })[];
2541
+ };
2542
+ MergeCoins: {
2543
+ destination: {
2544
+ $kind: 'GasCoin';
2545
+ GasCoin: true;
2546
+ } | {
2547
+ $kind: 'Input';
2548
+ Input: number;
2549
+ type?: "pure" | undefined;
2550
+ } | {
2551
+ $kind: 'Input';
2552
+ Input: number;
2553
+ type?: "object" | undefined;
2554
+ } | {
2555
+ $kind: 'Result';
2556
+ Result: number;
2557
+ } | {
2558
+ $kind: 'NestedResult';
2559
+ NestedResult: [number, number];
2560
+ };
2561
+ sources: ({
2562
+ $kind: 'GasCoin';
2563
+ GasCoin: true;
2564
+ } | {
2565
+ $kind: 'Input';
2566
+ Input: number;
2567
+ type?: "pure" | undefined;
2568
+ } | {
2569
+ $kind: 'Input';
2570
+ Input: number;
2571
+ type?: "object" | undefined;
2572
+ } | {
2573
+ $kind: 'Result';
2574
+ Result: number;
2575
+ } | {
2576
+ $kind: 'NestedResult';
2577
+ NestedResult: [number, number];
2578
+ })[];
2579
+ };
2580
+ Publish: {
2581
+ modules: string[];
2582
+ dependencies: string[];
2583
+ };
2584
+ MakeMoveVec: {
2585
+ type: string | null;
2586
+ elements: ({
2587
+ $kind: 'GasCoin';
2588
+ GasCoin: true;
2589
+ } | {
2590
+ $kind: 'Input';
2591
+ Input: number;
2592
+ type?: "pure" | undefined;
2593
+ } | {
2594
+ $kind: 'Input';
2595
+ Input: number;
2596
+ type?: "object" | undefined;
2597
+ } | {
2598
+ $kind: 'Result';
2599
+ Result: number;
2600
+ } | {
2601
+ $kind: 'NestedResult';
2602
+ NestedResult: [number, number];
2603
+ })[];
2604
+ };
2605
+ Upgrade: {
2606
+ package: string;
2607
+ modules: string[];
2608
+ dependencies: string[];
2609
+ ticket: {
2610
+ $kind: 'GasCoin';
2611
+ GasCoin: true;
2612
+ } | {
2613
+ $kind: 'Input';
2614
+ Input: number;
2615
+ type?: "pure" | undefined;
2616
+ } | {
2617
+ $kind: 'Input';
2618
+ Input: number;
2619
+ type?: "object" | undefined;
2620
+ } | {
2621
+ $kind: 'Result';
2622
+ Result: number;
2623
+ } | {
2624
+ $kind: 'NestedResult';
2625
+ NestedResult: [number, number];
2626
+ };
2627
+ };
2628
+ $Intent: {
2629
+ name: string;
2630
+ inputs: {
2631
+ [x: string]: {
2632
+ $kind: 'GasCoin';
2633
+ GasCoin: true;
2634
+ } | {
2635
+ $kind: 'Input';
2636
+ Input: number;
2637
+ type?: "pure" | undefined;
2638
+ } | {
2639
+ $kind: 'Input';
2640
+ Input: number;
2641
+ type?: "object" | undefined;
2642
+ } | {
2643
+ $kind: 'Result';
2644
+ Result: number;
2645
+ } | {
2646
+ $kind: 'NestedResult';
2647
+ NestedResult: [number, number];
2648
+ } | ({
2649
+ $kind: 'GasCoin';
2650
+ GasCoin: true;
2651
+ } | {
2652
+ $kind: 'Input';
2653
+ Input: number;
2654
+ type?: "pure" | undefined;
2655
+ } | {
2656
+ $kind: 'Input';
2657
+ Input: number;
2658
+ type?: "object" | undefined;
2659
+ } | {
2660
+ $kind: 'Result';
2661
+ Result: number;
2662
+ } | {
2663
+ $kind: 'NestedResult';
2664
+ NestedResult: [number, number];
2665
+ })[];
2666
+ };
2667
+ data: {
2668
+ [x: string]: unknown;
2669
+ };
2670
+ };
2671
+ }, "MoveCall" | "TransferObjects" | "SplitCoins" | "MergeCoins" | "Publish" | "MakeMoveVec" | "Upgrade" | "$Intent">[];
2672
+ sender: string | null | undefined;
2673
+ gasData: {
2674
+ payment: {
2675
+ objectId: string;
2676
+ version: string | number;
2677
+ digest: string;
2678
+ }[] | null;
2679
+ owner: string | null;
2680
+ price: string | number | null;
2681
+ budget: string | number | null;
2682
+ };
2683
+ expiration: import("@mysten/bcs").EnumOutputShapeWithKeys<{
2684
+ None: true;
2685
+ Epoch: string | number;
2686
+ }, "None" | "Epoch"> | null | undefined;
2687
+ }>;
2688
+ export type TransactionData = Output<typeof TransactionData>;
2689
+ export {};