@aptos-labs/ts-sdk 2.0.1 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (619) hide show
  1. package/dist/common/account-CEmLe1wW.d.ts +7363 -0
  2. package/dist/common/chunk-5JIJXVJ5.js +4 -0
  3. package/dist/common/chunk-5JIJXVJ5.js.map +1 -0
  4. package/dist/common/cli/index.d.ts +1 -1
  5. package/dist/common/cli/index.js +1 -1
  6. package/dist/common/cli/index.js.map +1 -1
  7. package/dist/common/index.d.ts +5756 -9761
  8. package/dist/common/index.js +34 -32
  9. package/dist/common/index.js.map +1 -1
  10. package/dist/esm/{Ed25519Account-D9XrCLfE.d.mts → Ed25519Account-Ccxj1zdx.d.mts} +1 -9
  11. package/dist/esm/account/AbstractKeylessAccount.d.mts +4 -31
  12. package/dist/esm/account/AbstractKeylessAccount.mjs +1 -1
  13. package/dist/esm/account/AbstractedAccount.d.mts +5 -32
  14. package/dist/esm/account/AbstractedAccount.mjs +1 -1
  15. package/dist/esm/account/Account.d.mts +3 -30
  16. package/dist/esm/account/Account.mjs +1 -1
  17. package/dist/esm/account/AccountUtils.d.mts +4 -31
  18. package/dist/esm/account/AccountUtils.mjs +1 -1
  19. package/dist/esm/account/DerivableAbstractedAccount.d.mts +5 -32
  20. package/dist/esm/account/DerivableAbstractedAccount.mjs +1 -1
  21. package/dist/esm/account/Ed25519Account.d.mts +3 -30
  22. package/dist/esm/account/Ed25519Account.mjs +1 -1
  23. package/dist/esm/account/EphemeralKeyPair.d.mts +2 -11
  24. package/dist/esm/account/EphemeralKeyPair.mjs +1 -1
  25. package/dist/esm/account/FederatedKeylessAccount.d.mts +4 -31
  26. package/dist/esm/account/FederatedKeylessAccount.mjs +1 -1
  27. package/dist/esm/account/KeylessAccount.d.mts +4 -31
  28. package/dist/esm/account/KeylessAccount.mjs +1 -1
  29. package/dist/esm/account/MultiEd25519Account.d.mts +3 -30
  30. package/dist/esm/account/MultiEd25519Account.mjs +1 -1
  31. package/dist/esm/account/MultiKeyAccount.d.mts +5 -32
  32. package/dist/esm/account/MultiKeyAccount.mjs +1 -1
  33. package/dist/esm/account/SingleKeyAccount.d.mts +3 -30
  34. package/dist/esm/account/SingleKeyAccount.mjs +1 -1
  35. package/dist/esm/account/index.d.mts +4 -31
  36. package/dist/esm/account/index.mjs +1 -1
  37. package/dist/esm/account/utils.d.mts +2 -6
  38. package/dist/esm/account/utils.mjs +1 -1
  39. package/dist/esm/account-9G6tix5T.d.mts +6591 -0
  40. package/dist/esm/api/account/abstraction.d.mts +2 -29
  41. package/dist/esm/api/account/abstraction.mjs +1 -1
  42. package/dist/esm/api/account.d.mts +3 -30
  43. package/dist/esm/api/account.mjs +1 -1
  44. package/dist/esm/api/ans.d.mts +3 -30
  45. package/dist/esm/api/ans.mjs +1 -1
  46. package/dist/esm/api/aptos.d.mts +7 -33
  47. package/dist/esm/api/aptos.mjs +1 -1
  48. package/dist/esm/api/aptosConfig.d.mts +4 -187
  49. package/dist/esm/api/aptosConfig.mjs +1 -1
  50. package/dist/esm/api/coin.d.mts +2 -29
  51. package/dist/esm/api/coin.mjs +1 -1
  52. package/dist/esm/api/digitalAsset.d.mts +3 -30
  53. package/dist/esm/api/digitalAsset.mjs +1 -1
  54. package/dist/esm/api/event.d.mts +2 -8
  55. package/dist/esm/api/event.mjs +1 -1
  56. package/dist/esm/api/faucet.d.mts +2 -8
  57. package/dist/esm/api/faucet.mjs +1 -1
  58. package/dist/esm/api/fungibleAsset.d.mts +2 -29
  59. package/dist/esm/api/fungibleAsset.mjs +1 -1
  60. package/dist/esm/api/general.d.mts +2 -29
  61. package/dist/esm/api/general.mjs +1 -1
  62. package/dist/esm/api/index.d.mts +5 -32
  63. package/dist/esm/api/index.mjs +1 -1
  64. package/dist/esm/api/keyless.d.mts +4 -31
  65. package/dist/esm/api/keyless.mjs +1 -1
  66. package/dist/esm/api/object.d.mts +2 -8
  67. package/dist/esm/api/object.mjs +1 -1
  68. package/dist/esm/api/staking.d.mts +2 -8
  69. package/dist/esm/api/staking.mjs +1 -1
  70. package/dist/esm/api/table.d.mts +2 -2
  71. package/dist/esm/api/table.mjs +1 -1
  72. package/dist/esm/api/transaction.d.mts +6 -33
  73. package/dist/esm/api/transaction.mjs +1 -1
  74. package/dist/esm/api/transactionSubmission/build.d.mts +2 -29
  75. package/dist/esm/api/transactionSubmission/build.mjs +1 -1
  76. package/dist/esm/api/transactionSubmission/management.d.mts +2 -29
  77. package/dist/esm/api/transactionSubmission/management.mjs +1 -1
  78. package/dist/esm/api/transactionSubmission/sign.d.mts +3 -30
  79. package/dist/esm/api/transactionSubmission/sign.mjs +1 -1
  80. package/dist/esm/api/transactionSubmission/simulate.d.mts +2 -29
  81. package/dist/esm/api/transactionSubmission/simulate.mjs +1 -1
  82. package/dist/esm/api/transactionSubmission/submit.d.mts +4 -31
  83. package/dist/esm/api/transactionSubmission/submit.mjs +1 -1
  84. package/dist/esm/api/utils.d.mts +2 -2
  85. package/dist/esm/api/utils.mjs +1 -1
  86. package/dist/esm/bcs/consts.d.mts +3 -1
  87. package/dist/esm/bcs/deserializer.d.mts +3 -304
  88. package/dist/esm/bcs/index.d.mts +2 -8
  89. package/dist/esm/bcs/index.mjs +1 -1
  90. package/dist/esm/bcs/serializable/entryFunctionBytes.d.mts +3 -7
  91. package/dist/esm/bcs/serializable/fixedBytes.d.mts +3 -90
  92. package/dist/esm/bcs/serializable/movePrimitives.d.mts +2 -167
  93. package/dist/esm/bcs/serializable/movePrimitives.mjs +1 -1
  94. package/dist/esm/bcs/serializable/moveStructs.d.mts +2 -430
  95. package/dist/esm/bcs/serializable/moveStructs.mjs +1 -1
  96. package/dist/esm/bcs/serializer.d.mts +3 -325
  97. package/dist/esm/{chunk-V74WPKSY.mjs → chunk-2XQKGWHQ.mjs} +2 -2
  98. package/dist/esm/chunk-4H2RMR7D.mjs +2 -0
  99. package/dist/esm/chunk-4H2RMR7D.mjs.map +1 -0
  100. package/dist/esm/{chunk-UOP7GBXB.mjs → chunk-5ZRPV4YI.mjs} +2 -2
  101. package/dist/esm/{chunk-V2QSMVJ5.mjs → chunk-7T62PEFI.mjs} +2 -2
  102. package/dist/esm/{chunk-U7HD6PQV.mjs → chunk-FSP4QM2T.mjs} +2 -2
  103. package/dist/esm/chunk-GMDBBVDH.mjs +6 -0
  104. package/dist/esm/chunk-GMDBBVDH.mjs.map +1 -0
  105. package/dist/esm/chunk-HMUIOIBG.mjs +2 -0
  106. package/dist/esm/{chunk-VEGW6HP5.mjs.map → chunk-HMUIOIBG.mjs.map} +1 -1
  107. package/dist/esm/{chunk-GBNAG7KK.mjs → chunk-IDHVW7HS.mjs} +2 -2
  108. package/dist/esm/{chunk-57J5YBMT.mjs → chunk-PFXXFUBL.mjs} +2 -2
  109. package/dist/esm/{chunk-KRBZ54CY.mjs → chunk-R7NQJWDG.mjs} +2 -2
  110. package/dist/esm/{chunk-AMAPBD4D.mjs → chunk-SAMHWS73.mjs} +2 -2
  111. package/dist/esm/chunk-UIVX6WSC.mjs +2 -0
  112. package/dist/esm/chunk-UIVX6WSC.mjs.map +1 -0
  113. package/dist/esm/{chunk-HETYL3WN.mjs → chunk-WOTQ7227.mjs} +2 -2
  114. package/dist/esm/{chunk-CZYH3G7E.mjs → chunk-YHGGNYYL.mjs} +2 -2
  115. package/dist/esm/cli/index.d.mts +3 -7
  116. package/dist/esm/cli/index.mjs +1 -1
  117. package/dist/esm/cli/localNode.mjs +1 -1
  118. package/dist/esm/cli/move.d.mts +3 -7
  119. package/dist/esm/client/core.d.mts +3 -3
  120. package/dist/esm/client/core.mjs +1 -1
  121. package/dist/esm/client/get.d.mts +3 -3
  122. package/dist/esm/client/get.mjs +1 -1
  123. package/dist/esm/client/index.d.mts +2 -2
  124. package/dist/esm/client/index.mjs +1 -1
  125. package/dist/esm/client/post.d.mts +3 -3
  126. package/dist/esm/client/post.mjs +1 -1
  127. package/dist/esm/core/account/index.d.mts +3 -7
  128. package/dist/esm/core/account/index.mjs +1 -1
  129. package/dist/esm/core/account/utils/address.d.mts +3 -7
  130. package/dist/esm/core/account/utils/address.mjs +1 -1
  131. package/dist/esm/core/account/utils/index.d.mts +3 -7
  132. package/dist/esm/core/account/utils/index.mjs +1 -1
  133. package/dist/esm/core/accountAddress.d.mts +3 -329
  134. package/dist/esm/core/accountAddress.mjs +1 -1
  135. package/dist/esm/core/authenticationKey.d.mts +2 -10
  136. package/dist/esm/core/authenticationKey.mjs +1 -1
  137. package/dist/esm/core/crypto/abstraction.d.mts +2 -10
  138. package/dist/esm/core/crypto/abstraction.mjs +1 -1
  139. package/dist/esm/core/crypto/deserializationUtils.d.mts +2 -10
  140. package/dist/esm/core/crypto/deserializationUtils.mjs +1 -1
  141. package/dist/esm/core/crypto/ed25519.d.mts +2 -301
  142. package/dist/esm/core/crypto/ed25519.mjs +1 -1
  143. package/dist/esm/core/crypto/ephemeral.d.mts +2 -10
  144. package/dist/esm/core/crypto/ephemeral.mjs +1 -1
  145. package/dist/esm/core/crypto/federatedKeyless.d.mts +4 -12
  146. package/dist/esm/core/crypto/federatedKeyless.mjs +1 -1
  147. package/dist/esm/core/crypto/index.d.mts +3 -17
  148. package/dist/esm/core/crypto/index.mjs +1 -1
  149. package/dist/esm/core/crypto/keyless.d.mts +3 -11
  150. package/dist/esm/core/crypto/keyless.mjs +1 -1
  151. package/dist/esm/core/crypto/multiEd25519.d.mts +2 -228
  152. package/dist/esm/core/crypto/multiEd25519.mjs +1 -1
  153. package/dist/esm/core/crypto/multiKey.d.mts +2 -254
  154. package/dist/esm/core/crypto/multiKey.mjs +1 -1
  155. package/dist/esm/core/crypto/privateKey.d.mts +2 -71
  156. package/dist/esm/core/crypto/privateKey.mjs +1 -1
  157. package/dist/esm/core/crypto/proof.d.mts +3 -4
  158. package/dist/esm/core/crypto/proof.mjs +1 -1
  159. package/dist/esm/core/crypto/publicKey.d.mts +2 -10
  160. package/dist/esm/core/crypto/publicKey.mjs +1 -1
  161. package/dist/esm/core/crypto/secp256k1.d.mts +2 -274
  162. package/dist/esm/core/crypto/secp256k1.mjs +1 -1
  163. package/dist/esm/core/crypto/signature.d.mts +3 -31
  164. package/dist/esm/core/crypto/signature.mjs +1 -1
  165. package/dist/esm/core/crypto/singleKey.d.mts +2 -182
  166. package/dist/esm/core/crypto/singleKey.mjs +1 -1
  167. package/dist/esm/core/crypto/utils.d.mts +3 -1
  168. package/dist/esm/core/hex.d.mts +3 -156
  169. package/dist/esm/core/index.d.mts +2 -16
  170. package/dist/esm/core/index.mjs +1 -1
  171. package/dist/esm/errors/index.d.mts +2 -1
  172. package/dist/esm/errors/index.mjs +1 -1
  173. package/dist/esm/{federatedKeyless-DAYXjY2Y.d.mts → federatedKeyless-CVKW5pnz.d.mts} +1 -7
  174. package/dist/esm/index.d.mts +4 -31
  175. package/dist/esm/index.mjs +1 -1
  176. package/dist/esm/internal/abstraction.d.mts +2 -29
  177. package/dist/esm/internal/abstraction.mjs +1 -1
  178. package/dist/esm/internal/account.d.mts +3 -30
  179. package/dist/esm/internal/account.mjs +1 -1
  180. package/dist/esm/internal/ans.d.mts +3 -30
  181. package/dist/esm/internal/ans.mjs +1 -1
  182. package/dist/esm/internal/coin.d.mts +3 -30
  183. package/dist/esm/internal/coin.mjs +1 -1
  184. package/dist/esm/internal/digitalAsset.d.mts +3 -30
  185. package/dist/esm/internal/digitalAsset.mjs +1 -1
  186. package/dist/esm/internal/event.d.mts +2 -8
  187. package/dist/esm/internal/event.mjs +1 -1
  188. package/dist/esm/internal/faucet.d.mts +3 -9
  189. package/dist/esm/internal/faucet.mjs +1 -1
  190. package/dist/esm/internal/fungibleAsset.d.mts +3 -30
  191. package/dist/esm/internal/fungibleAsset.mjs +1 -1
  192. package/dist/esm/internal/general.d.mts +2 -2
  193. package/dist/esm/internal/general.mjs +1 -1
  194. package/dist/esm/internal/keyless.d.mts +5 -32
  195. package/dist/esm/internal/keyless.mjs +1 -1
  196. package/dist/esm/internal/object.d.mts +2 -8
  197. package/dist/esm/internal/object.mjs +1 -1
  198. package/dist/esm/internal/staking.d.mts +2 -8
  199. package/dist/esm/internal/staking.mjs +1 -1
  200. package/dist/esm/internal/table.d.mts +2 -2
  201. package/dist/esm/internal/table.mjs +1 -1
  202. package/dist/esm/internal/transaction.d.mts +3 -3
  203. package/dist/esm/internal/transaction.mjs +1 -1
  204. package/dist/esm/internal/transactionSubmission.d.mts +6 -33
  205. package/dist/esm/internal/transactionSubmission.mjs +1 -1
  206. package/dist/esm/internal/utils/index.d.mts +2 -8
  207. package/dist/esm/internal/utils/index.mjs +1 -1
  208. package/dist/esm/internal/utils/utils.d.mts +2 -8
  209. package/dist/esm/internal/utils/utils.mjs +1 -1
  210. package/dist/esm/internal/view.d.mts +1 -28
  211. package/dist/esm/internal/view.mjs +1 -1
  212. package/dist/esm/transactions/authenticator/account.d.mts +2 -179
  213. package/dist/esm/transactions/authenticator/account.mjs +1 -1
  214. package/dist/esm/transactions/authenticator/index.d.mts +2 -17
  215. package/dist/esm/transactions/authenticator/index.mjs +1 -1
  216. package/dist/esm/transactions/authenticator/transaction.d.mts +2 -17
  217. package/dist/esm/transactions/authenticator/transaction.mjs +1 -1
  218. package/dist/esm/transactions/index.d.mts +3 -30
  219. package/dist/esm/transactions/index.mjs +1 -1
  220. package/dist/esm/transactions/instances/chainId.d.mts +3 -44
  221. package/dist/esm/transactions/instances/identifier.d.mts +2 -44
  222. package/dist/esm/transactions/instances/index.d.mts +2 -27
  223. package/dist/esm/transactions/instances/index.mjs +1 -1
  224. package/dist/esm/transactions/instances/moduleId.d.mts +3 -57
  225. package/dist/esm/transactions/instances/moduleId.mjs +1 -1
  226. package/dist/esm/transactions/instances/multiAgentTransaction.d.mts +2 -60
  227. package/dist/esm/transactions/instances/multiAgentTransaction.mjs +1 -1
  228. package/dist/esm/transactions/instances/rawTransaction.d.mts +2 -150
  229. package/dist/esm/transactions/instances/rawTransaction.mjs +1 -1
  230. package/dist/esm/transactions/instances/rotationProofChallenge.d.mts +2 -12
  231. package/dist/esm/transactions/instances/rotationProofChallenge.mjs +1 -1
  232. package/dist/esm/transactions/instances/signedTransaction.d.mts +2 -23
  233. package/dist/esm/transactions/instances/signedTransaction.mjs +1 -1
  234. package/dist/esm/transactions/instances/simpleTransaction.d.mts +2 -59
  235. package/dist/esm/transactions/instances/simpleTransaction.mjs +1 -1
  236. package/dist/esm/transactions/instances/transactionArgument.d.mts +2 -74
  237. package/dist/esm/transactions/instances/transactionPayload.d.mts +2 -300
  238. package/dist/esm/transactions/instances/transactionPayload.mjs +1 -1
  239. package/dist/esm/transactions/management/accountSequenceNumber.d.mts +2 -29
  240. package/dist/esm/transactions/management/accountSequenceNumber.mjs +1 -1
  241. package/dist/esm/transactions/management/index.d.mts +2 -29
  242. package/dist/esm/transactions/management/index.mjs +1 -1
  243. package/dist/esm/transactions/management/transactionWorker.d.mts +2 -29
  244. package/dist/esm/transactions/management/transactionWorker.mjs +1 -1
  245. package/dist/esm/transactions/transactionBuilder/helpers.d.mts +3 -30
  246. package/dist/esm/transactions/transactionBuilder/helpers.mjs +1 -1
  247. package/dist/esm/transactions/transactionBuilder/index.d.mts +2 -29
  248. package/dist/esm/transactions/transactionBuilder/index.mjs +1 -1
  249. package/dist/esm/transactions/transactionBuilder/remoteAbi.d.mts +2 -29
  250. package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs +1 -1
  251. package/dist/esm/transactions/transactionBuilder/signingMessage.d.mts +1 -28
  252. package/dist/esm/transactions/transactionBuilder/signingMessage.mjs +1 -1
  253. package/dist/esm/transactions/transactionBuilder/transactionBuilder.d.mts +3 -29
  254. package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs +1 -1
  255. package/dist/esm/transactions/typeTag/index.d.mts +2 -462
  256. package/dist/esm/transactions/typeTag/index.mjs +1 -1
  257. package/dist/esm/transactions/typeTag/parser.d.mts +2 -8
  258. package/dist/esm/transactions/typeTag/parser.mjs +1 -1
  259. package/dist/esm/transactions/types.d.mts +3 -399
  260. package/dist/esm/types/index.d.mts +3 -1
  261. package/dist/esm/types/index.mjs +1 -1
  262. package/dist/esm/types/types.d.mts +5 -1298
  263. package/dist/esm/types/types.mjs +1 -1
  264. package/dist/esm/utils/helpers.d.mts +2 -6
  265. package/dist/esm/utils/helpers.mjs +1 -1
  266. package/dist/esm/utils/index.d.mts +1 -6
  267. package/dist/esm/utils/index.mjs +1 -1
  268. package/dist/esm/utils/normalizeBundle.d.mts +2 -4
  269. package/dist/esm/utils/normalizeBundle.mjs +1 -1
  270. package/dist/esm/version.d.mts +1 -1
  271. package/dist/esm/version.mjs +1 -1
  272. package/package.json +18 -19
  273. package/src/api/aptos.ts +6 -2
  274. package/src/api/aptosConfig.ts +73 -2
  275. package/src/api/transaction.ts +9 -6
  276. package/src/api/transactionSubmission/build.ts +5 -1
  277. package/src/api/transactionSubmission/submit.ts +16 -12
  278. package/src/core/crypto/multiKey.ts +14 -1
  279. package/src/internal/transactionSubmission.ts +20 -10
  280. package/src/transactions/instances/transactionPayload.ts +165 -2
  281. package/src/transactions/management/transactionWorker.ts +1 -1
  282. package/src/transactions/transactionBuilder/transactionBuilder.ts +64 -5
  283. package/src/transactions/types.ts +61 -10
  284. package/src/types/types.ts +111 -0
  285. package/src/version.ts +1 -1
  286. package/dist/common/accountAddress-AL8HRxQC.d.ts +0 -3148
  287. package/dist/common/chunk-ZMDE3DNL.js +0 -4
  288. package/dist/common/chunk-ZMDE3DNL.js.map +0 -1
  289. package/dist/esm/chunk-BK56GLTP.mjs +0 -4
  290. package/dist/esm/chunk-BK56GLTP.mjs.map +0 -1
  291. package/dist/esm/chunk-ODAAZLPK.mjs +0 -2
  292. package/dist/esm/chunk-ODAAZLPK.mjs.map +0 -1
  293. package/dist/esm/chunk-VEGW6HP5.mjs +0 -2
  294. package/dist/esm/chunk-XTMUMN74.mjs +0 -2
  295. package/dist/esm/chunk-XTMUMN74.mjs.map +0 -1
  296. package/dist/esm/publicKey-CJOcUwJK.d.mts +0 -213
  297. package/src/internal/move/jwks/build/jwk/BuildInfo.yaml +0 -56
  298. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/account.mv +0 -0
  299. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/aggregator.mv +0 -0
  300. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/aggregator_factory.mv +0 -0
  301. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/aggregator_v2.mv +0 -0
  302. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/aptos_account.mv +0 -0
  303. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/aptos_coin.mv +0 -0
  304. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/aptos_governance.mv +0 -0
  305. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/block.mv +0 -0
  306. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/chain_id.mv +0 -0
  307. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/chain_status.mv +0 -0
  308. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/code.mv +0 -0
  309. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/coin.mv +0 -0
  310. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/config_buffer.mv +0 -0
  311. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/consensus_config.mv +0 -0
  312. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/create_signer.mv +0 -0
  313. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/delegation_pool.mv +0 -0
  314. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/dispatchable_fungible_asset.mv +0 -0
  315. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/dkg.mv +0 -0
  316. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/event.mv +0 -0
  317. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/execution_config.mv +0 -0
  318. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/function_info.mv +0 -0
  319. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/fungible_asset.mv +0 -0
  320. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/gas_schedule.mv +0 -0
  321. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/genesis.mv +0 -0
  322. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/governance_proposal.mv +0 -0
  323. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/guid.mv +0 -0
  324. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/jwk_consensus_config.mv +0 -0
  325. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/jwks.mv +0 -0
  326. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/keyless_account.mv +0 -0
  327. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/managed_coin.mv +0 -0
  328. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/multisig_account.mv +0 -0
  329. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/object.mv +0 -0
  330. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/object_code_deployment.mv +0 -0
  331. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/optional_aggregator.mv +0 -0
  332. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/primary_fungible_store.mv +0 -0
  333. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/randomness.mv +0 -0
  334. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/randomness_api_v0_config.mv +0 -0
  335. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/randomness_config.mv +0 -0
  336. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/randomness_config_seqnum.mv +0 -0
  337. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/reconfiguration.mv +0 -0
  338. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/reconfiguration_state.mv +0 -0
  339. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/reconfiguration_with_dkg.mv +0 -0
  340. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/resource_account.mv +0 -0
  341. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/stake.mv +0 -0
  342. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/staking_config.mv +0 -0
  343. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/staking_contract.mv +0 -0
  344. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/staking_proxy.mv +0 -0
  345. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/state_storage.mv +0 -0
  346. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/storage_gas.mv +0 -0
  347. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/system_addresses.mv +0 -0
  348. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/timestamp.mv +0 -0
  349. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/transaction_context.mv +0 -0
  350. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/transaction_fee.mv +0 -0
  351. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/transaction_validation.mv +0 -0
  352. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/util.mv +0 -0
  353. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/validator_consensus_info.mv +0 -0
  354. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/version.mv +0 -0
  355. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/vesting.mv +0 -0
  356. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/voting.mv +0 -0
  357. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/any.mv +0 -0
  358. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/aptos_hash.mv +0 -0
  359. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/big_vector.mv +0 -0
  360. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/bls12381.mv +0 -0
  361. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/bls12381_algebra.mv +0 -0
  362. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/bn254_algebra.mv +0 -0
  363. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/capability.mv +0 -0
  364. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/comparator.mv +0 -0
  365. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/copyable_any.mv +0 -0
  366. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/crypto_algebra.mv +0 -0
  367. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/debug.mv +0 -0
  368. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/ed25519.mv +0 -0
  369. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/fixed_point64.mv +0 -0
  370. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/from_bcs.mv +0 -0
  371. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/math128.mv +0 -0
  372. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/math64.mv +0 -0
  373. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/math_fixed.mv +0 -0
  374. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/math_fixed64.mv +0 -0
  375. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/multi_ed25519.mv +0 -0
  376. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/pool_u64.mv +0 -0
  377. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/pool_u64_unbound.mv +0 -0
  378. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/ristretto255.mv +0 -0
  379. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/ristretto255_bulletproofs.mv +0 -0
  380. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/ristretto255_elgamal.mv +0 -0
  381. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/ristretto255_pedersen.mv +0 -0
  382. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/secp256k1.mv +0 -0
  383. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/simple_map.mv +0 -0
  384. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/smart_table.mv +0 -0
  385. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/smart_vector.mv +0 -0
  386. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/string_utils.mv +0 -0
  387. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/table.mv +0 -0
  388. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/table_with_length.mv +0 -0
  389. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/type_info.mv +0 -0
  390. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/acl.mv +0 -0
  391. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/bcs.mv +0 -0
  392. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/bit_vector.mv +0 -0
  393. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/error.mv +0 -0
  394. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/features.mv +0 -0
  395. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/fixed_point32.mv +0 -0
  396. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/hash.mv +0 -0
  397. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/option.mv +0 -0
  398. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/signer.mv +0 -0
  399. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/string.mv +0 -0
  400. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/vector.mv +0 -0
  401. package/src/internal/move/jwks/build/jwk/bytecode_scripts/main.mv +0 -0
  402. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/account.mvsm +0 -0
  403. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/aggregator.mvsm +0 -0
  404. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/aggregator_factory.mvsm +0 -0
  405. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/aggregator_v2.mvsm +0 -0
  406. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/aptos_account.mvsm +0 -0
  407. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/aptos_coin.mvsm +0 -0
  408. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/aptos_governance.mvsm +0 -0
  409. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/block.mvsm +0 -0
  410. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/chain_id.mvsm +0 -0
  411. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/chain_status.mvsm +0 -0
  412. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/code.mvsm +0 -0
  413. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/coin.mvsm +0 -0
  414. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/config_buffer.mvsm +0 -0
  415. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/consensus_config.mvsm +0 -0
  416. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/create_signer.mvsm +0 -0
  417. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/delegation_pool.mvsm +0 -0
  418. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/dispatchable_fungible_asset.mvsm +0 -0
  419. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/dkg.mvsm +0 -0
  420. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/event.mvsm +0 -0
  421. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/execution_config.mvsm +0 -0
  422. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/function_info.mvsm +0 -0
  423. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/fungible_asset.mvsm +0 -0
  424. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/gas_schedule.mvsm +0 -0
  425. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/genesis.mvsm +0 -0
  426. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/governance_proposal.mvsm +0 -0
  427. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/guid.mvsm +0 -0
  428. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/jwk_consensus_config.mvsm +0 -0
  429. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/jwks.mvsm +0 -0
  430. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/keyless_account.mvsm +0 -0
  431. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/managed_coin.mvsm +0 -0
  432. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/multisig_account.mvsm +0 -0
  433. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/object.mvsm +0 -0
  434. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/object_code_deployment.mvsm +0 -0
  435. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/optional_aggregator.mvsm +0 -0
  436. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/primary_fungible_store.mvsm +0 -0
  437. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/randomness.mvsm +0 -0
  438. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/randomness_api_v0_config.mvsm +0 -0
  439. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/randomness_config.mvsm +0 -0
  440. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/randomness_config_seqnum.mvsm +0 -0
  441. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/reconfiguration.mvsm +0 -0
  442. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/reconfiguration_state.mvsm +0 -0
  443. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/reconfiguration_with_dkg.mvsm +0 -0
  444. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/resource_account.mvsm +0 -0
  445. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/stake.mvsm +0 -0
  446. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/staking_config.mvsm +0 -0
  447. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/staking_contract.mvsm +0 -0
  448. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/staking_proxy.mvsm +0 -0
  449. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/state_storage.mvsm +0 -0
  450. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/storage_gas.mvsm +0 -0
  451. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/system_addresses.mvsm +0 -0
  452. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/timestamp.mvsm +0 -0
  453. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/transaction_context.mvsm +0 -0
  454. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/transaction_fee.mvsm +0 -0
  455. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/transaction_validation.mvsm +0 -0
  456. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/util.mvsm +0 -0
  457. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/validator_consensus_info.mvsm +0 -0
  458. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/version.mvsm +0 -0
  459. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/vesting.mvsm +0 -0
  460. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/voting.mvsm +0 -0
  461. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/any.mvsm +0 -0
  462. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/aptos_hash.mvsm +0 -0
  463. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/big_vector.mvsm +0 -0
  464. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/bls12381.mvsm +0 -0
  465. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/bls12381_algebra.mvsm +0 -0
  466. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/bn254_algebra.mvsm +0 -0
  467. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/capability.mvsm +0 -0
  468. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/comparator.mvsm +0 -0
  469. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/copyable_any.mvsm +0 -0
  470. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/crypto_algebra.mvsm +0 -0
  471. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/debug.mvsm +0 -0
  472. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/ed25519.mvsm +0 -0
  473. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/fixed_point64.mvsm +0 -0
  474. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/from_bcs.mvsm +0 -0
  475. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/math128.mvsm +0 -0
  476. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/math64.mvsm +0 -0
  477. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/math_fixed.mvsm +0 -0
  478. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/math_fixed64.mvsm +0 -0
  479. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/multi_ed25519.mvsm +0 -0
  480. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/pool_u64.mvsm +0 -0
  481. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/pool_u64_unbound.mvsm +0 -0
  482. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/ristretto255.mvsm +0 -0
  483. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/ristretto255_bulletproofs.mvsm +0 -0
  484. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/ristretto255_elgamal.mvsm +0 -0
  485. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/ristretto255_pedersen.mvsm +0 -0
  486. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/secp256k1.mvsm +0 -0
  487. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/simple_map.mvsm +0 -0
  488. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/smart_table.mvsm +0 -0
  489. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/smart_vector.mvsm +0 -0
  490. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/string_utils.mvsm +0 -0
  491. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/table.mvsm +0 -0
  492. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/table_with_length.mvsm +0 -0
  493. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/type_info.mvsm +0 -0
  494. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/acl.mvsm +0 -0
  495. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/bcs.mvsm +0 -0
  496. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/bit_vector.mvsm +0 -0
  497. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/error.mvsm +0 -0
  498. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/features.mvsm +0 -0
  499. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/fixed_point32.mvsm +0 -0
  500. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/hash.mvsm +0 -0
  501. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/option.mvsm +0 -0
  502. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/signer.mvsm +0 -0
  503. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/string.mvsm +0 -0
  504. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/vector.mvsm +0 -0
  505. package/src/internal/move/jwks/build/jwk/source_maps/main.mvsm +0 -0
  506. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/account.move +0 -1533
  507. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aggregator.move +0 -48
  508. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aggregator_factory.move +0 -66
  509. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aggregator_v2.move +0 -280
  510. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aptos_account.move +0 -443
  511. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aptos_coin.move +0 -204
  512. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aptos_governance.move +0 -1387
  513. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/block.move +0 -394
  514. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/chain_id.move +0 -41
  515. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/chain_status.move +0 -48
  516. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/code.move +0 -367
  517. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/coin.move +0 -2214
  518. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/config_buffer.move +0 -101
  519. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/consensus_config.move +0 -77
  520. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/create_signer.move +0 -21
  521. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/delegation_pool.move +0 -5568
  522. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/dispatchable_fungible_asset.move +0 -228
  523. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/dkg.move +0 -121
  524. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/event.move +0 -92
  525. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/execution_config.move +0 -66
  526. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/function_info.move +0 -100
  527. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/fungible_asset.move +0 -1566
  528. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/gas_schedule.move +0 -176
  529. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/genesis.move +0 -550
  530. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/governance_proposal.move +0 -23
  531. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/guid.move +0 -68
  532. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/jwk_consensus_config.move +0 -148
  533. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/jwks.move +0 -817
  534. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/keyless_account.move +0 -312
  535. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/managed_coin.move +0 -205
  536. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/multisig_account.move +0 -2477
  537. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/object.move +0 -1073
  538. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/object_code_deployment.move +0 -147
  539. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/optional_aggregator.move +0 -295
  540. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/primary_fungible_store.move +0 -405
  541. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/randomness.move +0 -574
  542. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/randomness_api_v0_config.move +0 -57
  543. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/randomness_config.move +0 -153
  544. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/randomness_config_seqnum.move +0 -49
  545. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/reconfiguration.move +0 -237
  546. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/reconfiguration_state.move +0 -132
  547. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/reconfiguration_with_dkg.move +0 -69
  548. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/resource_account.move +0 -267
  549. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/stake.move +0 -3286
  550. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/staking_config.move +0 -686
  551. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/staking_contract.move +0 -1618
  552. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/staking_proxy.move +0 -228
  553. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/state_storage.move +0 -90
  554. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/storage_gas.move +0 -622
  555. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/system_addresses.move +0 -82
  556. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/timestamp.move +0 -88
  557. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/transaction_context.move +0 -262
  558. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/transaction_fee.move +0 -457
  559. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/transaction_validation.move +0 -501
  560. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/util.move +0 -16
  561. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/validator_consensus_info.move +0 -42
  562. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/version.move +0 -115
  563. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/vesting.move +0 -2183
  564. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/voting.move +0 -1279
  565. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/any.move +0 -57
  566. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/aptos_hash.move +0 -253
  567. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/big_vector.move +0 -469
  568. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/bls12381.move +0 -985
  569. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/bls12381_algebra.move +0 -802
  570. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/bn254_algebra.move +0 -855
  571. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/capability.move +0 -193
  572. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/comparator.move +0 -173
  573. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/copyable_any.move +0 -45
  574. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/crypto_algebra.move +0 -351
  575. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/debug.move +0 -278
  576. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/ed25519.move +0 -262
  577. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/fixed_point64.move +0 -447
  578. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/from_bcs.move +0 -91
  579. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/math128.move +0 -381
  580. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/math64.move +0 -336
  581. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/math_fixed.move +0 -139
  582. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/math_fixed64.move +0 -142
  583. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/multi_ed25519.move +0 -482
  584. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/pool_u64.move +0 -571
  585. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/pool_u64_unbound.move +0 -270
  586. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/ristretto255.move +0 -1310
  587. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/ristretto255_bulletproofs.move +0 -253
  588. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/ristretto255_elgamal.move +0 -234
  589. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/ristretto255_pedersen.move +0 -158
  590. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/secp256k1.move +0 -114
  591. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/simple_map.move +0 -319
  592. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/smart_table.move +0 -769
  593. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/smart_vector.move +0 -766
  594. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/string_utils.move +0 -148
  595. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/table.move +0 -152
  596. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/table_with_length.move +0 -141
  597. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/type_info.move +0 -351
  598. package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/acl.move +0 -46
  599. package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/bcs.move +0 -27
  600. package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/bit_vector.move +0 -239
  601. package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/error.move +0 -88
  602. package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/features.move +0 -780
  603. package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/fixed_point32.move +0 -295
  604. package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/hash.move +0 -8
  605. package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/option.move +0 -356
  606. package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/signer.move +0 -21
  607. package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/string.move +0 -93
  608. package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/vector.move +0 -669
  609. package/src/internal/move/jwks/build/jwk/sources/main.move +0 -20
  610. /package/dist/esm/{chunk-V74WPKSY.mjs.map → chunk-2XQKGWHQ.mjs.map} +0 -0
  611. /package/dist/esm/{chunk-UOP7GBXB.mjs.map → chunk-5ZRPV4YI.mjs.map} +0 -0
  612. /package/dist/esm/{chunk-V2QSMVJ5.mjs.map → chunk-7T62PEFI.mjs.map} +0 -0
  613. /package/dist/esm/{chunk-U7HD6PQV.mjs.map → chunk-FSP4QM2T.mjs.map} +0 -0
  614. /package/dist/esm/{chunk-GBNAG7KK.mjs.map → chunk-IDHVW7HS.mjs.map} +0 -0
  615. /package/dist/esm/{chunk-57J5YBMT.mjs.map → chunk-PFXXFUBL.mjs.map} +0 -0
  616. /package/dist/esm/{chunk-KRBZ54CY.mjs.map → chunk-R7NQJWDG.mjs.map} +0 -0
  617. /package/dist/esm/{chunk-AMAPBD4D.mjs.map → chunk-SAMHWS73.mjs.map} +0 -0
  618. /package/dist/esm/{chunk-HETYL3WN.mjs.map → chunk-WOTQ7227.mjs.map} +0 -0
  619. /package/dist/esm/{chunk-CZYH3G7E.mjs.map → chunk-YHGGNYYL.mjs.map} +0 -0
@@ -1,1300 +1,7 @@
1
- import { TokenStandard, OrderBy } from './indexer.mjs';
2
- import { Network } from '../utils/apiEndpoints.mjs';
1
+ import './indexer.mjs';
2
+ export { bx as AccountAuthenticatorVariant, c7 as AccountData, cR as AccountSignature, bL as AnyNumber, bz as AnyPublicKeyVariant, bA as AnySignatureVariant, c2 as AptosRequest, c3 as AptosResponse, bM as AptosSettings, dl as AuthenticationKeyScheme, dj as Block, cp as BlockEndInfo, cq as BlockEpilogueTransactionResponse, cm as BlockMetadataTransactionResponse, c1 as Client, bS as ClientConfig, bX as ClientHeadersType, b$ as ClientRequest, c0 as ClientResponse, cb as CommittedTransactionResponse, bO as CursorPaginationArgs, cy as DecodedTableData, cz as DeletedTableData, dp as DeriveScheme, cU as DirectWriteSet, cB as EntryFunctionPayloadResponse, bD as EphemeralCertificateVariant, bB as EphemeralPublicKeyVariant, bC as EphemeralSignatureVariant, cW as Event, cV as EventGuid, bV as FaucetConfig, bT as FullNodeConfig, c5 as GasEstimation, dt as GenerateAccount, dr as GenerateAccountWithEd25519, ds as GenerateAccountWithSingleSignerSecp256k1Key, cE as GenesisPayload, cl as GenesisTransactionResponse, bo as HexInput, bU as IndexerConfig, di as LedgerInfo, c4 as LedgerVersionArg, bn as MimeType, db as MoveAbility, d1 as MoveAddressType, dg as MoveFunction, dc as MoveFunctionGenericTypeParam, d5 as MoveFunctionId, da as MoveFunctionVisibility, de as MoveModule, c8 as MoveModuleBytecode, d9 as MoveModuleId, d2 as MoveObjectType, d3 as MoveOptionType, c6 as MoveResource, cF as MoveScriptBytecode, df as MoveStruct, dd as MoveStructField, d4 as MoveStructId, d6 as MoveStructType, d7 as MoveType, c$ as MoveUint128Type, cY as MoveUint16Type, d0 as MoveUint256Type, cZ as MoveUint32Type, c_ as MoveUint64Type, cX as MoveUint8Type, d8 as MoveValue, cD as MultisigPayloadResponse, bQ as OrderByArg, bN as PaginationArgs, cj as PendingTransactionResponse, bY as PluginConfig, bZ as PluginSettings, by as PrivateKeyVariants, dh as RoleType, cC as ScriptPayloadResponse, bq as ScriptTransactionArgumentVariants, cT as ScriptWriteSet, dm as SigningScheme, dn as SigningSchemeInput, cn as StateCheckpointTransactionResponse, dk as TableItemRequest, bP as TokenStandardArg, bw as TransactionAuthenticatorVariant, cM as TransactionEd25519Signature, bt as TransactionExecutableVariants, bu as TransactionExtraConfigVariants, cQ as TransactionFeePayerSignature, bW as TransactionGenerationConfig, bs as TransactionInnerPayloadVariants, cP as TransactionMultiAgentSignature, cO as TransactionMultiEd25519Signature, cA as TransactionPayloadResponse, br as TransactionPayloadVariants, ca as TransactionResponse, c9 as TransactionResponseType, cN as TransactionSecp256k1Signature, cG as TransactionSignature, b_ as TransactionSubmitter, bv as TransactionVariants, bp as TypeTagVariants, bJ as Uint128, bG as Uint16, bK as Uint256, bH as Uint32, bI as Uint64, bF as Uint8, ck as UserTransactionResponse, co as ValidatorTransactionResponse, dq as WaitForTransactionOptions, bR as WhereArg, cS as WriteSet, cr as WriteSetChange, cs as WriteSetChangeDeleteModule, ct as WriteSetChangeDeleteResource, cu as WriteSetChangeDeleteTableItem, cv as WriteSetChangeWriteModule, cw as WriteSetChangeWriteResource, cx as WriteSetChangeWriteTableItem, bE as ZkpVariant, ci as isBlockEpilogueTransactionResponse, cf as isBlockMetadataTransactionResponse, cH as isEd25519Signature, cK as isFeePayerSignature, ce as isGenesisTransactionResponse, cJ as isMultiAgentSignature, cL as isMultiEd25519Signature, cc as isPendingTransactionResponse, cI as isSecp256k1Signature, cg as isStateCheckpointTransactionResponse, cd as isUserTransactionResponse, ch as isValidatorTransactionResponse } from '../account-9G6tix5T.mjs';
3
+ import '../utils/apiEndpoints.mjs';
3
4
  import './generated/operations.mjs';
4
5
  import './generated/types.mjs';
5
-
6
- /**
7
- * Different MIME types used for data interchange in transactions and responses.
8
- */
9
- declare enum MimeType {
10
- /**
11
- * JSON representation, used for transaction submission and accept type JSON output
12
- */
13
- JSON = "application/json",
14
- /**
15
- * BCS representation, used for accept type BCS output
16
- */
17
- BCS = "application/x-bcs",
18
- /**
19
- * BCS representation, used for transaction submission in BCS input
20
- */
21
- BCS_SIGNED_TRANSACTION = "application/x.aptos.signed_transaction+bcs",
22
- BCS_VIEW_FUNCTION = "application/x.aptos.view_function+bcs"
23
- }
24
- /**
25
- * Hexadecimal data input for functions, supporting both string and Uint8Array formats.
26
- */
27
- type HexInput = string | Uint8Array;
28
- /**
29
- * Variants of type tags used in the system, encompassing various data types and structures.
30
- * {@link https://github.com/aptos-labs/aptos-core/blob/main/third_party/move/move-core/types/src/language_storage.rs#L27}
31
- */
32
- declare enum TypeTagVariants {
33
- Bool = 0,
34
- U8 = 1,
35
- U64 = 2,
36
- U128 = 3,
37
- Address = 4,
38
- Signer = 5,
39
- Vector = 6,
40
- Struct = 7,
41
- U16 = 8,
42
- U32 = 9,
43
- U256 = 10,
44
- Reference = 254,// This is specifically a placeholder and does not represent a real type
45
- Generic = 255
46
- }
47
- /**
48
- * Variants of script transaction arguments used in Rust, encompassing various data types for transaction processing.
49
- * {@link https://github.com/aptos-labs/aptos-core/blob/main/third_party/move/move-core/types/src/transaction_argument.rs#L11}
50
- */
51
- declare enum ScriptTransactionArgumentVariants {
52
- U8 = 0,
53
- U64 = 1,
54
- U128 = 2,
55
- Address = 3,
56
- U8Vector = 4,
57
- Bool = 5,
58
- U16 = 6,
59
- U32 = 7,
60
- U256 = 8,
61
- Serialized = 9
62
- }
63
- /**
64
- * The payload for various transaction types in the system.
65
- * {@link https://github.com/aptos-labs/aptos-core/blob/main/types/src/transaction/mod.rs#L478}
66
- */
67
- declare enum TransactionPayloadVariants {
68
- Script = 0,
69
- EntryFunction = 2,
70
- Multisig = 3
71
- }
72
- /**
73
- * Variants of transactions used in the system.
74
- * {@link https://github.com/aptos-labs/aptos-core/blob/main/types/src/transaction/mod.rs#L440}
75
- */
76
- declare enum TransactionVariants {
77
- MultiAgentTransaction = 0,
78
- FeePayerTransaction = 1
79
- }
80
- /**
81
- * Variants of transaction authenticators used in the system.
82
- * {@link https://github.com/aptos-labs/aptos-core/blob/main/types/src/transaction/authenticator.rs#L44}
83
- */
84
- declare enum TransactionAuthenticatorVariant {
85
- Ed25519 = 0,
86
- MultiEd25519 = 1,
87
- MultiAgent = 2,
88
- FeePayer = 3,
89
- SingleSender = 4
90
- }
91
- /**
92
- * Variants of account authenticators used in transactions.
93
- * {@link https://github.com/aptos-labs/aptos-core/blob/main/types/src/transaction/authenticator.rs#L414}
94
- */
95
- declare enum AccountAuthenticatorVariant {
96
- Ed25519 = 0,
97
- MultiEd25519 = 1,
98
- SingleKey = 2,
99
- MultiKey = 3,
100
- NoAccountAuthenticator = 4,
101
- Abstraction = 5
102
- }
103
- /**
104
- * Variants of private keys that can comply with the AIP-80 standard.
105
- * {@link https://github.com/aptos-foundation/AIPs/blob/main/aips/aip-80.md}
106
- */
107
- declare enum PrivateKeyVariants {
108
- Ed25519 = "ed25519",
109
- Secp256k1 = "secp256k1"
110
- }
111
- /**
112
- * Variants of public keys used in cryptographic operations.
113
- */
114
- declare enum AnyPublicKeyVariant {
115
- Ed25519 = 0,
116
- Secp256k1 = 1,
117
- Keyless = 3,
118
- FederatedKeyless = 4
119
- }
120
- /**
121
- * Variants of signature types used for cryptographic operations.
122
- */
123
- declare enum AnySignatureVariant {
124
- Ed25519 = 0,
125
- Secp256k1 = 1,
126
- Keyless = 3
127
- }
128
- /**
129
- * Variants of ephemeral public keys used in cryptographic operations.
130
- */
131
- declare enum EphemeralPublicKeyVariant {
132
- Ed25519 = 0
133
- }
134
- /**
135
- * Variants of ephemeral signatures used for secure communication.
136
- */
137
- declare enum EphemeralSignatureVariant {
138
- Ed25519 = 0
139
- }
140
- /**
141
- * Variants of ephemeral certificates used in secure transactions.
142
- */
143
- declare enum EphemeralCertificateVariant {
144
- ZkProof = 0
145
- }
146
- /**
147
- * Variants of zero-knowledge proofs used in cryptographic operations.
148
- */
149
- declare enum ZkpVariant {
150
- Groth16 = 0
151
- }
152
- /**
153
- * BCS types
154
- */
155
- type Uint8 = number;
156
- /**
157
- * A 16-bit unsigned integer.
158
- */
159
- type Uint16 = number;
160
- /**
161
- * A 32-bit unsigned integer.
162
- */
163
- type Uint32 = number;
164
- /**
165
- * A 64-bit unsigned integer value.
166
- */
167
- type Uint64 = bigint;
168
- /**
169
- * A 128-bit unsigned integer used for precise arithmetic operations.
170
- */
171
- type Uint128 = bigint;
172
- /**
173
- * A 256-bit unsigned integer used for precise numerical calculations.
174
- */
175
- type Uint256 = bigint;
176
- /**
177
- * A number or a bigint value.
178
- */
179
- type AnyNumber = number | bigint;
180
- /**
181
- * Configuration options for initializing the SDK, allowing customization of its behavior and interaction with the Aptos network.
182
- */
183
- type AptosSettings = {
184
- readonly network?: Network;
185
- readonly fullnode?: string;
186
- readonly faucet?: string;
187
- readonly indexer?: string;
188
- readonly pepper?: string;
189
- readonly prover?: string;
190
- readonly clientConfig?: ClientConfig;
191
- readonly client?: Client;
192
- readonly fullnodeConfig?: FullNodeConfig;
193
- readonly indexerConfig?: IndexerConfig;
194
- readonly faucetConfig?: FaucetConfig;
195
- };
196
- /**
197
- * Defines the parameters for paginating query results, including the starting position and maximum number of items to return.
198
- * @param offset Specifies the starting position of the query result. Default is 0.
199
- * @param limit Specifies the maximum number of items to return. Default is 25.
200
- */
201
- interface PaginationArgs {
202
- offset?: AnyNumber;
203
- limit?: number;
204
- }
205
- /**
206
- * Defines the parameters for paginating query results, including the starting position and maximum number of items to return.
207
- * @param cursor Specifies the starting position of the query result. Default is at the beginning if undefined. This is not a number and must come from the API.
208
- * @param limit Specifies the maximum number of items to return. Default is 25.
209
- */
210
- interface CursorPaginationArgs {
211
- cursor?: string;
212
- limit?: number;
213
- }
214
- /**
215
- * Represents the arguments for specifying a token standard.
216
- *
217
- * @param tokenStandard - Optional standard of the token.
218
- */
219
- interface TokenStandardArg {
220
- tokenStandard?: TokenStandard;
221
- }
222
- interface OrderByArg<T extends {}> {
223
- orderBy?: OrderBy<T>;
224
- }
225
- interface WhereArg<T extends {}> {
226
- where?: T;
227
- }
228
- /**
229
- * QUERY TYPES
230
- */
231
- /**
232
- * A configuration object for requests to the server, including API key, extra headers, and cookie handling options.
233
- */
234
- type ClientConfig = ClientHeadersType & {
235
- WITH_CREDENTIALS?: boolean;
236
- API_KEY?: string;
237
- };
238
- /**
239
- * A configuration object for a Fullnode, allowing for the inclusion of extra headers in requests.
240
- */
241
- type FullNodeConfig = ClientHeadersType;
242
- /**
243
- * An Indexer configuration object for sending requests with additional headers.
244
- */
245
- type IndexerConfig = ClientHeadersType;
246
- /**
247
- * A configuration object for a faucet, including optional authentication and headers for requests.
248
- */
249
- type FaucetConfig = ClientHeadersType & {
250
- AUTH_TOKEN?: string;
251
- };
252
- /**
253
- * General type definition for client headers.
254
- */
255
- type ClientHeadersType = {
256
- HEADERS?: Record<string, string | number | boolean>;
257
- };
258
- /**
259
- * Represents a client for making requests to a service provider.
260
- *
261
- * @param Req - The type of the request payload.
262
- * @param Res - The type of the response payload.
263
- */
264
- interface ClientRequest<Req> {
265
- url: string;
266
- method: "GET" | "POST";
267
- originMethod?: string;
268
- body?: Req;
269
- contentType?: string;
270
- params?: any;
271
- overrides?: ClientConfig & FullNodeConfig & IndexerConfig & FaucetConfig;
272
- headers?: Record<string, any>;
273
- }
274
- interface ClientResponse<Res> {
275
- status: number;
276
- statusText: string;
277
- data: Res;
278
- config?: any;
279
- request?: any;
280
- response?: any;
281
- headers?: any;
282
- }
283
- interface Client {
284
- /**
285
- * Sends a request to the specified URL with the given options.
286
- *
287
- * @param requestOptions - The options for the request.
288
- * @param requestOptions.url - The URL to send the request to.
289
- * @param requestOptions.method - The HTTP method to use, either "GET" or "POST".
290
- * @param requestOptions.path - An optional path to append to the URL.
291
- * @param requestOptions.body - The body of the request, applicable for POST requests.
292
- * @param requestOptions.contentType - The content type of the request body.
293
- * @param requestOptions.acceptType - The expected content type of the response.
294
- * @param requestOptions.params - Optional parameters to include in the request.
295
- * @param requestOptions.originMethod - An optional method to specify the origin of the request.
296
- * @param requestOptions.overrides - Optional configuration overrides for the request.
297
- */
298
- provider<Req, Res>(requestOptions: ClientRequest<Req>): Promise<ClientResponse<Res>>;
299
- }
300
- /**
301
- * The API request type
302
- *
303
- * @param url - the url to make the request to, i.e. https://fullnode.devnet.aptoslabs.com/v1
304
- * @param method - the request method "GET" | "POST"
305
- * @param endpoint (optional) - the endpoint to make the request to, i.e. transactions
306
- * @param body (optional) - the body of the request
307
- * @param contentType (optional) - the content type to set the `content-type` header to,
308
- * by default is set to `application/json`
309
- * @param params (optional) - query params to add to the request
310
- * @param originMethod (optional) - the local method the request came from
311
- * @param overrides (optional) - a `ClientConfig` object type to override request data
312
- */
313
- type AptosRequest = {
314
- url: string;
315
- method: "GET" | "POST";
316
- path?: string;
317
- body?: any;
318
- contentType?: string;
319
- acceptType?: string;
320
- params?: Record<string, string | AnyNumber | boolean | undefined>;
321
- originMethod?: string;
322
- overrides?: ClientConfig & FullNodeConfig & IndexerConfig & FaucetConfig;
323
- };
324
- /**
325
- * The API response type
326
- *
327
- * @param status - the response status. i.e. 200
328
- * @param statusText - the response message
329
- * @param data the response data
330
- * @param url the url the request was made to
331
- * @param headers the response headers
332
- * @param config (optional) - the request object
333
- * @param request (optional) - the request object
334
- */
335
- interface AptosResponse<Req, Res> {
336
- status: number;
337
- statusText: string;
338
- data: Res;
339
- url: string;
340
- headers: any;
341
- config?: any;
342
- request?: Req;
343
- }
344
- /**
345
- * The ledger version of transactions, defaulting to the latest version if not specified.
346
- */
347
- type LedgerVersionArg = {
348
- ledgerVersion?: AnyNumber;
349
- };
350
- /**
351
- * RESPONSE TYPES
352
- */
353
- /**
354
- * The output of the estimate gas API, including the deprioritized estimate for the gas unit price.
355
- */
356
- type GasEstimation = {
357
- /**
358
- * The deprioritized estimate for the gas unit price
359
- */
360
- deprioritized_gas_estimate?: number;
361
- /**
362
- * The current estimate for the gas unit price
363
- */
364
- gas_estimate: number;
365
- /**
366
- * The prioritized estimate for the gas unit price
367
- */
368
- prioritized_gas_estimate?: number;
369
- };
370
- type MoveResource<T = {}> = {
371
- type: MoveStructId;
372
- data: T;
373
- };
374
- /**
375
- * The data associated with an account, including its sequence number.
376
- */
377
- type AccountData = {
378
- sequence_number: string;
379
- authentication_key: string;
380
- };
381
- /**
382
- * A Move module containing an address.
383
- */
384
- type MoveModuleBytecode = {
385
- bytecode: string;
386
- abi?: MoveModule;
387
- };
388
- /**
389
- * TRANSACTION TYPES
390
- */
391
- /**
392
- * Different types of transaction responses that can occur in the system.
393
- */
394
- declare enum TransactionResponseType {
395
- Pending = "pending_transaction",
396
- User = "user_transaction",
397
- Genesis = "genesis_transaction",
398
- BlockMetadata = "block_metadata_transaction",
399
- StateCheckpoint = "state_checkpoint_transaction",
400
- Validator = "validator_transaction",
401
- BlockEpilogue = "block_epilogue_transaction"
402
- }
403
- /**
404
- * The response for a transaction, which can be either pending or committed.
405
- */
406
- type TransactionResponse = PendingTransactionResponse | CommittedTransactionResponse;
407
- /**
408
- * The response for a committed transaction, which can be one of several transaction types.
409
- */
410
- type CommittedTransactionResponse = UserTransactionResponse | GenesisTransactionResponse | BlockMetadataTransactionResponse | StateCheckpointTransactionResponse | ValidatorTransactionResponse | BlockEpilogueTransactionResponse;
411
- /**
412
- * Determine if the given transaction response is currently pending.
413
- *
414
- * @param response - The transaction response to evaluate.
415
- * @returns A boolean indicating whether the transaction is pending.
416
- */
417
- declare function isPendingTransactionResponse(response: TransactionResponse): response is PendingTransactionResponse;
418
- /**
419
- * Determines if the given transaction response is a user transaction.
420
- *
421
- * @param response - The transaction response to evaluate.
422
- * @returns A boolean indicating whether the transaction is of type User.
423
- */
424
- declare function isUserTransactionResponse(response: TransactionResponse): response is UserTransactionResponse;
425
- /**
426
- * Determines if the given transaction response is a Genesis transaction.
427
- *
428
- * @param response - The transaction response to evaluate.
429
- * @returns A boolean indicating whether the transaction is a Genesis transaction.
430
- */
431
- declare function isGenesisTransactionResponse(response: TransactionResponse): response is GenesisTransactionResponse;
432
- /**
433
- * Determine if the given transaction response is of type BlockMetadata.
434
- *
435
- * @param response - The transaction response to evaluate.
436
- * @returns A boolean indicating whether the response is a BlockMetadata transaction.
437
- */
438
- declare function isBlockMetadataTransactionResponse(response: TransactionResponse): response is BlockMetadataTransactionResponse;
439
- /**
440
- * Determines if the provided transaction response is a state checkpoint transaction.
441
- *
442
- * @param response - The transaction response to evaluate.
443
- * @returns A boolean indicating whether the transaction response is of type StateCheckpoint.
444
- */
445
- declare function isStateCheckpointTransactionResponse(response: TransactionResponse): response is StateCheckpointTransactionResponse;
446
- /**
447
- * Determine if the given transaction response is of type Validator.
448
- *
449
- * @param response - The transaction response to evaluate.
450
- * @returns A boolean indicating whether the transaction response is a Validator type.
451
- */
452
- declare function isValidatorTransactionResponse(response: TransactionResponse): response is ValidatorTransactionResponse;
453
- /**
454
- * Determines if the given transaction response is of the type Block Epilogue.
455
- *
456
- * @param response - The transaction response to evaluate.
457
- * @returns A boolean indicating whether the response is a Block Epilogue transaction.
458
- */
459
- declare function isBlockEpilogueTransactionResponse(response: TransactionResponse): response is BlockEpilogueTransactionResponse;
460
- /**
461
- * The response for a pending transaction, indicating that the transaction is still being processed.
462
- */
463
- type PendingTransactionResponse = {
464
- type: TransactionResponseType.Pending;
465
- hash: string;
466
- sender: string;
467
- sequence_number: string;
468
- max_gas_amount: string;
469
- gas_unit_price: string;
470
- expiration_timestamp_secs: string;
471
- payload: TransactionPayloadResponse;
472
- signature?: TransactionSignature;
473
- };
474
- /**
475
- * The response structure for a user transaction.
476
- */
477
- type UserTransactionResponse = {
478
- type: TransactionResponseType.User;
479
- version: string;
480
- hash: string;
481
- state_change_hash: string;
482
- event_root_hash: string;
483
- state_checkpoint_hash: string | null;
484
- gas_used: string;
485
- /**
486
- * Whether the transaction was successful
487
- */
488
- success: boolean;
489
- /**
490
- * The VM status of the transaction, can tell useful information in a failure
491
- */
492
- vm_status: string;
493
- accumulator_root_hash: string;
494
- /**
495
- * Final state of resources changed by the transaction
496
- */
497
- changes: Array<WriteSetChange>;
498
- sender: string;
499
- sequence_number: string;
500
- max_gas_amount: string;
501
- gas_unit_price: string;
502
- expiration_timestamp_secs: string;
503
- payload: TransactionPayloadResponse;
504
- signature?: TransactionSignature;
505
- /**
506
- * Events generated by the transaction
507
- */
508
- events: Array<Event>;
509
- timestamp: string;
510
- };
511
- /**
512
- * The response for a genesis transaction, indicating the type of transaction.
513
- */
514
- type GenesisTransactionResponse = {
515
- type: TransactionResponseType.Genesis;
516
- version: string;
517
- hash: string;
518
- state_change_hash: string;
519
- event_root_hash: string;
520
- state_checkpoint_hash?: string;
521
- gas_used: string;
522
- /**
523
- * Whether the transaction was successful
524
- */
525
- success: boolean;
526
- /**
527
- * The VM status of the transaction, can tell useful information in a failure
528
- */
529
- vm_status: string;
530
- accumulator_root_hash: string;
531
- /**
532
- * Final state of resources changed by the transaction
533
- */
534
- changes: Array<WriteSetChange>;
535
- payload: GenesisPayload;
536
- /**
537
- * Events emitted during genesis
538
- */
539
- events: Array<Event>;
540
- };
541
- /**
542
- * The structure representing a blockchain block with its height.
543
- */
544
- type BlockMetadataTransactionResponse = {
545
- type: TransactionResponseType.BlockMetadata;
546
- version: string;
547
- hash: string;
548
- state_change_hash: string;
549
- event_root_hash: string;
550
- state_checkpoint_hash: string | null;
551
- gas_used: string;
552
- /**
553
- * Whether the transaction was successful
554
- */
555
- success: boolean;
556
- /**
557
- * The VM status of the transaction, can tell useful information in a failure
558
- */
559
- vm_status: string;
560
- accumulator_root_hash: string;
561
- /**
562
- * Final state of resources changed by the transaction
563
- */
564
- changes: Array<WriteSetChange>;
565
- id: string;
566
- epoch: string;
567
- round: string;
568
- /**
569
- * The events emitted at the block creation
570
- */
571
- events: Array<Event>;
572
- /**
573
- * Previous block votes
574
- */
575
- previous_block_votes_bitvec: Array<number>;
576
- proposer: string;
577
- /**
578
- * The indices of the proposers who failed to propose
579
- */
580
- failed_proposer_indices: Array<number>;
581
- timestamp: string;
582
- };
583
- /**
584
- * The response for a state checkpoint transaction, indicating the type of transaction.
585
- */
586
- type StateCheckpointTransactionResponse = {
587
- type: TransactionResponseType.StateCheckpoint;
588
- version: string;
589
- hash: string;
590
- state_change_hash: string;
591
- event_root_hash: string;
592
- state_checkpoint_hash: string | null;
593
- gas_used: string;
594
- /**
595
- * Whether the transaction was successful
596
- */
597
- success: boolean;
598
- /**
599
- * The VM status of the transaction, can tell useful information in a failure
600
- */
601
- vm_status: string;
602
- accumulator_root_hash: string;
603
- /**
604
- * Final state of resources changed by the transaction
605
- */
606
- changes: Array<WriteSetChange>;
607
- timestamp: string;
608
- };
609
- /**
610
- * The response for a validator transaction, indicating the type of transaction.
611
- */
612
- type ValidatorTransactionResponse = {
613
- type: TransactionResponseType.Validator;
614
- version: string;
615
- hash: string;
616
- state_change_hash: string;
617
- event_root_hash: string;
618
- state_checkpoint_hash: string | null;
619
- gas_used: string;
620
- /**
621
- * Whether the transaction was successful
622
- */
623
- success: boolean;
624
- /**
625
- * The VM status of the transaction, can tell useful information in a failure
626
- */
627
- vm_status: string;
628
- accumulator_root_hash: string;
629
- /**
630
- * Final state of resources changed by the transaction
631
- */
632
- changes: Array<WriteSetChange>;
633
- /**
634
- * The events emitted by the validator transaction
635
- */
636
- events: Array<Event>;
637
- timestamp: string;
638
- };
639
- /**
640
- * Describes the gas state of the block, indicating whether the block gas limit has been reached.
641
- */
642
- type BlockEndInfo = {
643
- block_gas_limit_reached: boolean;
644
- block_output_limit_reached: boolean;
645
- block_effective_block_gas_units: number;
646
- block_approx_output_size: number;
647
- };
648
- /**
649
- * A transaction executed at the end of a block that tracks data from the entire block.
650
- */
651
- type BlockEpilogueTransactionResponse = {
652
- type: TransactionResponseType.BlockEpilogue;
653
- version: string;
654
- hash: string;
655
- state_change_hash: string;
656
- event_root_hash: string;
657
- state_checkpoint_hash: string | null;
658
- gas_used: string;
659
- /**
660
- * Whether the transaction was successful
661
- */
662
- success: boolean;
663
- /**
664
- * The VM status of the transaction, can tell useful information in a failure
665
- */
666
- vm_status: string;
667
- accumulator_root_hash: string;
668
- /**
669
- * Final state of resources changed by the transaction
670
- */
671
- changes: Array<WriteSetChange>;
672
- timestamp: string;
673
- block_end_info: BlockEndInfo | null;
674
- };
675
- /**
676
- * WRITESET CHANGE TYPES
677
- */
678
- /**
679
- * A union type that encompasses both script and direct write sets for data operations.
680
- */
681
- type WriteSetChange = WriteSetChangeDeleteModule | WriteSetChangeDeleteResource | WriteSetChangeDeleteTableItem | WriteSetChangeWriteModule | WriteSetChangeWriteResource | WriteSetChangeWriteTableItem;
682
- /**
683
- * The structure for a module deletion change in a write set.
684
- */
685
- type WriteSetChangeDeleteModule = {
686
- type: string;
687
- address: string;
688
- /**
689
- * State key hash
690
- */
691
- state_key_hash: string;
692
- module: MoveModuleId;
693
- };
694
- /**
695
- * The payload for a resource deletion in a write set change.
696
- */
697
- type WriteSetChangeDeleteResource = {
698
- type: string;
699
- address: string;
700
- state_key_hash: string;
701
- resource: string;
702
- };
703
- /**
704
- * The payload for a write set change that deletes a table item.
705
- */
706
- type WriteSetChangeDeleteTableItem = {
707
- type: string;
708
- state_key_hash: string;
709
- handle: string;
710
- key: string;
711
- data?: DeletedTableData;
712
- };
713
- /**
714
- * The structure for a write module change in a write set.
715
- */
716
- type WriteSetChangeWriteModule = {
717
- type: string;
718
- address: string;
719
- state_key_hash: string;
720
- data: MoveModuleBytecode;
721
- };
722
- /**
723
- * The resource associated with a write set change, identified by its type.
724
- */
725
- type WriteSetChangeWriteResource = {
726
- type: string;
727
- address: string;
728
- state_key_hash: string;
729
- data: MoveResource;
730
- };
731
- /**
732
- * The structure for a write operation on a table in a write set change.
733
- */
734
- type WriteSetChangeWriteTableItem = {
735
- type: string;
736
- state_key_hash: string;
737
- handle: string;
738
- key: string;
739
- value: string;
740
- data?: DecodedTableData;
741
- };
742
- /**
743
- * The decoded data for a table, including its key in JSON format.
744
- */
745
- type DecodedTableData = {
746
- /**
747
- * Key of table in JSON
748
- */
749
- key: any;
750
- /**
751
- * Type of key
752
- */
753
- key_type: string;
754
- /**
755
- * Value of table in JSON
756
- */
757
- value: any;
758
- /**
759
- * Type of value
760
- */
761
- value_type: string;
762
- };
763
- /**
764
- * Data for a deleted table entry.
765
- */
766
- type DeletedTableData = {
767
- /**
768
- * Deleted key
769
- */
770
- key: any;
771
- /**
772
- * Deleted key type
773
- */
774
- key_type: string;
775
- };
776
- /**
777
- * The payload for a transaction response, which can be an entry function, script, or multisig payload.
778
- */
779
- type TransactionPayloadResponse = EntryFunctionPayloadResponse | ScriptPayloadResponse | MultisigPayloadResponse;
780
- /**
781
- * The response payload for an entry function, containing the type of the entry.
782
- */
783
- type EntryFunctionPayloadResponse = {
784
- type: string;
785
- function: MoveFunctionId;
786
- /**
787
- * Type arguments of the function
788
- */
789
- type_arguments: Array<string>;
790
- /**
791
- * Arguments of the function
792
- */
793
- arguments: Array<any>;
794
- };
795
- /**
796
- * The payload for a script response, containing the type of the script.
797
- */
798
- type ScriptPayloadResponse = {
799
- type: string;
800
- code: MoveScriptBytecode;
801
- /**
802
- * Type arguments of the function
803
- */
804
- type_arguments: Array<string>;
805
- /**
806
- * Arguments of the function
807
- */
808
- arguments: Array<any>;
809
- };
810
- /**
811
- * The response payload for a multisig transaction, containing the type of the transaction.
812
- */
813
- type MultisigPayloadResponse = {
814
- type: string;
815
- multisig_address: string;
816
- transaction_payload?: EntryFunctionPayloadResponse;
817
- };
818
- /**
819
- * The payload for the genesis block containing the type of the payload.
820
- */
821
- type GenesisPayload = {
822
- type: string;
823
- write_set: WriteSet;
824
- };
825
- /**
826
- * The bytecode for a Move script.
827
- */
828
- type MoveScriptBytecode = {
829
- bytecode: string;
830
- abi?: MoveFunction;
831
- };
832
- /**
833
- * JSON representations of transaction signatures returned from the node API.
834
- */
835
- type TransactionSignature = TransactionEd25519Signature | TransactionSecp256k1Signature | TransactionMultiEd25519Signature | TransactionMultiAgentSignature | TransactionFeePayerSignature;
836
- /**
837
- * Determine if the provided signature is an Ed25519 signature.
838
- * This function checks for the presence of the "signature" property
839
- * and verifies that its value is "ed25519_signature".
840
- *
841
- * @param signature - The transaction signature to be checked.
842
- * @returns A boolean indicating whether the signature is an Ed25519 signature.
843
- */
844
- declare function isEd25519Signature(signature: TransactionSignature): signature is TransactionFeePayerSignature;
845
- /**
846
- * Determine if the provided signature is a valid secp256k1 ECDSA signature.
847
- *
848
- * @param signature - The transaction signature to validate.
849
- * @returns A boolean indicating whether the signature is a secp256k1 ECDSA signature.
850
- */
851
- declare function isSecp256k1Signature(signature: TransactionSignature): signature is TransactionFeePayerSignature;
852
- /**
853
- * Determine if the provided transaction signature is a multi-agent signature.
854
- *
855
- * @param signature - The transaction signature to evaluate.
856
- * @returns A boolean indicating whether the signature is a multi-agent signature.
857
- */
858
- declare function isMultiAgentSignature(signature: TransactionSignature): signature is TransactionMultiAgentSignature;
859
- /**
860
- * Determine if the provided signature is a fee payer signature.
861
- *
862
- * @param signature - The transaction signature to evaluate.
863
- * @returns A boolean indicating whether the signature is a fee payer signature.
864
- */
865
- declare function isFeePayerSignature(signature: TransactionSignature): signature is TransactionFeePayerSignature;
866
- /**
867
- * Determine if the provided signature is of type "multi_ed25519_signature".
868
- *
869
- * @param signature - The transaction signature to check.
870
- * @returns A boolean indicating whether the signature is a multi-ed25519 signature.
871
- */
872
- declare function isMultiEd25519Signature(signature: TransactionSignature): signature is TransactionMultiEd25519Signature;
873
- /**
874
- * The signature for a transaction using the Ed25519 algorithm.
875
- */
876
- type TransactionEd25519Signature = {
877
- type: string;
878
- public_key: string;
879
- signature: "ed25519_signature";
880
- };
881
- /**
882
- * The structure for a Secp256k1 signature in a transaction.
883
- */
884
- type TransactionSecp256k1Signature = {
885
- type: string;
886
- public_key: string;
887
- signature: "secp256k1_ecdsa_signature";
888
- };
889
- /**
890
- * The structure for a multi-signature transaction using Ed25519.
891
- */
892
- type TransactionMultiEd25519Signature = {
893
- type: "multi_ed25519_signature";
894
- /**
895
- * The public keys for the Ed25519 signature
896
- */
897
- public_keys: Array<string>;
898
- /**
899
- * Signature associated with the public keys in the same order
900
- */
901
- signatures: Array<string>;
902
- /**
903
- * The number of signatures required for a successful transaction
904
- */
905
- threshold: number;
906
- bitmap: string;
907
- };
908
- /**
909
- * The structure for a multi-agent signature in a transaction.
910
- */
911
- type TransactionMultiAgentSignature = {
912
- type: "multi_agent_signature";
913
- sender: AccountSignature;
914
- /**
915
- * The other involved parties' addresses
916
- */
917
- secondary_signer_addresses: Array<string>;
918
- /**
919
- * The associated signatures, in the same order as the secondary addresses
920
- */
921
- secondary_signers: Array<AccountSignature>;
922
- };
923
- /**
924
- * The signature of the fee payer in a transaction.
925
- */
926
- type TransactionFeePayerSignature = {
927
- type: "fee_payer_signature";
928
- sender: AccountSignature;
929
- /**
930
- * The other involved parties' addresses
931
- */
932
- secondary_signer_addresses: Array<string>;
933
- /**
934
- * The associated signatures, in the same order as the secondary addresses
935
- */
936
- secondary_signers: Array<AccountSignature>;
937
- fee_payer_address: string;
938
- fee_payer_signer: AccountSignature;
939
- };
940
- /**
941
- * The union of all single account signatures, including Ed25519, Secp256k1, and MultiEd25519 signatures.
942
- */
943
- type AccountSignature = TransactionEd25519Signature | TransactionSecp256k1Signature | TransactionMultiEd25519Signature;
944
- type WriteSet = ScriptWriteSet | DirectWriteSet;
945
- /**
946
- * The set of properties for writing scripts, including the type of script.
947
- */
948
- type ScriptWriteSet = {
949
- type: string;
950
- execute_as: string;
951
- script: ScriptPayloadResponse;
952
- };
953
- /**
954
- * The set of direct write operations, identified by a type string.
955
- */
956
- type DirectWriteSet = {
957
- type: string;
958
- changes: Array<WriteSetChange>;
959
- events: Array<Event>;
960
- };
961
- /**
962
- * The structure for an event's unique identifier, including its creation number.
963
- */
964
- /**
965
- * The structure for an event, identified by a unique GUID.
966
- */
967
- type EventGuid = {
968
- creation_number: string;
969
- account_address: string;
970
- };
971
- type Event = {
972
- guid: EventGuid;
973
- sequence_number: string;
974
- type: string;
975
- /**
976
- * The JSON representation of the event
977
- */
978
- data: any;
979
- };
980
- /**
981
- * A number representing a Move uint8 type.
982
- */
983
- type MoveUint8Type = number;
984
- /**
985
- * A 16-bit unsigned integer used in the Move programming language.
986
- */
987
- type MoveUint16Type = number;
988
- /**
989
- * A 32-bit unsigned integer type used in Move programming.
990
- */
991
- type MoveUint32Type = number;
992
- /**
993
- * A string representation of a 64-bit unsigned integer used in Move programming.
994
- */
995
- type MoveUint64Type = string;
996
- /**
997
- * A string representing a 128-bit unsigned integer in the Move programming language.
998
- */
999
- type MoveUint128Type = string;
1000
- /**
1001
- * A string representation of a 256-bit unsigned integer used in Move programming.
1002
- */
1003
- type MoveUint256Type = string;
1004
- /**
1005
- * A string representing a Move address.
1006
- */
1007
- type MoveAddressType = string;
1008
- /**
1009
- * The type for identifying objects to be moved within the system.
1010
- */
1011
- type MoveObjectType = string;
1012
- /**
1013
- * The type for move options, which can be a MoveType, null, or undefined.
1014
- */
1015
- type MoveOptionType = MoveType | null | undefined;
1016
- /**
1017
- * A structure representing a move with a name.
1018
- */
1019
- type MoveStructId = `${string}::${string}::${string}`;
1020
- /**
1021
- * The move function containing its name. Same as MoveStructId since it reads weird to take a StructId for a Function.
1022
- */
1023
- type MoveFunctionId = MoveStructId;
1024
- type MoveStructType = {};
1025
- /**
1026
- * A union type that encompasses various data types used in Move, including primitive types, address types, object types, and
1027
- * arrays of MoveType.
1028
- */
1029
- type MoveType = boolean | string | MoveUint8Type | MoveUint16Type | MoveUint32Type | MoveUint64Type | MoveUint128Type | MoveUint256Type | MoveAddressType | MoveObjectType | MoveStructType | Array<MoveType>;
1030
- /**
1031
- * Possible Move values acceptable by move functions (entry, view)
1032
- *
1033
- * Map of a Move value to the corresponding TypeScript value
1034
- *
1035
- * `Bool -> boolean`
1036
- *
1037
- * `u8, u16, u32 -> number`
1038
- *
1039
- * `u64, u128, u256 -> string`
1040
- *
1041
- * `String -> string`
1042
- *
1043
- * `Address -> 0x${string}`
1044
- *
1045
- * `Struct - 0x${string}::${string}::${string}`
1046
- *
1047
- * `Object -> 0x${string}`
1048
- *
1049
- * `Vector -> Array<MoveValue>`
1050
- *
1051
- * `Option -> MoveValue | null | undefined`
1052
- */
1053
- type MoveValue = boolean | string | MoveUint8Type | MoveUint16Type | MoveUint32Type | MoveUint64Type | MoveUint128Type | MoveUint256Type | MoveAddressType | MoveObjectType | MoveStructId | MoveOptionType | Array<MoveValue>;
1054
- /**
1055
- * A string representation of a Move module, formatted as `module_name::function_name`.
1056
- * Module names are case-sensitive.
1057
- */
1058
- type MoveModuleId = `${string}::${string}`;
1059
- /**
1060
- * Specifies the visibility levels for move functions, controlling access permissions.
1061
- */
1062
- declare enum MoveFunctionVisibility {
1063
- PRIVATE = "private",
1064
- PUBLIC = "public",
1065
- FRIEND = "friend"
1066
- }
1067
- /**
1068
- * Abilities related to moving items within the system.
1069
- */
1070
- declare enum MoveAbility {
1071
- STORE = "store",
1072
- DROP = "drop",
1073
- KEY = "key",
1074
- COPY = "copy"
1075
- }
1076
- /**
1077
- * Move abilities associated with the generic type parameter of a function.
1078
- */
1079
- type MoveFunctionGenericTypeParam = {
1080
- constraints: Array<MoveAbility>;
1081
- };
1082
- /**
1083
- * A field in a Move struct, identified by its name.
1084
- */
1085
- type MoveStructField = {
1086
- name: string;
1087
- type: string;
1088
- };
1089
- /**
1090
- * A Move module
1091
- */
1092
- type MoveModule = {
1093
- address: string;
1094
- name: string;
1095
- /**
1096
- * Friends of the module
1097
- */
1098
- friends: Array<MoveModuleId>;
1099
- /**
1100
- * Public functions of the module
1101
- */
1102
- exposed_functions: Array<MoveFunction>;
1103
- /**
1104
- * Structs of the module
1105
- */
1106
- structs: Array<MoveStruct>;
1107
- };
1108
- /**
1109
- * A move struct
1110
- */
1111
- type MoveStruct = {
1112
- name: string;
1113
- /**
1114
- * Whether the struct is a native struct of Move
1115
- */
1116
- is_native: boolean;
1117
- /**
1118
- * Whether the struct is a module event (aka v2 event). This will be false for v1
1119
- * events because the value is derived from the #[event] attribute on the struct in
1120
- * the Move source code. This attribute is only relevant for v2 events.
1121
- */
1122
- is_event: boolean;
1123
- /**
1124
- * Abilities associated with the struct
1125
- */
1126
- abilities: Array<MoveAbility>;
1127
- /**
1128
- * Generic types associated with the struct
1129
- */
1130
- generic_type_params: Array<MoveFunctionGenericTypeParam>;
1131
- /**
1132
- * Fields associated with the struct
1133
- */
1134
- fields: Array<MoveStructField>;
1135
- };
1136
- /**
1137
- * Move function
1138
- */
1139
- type MoveFunction = {
1140
- name: string;
1141
- visibility: MoveFunctionVisibility;
1142
- /**
1143
- * Whether the function can be called as an entry function directly in a transaction
1144
- */
1145
- is_entry: boolean;
1146
- /**
1147
- * Whether the function is a view function or not
1148
- */
1149
- is_view: boolean;
1150
- /**
1151
- * Generic type params associated with the Move function
1152
- */
1153
- generic_type_params: Array<MoveFunctionGenericTypeParam>;
1154
- /**
1155
- * Parameters associated with the move function
1156
- */
1157
- params: Array<string>;
1158
- /**
1159
- * Return type of the function
1160
- */
1161
- return: Array<string>;
1162
- };
1163
- /**
1164
- * Roles that can be assigned within the system, indicating different levels of access and functionality.
1165
- */
1166
- declare enum RoleType {
1167
- VALIDATOR = "validator",
1168
- FULL_NODE = "full_node"
1169
- }
1170
- /**
1171
- * Information about the current blockchain ledger, including its chain ID.
1172
- */
1173
- type LedgerInfo = {
1174
- /**
1175
- * Chain ID of the current chain
1176
- */
1177
- chain_id: number;
1178
- epoch: string;
1179
- ledger_version: string;
1180
- oldest_ledger_version: string;
1181
- ledger_timestamp: string;
1182
- node_role: RoleType;
1183
- oldest_block_height: string;
1184
- block_height: string;
1185
- /**
1186
- * Git hash of the build of the API endpoint. Can be used to determine the exact
1187
- * software version used by the API endpoint.
1188
- */
1189
- git_hash?: string;
1190
- };
1191
- /**
1192
- * A Block type
1193
- */
1194
- type Block = {
1195
- block_height: string;
1196
- block_hash: string;
1197
- block_timestamp: string;
1198
- first_version: string;
1199
- last_version: string;
1200
- /**
1201
- * The transactions in the block in sequential order
1202
- */
1203
- transactions?: Array<TransactionResponse>;
1204
- };
1205
- /**
1206
- * The request payload for the GetTableItem API.
1207
- */
1208
- type TableItemRequest = {
1209
- key_type: MoveValue;
1210
- value_type: MoveValue;
1211
- /**
1212
- * The value of the table item's key
1213
- */
1214
- key: any;
1215
- };
1216
- /**
1217
- * A list of supported Authentication Key schemes in Aptos, consisting of combinations of signing schemes and derive schemes.
1218
- */
1219
- type AuthenticationKeyScheme = SigningScheme | DeriveScheme;
1220
- /**
1221
- * Different schemes for signing keys used in cryptographic operations.
1222
- */
1223
- declare enum SigningScheme {
1224
- /**
1225
- * For Ed25519PublicKey
1226
- */
1227
- Ed25519 = 0,
1228
- /**
1229
- * For MultiEd25519PublicKey
1230
- */
1231
- MultiEd25519 = 1,
1232
- /**
1233
- * For SingleKey ecdsa
1234
- */
1235
- SingleKey = 2,
1236
- MultiKey = 3
1237
- }
1238
- /**
1239
- * Specifies the signing schemes available for cryptographic operations.
1240
- */
1241
- declare enum SigningSchemeInput {
1242
- /**
1243
- * For Ed25519PublicKey
1244
- */
1245
- Ed25519 = 0,
1246
- /**
1247
- * For Secp256k1Ecdsa
1248
- */
1249
- Secp256k1Ecdsa = 2
1250
- }
1251
- /**
1252
- * Specifies the schemes for deriving account addresses from various data sources.
1253
- */
1254
- declare enum DeriveScheme {
1255
- /**
1256
- * Derives an address using an AUID, used for objects
1257
- */
1258
- DeriveAuid = 251,
1259
- /**
1260
- * Derives an address from another object address
1261
- */
1262
- DeriveObjectAddressFromObject = 252,
1263
- /**
1264
- * Derives an address from a GUID, used for objects
1265
- */
1266
- DeriveObjectAddressFromGuid = 253,
1267
- /**
1268
- * Derives an address from seed bytes, used for named objects
1269
- */
1270
- DeriveObjectAddressFromSeed = 254,
1271
- /**
1272
- * Derives an address from seed bytes, used for resource accounts
1273
- */
1274
- DeriveResourceAccountAddress = 255
1275
- }
1276
- /**
1277
- * Options for configuring the behavior of the waitForTransaction() function.
1278
- */
1279
- type WaitForTransactionOptions = {
1280
- timeoutSecs?: number;
1281
- checkSuccess?: boolean;
1282
- waitForIndexer?: boolean;
1283
- };
1284
- /**
1285
- * Input type to generate an account using the Ed25519 signing scheme.
1286
- */
1287
- type GenerateAccountWithEd25519 = {
1288
- scheme: SigningSchemeInput.Ed25519;
1289
- legacy: boolean;
1290
- };
1291
- /**
1292
- * Input type to generate an account with a Single Signer using Secp256k1.
1293
- */
1294
- type GenerateAccountWithSingleSignerSecp256k1Key = {
1295
- scheme: SigningSchemeInput.Secp256k1Ecdsa;
1296
- legacy?: false;
1297
- };
1298
- type GenerateAccount = GenerateAccountWithEd25519 | GenerateAccountWithSingleSignerSecp256k1Key;
1299
-
1300
- export { AccountAuthenticatorVariant, type AccountData, type AccountSignature, type AnyNumber, AnyPublicKeyVariant, AnySignatureVariant, type AptosRequest, type AptosResponse, type AptosSettings, type AuthenticationKeyScheme, type Block, type BlockEndInfo, type BlockEpilogueTransactionResponse, type BlockMetadataTransactionResponse, type Client, type ClientConfig, type ClientHeadersType, type ClientRequest, type ClientResponse, type CommittedTransactionResponse, type CursorPaginationArgs, type DecodedTableData, type DeletedTableData, DeriveScheme, type DirectWriteSet, type EntryFunctionPayloadResponse, EphemeralCertificateVariant, EphemeralPublicKeyVariant, EphemeralSignatureVariant, type Event, type EventGuid, type FaucetConfig, type FullNodeConfig, type GasEstimation, type GenerateAccount, type GenerateAccountWithEd25519, type GenerateAccountWithSingleSignerSecp256k1Key, type GenesisPayload, type GenesisTransactionResponse, type HexInput, type IndexerConfig, type LedgerInfo, type LedgerVersionArg, MimeType, MoveAbility, type MoveAddressType, type MoveFunction, type MoveFunctionGenericTypeParam, type MoveFunctionId, MoveFunctionVisibility, type MoveModule, type MoveModuleBytecode, type MoveModuleId, type MoveObjectType, type MoveOptionType, type MoveResource, type MoveScriptBytecode, type MoveStruct, type MoveStructField, type MoveStructId, type MoveStructType, type MoveType, type MoveUint128Type, type MoveUint16Type, type MoveUint256Type, type MoveUint32Type, type MoveUint64Type, type MoveUint8Type, type MoveValue, type MultisigPayloadResponse, type OrderByArg, type PaginationArgs, type PendingTransactionResponse, PrivateKeyVariants, RoleType, type ScriptPayloadResponse, ScriptTransactionArgumentVariants, type ScriptWriteSet, SigningScheme, SigningSchemeInput, type StateCheckpointTransactionResponse, type TableItemRequest, type TokenStandardArg, TransactionAuthenticatorVariant, type TransactionEd25519Signature, type TransactionFeePayerSignature, type TransactionMultiAgentSignature, type TransactionMultiEd25519Signature, type TransactionPayloadResponse, TransactionPayloadVariants, type TransactionResponse, TransactionResponseType, type TransactionSecp256k1Signature, type TransactionSignature, TransactionVariants, TypeTagVariants, type Uint128, type Uint16, type Uint256, type Uint32, type Uint64, type Uint8, type UserTransactionResponse, type ValidatorTransactionResponse, type WaitForTransactionOptions, type WhereArg, type WriteSet, type WriteSetChange, type WriteSetChangeDeleteModule, type WriteSetChangeDeleteResource, type WriteSetChangeDeleteTableItem, type WriteSetChangeWriteModule, type WriteSetChangeWriteResource, type WriteSetChangeWriteTableItem, ZkpVariant, isBlockEpilogueTransactionResponse, isBlockMetadataTransactionResponse, isEd25519Signature, isFeePayerSignature, isGenesisTransactionResponse, isMultiAgentSignature, isMultiEd25519Signature, isPendingTransactionResponse, isSecp256k1Signature, isStateCheckpointTransactionResponse, isUserTransactionResponse, isValidatorTransactionResponse };
6
+ import '../utils/const.mjs';
7
+ import '../core/common.mjs';