@aptos-labs/ts-sdk 1.35.0 → 1.36.0-zeta.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 (756) hide show
  1. package/dist/common/{accountAddress-CuHovHdK.d.ts → accountAddress-C685VEzA.d.ts} +1 -1
  2. package/dist/common/{chunk-RX5UBAME.js → chunk-5GUWOXQG.js} +3 -3
  3. package/dist/common/chunk-5GUWOXQG.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 +9145 -8678
  8. package/dist/common/index.js +32 -32
  9. package/dist/common/index.js.map +1 -1
  10. package/dist/esm/{Ed25519Account-D4j3_WIS.d.mts → Ed25519Account-6KGApCPu.d.mts} +3 -3
  11. package/dist/esm/account/AbstractKeylessAccount.d.mts +23 -13
  12. package/dist/esm/account/AbstractKeylessAccount.mjs +1 -1
  13. package/dist/esm/account/AbstractedAccount.d.mts +10 -10
  14. package/dist/esm/account/AbstractedAccount.mjs +1 -1
  15. package/dist/esm/account/Account.d.mts +6 -6
  16. package/dist/esm/account/Account.mjs +1 -1
  17. package/dist/esm/account/AccountUtils.d.mts +11 -10
  18. package/dist/esm/account/AccountUtils.mjs +1 -1
  19. package/dist/esm/account/Ed25519Account.d.mts +5 -5
  20. package/dist/esm/account/Ed25519Account.mjs +1 -1
  21. package/dist/esm/account/EphemeralKeyPair.d.mts +3 -1
  22. package/dist/esm/account/EphemeralKeyPair.mjs +1 -1
  23. package/dist/esm/account/FederatedKeylessAccount.d.mts +12 -11
  24. package/dist/esm/account/FederatedKeylessAccount.mjs +1 -1
  25. package/dist/esm/account/KeylessAccount.d.mts +12 -11
  26. package/dist/esm/account/KeylessAccount.mjs +1 -1
  27. package/dist/esm/account/MultiEd25519Account.d.mts +9 -9
  28. package/dist/esm/account/MultiEd25519Account.mjs +1 -1
  29. package/dist/esm/account/MultiKeyAccount.d.mts +35 -12
  30. package/dist/esm/account/MultiKeyAccount.mjs +1 -1
  31. package/dist/esm/account/SingleKeyAccount.d.mts +5 -5
  32. package/dist/esm/account/SingleKeyAccount.mjs +1 -1
  33. package/dist/esm/account/index.d.mts +7 -6
  34. package/dist/esm/account/index.mjs +1 -1
  35. package/dist/esm/account/utils.mjs +1 -1
  36. package/dist/esm/api/account/abstraction.d.mts +9 -9
  37. package/dist/esm/api/account/abstraction.mjs +1 -1
  38. package/dist/esm/api/account.d.mts +4 -4
  39. package/dist/esm/api/account.mjs +1 -1
  40. package/dist/esm/api/ans.d.mts +13 -13
  41. package/dist/esm/api/ans.mjs +1 -1
  42. package/dist/esm/api/aptos.d.mts +6 -5
  43. package/dist/esm/api/aptos.mjs +1 -1
  44. package/dist/esm/api/coin.d.mts +11 -11
  45. package/dist/esm/api/coin.mjs +1 -1
  46. package/dist/esm/api/digitalAsset.d.mts +5 -5
  47. package/dist/esm/api/digitalAsset.mjs +1 -1
  48. package/dist/esm/api/event.mjs +1 -1
  49. package/dist/esm/api/experimental.d.mts +7 -7
  50. package/dist/esm/api/experimental.mjs +1 -1
  51. package/dist/esm/api/faucet.mjs +1 -1
  52. package/dist/esm/api/fungibleAsset.d.mts +13 -13
  53. package/dist/esm/api/fungibleAsset.mjs +1 -1
  54. package/dist/esm/api/general.d.mts +9 -9
  55. package/dist/esm/api/general.mjs +1 -1
  56. package/dist/esm/api/index.d.mts +6 -5
  57. package/dist/esm/api/index.mjs +1 -1
  58. package/dist/esm/api/keyless.d.mts +20 -19
  59. package/dist/esm/api/keyless.mjs +1 -1
  60. package/dist/esm/api/object.mjs +1 -1
  61. package/dist/esm/api/staking.mjs +1 -1
  62. package/dist/esm/api/table.mjs +1 -1
  63. package/dist/esm/api/transaction.d.mts +36 -15
  64. package/dist/esm/api/transaction.mjs +1 -1
  65. package/dist/esm/api/transactionSubmission/build.d.mts +9 -9
  66. package/dist/esm/api/transactionSubmission/build.mjs +1 -1
  67. package/dist/esm/api/transactionSubmission/management.d.mts +8 -8
  68. package/dist/esm/api/transactionSubmission/management.mjs +1 -1
  69. package/dist/esm/api/transactionSubmission/sign.d.mts +3 -3
  70. package/dist/esm/api/transactionSubmission/sign.mjs +1 -1
  71. package/dist/esm/api/transactionSubmission/sign.mjs.map +1 -1
  72. package/dist/esm/api/transactionSubmission/simulate.d.mts +9 -9
  73. package/dist/esm/api/transactionSubmission/simulate.mjs +1 -1
  74. package/dist/esm/api/transactionSubmission/submit.d.mts +3 -3
  75. package/dist/esm/api/transactionSubmission/submit.mjs +1 -1
  76. package/dist/esm/api/utils.mjs +1 -1
  77. package/dist/esm/bcs/index.mjs +1 -1
  78. package/dist/esm/bcs/serializable/movePrimitives.mjs +1 -1
  79. package/dist/esm/bcs/serializable/moveStructs.mjs +1 -1
  80. package/dist/esm/chunk-35CO4BP4.mjs +2 -0
  81. package/dist/esm/chunk-35CO4BP4.mjs.map +1 -0
  82. package/dist/esm/{chunk-TWETGZ3W.mjs → chunk-3EUHEZND.mjs} +2 -2
  83. package/dist/esm/{chunk-SJDHW55X.mjs → chunk-3RVAGHAA.mjs} +2 -2
  84. package/dist/esm/chunk-6KE4JZD6.mjs +2 -0
  85. package/dist/esm/chunk-6KE4JZD6.mjs.map +1 -0
  86. package/dist/esm/chunk-7YTGBTWH.mjs +2 -0
  87. package/dist/esm/chunk-7YTGBTWH.mjs.map +1 -0
  88. package/dist/esm/{chunk-752TOOCA.mjs → chunk-CWL7ZA3P.mjs} +2 -2
  89. package/dist/esm/{chunk-MFLHAVIW.mjs → chunk-EODSU3YN.mjs} +2 -2
  90. package/dist/esm/chunk-G3MHXDYA.mjs +1 -0
  91. package/dist/esm/{chunk-RDPWCN4B.mjs → chunk-KXVD52Y6.mjs} +2 -2
  92. package/dist/esm/{chunk-H4YAL2IL.mjs → chunk-LGC2JORV.mjs} +2 -2
  93. package/dist/esm/chunk-LGC2JORV.mjs.map +1 -0
  94. package/dist/esm/chunk-MIW45ADL.mjs +2 -0
  95. package/dist/esm/chunk-MIW45ADL.mjs.map +1 -0
  96. package/dist/esm/chunk-NFPNWY6Z.mjs +4 -0
  97. package/dist/esm/chunk-NFPNWY6Z.mjs.map +1 -0
  98. package/dist/esm/{chunk-KK5HUWF6.mjs → chunk-PSZYS4RG.mjs} +2 -2
  99. package/dist/esm/{chunk-GRRBXHVG.mjs → chunk-RXMLONF7.mjs} +2 -2
  100. package/dist/esm/chunk-TBY3VMMV.mjs +2 -0
  101. package/dist/esm/chunk-TBY3VMMV.mjs.map +1 -0
  102. package/dist/esm/chunk-TNWABITK.mjs +2 -0
  103. package/dist/esm/chunk-TNWABITK.mjs.map +1 -0
  104. package/dist/esm/chunk-WB26DWOY.mjs +7 -0
  105. package/dist/esm/chunk-WB26DWOY.mjs.map +1 -0
  106. package/dist/esm/chunk-X5YB74NB.mjs +2 -0
  107. package/dist/esm/{chunk-BY3XFRUM.mjs.map → chunk-X5YB74NB.mjs.map} +1 -1
  108. package/dist/esm/{chunk-IOHESHLR.mjs → chunk-XLDMPCLF.mjs} +2 -2
  109. package/dist/esm/chunk-ZELTLAUN.mjs +2 -0
  110. package/dist/esm/chunk-ZELTLAUN.mjs.map +1 -0
  111. package/dist/esm/cli/index.mjs +1 -1
  112. package/dist/esm/cli/localNode.mjs +1 -1
  113. package/dist/esm/client/core.mjs +1 -1
  114. package/dist/esm/client/get.mjs +1 -1
  115. package/dist/esm/client/index.mjs +1 -1
  116. package/dist/esm/client/post.mjs +1 -1
  117. package/dist/esm/core/account/index.mjs +1 -1
  118. package/dist/esm/core/account/utils/address.mjs +1 -1
  119. package/dist/esm/core/account/utils/index.mjs +1 -1
  120. package/dist/esm/core/accountAddress.mjs +1 -1
  121. package/dist/esm/core/authenticationKey.d.mts +3 -1
  122. package/dist/esm/core/authenticationKey.mjs +1 -1
  123. package/dist/esm/core/crypto/abstraction.d.mts +4 -1
  124. package/dist/esm/core/crypto/abstraction.mjs +1 -1
  125. package/dist/esm/core/crypto/ed25519.d.mts +18 -1
  126. package/dist/esm/core/crypto/ed25519.mjs +1 -1
  127. package/dist/esm/core/crypto/ephemeral.d.mts +8 -1
  128. package/dist/esm/core/crypto/ephemeral.mjs +1 -1
  129. package/dist/esm/core/crypto/federatedKeyless.d.mts +11 -87
  130. package/dist/esm/core/crypto/federatedKeyless.mjs +1 -1
  131. package/dist/esm/core/crypto/index.d.mts +8 -6
  132. package/dist/esm/core/crypto/index.mjs +1 -1
  133. package/dist/esm/core/crypto/keyless.d.mts +13 -586
  134. package/dist/esm/core/crypto/keyless.mjs +1 -1
  135. package/dist/esm/core/crypto/multiEd25519.d.mts +14 -4
  136. package/dist/esm/core/crypto/multiEd25519.mjs +1 -1
  137. package/dist/esm/core/crypto/multiKey.d.mts +39 -3
  138. package/dist/esm/core/crypto/multiKey.mjs +1 -1
  139. package/dist/esm/core/crypto/privateKey.d.mts +3 -1
  140. package/dist/esm/core/crypto/privateKey.mjs +1 -1
  141. package/dist/esm/core/crypto/proof.mjs +1 -1
  142. package/dist/esm/core/crypto/publicKey.d.mts +3 -1
  143. package/dist/esm/core/crypto/publicKey.mjs +1 -1
  144. package/dist/esm/core/crypto/secp256k1.d.mts +26 -2
  145. package/dist/esm/core/crypto/secp256k1.mjs +1 -1
  146. package/dist/esm/core/crypto/signature.mjs +1 -1
  147. package/dist/esm/core/crypto/singleKey.d.mts +27 -5
  148. package/dist/esm/core/crypto/singleKey.mjs +1 -1
  149. package/dist/esm/core/index.d.mts +8 -6
  150. package/dist/esm/core/index.mjs +1 -1
  151. package/dist/esm/errors/index.d.mts +10 -2
  152. package/dist/esm/errors/index.mjs +1 -1
  153. package/dist/esm/federatedKeyless-Qe_j8OqV.d.mts +875 -0
  154. package/dist/esm/index.d.mts +9 -8
  155. package/dist/esm/index.mjs +1 -1
  156. package/dist/esm/internal/abstraction.d.mts +9 -9
  157. package/dist/esm/internal/abstraction.mjs +1 -1
  158. package/dist/esm/internal/account.d.mts +46 -6
  159. package/dist/esm/internal/account.mjs +1 -1
  160. package/dist/esm/internal/ans.d.mts +13 -13
  161. package/dist/esm/internal/ans.mjs +1 -1
  162. package/dist/esm/internal/coin.d.mts +7 -7
  163. package/dist/esm/internal/coin.mjs +1 -1
  164. package/dist/esm/internal/digitalAsset.d.mts +2 -2
  165. package/dist/esm/internal/digitalAsset.mjs +1 -1
  166. package/dist/esm/internal/event.mjs +1 -1
  167. package/dist/esm/internal/experimental.d.mts +7 -7
  168. package/dist/esm/internal/experimental.mjs +1 -1
  169. package/dist/esm/internal/faucet.mjs +1 -1
  170. package/dist/esm/internal/fungibleAsset.d.mts +2 -2
  171. package/dist/esm/internal/fungibleAsset.mjs +1 -1
  172. package/dist/esm/internal/general.mjs +1 -1
  173. package/dist/esm/internal/keyless.d.mts +9 -8
  174. package/dist/esm/internal/keyless.mjs +1 -1
  175. package/dist/esm/internal/object.mjs +1 -1
  176. package/dist/esm/internal/staking.mjs +1 -1
  177. package/dist/esm/internal/table.mjs +1 -1
  178. package/dist/esm/internal/transaction.mjs +1 -1
  179. package/dist/esm/internal/transactionSubmission.d.mts +9 -28
  180. package/dist/esm/internal/transactionSubmission.mjs +1 -1
  181. package/dist/esm/internal/utils/index.d.mts +15 -0
  182. package/dist/esm/internal/utils/index.mjs +2 -0
  183. package/dist/esm/internal/utils/utils.d.mts +65 -0
  184. package/dist/esm/internal/utils/utils.mjs +2 -0
  185. package/dist/esm/internal/view.d.mts +7 -7
  186. package/dist/esm/internal/view.mjs +1 -1
  187. package/dist/esm/{publicKey-BMtGNNLg.d.mts → publicKey-pDHBAZlT.d.mts} +27 -1
  188. package/dist/esm/transactions/authenticator/account.d.mts +3 -1
  189. package/dist/esm/transactions/authenticator/account.mjs +1 -1
  190. package/dist/esm/transactions/authenticator/index.d.mts +3 -1
  191. package/dist/esm/transactions/authenticator/index.mjs +1 -1
  192. package/dist/esm/transactions/authenticator/transaction.d.mts +4 -2
  193. package/dist/esm/transactions/authenticator/transaction.mjs +1 -1
  194. package/dist/esm/transactions/index.d.mts +4 -4
  195. package/dist/esm/transactions/index.mjs +1 -1
  196. package/dist/esm/transactions/instances/index.d.mts +4 -2
  197. package/dist/esm/transactions/instances/index.mjs +1 -1
  198. package/dist/esm/transactions/instances/moduleId.mjs +1 -1
  199. package/dist/esm/transactions/instances/multiAgentTransaction.mjs +1 -1
  200. package/dist/esm/transactions/instances/rawTransaction.mjs +1 -1
  201. package/dist/esm/transactions/instances/rotationProofChallenge.d.mts +3 -1
  202. package/dist/esm/transactions/instances/rotationProofChallenge.mjs +1 -1
  203. package/dist/esm/transactions/instances/signedTransaction.d.mts +3 -1
  204. package/dist/esm/transactions/instances/signedTransaction.mjs +1 -1
  205. package/dist/esm/transactions/instances/simpleTransaction.mjs +1 -1
  206. package/dist/esm/transactions/instances/transactionPayload.mjs +1 -1
  207. package/dist/esm/transactions/management/accountSequenceNumber.d.mts +2 -2
  208. package/dist/esm/transactions/management/accountSequenceNumber.mjs +1 -1
  209. package/dist/esm/transactions/management/index.d.mts +2 -2
  210. package/dist/esm/transactions/management/index.mjs +1 -1
  211. package/dist/esm/transactions/management/transactionWorker.d.mts +3 -3
  212. package/dist/esm/transactions/management/transactionWorker.mjs +1 -1
  213. package/dist/esm/transactions/scriptComposer/index.d.mts +7 -7
  214. package/dist/esm/transactions/scriptComposer/index.mjs +1 -1
  215. package/dist/esm/transactions/transactionBuilder/helpers.d.mts +8 -8
  216. package/dist/esm/transactions/transactionBuilder/helpers.mjs +1 -1
  217. package/dist/esm/transactions/transactionBuilder/index.d.mts +8 -8
  218. package/dist/esm/transactions/transactionBuilder/index.mjs +1 -1
  219. package/dist/esm/transactions/transactionBuilder/remoteAbi.d.mts +34 -23
  220. package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs +1 -1
  221. package/dist/esm/transactions/transactionBuilder/signingMessage.d.mts +7 -7
  222. package/dist/esm/transactions/transactionBuilder/signingMessage.mjs +1 -1
  223. package/dist/esm/transactions/transactionBuilder/transactionBuilder.d.mts +8 -8
  224. package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs +1 -1
  225. package/dist/esm/transactions/typeTag/index.d.mts +16 -0
  226. package/dist/esm/transactions/typeTag/index.mjs +1 -1
  227. package/dist/esm/transactions/typeTag/parser.mjs +1 -1
  228. package/dist/esm/transactions/types.d.mts +5 -5
  229. package/dist/esm/types/index.mjs +1 -1
  230. package/dist/esm/types/keyless.d.mts +1 -1
  231. package/dist/esm/utils/helpers.d.mts +21 -1
  232. package/dist/esm/utils/helpers.mjs +1 -1
  233. package/dist/esm/utils/index.d.mts +1 -1
  234. package/dist/esm/utils/index.mjs +1 -1
  235. package/dist/esm/utils/normalizeBundle.mjs +1 -1
  236. package/dist/esm/version.d.mts +1 -1
  237. package/dist/esm/version.mjs +1 -1
  238. package/package.json +26 -25
  239. package/src/account/AbstractKeylessAccount.ts +33 -49
  240. package/src/account/MultiKeyAccount.ts +26 -18
  241. package/src/api/general.ts +2 -2
  242. package/src/api/transaction.ts +30 -9
  243. package/src/cli/localNode.ts +6 -15
  244. package/src/core/crypto/abstraction.ts +6 -1
  245. package/src/core/crypto/ed25519.ts +19 -1
  246. package/src/core/crypto/ephemeral.ts +9 -0
  247. package/src/core/crypto/federatedKeyless.ts +40 -4
  248. package/src/core/crypto/index.ts +4 -3
  249. package/src/core/crypto/keyless.ts +577 -17
  250. package/src/core/crypto/multiEd25519.ts +11 -3
  251. package/src/core/crypto/multiKey.ts +74 -4
  252. package/src/core/crypto/publicKey.ts +28 -0
  253. package/src/core/crypto/secp256k1.ts +25 -2
  254. package/src/core/crypto/singleKey.ts +32 -7
  255. package/src/errors/index.ts +50 -0
  256. package/src/internal/account.ts +201 -59
  257. package/src/internal/move/jwks/build/jwk/BuildInfo.yaml +56 -0
  258. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/account.mv +0 -0
  259. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/aggregator.mv +0 -0
  260. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/aggregator_factory.mv +0 -0
  261. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/aggregator_v2.mv +0 -0
  262. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/aptos_account.mv +0 -0
  263. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/aptos_coin.mv +0 -0
  264. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/aptos_governance.mv +0 -0
  265. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/block.mv +0 -0
  266. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/chain_id.mv +0 -0
  267. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/chain_status.mv +0 -0
  268. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/code.mv +0 -0
  269. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/coin.mv +0 -0
  270. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/config_buffer.mv +0 -0
  271. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/consensus_config.mv +0 -0
  272. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/create_signer.mv +0 -0
  273. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/delegation_pool.mv +0 -0
  274. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/dispatchable_fungible_asset.mv +0 -0
  275. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/dkg.mv +0 -0
  276. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/event.mv +0 -0
  277. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/execution_config.mv +0 -0
  278. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/function_info.mv +0 -0
  279. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/fungible_asset.mv +0 -0
  280. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/gas_schedule.mv +0 -0
  281. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/genesis.mv +0 -0
  282. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/governance_proposal.mv +0 -0
  283. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/guid.mv +0 -0
  284. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/jwk_consensus_config.mv +0 -0
  285. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/jwks.mv +0 -0
  286. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/keyless_account.mv +0 -0
  287. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/managed_coin.mv +0 -0
  288. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/multisig_account.mv +0 -0
  289. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/object.mv +0 -0
  290. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/object_code_deployment.mv +0 -0
  291. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/optional_aggregator.mv +0 -0
  292. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/primary_fungible_store.mv +0 -0
  293. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/randomness.mv +0 -0
  294. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/randomness_api_v0_config.mv +0 -0
  295. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/randomness_config.mv +0 -0
  296. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/randomness_config_seqnum.mv +0 -0
  297. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/reconfiguration.mv +0 -0
  298. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/reconfiguration_state.mv +0 -0
  299. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/reconfiguration_with_dkg.mv +0 -0
  300. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/resource_account.mv +0 -0
  301. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/stake.mv +0 -0
  302. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/staking_config.mv +0 -0
  303. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/staking_contract.mv +0 -0
  304. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/staking_proxy.mv +0 -0
  305. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/state_storage.mv +0 -0
  306. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/storage_gas.mv +0 -0
  307. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/system_addresses.mv +0 -0
  308. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/timestamp.mv +0 -0
  309. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/transaction_context.mv +0 -0
  310. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/transaction_fee.mv +0 -0
  311. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/transaction_validation.mv +0 -0
  312. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/util.mv +0 -0
  313. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/validator_consensus_info.mv +0 -0
  314. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/version.mv +0 -0
  315. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/vesting.mv +0 -0
  316. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/voting.mv +0 -0
  317. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/any.mv +0 -0
  318. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/aptos_hash.mv +0 -0
  319. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/big_vector.mv +0 -0
  320. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/bls12381.mv +0 -0
  321. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/bls12381_algebra.mv +0 -0
  322. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/bn254_algebra.mv +0 -0
  323. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/capability.mv +0 -0
  324. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/comparator.mv +0 -0
  325. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/copyable_any.mv +0 -0
  326. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/crypto_algebra.mv +0 -0
  327. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/debug.mv +0 -0
  328. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/ed25519.mv +0 -0
  329. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/fixed_point64.mv +0 -0
  330. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/from_bcs.mv +0 -0
  331. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/math128.mv +0 -0
  332. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/math64.mv +0 -0
  333. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/math_fixed.mv +0 -0
  334. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/math_fixed64.mv +0 -0
  335. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/multi_ed25519.mv +0 -0
  336. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/pool_u64.mv +0 -0
  337. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/pool_u64_unbound.mv +0 -0
  338. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/ristretto255.mv +0 -0
  339. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/ristretto255_bulletproofs.mv +0 -0
  340. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/ristretto255_elgamal.mv +0 -0
  341. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/ristretto255_pedersen.mv +0 -0
  342. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/secp256k1.mv +0 -0
  343. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/simple_map.mv +0 -0
  344. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/smart_table.mv +0 -0
  345. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/smart_vector.mv +0 -0
  346. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/string_utils.mv +0 -0
  347. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/table.mv +0 -0
  348. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/table_with_length.mv +0 -0
  349. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/type_info.mv +0 -0
  350. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/acl.mv +0 -0
  351. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/bcs.mv +0 -0
  352. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/bit_vector.mv +0 -0
  353. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/error.mv +0 -0
  354. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/features.mv +0 -0
  355. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/fixed_point32.mv +0 -0
  356. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/hash.mv +0 -0
  357. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/option.mv +0 -0
  358. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/signer.mv +0 -0
  359. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/string.mv +0 -0
  360. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/vector.mv +0 -0
  361. package/src/internal/move/jwks/build/jwk/bytecode_scripts/main.mv +0 -0
  362. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/account.mvsm +0 -0
  363. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/aggregator.mvsm +0 -0
  364. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/aggregator_factory.mvsm +0 -0
  365. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/aggregator_v2.mvsm +0 -0
  366. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/aptos_account.mvsm +0 -0
  367. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/aptos_coin.mvsm +0 -0
  368. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/aptos_governance.mvsm +0 -0
  369. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/block.mvsm +0 -0
  370. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/chain_id.mvsm +0 -0
  371. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/chain_status.mvsm +0 -0
  372. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/code.mvsm +0 -0
  373. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/coin.mvsm +0 -0
  374. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/config_buffer.mvsm +0 -0
  375. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/consensus_config.mvsm +0 -0
  376. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/create_signer.mvsm +0 -0
  377. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/delegation_pool.mvsm +0 -0
  378. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/dispatchable_fungible_asset.mvsm +0 -0
  379. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/dkg.mvsm +0 -0
  380. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/event.mvsm +0 -0
  381. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/execution_config.mvsm +0 -0
  382. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/function_info.mvsm +0 -0
  383. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/fungible_asset.mvsm +0 -0
  384. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/gas_schedule.mvsm +0 -0
  385. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/genesis.mvsm +0 -0
  386. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/governance_proposal.mvsm +0 -0
  387. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/guid.mvsm +0 -0
  388. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/jwk_consensus_config.mvsm +0 -0
  389. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/jwks.mvsm +0 -0
  390. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/keyless_account.mvsm +0 -0
  391. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/managed_coin.mvsm +0 -0
  392. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/multisig_account.mvsm +0 -0
  393. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/object.mvsm +0 -0
  394. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/object_code_deployment.mvsm +0 -0
  395. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/optional_aggregator.mvsm +0 -0
  396. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/primary_fungible_store.mvsm +0 -0
  397. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/randomness.mvsm +0 -0
  398. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/randomness_api_v0_config.mvsm +0 -0
  399. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/randomness_config.mvsm +0 -0
  400. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/randomness_config_seqnum.mvsm +0 -0
  401. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/reconfiguration.mvsm +0 -0
  402. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/reconfiguration_state.mvsm +0 -0
  403. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/reconfiguration_with_dkg.mvsm +0 -0
  404. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/resource_account.mvsm +0 -0
  405. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/stake.mvsm +0 -0
  406. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/staking_config.mvsm +0 -0
  407. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/staking_contract.mvsm +0 -0
  408. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/staking_proxy.mvsm +0 -0
  409. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/state_storage.mvsm +0 -0
  410. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/storage_gas.mvsm +0 -0
  411. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/system_addresses.mvsm +0 -0
  412. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/timestamp.mvsm +0 -0
  413. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/transaction_context.mvsm +0 -0
  414. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/transaction_fee.mvsm +0 -0
  415. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/transaction_validation.mvsm +0 -0
  416. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/util.mvsm +0 -0
  417. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/validator_consensus_info.mvsm +0 -0
  418. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/version.mvsm +0 -0
  419. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/vesting.mvsm +0 -0
  420. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/voting.mvsm +0 -0
  421. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/any.mvsm +0 -0
  422. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/aptos_hash.mvsm +0 -0
  423. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/big_vector.mvsm +0 -0
  424. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/bls12381.mvsm +0 -0
  425. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/bls12381_algebra.mvsm +0 -0
  426. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/bn254_algebra.mvsm +0 -0
  427. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/capability.mvsm +0 -0
  428. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/comparator.mvsm +0 -0
  429. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/copyable_any.mvsm +0 -0
  430. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/crypto_algebra.mvsm +0 -0
  431. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/debug.mvsm +0 -0
  432. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/ed25519.mvsm +0 -0
  433. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/fixed_point64.mvsm +0 -0
  434. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/from_bcs.mvsm +0 -0
  435. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/math128.mvsm +0 -0
  436. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/math64.mvsm +0 -0
  437. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/math_fixed.mvsm +0 -0
  438. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/math_fixed64.mvsm +0 -0
  439. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/multi_ed25519.mvsm +0 -0
  440. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/pool_u64.mvsm +0 -0
  441. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/pool_u64_unbound.mvsm +0 -0
  442. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/ristretto255.mvsm +0 -0
  443. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/ristretto255_bulletproofs.mvsm +0 -0
  444. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/ristretto255_elgamal.mvsm +0 -0
  445. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/ristretto255_pedersen.mvsm +0 -0
  446. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/secp256k1.mvsm +0 -0
  447. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/simple_map.mvsm +0 -0
  448. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/smart_table.mvsm +0 -0
  449. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/smart_vector.mvsm +0 -0
  450. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/string_utils.mvsm +0 -0
  451. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/table.mvsm +0 -0
  452. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/table_with_length.mvsm +0 -0
  453. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/type_info.mvsm +0 -0
  454. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/acl.mvsm +0 -0
  455. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/bcs.mvsm +0 -0
  456. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/bit_vector.mvsm +0 -0
  457. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/error.mvsm +0 -0
  458. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/features.mvsm +0 -0
  459. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/fixed_point32.mvsm +0 -0
  460. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/hash.mvsm +0 -0
  461. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/option.mvsm +0 -0
  462. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/signer.mvsm +0 -0
  463. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/string.mvsm +0 -0
  464. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/vector.mvsm +0 -0
  465. package/src/internal/move/jwks/build/jwk/source_maps/main.mvsm +0 -0
  466. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/account.move +1533 -0
  467. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aggregator.move +48 -0
  468. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aggregator_factory.move +66 -0
  469. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aggregator_v2.move +280 -0
  470. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aptos_account.move +443 -0
  471. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aptos_coin.move +204 -0
  472. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aptos_governance.move +1387 -0
  473. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/block.move +394 -0
  474. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/chain_id.move +41 -0
  475. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/chain_status.move +48 -0
  476. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/code.move +367 -0
  477. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/coin.move +2214 -0
  478. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/config_buffer.move +101 -0
  479. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/consensus_config.move +77 -0
  480. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/create_signer.move +21 -0
  481. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/delegation_pool.move +5568 -0
  482. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/dispatchable_fungible_asset.move +228 -0
  483. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/dkg.move +121 -0
  484. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/event.move +92 -0
  485. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/execution_config.move +66 -0
  486. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/function_info.move +100 -0
  487. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/fungible_asset.move +1566 -0
  488. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/gas_schedule.move +176 -0
  489. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/genesis.move +550 -0
  490. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/governance_proposal.move +23 -0
  491. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/guid.move +68 -0
  492. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/jwk_consensus_config.move +148 -0
  493. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/jwks.move +817 -0
  494. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/keyless_account.move +312 -0
  495. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/managed_coin.move +205 -0
  496. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/multisig_account.move +2477 -0
  497. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/object.move +1073 -0
  498. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/object_code_deployment.move +147 -0
  499. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/optional_aggregator.move +295 -0
  500. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/primary_fungible_store.move +405 -0
  501. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/randomness.move +574 -0
  502. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/randomness_api_v0_config.move +57 -0
  503. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/randomness_config.move +153 -0
  504. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/randomness_config_seqnum.move +49 -0
  505. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/reconfiguration.move +237 -0
  506. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/reconfiguration_state.move +132 -0
  507. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/reconfiguration_with_dkg.move +69 -0
  508. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/resource_account.move +267 -0
  509. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/stake.move +3286 -0
  510. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/staking_config.move +686 -0
  511. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/staking_contract.move +1618 -0
  512. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/staking_proxy.move +228 -0
  513. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/state_storage.move +90 -0
  514. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/storage_gas.move +622 -0
  515. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/system_addresses.move +82 -0
  516. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/timestamp.move +88 -0
  517. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/transaction_context.move +262 -0
  518. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/transaction_fee.move +457 -0
  519. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/transaction_validation.move +501 -0
  520. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/util.move +16 -0
  521. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/validator_consensus_info.move +42 -0
  522. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/version.move +115 -0
  523. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/vesting.move +2183 -0
  524. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/voting.move +1279 -0
  525. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/any.move +57 -0
  526. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/aptos_hash.move +253 -0
  527. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/big_vector.move +469 -0
  528. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/bls12381.move +985 -0
  529. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/bls12381_algebra.move +802 -0
  530. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/bn254_algebra.move +855 -0
  531. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/capability.move +193 -0
  532. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/comparator.move +173 -0
  533. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/copyable_any.move +45 -0
  534. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/crypto_algebra.move +351 -0
  535. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/debug.move +278 -0
  536. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/ed25519.move +262 -0
  537. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/fixed_point64.move +447 -0
  538. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/from_bcs.move +91 -0
  539. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/math128.move +381 -0
  540. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/math64.move +336 -0
  541. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/math_fixed.move +139 -0
  542. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/math_fixed64.move +142 -0
  543. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/multi_ed25519.move +482 -0
  544. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/pool_u64.move +571 -0
  545. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/pool_u64_unbound.move +270 -0
  546. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/ristretto255.move +1310 -0
  547. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/ristretto255_bulletproofs.move +253 -0
  548. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/ristretto255_elgamal.move +234 -0
  549. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/ristretto255_pedersen.move +158 -0
  550. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/secp256k1.move +114 -0
  551. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/simple_map.move +319 -0
  552. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/smart_table.move +769 -0
  553. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/smart_vector.move +766 -0
  554. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/string_utils.move +148 -0
  555. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/table.move +152 -0
  556. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/table_with_length.move +141 -0
  557. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/type_info.move +351 -0
  558. package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/acl.move +46 -0
  559. package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/bcs.move +27 -0
  560. package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/bit_vector.move +239 -0
  561. package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/error.move +88 -0
  562. package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/features.move +780 -0
  563. package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/fixed_point32.move +295 -0
  564. package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/hash.move +8 -0
  565. package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/option.move +356 -0
  566. package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/signer.move +21 -0
  567. package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/string.move +93 -0
  568. package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/vector.move +669 -0
  569. package/src/internal/move/jwks/build/jwk/sources/main.move +20 -0
  570. package/src/internal/transactionSubmission.ts +4 -81
  571. package/src/internal/utils/index.ts +4 -0
  572. package/src/internal/utils/utils.ts +116 -0
  573. package/src/transactions/scriptComposer/index.ts +22 -7
  574. package/src/transactions/transactionBuilder/remoteAbi.ts +106 -34
  575. package/src/transactions/transactionBuilder/transactionBuilder.ts +7 -2
  576. package/src/transactions/typeTag/index.ts +22 -0
  577. package/src/types/keyless.ts +1 -1
  578. package/src/utils/helpers.ts +33 -0
  579. package/src/version.ts +1 -1
  580. package/dist/common/chunk-RX5UBAME.js.map +0 -1
  581. package/dist/esm/chunk-27ESCVVC.mjs +0 -2
  582. package/dist/esm/chunk-27ESCVVC.mjs.map +0 -1
  583. package/dist/esm/chunk-2SAYQUUX.mjs +0 -2
  584. package/dist/esm/chunk-2SAYQUUX.mjs.map +0 -1
  585. package/dist/esm/chunk-2TRQERBL.mjs +0 -2
  586. package/dist/esm/chunk-2TRQERBL.mjs.map +0 -1
  587. package/dist/esm/chunk-2YKERRHD.mjs +0 -2
  588. package/dist/esm/chunk-2YKERRHD.mjs.map +0 -1
  589. package/dist/esm/chunk-2ZLFQBT2.mjs +0 -2
  590. package/dist/esm/chunk-2ZLFQBT2.mjs.map +0 -1
  591. package/dist/esm/chunk-3LDVJ2YK.mjs +0 -2
  592. package/dist/esm/chunk-3LDVJ2YK.mjs.map +0 -1
  593. package/dist/esm/chunk-44EHAKKW.mjs +0 -2
  594. package/dist/esm/chunk-44EHAKKW.mjs.map +0 -1
  595. package/dist/esm/chunk-4NMDYPUD.mjs +0 -1
  596. package/dist/esm/chunk-53IBOHXB.mjs +0 -2
  597. package/dist/esm/chunk-53IBOHXB.mjs.map +0 -1
  598. package/dist/esm/chunk-5H5D6QVX.mjs +0 -2
  599. package/dist/esm/chunk-5H5D6QVX.mjs.map +0 -1
  600. package/dist/esm/chunk-5W2ERBGY.mjs +0 -2
  601. package/dist/esm/chunk-5W2ERBGY.mjs.map +0 -1
  602. package/dist/esm/chunk-67A5U2X6.mjs +0 -2
  603. package/dist/esm/chunk-67A5U2X6.mjs.map +0 -1
  604. package/dist/esm/chunk-6IJZRG3U.mjs +0 -2
  605. package/dist/esm/chunk-6IJZRG3U.mjs.map +0 -1
  606. package/dist/esm/chunk-6KZT3KFZ.mjs +0 -2
  607. package/dist/esm/chunk-6KZT3KFZ.mjs.map +0 -1
  608. package/dist/esm/chunk-7A2KHJ3D.mjs +0 -2
  609. package/dist/esm/chunk-7A2KHJ3D.mjs.map +0 -1
  610. package/dist/esm/chunk-7OUPEQRN.mjs +0 -2
  611. package/dist/esm/chunk-7OUPEQRN.mjs.map +0 -1
  612. package/dist/esm/chunk-AQWKKSRN.mjs +0 -2
  613. package/dist/esm/chunk-AQWKKSRN.mjs.map +0 -1
  614. package/dist/esm/chunk-B23VO5TB.mjs +0 -2
  615. package/dist/esm/chunk-B23VO5TB.mjs.map +0 -1
  616. package/dist/esm/chunk-BHVSIRNF.mjs +0 -2
  617. package/dist/esm/chunk-BHVSIRNF.mjs.map +0 -1
  618. package/dist/esm/chunk-BPHCRTHD.mjs +0 -2
  619. package/dist/esm/chunk-BPHCRTHD.mjs.map +0 -1
  620. package/dist/esm/chunk-BQYKFATL.mjs +0 -2
  621. package/dist/esm/chunk-BQYKFATL.mjs.map +0 -1
  622. package/dist/esm/chunk-BSCOVLWS.mjs +0 -1
  623. package/dist/esm/chunk-BY3XFRUM.mjs +0 -2
  624. package/dist/esm/chunk-CGTMSLVZ.mjs +0 -2
  625. package/dist/esm/chunk-CGTMSLVZ.mjs.map +0 -1
  626. package/dist/esm/chunk-CPAAEEF4.mjs +0 -2
  627. package/dist/esm/chunk-CPAAEEF4.mjs.map +0 -1
  628. package/dist/esm/chunk-CPFQUFVD.mjs +0 -2
  629. package/dist/esm/chunk-CPFQUFVD.mjs.map +0 -1
  630. package/dist/esm/chunk-CXLNTATW.mjs +0 -2
  631. package/dist/esm/chunk-CXLNTATW.mjs.map +0 -1
  632. package/dist/esm/chunk-DAJFOJ3L.mjs +0 -2
  633. package/dist/esm/chunk-DAJFOJ3L.mjs.map +0 -1
  634. package/dist/esm/chunk-E5PAUR4N.mjs +0 -2
  635. package/dist/esm/chunk-E5PAUR4N.mjs.map +0 -1
  636. package/dist/esm/chunk-E7FWVXGX.mjs +0 -1
  637. package/dist/esm/chunk-EGCL6KA6.mjs +0 -2
  638. package/dist/esm/chunk-EGCL6KA6.mjs.map +0 -1
  639. package/dist/esm/chunk-FJ5J7CVW.mjs +0 -2
  640. package/dist/esm/chunk-FJ5J7CVW.mjs.map +0 -1
  641. package/dist/esm/chunk-FOEPRHAC.mjs +0 -2
  642. package/dist/esm/chunk-FOEPRHAC.mjs.map +0 -1
  643. package/dist/esm/chunk-G5F5ZOH5.mjs +0 -2
  644. package/dist/esm/chunk-G5F5ZOH5.mjs.map +0 -1
  645. package/dist/esm/chunk-GFPEB22G.mjs +0 -1
  646. package/dist/esm/chunk-GFPEB22G.mjs.map +0 -1
  647. package/dist/esm/chunk-GI4AR6DQ.mjs +0 -2
  648. package/dist/esm/chunk-GI4AR6DQ.mjs.map +0 -1
  649. package/dist/esm/chunk-GTVMJJQQ.mjs +0 -2
  650. package/dist/esm/chunk-GTVMJJQQ.mjs.map +0 -1
  651. package/dist/esm/chunk-GU4MD5ST.mjs +0 -2
  652. package/dist/esm/chunk-GU4MD5ST.mjs.map +0 -1
  653. package/dist/esm/chunk-H4YAL2IL.mjs.map +0 -1
  654. package/dist/esm/chunk-HBTJN4RJ.mjs +0 -2
  655. package/dist/esm/chunk-HBTJN4RJ.mjs.map +0 -1
  656. package/dist/esm/chunk-HEZ2ZYZA.mjs +0 -1
  657. package/dist/esm/chunk-HEZ2ZYZA.mjs.map +0 -1
  658. package/dist/esm/chunk-HKL4MFNL.mjs +0 -2
  659. package/dist/esm/chunk-HKL4MFNL.mjs.map +0 -1
  660. package/dist/esm/chunk-HVIF6DW6.mjs +0 -2
  661. package/dist/esm/chunk-HVIF6DW6.mjs.map +0 -1
  662. package/dist/esm/chunk-HYJQHVDZ.mjs +0 -2
  663. package/dist/esm/chunk-HYJQHVDZ.mjs.map +0 -1
  664. package/dist/esm/chunk-IHYTP2EW.mjs +0 -1
  665. package/dist/esm/chunk-IHYTP2EW.mjs.map +0 -1
  666. package/dist/esm/chunk-ILUFGYLO.mjs +0 -2
  667. package/dist/esm/chunk-ILUFGYLO.mjs.map +0 -1
  668. package/dist/esm/chunk-IMYNN4TW.mjs +0 -2
  669. package/dist/esm/chunk-IMYNN4TW.mjs.map +0 -1
  670. package/dist/esm/chunk-JNNFNYDO.mjs +0 -2
  671. package/dist/esm/chunk-JNNFNYDO.mjs.map +0 -1
  672. package/dist/esm/chunk-JXCZTOYC.mjs +0 -1
  673. package/dist/esm/chunk-JXCZTOYC.mjs.map +0 -1
  674. package/dist/esm/chunk-K233I26C.mjs +0 -2
  675. package/dist/esm/chunk-K233I26C.mjs.map +0 -1
  676. package/dist/esm/chunk-L6KVC7CJ.mjs +0 -2
  677. package/dist/esm/chunk-L6KVC7CJ.mjs.map +0 -1
  678. package/dist/esm/chunk-MAWGZICD.mjs +0 -2
  679. package/dist/esm/chunk-MAWGZICD.mjs.map +0 -1
  680. package/dist/esm/chunk-OLGEN23M.mjs +0 -2
  681. package/dist/esm/chunk-OLGEN23M.mjs.map +0 -1
  682. package/dist/esm/chunk-ONGH5DXZ.mjs +0 -2
  683. package/dist/esm/chunk-ONGH5DXZ.mjs.map +0 -1
  684. package/dist/esm/chunk-OPD5EKOA.mjs +0 -2
  685. package/dist/esm/chunk-OPD5EKOA.mjs.map +0 -1
  686. package/dist/esm/chunk-P5CM4C2G.mjs +0 -2
  687. package/dist/esm/chunk-P5CM4C2G.mjs.map +0 -1
  688. package/dist/esm/chunk-PC25RPDV.mjs +0 -2
  689. package/dist/esm/chunk-PC25RPDV.mjs.map +0 -1
  690. package/dist/esm/chunk-PIPDQFL2.mjs +0 -2
  691. package/dist/esm/chunk-PIPDQFL2.mjs.map +0 -1
  692. package/dist/esm/chunk-PWGTRRSJ.mjs +0 -2
  693. package/dist/esm/chunk-PWGTRRSJ.mjs.map +0 -1
  694. package/dist/esm/chunk-PYY2RXFP.mjs +0 -2
  695. package/dist/esm/chunk-PYY2RXFP.mjs.map +0 -1
  696. package/dist/esm/chunk-QUJM5W4L.mjs +0 -2
  697. package/dist/esm/chunk-QUJM5W4L.mjs.map +0 -1
  698. package/dist/esm/chunk-QYJKCRVA.mjs +0 -2
  699. package/dist/esm/chunk-QYJKCRVA.mjs.map +0 -1
  700. package/dist/esm/chunk-RMMOF53Q.mjs +0 -1
  701. package/dist/esm/chunk-RMMOF53Q.mjs.map +0 -1
  702. package/dist/esm/chunk-T7X4GZDU.mjs +0 -2
  703. package/dist/esm/chunk-T7X4GZDU.mjs.map +0 -1
  704. package/dist/esm/chunk-TH5JCPN2.mjs +0 -7
  705. package/dist/esm/chunk-TH5JCPN2.mjs.map +0 -1
  706. package/dist/esm/chunk-U4DEYWFT.mjs +0 -2
  707. package/dist/esm/chunk-U4DEYWFT.mjs.map +0 -1
  708. package/dist/esm/chunk-UIRAXHDH.mjs +0 -1
  709. package/dist/esm/chunk-UIRAXHDH.mjs.map +0 -1
  710. package/dist/esm/chunk-UJJGIPOA.mjs +0 -2
  711. package/dist/esm/chunk-UJJGIPOA.mjs.map +0 -1
  712. package/dist/esm/chunk-US2HZFOM.mjs +0 -2
  713. package/dist/esm/chunk-US2HZFOM.mjs.map +0 -1
  714. package/dist/esm/chunk-VDYUMBOT.mjs +0 -2
  715. package/dist/esm/chunk-VDYUMBOT.mjs.map +0 -1
  716. package/dist/esm/chunk-VWZEJTGP.mjs +0 -4
  717. package/dist/esm/chunk-VWZEJTGP.mjs.map +0 -1
  718. package/dist/esm/chunk-W2C5KRUQ.mjs +0 -2
  719. package/dist/esm/chunk-W2C5KRUQ.mjs.map +0 -1
  720. package/dist/esm/chunk-W4SMZ6IW.mjs +0 -2
  721. package/dist/esm/chunk-W4SMZ6IW.mjs.map +0 -1
  722. package/dist/esm/chunk-WFKPVKU3.mjs +0 -2
  723. package/dist/esm/chunk-WFKPVKU3.mjs.map +0 -1
  724. package/dist/esm/chunk-WHVCUVZP.mjs +0 -2
  725. package/dist/esm/chunk-WHVCUVZP.mjs.map +0 -1
  726. package/dist/esm/chunk-WLDYBSOG.mjs +0 -2
  727. package/dist/esm/chunk-WLDYBSOG.mjs.map +0 -1
  728. package/dist/esm/chunk-XRVZAEQO.mjs +0 -2
  729. package/dist/esm/chunk-XRVZAEQO.mjs.map +0 -1
  730. package/dist/esm/chunk-XSBUL2WP.mjs +0 -2
  731. package/dist/esm/chunk-XSBUL2WP.mjs.map +0 -1
  732. package/dist/esm/chunk-XW3BXTCZ.mjs +0 -2
  733. package/dist/esm/chunk-XW3BXTCZ.mjs.map +0 -1
  734. package/dist/esm/chunk-Y65PKZLK.mjs +0 -2
  735. package/dist/esm/chunk-Y65PKZLK.mjs.map +0 -1
  736. package/dist/esm/chunk-YAGIE4GN.mjs +0 -2
  737. package/dist/esm/chunk-YAGIE4GN.mjs.map +0 -1
  738. package/dist/esm/chunk-YLUULY6G.mjs +0 -2
  739. package/dist/esm/chunk-YLUULY6G.mjs.map +0 -1
  740. package/dist/esm/chunk-YWSDONJJ.mjs +0 -2
  741. package/dist/esm/chunk-YWSDONJJ.mjs.map +0 -1
  742. package/dist/esm/chunk-YXYYII5S.mjs +0 -2
  743. package/dist/esm/chunk-YXYYII5S.mjs.map +0 -1
  744. package/dist/esm/chunk-ZS2IVRHT.mjs +0 -2
  745. package/dist/esm/chunk-ZS2IVRHT.mjs.map +0 -1
  746. /package/dist/esm/{chunk-TWETGZ3W.mjs.map → chunk-3EUHEZND.mjs.map} +0 -0
  747. /package/dist/esm/{chunk-SJDHW55X.mjs.map → chunk-3RVAGHAA.mjs.map} +0 -0
  748. /package/dist/esm/{chunk-752TOOCA.mjs.map → chunk-CWL7ZA3P.mjs.map} +0 -0
  749. /package/dist/esm/{chunk-MFLHAVIW.mjs.map → chunk-EODSU3YN.mjs.map} +0 -0
  750. /package/dist/esm/{chunk-4NMDYPUD.mjs.map → chunk-G3MHXDYA.mjs.map} +0 -0
  751. /package/dist/esm/{chunk-RDPWCN4B.mjs.map → chunk-KXVD52Y6.mjs.map} +0 -0
  752. /package/dist/esm/{chunk-KK5HUWF6.mjs.map → chunk-PSZYS4RG.mjs.map} +0 -0
  753. /package/dist/esm/{chunk-GRRBXHVG.mjs.map → chunk-RXMLONF7.mjs.map} +0 -0
  754. /package/dist/esm/{chunk-IOHESHLR.mjs.map → chunk-XLDMPCLF.mjs.map} +0 -0
  755. /package/dist/esm/{chunk-BSCOVLWS.mjs.map → internal/utils/index.mjs.map} +0 -0
  756. /package/dist/esm/{chunk-E7FWVXGX.mjs.map → internal/utils/utils.mjs.map} +0 -0
@@ -1,8 +1,8 @@
1
1
  import { AccountAddressInput } from '../../core/accountAddress.mjs';
2
+ import { InputGenerateTransactionPayloadData, InputGenerateTransactionOptions } from '../../transactions/types.mjs';
2
3
  import { AptosConfig } from '../aptosConfig.mjs';
3
4
  import { SimpleTransaction } from '../../transactions/instances/simpleTransaction.mjs';
4
5
  import { MultiAgentTransaction } from '../../transactions/instances/multiAgentTransaction.mjs';
5
- import { InputGenerateTransactionPayloadData, InputGenerateTransactionOptions } from '../../transactions/types.mjs';
6
6
  import { AptosScriptComposer } from '../../transactions/scriptComposer/index.mjs';
7
7
  import '../../bcs/serializer.mjs';
8
8
  import '../../core/hex.mjs';
@@ -15,25 +15,25 @@ import '../../utils/apiEndpoints.mjs';
15
15
  import '@aptos-labs/script-composer-pack';
16
16
  import '../../bcs/deserializer.mjs';
17
17
  import '../../transactions/instances/transactionArgument.mjs';
18
- import '../../utils/const.mjs';
19
- import '../../transactions/instances/rawTransaction.mjs';
20
- import '../../transactions/instances/chainId.mjs';
21
- import '../../transactions/instances/transactionPayload.mjs';
22
- import '../../transactions/instances/identifier.mjs';
23
- import '../../transactions/instances/moduleId.mjs';
24
- import '../../transactions/typeTag/index.mjs';
25
18
  import '../../bcs/serializable/moveStructs.mjs';
26
19
  import '../../bcs/serializable/movePrimitives.mjs';
27
20
  import '../../bcs/serializable/fixedBytes.mjs';
28
- import '../../publicKey-BMtGNNLg.mjs';
21
+ import '../../publicKey-pDHBAZlT.mjs';
29
22
  import '../../core/crypto/signature.mjs';
30
23
  import '../../transactions/authenticator/account.mjs';
31
24
  import '../../core/crypto/ed25519.mjs';
32
25
  import '../../core/crypto/privateKey.mjs';
26
+ import '../../utils/const.mjs';
33
27
  import '../../core/crypto/multiEd25519.mjs';
34
28
  import '../../core/crypto/multiKey.mjs';
35
29
  import '../../core/crypto/singleKey.mjs';
36
30
  import '../../core/crypto/secp256k1.mjs';
31
+ import '../../transactions/instances/rawTransaction.mjs';
32
+ import '../../transactions/instances/chainId.mjs';
33
+ import '../../transactions/instances/transactionPayload.mjs';
34
+ import '../../transactions/instances/identifier.mjs';
35
+ import '../../transactions/instances/moduleId.mjs';
36
+ import '../../transactions/typeTag/index.mjs';
37
37
 
38
38
  /**
39
39
  * A class to handle all `Build` transaction operations.
@@ -1,2 +1,2 @@
1
- import{a}from"../../chunk-OLGEN23M.mjs";import"../../chunk-53IBOHXB.mjs";import"../../chunk-UIRAXHDH.mjs";import"../../chunk-FJ5J7CVW.mjs";import"../../chunk-JXCZTOYC.mjs";import"../../chunk-PIPDQFL2.mjs";import"../../chunk-XRVZAEQO.mjs";import"../../chunk-GI4AR6DQ.mjs";import"../../chunk-IMYNN4TW.mjs";import"../../chunk-BSCOVLWS.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-W2C5KRUQ.mjs";import"../../chunk-RDPWCN4B.mjs";import"../../chunk-GRRBXHVG.mjs";import"../../chunk-KK5HUWF6.mjs";import"../../chunk-VHNX2NUR.mjs";import"../../chunk-GFPEB22G.mjs";import"../../chunk-2SAYQUUX.mjs";import"../../chunk-OPD5EKOA.mjs";import"../../chunk-CGTMSLVZ.mjs";import"../../chunk-2YKERRHD.mjs";import"../../chunk-W4SMZ6IW.mjs";import"../../chunk-CPFQUFVD.mjs";import"../../chunk-YLUULY6G.mjs";import"../../chunk-HYJQHVDZ.mjs";import"../../chunk-ILUFGYLO.mjs";import"../../chunk-CPAAEEF4.mjs";import"../../chunk-WHVCUVZP.mjs";import"../../chunk-MAWGZICD.mjs";import"../../chunk-P5CM4C2G.mjs";import"../../chunk-4NMDYPUD.mjs";import"../../chunk-ONGH5DXZ.mjs";import"../../chunk-AEGA5N2W.mjs";import"../../chunk-YWSDONJJ.mjs";import"../../chunk-T7X4GZDU.mjs";import"../../chunk-27ESCVVC.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-44EHAKKW.mjs";import"../../chunk-5W2ERBGY.mjs";import"../../chunk-LS3IDL2N.mjs";import"../../chunk-6KZT3KFZ.mjs";import"../../chunk-PDAWVDI7.mjs";import"../../chunk-BQYKFATL.mjs";import"../../chunk-BPHCRTHD.mjs";import"../../chunk-IMTC3J2M.mjs";import"../../chunk-E7FWVXGX.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-AIPHJFJL.mjs";import"../../chunk-5H5D6QVX.mjs";import"../../chunk-HEZ2ZYZA.mjs";import"../../chunk-WFKPVKU3.mjs";import"../../chunk-QUJM5W4L.mjs";import"../../chunk-2TRQERBL.mjs";import"../../chunk-JNNFNYDO.mjs";import"../../chunk-XW3BXTCZ.mjs";import"../../chunk-HVIF6DW6.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-2V636AYW.mjs";import"../../chunk-PWGTRRSJ.mjs";import"../../chunk-7OUPEQRN.mjs";import"../../chunk-DOVH6HPL.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-7CRQNXR5.mjs";import"../../chunk-H4YAL2IL.mjs";import"../../chunk-A3VO773Q.mjs";import"../../chunk-TTY5GFMN.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-SJDHW55X.mjs";import"../../chunk-752TOOCA.mjs";import"../../chunk-TWETGZ3W.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-BMPHQ3E7.mjs";import"../../chunk-TH5JCPN2.mjs";import"../../chunk-4RXKALLC.mjs";import"../../chunk-RJ7F4JDV.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-ERLDXTIY.mjs";import"../../chunk-RIINVEZA.mjs";import"../../chunk-HHWJHOFZ.mjs";import"../../chunk-TKXEVD7A.mjs";import"../../chunk-ZD2TY5N3.mjs";import"../../chunk-BHVSIRNF.mjs";import"../../chunk-LQOSHBB7.mjs";import"../../chunk-3OLFJ65O.mjs";import"../../chunk-R6QCPXQG.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-RXHER6EA.mjs";import"../../chunk-VHY6ZATX.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-BY3XFRUM.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as Build};
1
+ import{Fd as a}from"../../chunk-NFPNWY6Z.mjs";import"../../chunk-G3MHXDYA.mjs";import"../../chunk-TNWABITK.mjs";import"../../chunk-AEGA5N2W.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-LS3IDL2N.mjs";import"../../chunk-PDAWVDI7.mjs";import"../../chunk-MIW45ADL.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-2V636AYW.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-AIPHJFJL.mjs";import"../../chunk-TBY3VMMV.mjs";import"../../chunk-7YTGBTWH.mjs";import"../../chunk-6KE4JZD6.mjs";import"../../chunk-DOVH6HPL.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-7CRQNXR5.mjs";import"../../chunk-LGC2JORV.mjs";import"../../chunk-A3VO773Q.mjs";import"../../chunk-W4BSN6SK.mjs";import"../../chunk-IMTC3J2M.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-TTY5GFMN.mjs";import"../../chunk-XLDMPCLF.mjs";import"../../chunk-KXVD52Y6.mjs";import"../../chunk-EODSU3YN.mjs";import"../../chunk-RXMLONF7.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-PSZYS4RG.mjs";import"../../chunk-VHNX2NUR.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-CWL7ZA3P.mjs";import"../../chunk-3RVAGHAA.mjs";import"../../chunk-3EUHEZND.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-BMPHQ3E7.mjs";import"../../chunk-WB26DWOY.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-HHWJHOFZ.mjs";import"../../chunk-TKXEVD7A.mjs";import"../../chunk-ERLDXTIY.mjs";import"../../chunk-RIINVEZA.mjs";import"../../chunk-ZD2TY5N3.mjs";import"../../chunk-ZELTLAUN.mjs";import"../../chunk-LQOSHBB7.mjs";import"../../chunk-3OLFJ65O.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-R6QCPXQG.mjs";import"../../chunk-RXHER6EA.mjs";import"../../chunk-VHY6ZATX.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KSLLV3ZC.mjs";import"../../chunk-4RXKALLC.mjs";import"../../chunk-RJ7F4JDV.mjs";import"../../chunk-X5YB74NB.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as Build};
2
2
  //# sourceMappingURL=build.mjs.map
@@ -1,7 +1,7 @@
1
1
  import EventEmitter from 'eventemitter3';
2
2
  import { AptosConfig } from '../aptosConfig.mjs';
3
- import { A as Account } from '../../Ed25519Account-D4j3_WIS.mjs';
4
3
  import { InputGenerateTransactionPayloadData, InputGenerateTransactionOptions } from '../../transactions/types.mjs';
4
+ import { A as Account } from '../../Ed25519Account-6KGApCPu.mjs';
5
5
  import { TransactionWorkerEvents, TransactionWorker } from '../../transactions/management/transactionWorker.mjs';
6
6
  import '../../types/types.mjs';
7
7
  import '../../types/indexer.mjs';
@@ -10,24 +10,24 @@ import '../../types/generated/types.mjs';
10
10
  import '../../utils/apiEndpoints.mjs';
11
11
  import '@aptos-labs/script-composer-pack';
12
12
  import '../../utils/const.mjs';
13
- import '../../transactions/authenticator/account.mjs';
13
+ import '../../bcs/serializable/moveStructs.mjs';
14
+ import '../../bcs/serializable/movePrimitives.mjs';
14
15
  import '../../bcs/deserializer.mjs';
15
16
  import '../../bcs/serializer.mjs';
16
17
  import '../../core/hex.mjs';
17
18
  import '../../core/common.mjs';
18
- import '../../core/crypto/ed25519.mjs';
19
- import '../../publicKey-BMtGNNLg.mjs';
20
- import '../../core/accountAddress.mjs';
21
19
  import '../../transactions/instances/transactionArgument.mjs';
20
+ import '../../bcs/serializable/fixedBytes.mjs';
21
+ import '../../core/accountAddress.mjs';
22
+ import '../../publicKey-pDHBAZlT.mjs';
22
23
  import '../../core/crypto/signature.mjs';
24
+ import '../../transactions/authenticator/account.mjs';
25
+ import '../../core/crypto/ed25519.mjs';
23
26
  import '../../core/crypto/privateKey.mjs';
24
27
  import '../../core/crypto/multiEd25519.mjs';
25
28
  import '../../core/crypto/multiKey.mjs';
26
29
  import '../../core/crypto/singleKey.mjs';
27
30
  import '../../core/crypto/secp256k1.mjs';
28
- import '../../bcs/serializable/moveStructs.mjs';
29
- import '../../bcs/serializable/movePrimitives.mjs';
30
- import '../../bcs/serializable/fixedBytes.mjs';
31
31
  import '../../transactions/instances/rawTransaction.mjs';
32
32
  import '../../transactions/instances/chainId.mjs';
33
33
  import '../../transactions/instances/transactionPayload.mjs';
@@ -1,2 +1,2 @@
1
- import{a}from"../../chunk-B23VO5TB.mjs";import"../../chunk-IHYTP2EW.mjs";import"../../chunk-HKL4MFNL.mjs";import"../../chunk-YXYYII5S.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-53IBOHXB.mjs";import"../../chunk-UIRAXHDH.mjs";import"../../chunk-FJ5J7CVW.mjs";import"../../chunk-JXCZTOYC.mjs";import"../../chunk-PIPDQFL2.mjs";import"../../chunk-XRVZAEQO.mjs";import"../../chunk-GI4AR6DQ.mjs";import"../../chunk-IMYNN4TW.mjs";import"../../chunk-BSCOVLWS.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-W2C5KRUQ.mjs";import"../../chunk-RDPWCN4B.mjs";import"../../chunk-GRRBXHVG.mjs";import"../../chunk-KK5HUWF6.mjs";import"../../chunk-VHNX2NUR.mjs";import"../../chunk-GFPEB22G.mjs";import"../../chunk-2SAYQUUX.mjs";import"../../chunk-OPD5EKOA.mjs";import"../../chunk-CGTMSLVZ.mjs";import"../../chunk-2YKERRHD.mjs";import"../../chunk-W4SMZ6IW.mjs";import"../../chunk-CPFQUFVD.mjs";import"../../chunk-YLUULY6G.mjs";import"../../chunk-HYJQHVDZ.mjs";import"../../chunk-ILUFGYLO.mjs";import"../../chunk-CPAAEEF4.mjs";import"../../chunk-WHVCUVZP.mjs";import"../../chunk-MAWGZICD.mjs";import"../../chunk-P5CM4C2G.mjs";import"../../chunk-4NMDYPUD.mjs";import"../../chunk-ONGH5DXZ.mjs";import"../../chunk-AEGA5N2W.mjs";import"../../chunk-YWSDONJJ.mjs";import"../../chunk-T7X4GZDU.mjs";import"../../chunk-27ESCVVC.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-44EHAKKW.mjs";import"../../chunk-5W2ERBGY.mjs";import"../../chunk-LS3IDL2N.mjs";import"../../chunk-6KZT3KFZ.mjs";import"../../chunk-PDAWVDI7.mjs";import"../../chunk-BQYKFATL.mjs";import"../../chunk-BPHCRTHD.mjs";import"../../chunk-IMTC3J2M.mjs";import"../../chunk-E7FWVXGX.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-AIPHJFJL.mjs";import"../../chunk-5H5D6QVX.mjs";import"../../chunk-HEZ2ZYZA.mjs";import"../../chunk-WFKPVKU3.mjs";import"../../chunk-QUJM5W4L.mjs";import"../../chunk-2TRQERBL.mjs";import"../../chunk-JNNFNYDO.mjs";import"../../chunk-XW3BXTCZ.mjs";import"../../chunk-HVIF6DW6.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-2V636AYW.mjs";import"../../chunk-PWGTRRSJ.mjs";import"../../chunk-7OUPEQRN.mjs";import"../../chunk-DOVH6HPL.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-7CRQNXR5.mjs";import"../../chunk-H4YAL2IL.mjs";import"../../chunk-A3VO773Q.mjs";import"../../chunk-TTY5GFMN.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-SJDHW55X.mjs";import"../../chunk-752TOOCA.mjs";import"../../chunk-TWETGZ3W.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-BMPHQ3E7.mjs";import"../../chunk-TH5JCPN2.mjs";import"../../chunk-4RXKALLC.mjs";import"../../chunk-RJ7F4JDV.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-ERLDXTIY.mjs";import"../../chunk-RIINVEZA.mjs";import"../../chunk-HHWJHOFZ.mjs";import"../../chunk-TKXEVD7A.mjs";import"../../chunk-ZD2TY5N3.mjs";import"../../chunk-BHVSIRNF.mjs";import"../../chunk-LQOSHBB7.mjs";import"../../chunk-3OLFJ65O.mjs";import"../../chunk-R6QCPXQG.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-RXHER6EA.mjs";import"../../chunk-VHY6ZATX.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-BY3XFRUM.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as TransactionManagement};
1
+ import{Md as a}from"../../chunk-NFPNWY6Z.mjs";import"../../chunk-G3MHXDYA.mjs";import"../../chunk-TNWABITK.mjs";import"../../chunk-AEGA5N2W.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-LS3IDL2N.mjs";import"../../chunk-PDAWVDI7.mjs";import"../../chunk-MIW45ADL.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-2V636AYW.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-AIPHJFJL.mjs";import"../../chunk-TBY3VMMV.mjs";import"../../chunk-7YTGBTWH.mjs";import"../../chunk-6KE4JZD6.mjs";import"../../chunk-DOVH6HPL.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-7CRQNXR5.mjs";import"../../chunk-LGC2JORV.mjs";import"../../chunk-A3VO773Q.mjs";import"../../chunk-W4BSN6SK.mjs";import"../../chunk-IMTC3J2M.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-TTY5GFMN.mjs";import"../../chunk-XLDMPCLF.mjs";import"../../chunk-KXVD52Y6.mjs";import"../../chunk-EODSU3YN.mjs";import"../../chunk-RXMLONF7.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-PSZYS4RG.mjs";import"../../chunk-VHNX2NUR.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-CWL7ZA3P.mjs";import"../../chunk-3RVAGHAA.mjs";import"../../chunk-3EUHEZND.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-BMPHQ3E7.mjs";import"../../chunk-WB26DWOY.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-HHWJHOFZ.mjs";import"../../chunk-TKXEVD7A.mjs";import"../../chunk-ERLDXTIY.mjs";import"../../chunk-RIINVEZA.mjs";import"../../chunk-ZD2TY5N3.mjs";import"../../chunk-ZELTLAUN.mjs";import"../../chunk-LQOSHBB7.mjs";import"../../chunk-3OLFJ65O.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-R6QCPXQG.mjs";import"../../chunk-RXHER6EA.mjs";import"../../chunk-VHY6ZATX.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KSLLV3ZC.mjs";import"../../chunk-4RXKALLC.mjs";import"../../chunk-RJ7F4JDV.mjs";import"../../chunk-X5YB74NB.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as TransactionManagement};
2
2
  //# sourceMappingURL=management.mjs.map
@@ -1,7 +1,7 @@
1
1
  import { AccountAuthenticator } from '../../transactions/authenticator/account.mjs';
2
2
  import { AptosConfig } from '../aptosConfig.mjs';
3
- import { A as Account } from '../../Ed25519Account-D4j3_WIS.mjs';
4
3
  import { AnyRawTransaction } from '../../transactions/types.mjs';
4
+ import { A as Account } from '../../Ed25519Account-6KGApCPu.mjs';
5
5
  import '../../bcs/deserializer.mjs';
6
6
  import '../../types/types.mjs';
7
7
  import '../../types/indexer.mjs';
@@ -13,16 +13,16 @@ import '../../bcs/serializer.mjs';
13
13
  import '../../core/hex.mjs';
14
14
  import '../../core/common.mjs';
15
15
  import '../../core/crypto/ed25519.mjs';
16
- import '../../publicKey-BMtGNNLg.mjs';
16
+ import '../../publicKey-pDHBAZlT.mjs';
17
17
  import '../../core/accountAddress.mjs';
18
18
  import '../../transactions/instances/transactionArgument.mjs';
19
19
  import '../../core/crypto/signature.mjs';
20
20
  import '../../core/crypto/privateKey.mjs';
21
+ import '../../utils/const.mjs';
21
22
  import '../../core/crypto/multiEd25519.mjs';
22
23
  import '../../core/crypto/multiKey.mjs';
23
24
  import '../../core/crypto/singleKey.mjs';
24
25
  import '../../core/crypto/secp256k1.mjs';
25
- import '../../utils/const.mjs';
26
26
  import '../../bcs/serializable/moveStructs.mjs';
27
27
  import '../../bcs/serializable/movePrimitives.mjs';
28
28
  import '../../bcs/serializable/fixedBytes.mjs';
@@ -1,2 +1,2 @@
1
- import{e as o}from"../../chunk-53IBOHXB.mjs";import"../../chunk-UIRAXHDH.mjs";import"../../chunk-FJ5J7CVW.mjs";import"../../chunk-JXCZTOYC.mjs";import"../../chunk-PIPDQFL2.mjs";import"../../chunk-XRVZAEQO.mjs";import"../../chunk-GI4AR6DQ.mjs";import"../../chunk-IMYNN4TW.mjs";import"../../chunk-BSCOVLWS.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-W2C5KRUQ.mjs";import"../../chunk-RDPWCN4B.mjs";import"../../chunk-GRRBXHVG.mjs";import"../../chunk-KK5HUWF6.mjs";import"../../chunk-VHNX2NUR.mjs";import"../../chunk-GFPEB22G.mjs";import"../../chunk-2SAYQUUX.mjs";import"../../chunk-OPD5EKOA.mjs";import"../../chunk-CGTMSLVZ.mjs";import"../../chunk-2YKERRHD.mjs";import"../../chunk-W4SMZ6IW.mjs";import"../../chunk-CPFQUFVD.mjs";import"../../chunk-YLUULY6G.mjs";import"../../chunk-HYJQHVDZ.mjs";import"../../chunk-ILUFGYLO.mjs";import"../../chunk-CPAAEEF4.mjs";import"../../chunk-WHVCUVZP.mjs";import"../../chunk-MAWGZICD.mjs";import"../../chunk-P5CM4C2G.mjs";import"../../chunk-4NMDYPUD.mjs";import"../../chunk-ONGH5DXZ.mjs";import"../../chunk-AEGA5N2W.mjs";import"../../chunk-YWSDONJJ.mjs";import"../../chunk-T7X4GZDU.mjs";import"../../chunk-27ESCVVC.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-44EHAKKW.mjs";import"../../chunk-5W2ERBGY.mjs";import"../../chunk-LS3IDL2N.mjs";import"../../chunk-6KZT3KFZ.mjs";import"../../chunk-PDAWVDI7.mjs";import"../../chunk-BQYKFATL.mjs";import"../../chunk-BPHCRTHD.mjs";import"../../chunk-IMTC3J2M.mjs";import"../../chunk-E7FWVXGX.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-AIPHJFJL.mjs";import"../../chunk-5H5D6QVX.mjs";import"../../chunk-HEZ2ZYZA.mjs";import"../../chunk-WFKPVKU3.mjs";import"../../chunk-QUJM5W4L.mjs";import"../../chunk-2TRQERBL.mjs";import"../../chunk-JNNFNYDO.mjs";import"../../chunk-XW3BXTCZ.mjs";import"../../chunk-HVIF6DW6.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-2V636AYW.mjs";import"../../chunk-PWGTRRSJ.mjs";import"../../chunk-7OUPEQRN.mjs";import"../../chunk-DOVH6HPL.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-7CRQNXR5.mjs";import"../../chunk-H4YAL2IL.mjs";import"../../chunk-A3VO773Q.mjs";import"../../chunk-TTY5GFMN.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-SJDHW55X.mjs";import"../../chunk-752TOOCA.mjs";import"../../chunk-TWETGZ3W.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-BMPHQ3E7.mjs";import"../../chunk-TH5JCPN2.mjs";import"../../chunk-4RXKALLC.mjs";import"../../chunk-RJ7F4JDV.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-ERLDXTIY.mjs";import"../../chunk-RIINVEZA.mjs";import"../../chunk-HHWJHOFZ.mjs";import"../../chunk-TKXEVD7A.mjs";import"../../chunk-ZD2TY5N3.mjs";import"../../chunk-BHVSIRNF.mjs";import"../../chunk-LQOSHBB7.mjs";import"../../chunk-3OLFJ65O.mjs";import"../../chunk-R6QCPXQG.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-RXHER6EA.mjs";import"../../chunk-VHY6ZATX.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-BY3XFRUM.mjs";import"../../chunk-KDMSOCZY.mjs";var a=class{constructor(n){this.config=n}transaction(n){return o({...n})}transactionAsFeePayer(n){let{signer:r,transaction:t}=n;if(!t.feePayerAddress)throw new Error(`Transaction ${t} is not a Fee Payer transaction`);return t.feePayerAddress=r.accountAddress,o({signer:r,transaction:t})}};export{a as Sign};
1
+ import{Pb as o}from"../../chunk-NFPNWY6Z.mjs";import"../../chunk-G3MHXDYA.mjs";import"../../chunk-TNWABITK.mjs";import"../../chunk-AEGA5N2W.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-LS3IDL2N.mjs";import"../../chunk-PDAWVDI7.mjs";import"../../chunk-MIW45ADL.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-2V636AYW.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-AIPHJFJL.mjs";import"../../chunk-TBY3VMMV.mjs";import"../../chunk-7YTGBTWH.mjs";import"../../chunk-6KE4JZD6.mjs";import"../../chunk-DOVH6HPL.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-7CRQNXR5.mjs";import"../../chunk-LGC2JORV.mjs";import"../../chunk-A3VO773Q.mjs";import"../../chunk-W4BSN6SK.mjs";import"../../chunk-IMTC3J2M.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-TTY5GFMN.mjs";import"../../chunk-XLDMPCLF.mjs";import"../../chunk-KXVD52Y6.mjs";import"../../chunk-EODSU3YN.mjs";import"../../chunk-RXMLONF7.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-PSZYS4RG.mjs";import"../../chunk-VHNX2NUR.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-CWL7ZA3P.mjs";import"../../chunk-3RVAGHAA.mjs";import"../../chunk-3EUHEZND.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-BMPHQ3E7.mjs";import"../../chunk-WB26DWOY.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-HHWJHOFZ.mjs";import"../../chunk-TKXEVD7A.mjs";import"../../chunk-ERLDXTIY.mjs";import"../../chunk-RIINVEZA.mjs";import"../../chunk-ZD2TY5N3.mjs";import"../../chunk-ZELTLAUN.mjs";import"../../chunk-LQOSHBB7.mjs";import"../../chunk-3OLFJ65O.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-R6QCPXQG.mjs";import"../../chunk-RXHER6EA.mjs";import"../../chunk-VHY6ZATX.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KSLLV3ZC.mjs";import"../../chunk-4RXKALLC.mjs";import"../../chunk-RJ7F4JDV.mjs";import"../../chunk-X5YB74NB.mjs";import"../../chunk-KDMSOCZY.mjs";var a=class{constructor(n){this.config=n}transaction(n){return o({...n})}transactionAsFeePayer(n){let{signer:r,transaction:t}=n;if(!t.feePayerAddress)throw new Error(`Transaction ${t} is not a Fee Payer transaction`);return t.feePayerAddress=r.accountAddress,o({signer:r,transaction:t})}};export{a as Sign};
2
2
  //# sourceMappingURL=sign.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/api/transactionSubmission/sign.ts"],"sourcesContent":["// Copyright © Aptos Foundation\n// SPDX-License-Identifier: Apache-2.0\n\nimport { Account } from \"../../account\";\nimport { signTransaction } from \"../../internal/transactionSubmission\";\nimport { AccountAuthenticator, AnyRawTransaction } from \"../../transactions\";\nimport { AptosConfig } from \"../aptosConfig\";\n\n/**\n * A class to handle all `Sign` transaction operations.\n *\n * @param config - The configuration object for Aptos.\n * @group Implementation\n */\nexport class Sign {\n readonly config: AptosConfig;\n\n /**\n * Creates an instance of the Aptos client with the specified configuration.\n *\n * @param config - The configuration settings for the Aptos client.\n *\n * @example\n * ```typescript\n * import { Aptos, AptosConfig, Network } from \"@aptos-labs/ts-sdk\";\n *\n * async function runExample() {\n * // Create a new Aptos client with testnet configuration\n * const config = new AptosConfig({ network: Network.TESTNET });\n * const aptos = new Aptos(config);\n *\n * console.log(\"Aptos client created with config:\", config);\n * }\n * runExample().catch(console.error);\n * ```\n * @group Implementation\n */\n constructor(config: AptosConfig) {\n this.config = config;\n }\n\n /**\n * Signs a transaction using the provided account signer. This function is essential for ensuring that transactions are properly\n * authenticated before being sent to the network.\n *\n * @param args - The arguments for signing the transaction.\n * @param args.signer - The account that will sign the transaction.\n * @param args.transaction - The raw transaction data to be signed.\n *\n * @example\n * ```typescript\n * import { Aptos, AptosConfig, Network, Account } from \"@aptos-labs/ts-sdk\";\n *\n * const config = new AptosConfig({ network: Network.TESTNET });\n * const aptos = new Aptos(config);\n *\n * async function runExample() {\n * const sender = Account.generate(); // Generate a new account for signing\n * const transaction = await aptos.transaction.build.simple({\n * sender: sender.accountAddress,\n * data: {\n * function: \"0x1::aptos_account::transfer\",\n * functionArguments: [ \"0x1\", 100 ], // replace with a real account address and amount\n * },\n * });\n *\n * // Sign the transaction\n * const signedTransaction = await aptos.transaction.sign({\n * signer: sender,\n * transaction: transaction,\n * });\n *\n * console.log(\"Signed Transaction:\", signedTransaction);\n * }\n * runExample().catch(console.error);\n * ```\n * @group Implementation\n */\n // eslint-disable-next-line class-methods-use-this\n transaction(args: { signer: Account; transaction: AnyRawTransaction }): AccountAuthenticator {\n return signTransaction({\n ...args,\n });\n }\n\n /**\n * Sets the fee payer address for a transaction and signs it with the provided account.\n * This function is essential for transactions that require a designated fee payer.\n *\n * @param args - The arguments for the function.\n * @param args.signer - The account that will sign the transaction.\n * @param args.transaction - The transaction object that requires a fee payer address.\n *\n * @throws Error if the transaction does not have a feePayerAddress property.\n *\n * @example\n * ```typescript\n * import { Aptos, AptosConfig, Network, Account } from \"@aptos-labs/ts-sdk\";\n *\n * const config = new AptosConfig({ network: Network.TESTNET });\n * const aptos = new Aptos(config);\n *\n * async function runExample() {\n * const sender = Account.generate(); // Generate a new account for signing\n * const transaction = await aptos.transaction.build.simple({\n * sender: sender.accountAddress,\n * data: {\n * function: \"0x1::aptos_account::transfer\",\n * functionArguments: [\"0x1\", 100], // replace with a real recipient address\n * },\n * });\n *\n * // Set the fee payer for the transaction\n * transaction.feePayerAddress = \"0x1\"; // replace with a real fee payer address\n *\n * const signedTransaction = await aptos.transactionAsFeePayer({ signer: sender, transaction });\n *\n * console.log(\"Signed Transaction:\", signedTransaction);\n * }\n * runExample().catch(console.error);\n * ```\n * @group Implementation\n */\n // eslint-disable-next-line class-methods-use-this\n transactionAsFeePayer(args: { signer: Account; transaction: AnyRawTransaction }): AccountAuthenticator {\n const { signer, transaction } = args;\n\n // if transaction doesn't hold a \"feePayerAddress\" prop it means\n // this is not a fee payer transaction\n if (!transaction.feePayerAddress) {\n throw new Error(`Transaction ${transaction} is not a Fee Payer transaction`);\n }\n\n // Set the feePayerAddress to the signer account address\n transaction.feePayerAddress = signer.accountAddress;\n\n return signTransaction({\n signer,\n transaction,\n });\n }\n}\n"],"mappings":"ygGAcO,IAAMA,EAAN,KAAW,CAuBhB,YAAYC,EAAqB,CAC/B,KAAK,OAASA,CAChB,CAwCA,YAAYC,EAAiF,CAC3F,OAAOC,EAAgB,CACrB,GAAGD,CACL,CAAC,CACH,CAyCA,sBAAsBA,EAAiF,CACrG,GAAM,CAAE,OAAAE,EAAQ,YAAAC,CAAY,EAAIH,EAIhC,GAAI,CAACG,EAAY,gBACf,MAAM,IAAI,MAAM,eAAeA,CAAW,iCAAiC,EAI7E,OAAAA,EAAY,gBAAkBD,EAAO,eAE9BD,EAAgB,CACrB,OAAAC,EACA,YAAAC,CACF,CAAC,CACH,CACF","names":["Sign","config","args","signTransaction","signer","transaction"]}
1
+ {"version":3,"sources":["../../../../src/api/transactionSubmission/sign.ts"],"sourcesContent":["// Copyright © Aptos Foundation\n// SPDX-License-Identifier: Apache-2.0\n\nimport { Account } from \"../../account\";\nimport { signTransaction } from \"../../internal/transactionSubmission\";\nimport { AccountAuthenticator, AnyRawTransaction } from \"../../transactions\";\nimport { AptosConfig } from \"../aptosConfig\";\n\n/**\n * A class to handle all `Sign` transaction operations.\n *\n * @param config - The configuration object for Aptos.\n * @group Implementation\n */\nexport class Sign {\n readonly config: AptosConfig;\n\n /**\n * Creates an instance of the Aptos client with the specified configuration.\n *\n * @param config - The configuration settings for the Aptos client.\n *\n * @example\n * ```typescript\n * import { Aptos, AptosConfig, Network } from \"@aptos-labs/ts-sdk\";\n *\n * async function runExample() {\n * // Create a new Aptos client with testnet configuration\n * const config = new AptosConfig({ network: Network.TESTNET });\n * const aptos = new Aptos(config);\n *\n * console.log(\"Aptos client created with config:\", config);\n * }\n * runExample().catch(console.error);\n * ```\n * @group Implementation\n */\n constructor(config: AptosConfig) {\n this.config = config;\n }\n\n /**\n * Signs a transaction using the provided account signer. This function is essential for ensuring that transactions are properly\n * authenticated before being sent to the network.\n *\n * @param args - The arguments for signing the transaction.\n * @param args.signer - The account that will sign the transaction.\n * @param args.transaction - The raw transaction data to be signed.\n *\n * @example\n * ```typescript\n * import { Aptos, AptosConfig, Network, Account } from \"@aptos-labs/ts-sdk\";\n *\n * const config = new AptosConfig({ network: Network.TESTNET });\n * const aptos = new Aptos(config);\n *\n * async function runExample() {\n * const sender = Account.generate(); // Generate a new account for signing\n * const transaction = await aptos.transaction.build.simple({\n * sender: sender.accountAddress,\n * data: {\n * function: \"0x1::aptos_account::transfer\",\n * functionArguments: [ \"0x1\", 100 ], // replace with a real account address and amount\n * },\n * });\n *\n * // Sign the transaction\n * const signedTransaction = await aptos.transaction.sign({\n * signer: sender,\n * transaction: transaction,\n * });\n *\n * console.log(\"Signed Transaction:\", signedTransaction);\n * }\n * runExample().catch(console.error);\n * ```\n * @group Implementation\n */\n // eslint-disable-next-line class-methods-use-this\n transaction(args: { signer: Account; transaction: AnyRawTransaction }): AccountAuthenticator {\n return signTransaction({\n ...args,\n });\n }\n\n /**\n * Sets the fee payer address for a transaction and signs it with the provided account.\n * This function is essential for transactions that require a designated fee payer.\n *\n * @param args - The arguments for the function.\n * @param args.signer - The account that will sign the transaction.\n * @param args.transaction - The transaction object that requires a fee payer address.\n *\n * @throws Error if the transaction does not have a feePayerAddress property.\n *\n * @example\n * ```typescript\n * import { Aptos, AptosConfig, Network, Account } from \"@aptos-labs/ts-sdk\";\n *\n * const config = new AptosConfig({ network: Network.TESTNET });\n * const aptos = new Aptos(config);\n *\n * async function runExample() {\n * const sender = Account.generate(); // Generate a new account for signing\n * const transaction = await aptos.transaction.build.simple({\n * sender: sender.accountAddress,\n * data: {\n * function: \"0x1::aptos_account::transfer\",\n * functionArguments: [\"0x1\", 100], // replace with a real recipient address\n * },\n * });\n *\n * // Set the fee payer for the transaction\n * transaction.feePayerAddress = \"0x1\"; // replace with a real fee payer address\n *\n * const signedTransaction = await aptos.transactionAsFeePayer({ signer: sender, transaction });\n *\n * console.log(\"Signed Transaction:\", signedTransaction);\n * }\n * runExample().catch(console.error);\n * ```\n * @group Implementation\n */\n // eslint-disable-next-line class-methods-use-this\n transactionAsFeePayer(args: { signer: Account; transaction: AnyRawTransaction }): AccountAuthenticator {\n const { signer, transaction } = args;\n\n // if transaction doesn't hold a \"feePayerAddress\" prop it means\n // this is not a fee payer transaction\n if (!transaction.feePayerAddress) {\n throw new Error(`Transaction ${transaction} is not a Fee Payer transaction`);\n }\n\n // Set the feePayerAddress to the signer account address\n transaction.feePayerAddress = signer.accountAddress;\n\n return signTransaction({\n signer,\n transaction,\n });\n }\n}\n"],"mappings":"y8DAcO,IAAMA,EAAN,KAAW,CAuBhB,YAAYC,EAAqB,CAC/B,KAAK,OAASA,CAChB,CAwCA,YAAYC,EAAiF,CAC3F,OAAOC,EAAgB,CACrB,GAAGD,CACL,CAAC,CACH,CAyCA,sBAAsBA,EAAiF,CACrG,GAAM,CAAE,OAAAE,EAAQ,YAAAC,CAAY,EAAIH,EAIhC,GAAI,CAACG,EAAY,gBACf,MAAM,IAAI,MAAM,eAAeA,CAAW,iCAAiC,EAI7E,OAAAA,EAAY,gBAAkBD,EAAO,eAE9BD,EAAgB,CACrB,OAAAC,EACA,YAAAC,CACF,CAAC,CACH,CACF","names":["Sign","config","args","signTransaction","signer","transaction"]}
@@ -1,7 +1,7 @@
1
1
  import { UserTransactionResponse } from '../../types/types.mjs';
2
- import { P as PublicKey } from '../../publicKey-BMtGNNLg.mjs';
3
- import { AptosConfig } from '../aptosConfig.mjs';
2
+ import { P as PublicKey } from '../../publicKey-pDHBAZlT.mjs';
4
3
  import { AnyRawTransaction, InputSimulateTransactionOptions } from '../../transactions/types.mjs';
4
+ import { AptosConfig } from '../aptosConfig.mjs';
5
5
  import '../../types/indexer.mjs';
6
6
  import '../../types/generated/operations.mjs';
7
7
  import '../../types/generated/types.mjs';
@@ -14,23 +14,23 @@ import '../../core/accountAddress.mjs';
14
14
  import '../../bcs/deserializer.mjs';
15
15
  import '../../transactions/instances/transactionArgument.mjs';
16
16
  import '../../core/crypto/signature.mjs';
17
- import '../../utils/const.mjs';
18
17
  import '../../bcs/serializable/moveStructs.mjs';
19
18
  import '../../bcs/serializable/movePrimitives.mjs';
20
19
  import '../../bcs/serializable/fixedBytes.mjs';
21
- import '../../transactions/instances/rawTransaction.mjs';
22
- import '../../transactions/instances/chainId.mjs';
23
- import '../../transactions/instances/transactionPayload.mjs';
24
- import '../../transactions/instances/identifier.mjs';
25
- import '../../transactions/instances/moduleId.mjs';
26
- import '../../transactions/typeTag/index.mjs';
27
20
  import '../../transactions/authenticator/account.mjs';
28
21
  import '../../core/crypto/ed25519.mjs';
29
22
  import '../../core/crypto/privateKey.mjs';
23
+ import '../../utils/const.mjs';
30
24
  import '../../core/crypto/multiEd25519.mjs';
31
25
  import '../../core/crypto/multiKey.mjs';
32
26
  import '../../core/crypto/singleKey.mjs';
33
27
  import '../../core/crypto/secp256k1.mjs';
28
+ import '../../transactions/instances/rawTransaction.mjs';
29
+ import '../../transactions/instances/chainId.mjs';
30
+ import '../../transactions/instances/transactionPayload.mjs';
31
+ import '../../transactions/instances/identifier.mjs';
32
+ import '../../transactions/instances/moduleId.mjs';
33
+ import '../../transactions/typeTag/index.mjs';
34
34
  import '../../transactions/instances/simpleTransaction.mjs';
35
35
  import '../../transactions/instances/multiAgentTransaction.mjs';
36
36
 
@@ -1,2 +1,2 @@
1
- import{a}from"../../chunk-ZS2IVRHT.mjs";import"../../chunk-W4BSN6SK.mjs";import"../../chunk-53IBOHXB.mjs";import"../../chunk-UIRAXHDH.mjs";import"../../chunk-FJ5J7CVW.mjs";import"../../chunk-JXCZTOYC.mjs";import"../../chunk-PIPDQFL2.mjs";import"../../chunk-XRVZAEQO.mjs";import"../../chunk-GI4AR6DQ.mjs";import"../../chunk-IMYNN4TW.mjs";import"../../chunk-BSCOVLWS.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-W2C5KRUQ.mjs";import"../../chunk-RDPWCN4B.mjs";import"../../chunk-GRRBXHVG.mjs";import"../../chunk-KK5HUWF6.mjs";import"../../chunk-VHNX2NUR.mjs";import"../../chunk-GFPEB22G.mjs";import"../../chunk-2SAYQUUX.mjs";import"../../chunk-OPD5EKOA.mjs";import"../../chunk-CGTMSLVZ.mjs";import"../../chunk-2YKERRHD.mjs";import"../../chunk-W4SMZ6IW.mjs";import"../../chunk-CPFQUFVD.mjs";import"../../chunk-YLUULY6G.mjs";import"../../chunk-HYJQHVDZ.mjs";import"../../chunk-ILUFGYLO.mjs";import"../../chunk-CPAAEEF4.mjs";import"../../chunk-WHVCUVZP.mjs";import"../../chunk-MAWGZICD.mjs";import"../../chunk-P5CM4C2G.mjs";import"../../chunk-4NMDYPUD.mjs";import"../../chunk-ONGH5DXZ.mjs";import"../../chunk-AEGA5N2W.mjs";import"../../chunk-YWSDONJJ.mjs";import"../../chunk-T7X4GZDU.mjs";import"../../chunk-27ESCVVC.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-44EHAKKW.mjs";import"../../chunk-5W2ERBGY.mjs";import"../../chunk-LS3IDL2N.mjs";import"../../chunk-6KZT3KFZ.mjs";import"../../chunk-PDAWVDI7.mjs";import"../../chunk-BQYKFATL.mjs";import"../../chunk-BPHCRTHD.mjs";import"../../chunk-IMTC3J2M.mjs";import"../../chunk-E7FWVXGX.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-AIPHJFJL.mjs";import"../../chunk-5H5D6QVX.mjs";import"../../chunk-HEZ2ZYZA.mjs";import"../../chunk-WFKPVKU3.mjs";import"../../chunk-QUJM5W4L.mjs";import"../../chunk-2TRQERBL.mjs";import"../../chunk-JNNFNYDO.mjs";import"../../chunk-XW3BXTCZ.mjs";import"../../chunk-HVIF6DW6.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-2V636AYW.mjs";import"../../chunk-PWGTRRSJ.mjs";import"../../chunk-7OUPEQRN.mjs";import"../../chunk-DOVH6HPL.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-7CRQNXR5.mjs";import"../../chunk-H4YAL2IL.mjs";import"../../chunk-A3VO773Q.mjs";import"../../chunk-TTY5GFMN.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-SJDHW55X.mjs";import"../../chunk-752TOOCA.mjs";import"../../chunk-TWETGZ3W.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-BMPHQ3E7.mjs";import"../../chunk-TH5JCPN2.mjs";import"../../chunk-4RXKALLC.mjs";import"../../chunk-RJ7F4JDV.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-ERLDXTIY.mjs";import"../../chunk-RIINVEZA.mjs";import"../../chunk-HHWJHOFZ.mjs";import"../../chunk-TKXEVD7A.mjs";import"../../chunk-ZD2TY5N3.mjs";import"../../chunk-BHVSIRNF.mjs";import"../../chunk-LQOSHBB7.mjs";import"../../chunk-3OLFJ65O.mjs";import"../../chunk-R6QCPXQG.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-RXHER6EA.mjs";import"../../chunk-VHY6ZATX.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-BY3XFRUM.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as Simulate};
1
+ import{Gd as a}from"../../chunk-NFPNWY6Z.mjs";import"../../chunk-G3MHXDYA.mjs";import"../../chunk-TNWABITK.mjs";import"../../chunk-AEGA5N2W.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-LS3IDL2N.mjs";import"../../chunk-PDAWVDI7.mjs";import"../../chunk-MIW45ADL.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-2V636AYW.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-AIPHJFJL.mjs";import"../../chunk-TBY3VMMV.mjs";import"../../chunk-7YTGBTWH.mjs";import"../../chunk-6KE4JZD6.mjs";import"../../chunk-DOVH6HPL.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-7CRQNXR5.mjs";import"../../chunk-LGC2JORV.mjs";import"../../chunk-A3VO773Q.mjs";import"../../chunk-W4BSN6SK.mjs";import"../../chunk-IMTC3J2M.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-TTY5GFMN.mjs";import"../../chunk-XLDMPCLF.mjs";import"../../chunk-KXVD52Y6.mjs";import"../../chunk-EODSU3YN.mjs";import"../../chunk-RXMLONF7.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-PSZYS4RG.mjs";import"../../chunk-VHNX2NUR.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-CWL7ZA3P.mjs";import"../../chunk-3RVAGHAA.mjs";import"../../chunk-3EUHEZND.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-BMPHQ3E7.mjs";import"../../chunk-WB26DWOY.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-HHWJHOFZ.mjs";import"../../chunk-TKXEVD7A.mjs";import"../../chunk-ERLDXTIY.mjs";import"../../chunk-RIINVEZA.mjs";import"../../chunk-ZD2TY5N3.mjs";import"../../chunk-ZELTLAUN.mjs";import"../../chunk-LQOSHBB7.mjs";import"../../chunk-3OLFJ65O.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-R6QCPXQG.mjs";import"../../chunk-RXHER6EA.mjs";import"../../chunk-VHY6ZATX.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KSLLV3ZC.mjs";import"../../chunk-4RXKALLC.mjs";import"../../chunk-RJ7F4JDV.mjs";import"../../chunk-X5YB74NB.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as Simulate};
2
2
  //# sourceMappingURL=simulate.mjs.map
@@ -1,7 +1,7 @@
1
1
  import { AccountAuthenticator } from '../../transactions/authenticator/account.mjs';
2
2
  import { PendingTransactionResponse } from '../../types/types.mjs';
3
- import { AptosConfig } from '../aptosConfig.mjs';
4
3
  import { AnyRawTransaction } from '../../transactions/types.mjs';
4
+ import { AptosConfig } from '../aptosConfig.mjs';
5
5
  import '../../bcs/deserializer.mjs';
6
6
  import '../../types/indexer.mjs';
7
7
  import '../../types/generated/operations.mjs';
@@ -12,16 +12,16 @@ import '../../bcs/serializer.mjs';
12
12
  import '../../core/hex.mjs';
13
13
  import '../../core/common.mjs';
14
14
  import '../../core/crypto/ed25519.mjs';
15
- import '../../publicKey-BMtGNNLg.mjs';
15
+ import '../../publicKey-pDHBAZlT.mjs';
16
16
  import '../../core/accountAddress.mjs';
17
17
  import '../../transactions/instances/transactionArgument.mjs';
18
18
  import '../../core/crypto/signature.mjs';
19
19
  import '../../core/crypto/privateKey.mjs';
20
+ import '../../utils/const.mjs';
20
21
  import '../../core/crypto/multiEd25519.mjs';
21
22
  import '../../core/crypto/multiKey.mjs';
22
23
  import '../../core/crypto/singleKey.mjs';
23
24
  import '../../core/crypto/secp256k1.mjs';
24
- import '../../utils/const.mjs';
25
25
  import '../../bcs/serializable/moveStructs.mjs';
26
26
  import '../../bcs/serializable/movePrimitives.mjs';
27
27
  import '../../bcs/serializable/fixedBytes.mjs';
@@ -1,2 +1,2 @@
1
- import{a}from"../../chunk-GTVMJJQQ.mjs";import"../../chunk-W4BSN6SK.mjs";import"../../chunk-53IBOHXB.mjs";import"../../chunk-UIRAXHDH.mjs";import"../../chunk-FJ5J7CVW.mjs";import"../../chunk-JXCZTOYC.mjs";import"../../chunk-PIPDQFL2.mjs";import"../../chunk-XRVZAEQO.mjs";import"../../chunk-GI4AR6DQ.mjs";import"../../chunk-IMYNN4TW.mjs";import"../../chunk-BSCOVLWS.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-W2C5KRUQ.mjs";import"../../chunk-RDPWCN4B.mjs";import"../../chunk-GRRBXHVG.mjs";import"../../chunk-KK5HUWF6.mjs";import"../../chunk-VHNX2NUR.mjs";import"../../chunk-GFPEB22G.mjs";import"../../chunk-2SAYQUUX.mjs";import"../../chunk-OPD5EKOA.mjs";import"../../chunk-CGTMSLVZ.mjs";import"../../chunk-2YKERRHD.mjs";import"../../chunk-W4SMZ6IW.mjs";import"../../chunk-CPFQUFVD.mjs";import"../../chunk-YLUULY6G.mjs";import"../../chunk-HYJQHVDZ.mjs";import"../../chunk-ILUFGYLO.mjs";import"../../chunk-CPAAEEF4.mjs";import"../../chunk-WHVCUVZP.mjs";import"../../chunk-MAWGZICD.mjs";import"../../chunk-P5CM4C2G.mjs";import"../../chunk-4NMDYPUD.mjs";import"../../chunk-ONGH5DXZ.mjs";import"../../chunk-AEGA5N2W.mjs";import"../../chunk-YWSDONJJ.mjs";import"../../chunk-T7X4GZDU.mjs";import"../../chunk-27ESCVVC.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-44EHAKKW.mjs";import"../../chunk-5W2ERBGY.mjs";import"../../chunk-LS3IDL2N.mjs";import"../../chunk-6KZT3KFZ.mjs";import"../../chunk-PDAWVDI7.mjs";import"../../chunk-BQYKFATL.mjs";import"../../chunk-BPHCRTHD.mjs";import"../../chunk-IMTC3J2M.mjs";import"../../chunk-E7FWVXGX.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-AIPHJFJL.mjs";import"../../chunk-5H5D6QVX.mjs";import"../../chunk-HEZ2ZYZA.mjs";import"../../chunk-WFKPVKU3.mjs";import"../../chunk-QUJM5W4L.mjs";import"../../chunk-2TRQERBL.mjs";import"../../chunk-JNNFNYDO.mjs";import"../../chunk-XW3BXTCZ.mjs";import"../../chunk-HVIF6DW6.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-2V636AYW.mjs";import"../../chunk-PWGTRRSJ.mjs";import"../../chunk-7OUPEQRN.mjs";import"../../chunk-DOVH6HPL.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-7CRQNXR5.mjs";import"../../chunk-H4YAL2IL.mjs";import"../../chunk-A3VO773Q.mjs";import"../../chunk-TTY5GFMN.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-SJDHW55X.mjs";import"../../chunk-752TOOCA.mjs";import"../../chunk-TWETGZ3W.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-BMPHQ3E7.mjs";import"../../chunk-TH5JCPN2.mjs";import"../../chunk-4RXKALLC.mjs";import"../../chunk-RJ7F4JDV.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-ERLDXTIY.mjs";import"../../chunk-RIINVEZA.mjs";import"../../chunk-HHWJHOFZ.mjs";import"../../chunk-TKXEVD7A.mjs";import"../../chunk-ZD2TY5N3.mjs";import"../../chunk-BHVSIRNF.mjs";import"../../chunk-LQOSHBB7.mjs";import"../../chunk-3OLFJ65O.mjs";import"../../chunk-R6QCPXQG.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-RXHER6EA.mjs";import"../../chunk-VHY6ZATX.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-BY3XFRUM.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as Submit};
1
+ import{Hd as a}from"../../chunk-NFPNWY6Z.mjs";import"../../chunk-G3MHXDYA.mjs";import"../../chunk-TNWABITK.mjs";import"../../chunk-AEGA5N2W.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-LS3IDL2N.mjs";import"../../chunk-PDAWVDI7.mjs";import"../../chunk-MIW45ADL.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-2V636AYW.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-AIPHJFJL.mjs";import"../../chunk-TBY3VMMV.mjs";import"../../chunk-7YTGBTWH.mjs";import"../../chunk-6KE4JZD6.mjs";import"../../chunk-DOVH6HPL.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-7CRQNXR5.mjs";import"../../chunk-LGC2JORV.mjs";import"../../chunk-A3VO773Q.mjs";import"../../chunk-W4BSN6SK.mjs";import"../../chunk-IMTC3J2M.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-TTY5GFMN.mjs";import"../../chunk-XLDMPCLF.mjs";import"../../chunk-KXVD52Y6.mjs";import"../../chunk-EODSU3YN.mjs";import"../../chunk-RXMLONF7.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-PSZYS4RG.mjs";import"../../chunk-VHNX2NUR.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-CWL7ZA3P.mjs";import"../../chunk-3RVAGHAA.mjs";import"../../chunk-3EUHEZND.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-BMPHQ3E7.mjs";import"../../chunk-WB26DWOY.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-HHWJHOFZ.mjs";import"../../chunk-TKXEVD7A.mjs";import"../../chunk-ERLDXTIY.mjs";import"../../chunk-RIINVEZA.mjs";import"../../chunk-ZD2TY5N3.mjs";import"../../chunk-ZELTLAUN.mjs";import"../../chunk-LQOSHBB7.mjs";import"../../chunk-3OLFJ65O.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-R6QCPXQG.mjs";import"../../chunk-RXHER6EA.mjs";import"../../chunk-VHY6ZATX.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KSLLV3ZC.mjs";import"../../chunk-4RXKALLC.mjs";import"../../chunk-RJ7F4JDV.mjs";import"../../chunk-X5YB74NB.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as Submit};
2
2
  //# sourceMappingURL=submit.mjs.map
@@ -1,2 +1,2 @@
1
- import{a}from"../chunk-MFLHAVIW.mjs";import"../chunk-GRRBXHVG.mjs";import"../chunk-KK5HUWF6.mjs";import"../chunk-VHNX2NUR.mjs";import"../chunk-YOZBVVKL.mjs";import"../chunk-7ECCT6PK.mjs";import"../chunk-SJDHW55X.mjs";import"../chunk-752TOOCA.mjs";import"../chunk-TWETGZ3W.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-BMPHQ3E7.mjs";import"../chunk-TH5JCPN2.mjs";import"../chunk-4RXKALLC.mjs";import"../chunk-RJ7F4JDV.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-ERLDXTIY.mjs";import"../chunk-RIINVEZA.mjs";import"../chunk-HHWJHOFZ.mjs";import"../chunk-TKXEVD7A.mjs";import"../chunk-ZD2TY5N3.mjs";import"../chunk-BHVSIRNF.mjs";import"../chunk-LQOSHBB7.mjs";import"../chunk-3OLFJ65O.mjs";import"../chunk-R6QCPXQG.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-RXHER6EA.mjs";import"../chunk-VHY6ZATX.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-BY3XFRUM.mjs";import"../chunk-KDMSOCZY.mjs";export{a as waitForIndexerOnVersion};
1
+ import{a}from"../chunk-EODSU3YN.mjs";import"../chunk-RXMLONF7.mjs";import"../chunk-YOZBVVKL.mjs";import"../chunk-PSZYS4RG.mjs";import"../chunk-VHNX2NUR.mjs";import"../chunk-7ECCT6PK.mjs";import"../chunk-CWL7ZA3P.mjs";import"../chunk-3RVAGHAA.mjs";import"../chunk-3EUHEZND.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-BMPHQ3E7.mjs";import"../chunk-WB26DWOY.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-HHWJHOFZ.mjs";import"../chunk-TKXEVD7A.mjs";import"../chunk-ERLDXTIY.mjs";import"../chunk-RIINVEZA.mjs";import"../chunk-ZD2TY5N3.mjs";import"../chunk-ZELTLAUN.mjs";import"../chunk-LQOSHBB7.mjs";import"../chunk-3OLFJ65O.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-R6QCPXQG.mjs";import"../chunk-RXHER6EA.mjs";import"../chunk-VHY6ZATX.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-4RXKALLC.mjs";import"../chunk-RJ7F4JDV.mjs";import"../chunk-X5YB74NB.mjs";import"../chunk-KDMSOCZY.mjs";export{a as waitForIndexerOnVersion};
2
2
  //# sourceMappingURL=utils.mjs.map
@@ -1,2 +1,2 @@
1
- import"../chunk-FZY4PMEE.mjs";import{a as h}from"../chunk-ERLDXTIY.mjs";import{a as g}from"../chunk-RIINVEZA.mjs";import{a as p,b as q,c as r,d as s}from"../chunk-HHWJHOFZ.mjs";import{a as i,b as j,c as k,d as l,e as m,f as n,g as o}from"../chunk-TKXEVD7A.mjs";import{a}from"../chunk-ZD2TY5N3.mjs";import"../chunk-3OLFJ65O.mjs";import"../chunk-R6QCPXQG.mjs";import"../chunk-4WPQQPUF.mjs";import{a as b,b as c,c as d,d as e,e as f}from"../chunk-RXHER6EA.mjs";import"../chunk-VHY6ZATX.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-KDMSOCZY.mjs";export{i as Bool,a as Deserializer,h as EntryFunctionBytes,g as FixedBytes,s as MoveOption,r as MoveString,p as MoveVector,b as Serializable,q as Serialized,c as Serializer,n as U128,k as U16,o as U256,l as U32,m as U64,j as U8,d as ensureBoolean,e as outOfRangeErrorMessage,f as validateNumberInRange};
1
+ import"../chunk-FZY4PMEE.mjs";import{a as p,b as q,c as r,d as s}from"../chunk-HHWJHOFZ.mjs";import{a as i,b as j,c as k,d as l,e as m,f as n,g as o}from"../chunk-TKXEVD7A.mjs";import{a as h}from"../chunk-ERLDXTIY.mjs";import{a as g}from"../chunk-RIINVEZA.mjs";import{a}from"../chunk-ZD2TY5N3.mjs";import"../chunk-3OLFJ65O.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-R6QCPXQG.mjs";import{a as b,b as c,c as d,d as e,e as f}from"../chunk-RXHER6EA.mjs";import"../chunk-VHY6ZATX.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-KDMSOCZY.mjs";export{i as Bool,a as Deserializer,h as EntryFunctionBytes,g as FixedBytes,s as MoveOption,r as MoveString,p as MoveVector,b as Serializable,q as Serialized,c as Serializer,n as U128,k as U16,o as U256,l as U32,m as U64,j as U8,d as ensureBoolean,e as outOfRangeErrorMessage,f as validateNumberInRange};
2
2
  //# sourceMappingURL=index.mjs.map
@@ -1,2 +1,2 @@
1
- import{a,b,c,d,e,f,g}from"../../chunk-TKXEVD7A.mjs";import"../../chunk-3OLFJ65O.mjs";import"../../chunk-R6QCPXQG.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-RXHER6EA.mjs";import"../../chunk-VHY6ZATX.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as Bool,f as U128,c as U16,g as U256,d as U32,e as U64,b as U8};
1
+ import{a,b,c,d,e,f,g}from"../../chunk-TKXEVD7A.mjs";import"../../chunk-3OLFJ65O.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-R6QCPXQG.mjs";import"../../chunk-RXHER6EA.mjs";import"../../chunk-VHY6ZATX.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as Bool,f as U128,c as U16,g as U256,d as U32,e as U64,b as U8};
2
2
  //# sourceMappingURL=movePrimitives.mjs.map
@@ -1,2 +1,2 @@
1
- import{a,b,c,d}from"../../chunk-HHWJHOFZ.mjs";import"../../chunk-TKXEVD7A.mjs";import"../../chunk-ZD2TY5N3.mjs";import"../../chunk-3OLFJ65O.mjs";import"../../chunk-R6QCPXQG.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-RXHER6EA.mjs";import"../../chunk-VHY6ZATX.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KDMSOCZY.mjs";export{d as MoveOption,c as MoveString,a as MoveVector,b as Serialized};
1
+ import{a,b,c,d}from"../../chunk-HHWJHOFZ.mjs";import"../../chunk-TKXEVD7A.mjs";import"../../chunk-ZD2TY5N3.mjs";import"../../chunk-3OLFJ65O.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-R6QCPXQG.mjs";import"../../chunk-RXHER6EA.mjs";import"../../chunk-VHY6ZATX.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KDMSOCZY.mjs";export{d as MoveOption,c as MoveString,a as MoveVector,b as Serialized};
2
2
  //# sourceMappingURL=moveStructs.mjs.map
@@ -0,0 +1,2 @@
1
+ import{a as r}from"./chunk-ZELTLAUN.mjs";import{spawn as c}from"child_process";import l from"tree-kill";import{platform as h}from"os";var e=class{constructor(t){this.MAXIMUM_WAIT_TIME_SEC=75;this.READINESS_ENDPOINT="http://127.0.0.1:8070/";this.showStdout=!0;this.process=null;this.showStdout=t?.showStdout??!0}async stop(){await new Promise((t,o)=>{this.process?.pid&&l(this.process.pid,s=>{s?o(s):t(!0)})})}async run(){await this.checkIfProcessIsUp()||(this.start(),await this.waitUntilProcessIsUp())}start(){let t="npx",o=["aptos","node","run-localnet","--force-restart","--assume-yes","--with-indexer-api"],s=h(),a={env:{...process.env,ENABLE_KEYLESS_DEFAULT:"1"},...s==="win32"&&{shell:!0}};this.process=c(t,o,a),this.process.stdout?.on("data",i=>{let n=i.toString();this.showStdout&&console.log(n)})}async waitUntilProcessIsUp(){let t=await this.checkIfProcessIsUp(),o=Date.now()/1e3,s=o;for(;!t&&o+this.MAXIMUM_WAIT_TIME_SEC>s;)await r(1e3),t=await this.checkIfProcessIsUp(),s=Date.now()/1e3;if(!t)throw new Error("Process failed to start");return!0}async checkIfProcessIsUp(){try{return(await fetch(this.READINESS_ENDPOINT)).status===200}catch{return!1}}};export{e as a};
2
+ //# sourceMappingURL=chunk-35CO4BP4.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/cli/localNode.ts"],"sourcesContent":["/* eslint-disable no-console */\n\nimport { ChildProcessWithoutNullStreams, spawn } from \"child_process\";\nimport kill from \"tree-kill\";\nimport { platform } from \"os\";\n\nimport { sleep } from \"../utils/helpers\";\n\n/**\n * Represents a local node for running a localnet environment.\n * This class provides methods to start, stop, and check the status of the localnet process.\n * It manages the lifecycle of the node process and ensures that it is operational before executing tests.\n * @group Implementation\n * @category CLI\n */\nexport class LocalNode {\n readonly MAXIMUM_WAIT_TIME_SEC = 75;\n\n readonly READINESS_ENDPOINT = \"http://127.0.0.1:8070/\";\n\n showStdout: boolean = true;\n\n process: ChildProcessWithoutNullStreams | null = null;\n\n constructor(args?: { showStdout?: boolean }) {\n this.showStdout = args?.showStdout ?? true;\n }\n\n /**\n * Kills the current process and all its descendant processes.\n *\n * @returns {Promise<void>} A promise that resolves to true if the process was successfully killed.\n * @throws {Error} If there is an error while attempting to kill the process.\n * @group Implementation\n * @category CLI\n */\n async stop(): Promise<void> {\n await new Promise((resolve, reject) => {\n if (!this.process?.pid) return;\n\n /**\n * Terminates the process associated with the given process ID.\n *\n * @param pid - The process ID of the process to be terminated.\n * @param callback - A function that is called after the termination attempt is complete.\n * @param callback.err - An error object if the termination failed; otherwise, null.\n * @param callback.resolve - A boolean indicating whether the termination was successful.\n * @group Implementation\n * @category CLI\n */\n kill(this.process.pid, (err) => {\n if (err) {\n reject(err);\n } else {\n resolve(true);\n }\n });\n });\n }\n\n /**\n * Runs a localnet and waits for the process to be up.\n * If the local node process is already running, it returns without starting the process.\n *\n * @returns {Promise<void>} A promise that resolves when the process is up.\n * @group Implementation\n * @category CLI\n */\n async run(): Promise<void> {\n const nodeIsUp = await this.checkIfProcessIsUp();\n if (nodeIsUp) {\n return;\n }\n this.start();\n await this.waitUntilProcessIsUp();\n }\n\n /**\n * Starts the localnet by running the Aptos node with the specified command-line arguments.\n *\n * @returns {void}\n *\n * @throws {Error} If there is an issue starting the localnet.\n * @group Implementation\n * @category CLI\n */\n start(): void {\n const cliCommand = \"npx\";\n const cliArgs = [\"aptos\", \"node\", \"run-localnet\", \"--force-restart\", \"--assume-yes\", \"--with-indexer-api\"];\n\n const currentPlatform = platform();\n const spawnConfig = {\n env: { ...process.env, ENABLE_KEYLESS_DEFAULT: \"1\" },\n ...(currentPlatform === \"win32\" && { shell: true }),\n };\n\n this.process = spawn(cliCommand, cliArgs, spawnConfig);\n\n this.process.stdout?.on(\"data\", (data: any) => {\n const str = data.toString();\n // Print local node output log\n if (this.showStdout) {\n console.log(str);\n }\n });\n }\n\n /**\n * Waits for the localnet process to be operational within a specified maximum wait time.\n * This function continuously checks if the process is up and will throw an error if it fails to start.\n *\n * @returns Promise<boolean> - Resolves to true if the process is up, otherwise throws an error.\n * @group Implementation\n * @category CLI\n */\n async waitUntilProcessIsUp(): Promise<boolean> {\n let operational = await this.checkIfProcessIsUp();\n const start = Date.now() / 1000;\n let last = start;\n\n while (!operational && start + this.MAXIMUM_WAIT_TIME_SEC > last) {\n // eslint-disable-next-line no-await-in-loop\n await sleep(1000);\n // eslint-disable-next-line no-await-in-loop\n operational = await this.checkIfProcessIsUp();\n last = Date.now() / 1000;\n }\n\n // If we are here it means something blocks the process to start.\n // Might worth checking if another process is running on port 8080\n if (!operational) {\n throw new Error(\"Process failed to start\");\n }\n\n return true;\n }\n\n /**\n * Checks if the localnet is up by querying the readiness endpoint.\n *\n * @returns Promise<boolean> - A promise that resolves to true if the localnet is up, otherwise false.\n * @group Implementation\n * @category CLI\n */\n async checkIfProcessIsUp(): Promise<boolean> {\n try {\n // Query readiness endpoint\n const data = await fetch(this.READINESS_ENDPOINT);\n if (data.status === 200) {\n return true;\n }\n return false;\n } catch (err: any) {\n return false;\n }\n }\n}\n"],"mappings":"yCAEA,OAAyC,SAAAA,MAAa,gBACtD,OAAOC,MAAU,YACjB,OAAS,YAAAC,MAAgB,KAWlB,IAAMC,EAAN,KAAgB,CASrB,YAAYC,EAAiC,CAR7C,KAAS,sBAAwB,GAEjC,KAAS,mBAAqB,yBAE9B,gBAAsB,GAEtB,aAAiD,KAG/C,KAAK,WAAaA,GAAM,YAAc,EACxC,CAUA,MAAM,MAAsB,CAC1B,MAAM,IAAI,QAAQ,CAACC,EAASC,IAAW,CAChC,KAAK,SAAS,KAYnBC,EAAK,KAAK,QAAQ,IAAMC,GAAQ,CAC1BA,EACFF,EAAOE,CAAG,EAEVH,EAAQ,EAAI,CAEhB,CAAC,CACH,CAAC,CACH,CAUA,MAAM,KAAqB,CACR,MAAM,KAAK,mBAAmB,IAI/C,KAAK,MAAM,EACX,MAAM,KAAK,qBAAqB,EAClC,CAWA,OAAc,CACZ,IAAMI,EAAa,MACbC,EAAU,CAAC,QAAS,OAAQ,eAAgB,kBAAmB,eAAgB,oBAAoB,EAEnGC,EAAkBC,EAAS,EAC3BC,EAAc,CAClB,IAAK,CAAE,GAAG,QAAQ,IAAK,uBAAwB,GAAI,EACnD,GAAIF,IAAoB,SAAW,CAAE,MAAO,EAAK,CACnD,EAEA,KAAK,QAAUG,EAAML,EAAYC,EAASG,CAAW,EAErD,KAAK,QAAQ,QAAQ,GAAG,OAASE,GAAc,CAC7C,IAAMC,EAAMD,EAAK,SAAS,EAEtB,KAAK,YACP,QAAQ,IAAIC,CAAG,CAEnB,CAAC,CACH,CAUA,MAAM,sBAAyC,CAC7C,IAAIC,EAAc,MAAM,KAAK,mBAAmB,EAC1CC,EAAQ,KAAK,IAAI,EAAI,IACvBC,EAAOD,EAEX,KAAO,CAACD,GAAeC,EAAQ,KAAK,sBAAwBC,GAE1D,MAAMC,EAAM,GAAI,EAEhBH,EAAc,MAAM,KAAK,mBAAmB,EAC5CE,EAAO,KAAK,IAAI,EAAI,IAKtB,GAAI,CAACF,EACH,MAAM,IAAI,MAAM,yBAAyB,EAG3C,MAAO,EACT,CASA,MAAM,oBAAuC,CAC3C,GAAI,CAGF,OADa,MAAM,MAAM,KAAK,kBAAkB,GACvC,SAAW,GAItB,MAAmB,CACjB,MAAO,EACT,CACF,CACF","names":["spawn","kill","platform","LocalNode","args","resolve","reject","kill","err","cliCommand","cliArgs","currentPlatform","platform","spawnConfig","spawn","data","str","operational","start","last","sleep"]}
@@ -1,2 +1,2 @@
1
- import{e as u}from"./chunk-TH5JCPN2.mjs";import{a as f}from"./chunk-BY3XFRUM.mjs";async function p(s,R){let{url:t,method:n,body:i,contentType:a,params:o,overrides:e,originMethod:r}=s,d={...e?.HEADERS,"x-aptos-client":`aptos-typescript-sdk/${f}`,"content-type":a??"application/json","x-aptos-typescript-sdk-origin-method":r};return e?.AUTH_TOKEN&&(d.Authorization=`Bearer ${e?.AUTH_TOKEN}`),e?.API_KEY&&(d.Authorization=`Bearer ${e?.API_KEY}`),R.provider({url:t,method:n,body:i,params:o,headers:d,overrides:e})}async function A(s,R){if(R.binaryProvider===void 0)throw new Error("Binary provider is not provided");let{url:t,method:n,body:i,contentType:a,acceptType:o,params:e,overrides:r,originMethod:d}=s,c={...r?.HEADERS,"x-aptos-client":`aptos-typescript-sdk/${f}`,"content-type":a??"application/json",accept:o??"application/x-bcs","x-aptos-typescript-sdk-origin-method":d};return r?.AUTH_TOKEN&&(c.Authorization=`Bearer ${r?.AUTH_TOKEN}`),r?.API_KEY&&(c.Authorization=`Bearer ${r?.API_KEY}`),R.binaryProvider({acceptType:"application/x-bcs",url:t,method:n,body:i,params:e,headers:c,overrides:r})}async function B(s,R,t){let{url:n,path:i}=s,a=i?`${n}/${i}`:n,o=await p({...s,url:a},R.client),e={status:o.status,statusText:o.statusText??"No status text provided",data:o.data,headers:o.headers,config:o.config,request:o.request,url:a};if(e.status===401)throw new u({apiType:t,aptosRequest:s,aptosResponse:e});if(t==="Indexer"){let r=e.data;if(r.errors)throw new u({apiType:t,aptosRequest:s,aptosResponse:e});e.data=r.data}else if((t==="Pepper"||t==="Prover")&&e.status>=400)throw new u({apiType:t,aptosRequest:s,aptosResponse:e});if(e.status>=200&&e.status<300)return e;throw new u({apiType:t,aptosRequest:s,aptosResponse:e})}async function b(s,R,t){let{url:n,path:i}=s,a=i?`${n}/${i}`:n,o=await A({...s,url:a},R.client),e={status:o.status,statusText:o.statusText??"No status text provided",data:o.data,headers:o.headers,config:o.config,request:o.request,url:a};if(e.status===401)throw new u({apiType:t,aptosRequest:s,aptosResponse:e});if(t==="Indexer"){let r=e.data;if(r.errors)throw new u({apiType:t,aptosRequest:s,aptosResponse:e});e.data=r.data}else if((t==="Pepper"||t==="Prover")&&e.status>=400)throw new u({apiType:t,aptosRequest:s,aptosResponse:e});if(e.status>=200&&e.status<300)return e;throw new u({apiType:t,aptosRequest:s,aptosResponse:e})}export{p as a,A as b,B as c,b as d};
2
- //# sourceMappingURL=chunk-TWETGZ3W.mjs.map
1
+ import{e as u}from"./chunk-WB26DWOY.mjs";import{a as f}from"./chunk-X5YB74NB.mjs";async function p(s,R){let{url:t,method:n,body:i,contentType:a,params:o,overrides:e,originMethod:r}=s,d={...e?.HEADERS,"x-aptos-client":`aptos-typescript-sdk/${f}`,"content-type":a??"application/json","x-aptos-typescript-sdk-origin-method":r};return e?.AUTH_TOKEN&&(d.Authorization=`Bearer ${e?.AUTH_TOKEN}`),e?.API_KEY&&(d.Authorization=`Bearer ${e?.API_KEY}`),R.provider({url:t,method:n,body:i,params:o,headers:d,overrides:e})}async function A(s,R){if(R.binaryProvider===void 0)throw new Error("Binary provider is not provided");let{url:t,method:n,body:i,contentType:a,acceptType:o,params:e,overrides:r,originMethod:d}=s,c={...r?.HEADERS,"x-aptos-client":`aptos-typescript-sdk/${f}`,"content-type":a??"application/json",accept:o??"application/x-bcs","x-aptos-typescript-sdk-origin-method":d};return r?.AUTH_TOKEN&&(c.Authorization=`Bearer ${r?.AUTH_TOKEN}`),r?.API_KEY&&(c.Authorization=`Bearer ${r?.API_KEY}`),R.binaryProvider({acceptType:"application/x-bcs",url:t,method:n,body:i,params:e,headers:c,overrides:r})}async function B(s,R,t){let{url:n,path:i}=s,a=i?`${n}/${i}`:n,o=await p({...s,url:a},R.client),e={status:o.status,statusText:o.statusText??"No status text provided",data:o.data,headers:o.headers,config:o.config,request:o.request,url:a};if(e.status===401)throw new u({apiType:t,aptosRequest:s,aptosResponse:e});if(t==="Indexer"){let r=e.data;if(r.errors)throw new u({apiType:t,aptosRequest:s,aptosResponse:e});e.data=r.data}else if((t==="Pepper"||t==="Prover")&&e.status>=400)throw new u({apiType:t,aptosRequest:s,aptosResponse:e});if(e.status>=200&&e.status<300)return e;throw new u({apiType:t,aptosRequest:s,aptosResponse:e})}async function b(s,R,t){let{url:n,path:i}=s,a=i?`${n}/${i}`:n,o=await A({...s,url:a},R.client),e={status:o.status,statusText:o.statusText??"No status text provided",data:o.data,headers:o.headers,config:o.config,request:o.request,url:a};if(e.status===401)throw new u({apiType:t,aptosRequest:s,aptosResponse:e});if(t==="Indexer"){let r=e.data;if(r.errors)throw new u({apiType:t,aptosRequest:s,aptosResponse:e});e.data=r.data}else if((t==="Pepper"||t==="Prover")&&e.status>=400)throw new u({apiType:t,aptosRequest:s,aptosResponse:e});if(e.status>=200&&e.status<300)return e;throw new u({apiType:t,aptosRequest:s,aptosResponse:e})}export{p as a,A as b,B as c,b as d};
2
+ //# sourceMappingURL=chunk-3EUHEZND.mjs.map
@@ -1,2 +1,2 @@
1
- import{c as u,d as f}from"./chunk-TWETGZ3W.mjs";async function p(e){let{aptosConfig:t,overrides:s,params:n,contentType:o,acceptType:r,path:i,originMethod:a,type:d}=e,R=t.getRequestUrl(d);return u({url:R,method:"GET",originMethod:a,path:i,contentType:o,acceptType:r,params:n,overrides:{...t.clientConfig,...s}},t,e.type)}async function c(e){let{aptosConfig:t,overrides:s,params:n,contentType:o,acceptType:r,path:i,originMethod:a,type:d}=e,R=t.getRequestUrl(d);return f({url:R,method:"GET",originMethod:a,path:i,contentType:o,acceptType:r,params:n,overrides:{...t.clientConfig,...s}},t,e.type)}async function m(e){let{aptosConfig:t}=e;return p({...e,type:"Fullnode",overrides:{...t.clientConfig,...t.fullnodeConfig,...e.overrides,HEADERS:{...t.clientConfig?.HEADERS,...t.fullnodeConfig?.HEADERS}}})}async function q(e){let{aptosConfig:t}=e;return c({...e,type:"Fullnode",overrides:{...t.clientConfig,...t.fullnodeConfig,...e.overrides,HEADERS:{...t.clientConfig?.HEADERS,...t.fullnodeConfig?.HEADERS}}})}async function A(e){return p({...e,type:"Pepper"})}async function h(e){let t=[],s,n=e.params;do{let o=await p({type:"Fullnode",aptosConfig:e.aptosConfig,originMethod:e.originMethod,path:e.path,params:n,overrides:e.overrides});s=o.headers["x-aptos-cursor"],delete o.headers,t.push(...o.data),n.start=s}while(s!=null);return t}async function C(e){let t=[],s,n=e.params,o=n.limit;do{let r=await p({type:"Fullnode",aptosConfig:e.aptosConfig,originMethod:e.originMethod,path:e.path,params:n,overrides:e.overrides});if(s=r.headers["x-aptos-cursor"],delete r.headers,t.push(...r.data),n.offset=s,o!==void 0){let i=o-t.length;if(i<=0)break;n.limit=i}}while(s!=null);return t}export{p as a,c as b,m as c,q as d,A as e,h as f,C as g};
2
- //# sourceMappingURL=chunk-SJDHW55X.mjs.map
1
+ import{c as u,d as f}from"./chunk-3EUHEZND.mjs";async function p(e){let{aptosConfig:t,overrides:s,params:n,contentType:o,acceptType:r,path:i,originMethod:a,type:d}=e,R=t.getRequestUrl(d);return u({url:R,method:"GET",originMethod:a,path:i,contentType:o,acceptType:r,params:n,overrides:{...t.clientConfig,...s}},t,e.type)}async function c(e){let{aptosConfig:t,overrides:s,params:n,contentType:o,acceptType:r,path:i,originMethod:a,type:d}=e,R=t.getRequestUrl(d);return f({url:R,method:"GET",originMethod:a,path:i,contentType:o,acceptType:r,params:n,overrides:{...t.clientConfig,...s}},t,e.type)}async function m(e){let{aptosConfig:t}=e;return p({...e,type:"Fullnode",overrides:{...t.clientConfig,...t.fullnodeConfig,...e.overrides,HEADERS:{...t.clientConfig?.HEADERS,...t.fullnodeConfig?.HEADERS}}})}async function q(e){let{aptosConfig:t}=e;return c({...e,type:"Fullnode",overrides:{...t.clientConfig,...t.fullnodeConfig,...e.overrides,HEADERS:{...t.clientConfig?.HEADERS,...t.fullnodeConfig?.HEADERS}}})}async function A(e){return p({...e,type:"Pepper"})}async function h(e){let t=[],s,n=e.params;do{let o=await p({type:"Fullnode",aptosConfig:e.aptosConfig,originMethod:e.originMethod,path:e.path,params:n,overrides:e.overrides});s=o.headers["x-aptos-cursor"],delete o.headers,t.push(...o.data),n.start=s}while(s!=null);return t}async function C(e){let t=[],s,n=e.params,o=n.limit;do{let r=await p({type:"Fullnode",aptosConfig:e.aptosConfig,originMethod:e.originMethod,path:e.path,params:n,overrides:e.overrides});if(s=r.headers["x-aptos-cursor"],delete r.headers,t.push(...r.data),n.offset=s,o!==void 0){let i=o-t.length;if(i<=0)break;n.limit=i}}while(s!=null);return t}export{p as a,c as b,m as c,q as d,A as e,h as f,C as g};
2
+ //# sourceMappingURL=chunk-3RVAGHAA.mjs.map
@@ -0,0 +1,2 @@
1
+ import{a as d}from"./chunk-DOVH6HPL.mjs";import{d as v,f as P,g as E,h as H,i as b,j as U}from"./chunk-C3Q23D22.mjs";import{a as x}from"./chunk-7CRQNXR5.mjs";import{b as K}from"./chunk-LGC2JORV.mjs";import{a as S}from"./chunk-A3VO773Q.mjs";import{a as A}from"./chunk-TTY5GFMN.mjs";import{a as p}from"./chunk-RXHER6EA.mjs";import{b as o}from"./chunk-VHY6ZATX.mjs";import{ed25519 as y}from"@noble/curves/ed25519";var m=[237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16];function T(I){let e=I.toUint8Array().slice(32);for(let t=m.length-1;t>=0;t-=1){if(e[t]<m[t])return!0;if(e[t]>m[t])return!1}return!1}var n=class n extends K{constructor(e){super();let t=o.fromHexInput(e);if(t.toUint8Array().length!==n.LENGTH)throw new Error(`PublicKey length should be ${n.LENGTH}`);this.key=t}verifySignature(e){let{message:t,signature:i}=e;if(!T(i))return!1;let a=d(t),u=o.fromHexInput(a).toUint8Array(),c=i.toUint8Array(),l=this.key.toUint8Array();return y.verify(c,u,l)}async verifySignatureAsync(e){return this.verifySignature(e)}authKey(){return A.fromSchemeAndBytes({scheme:0,input:this.toUint8Array()})}toUint8Array(){return this.key.toUint8Array()}serialize(e){e.serializeBytes(this.key.toUint8Array())}static deserialize(e){let t=e.deserializeBytes();return new n(t)}static isPublicKey(e){return e instanceof n}static isInstance(e){return"key"in e&&e.key?.data?.length===n.LENGTH}};n.LENGTH=32;var f=n,r=class r extends p{constructor(e,t){super();let i=x.parseHexInput(e,"ed25519",t);if(i.toUint8Array().length!==r.LENGTH)throw new Error(`PrivateKey length should be ${r.LENGTH}`);this.signingKey=i}static generate(){let e=y.utils.randomPrivateKey();return new r(e,!1)}static fromDerivationPath(e,t){if(!P(e))throw new Error(`Invalid derivation path ${e}`);return r.fromDerivationPathInner(e,U(t))}static fromDerivationPathInner(e,t,i=v){let{key:a,chainCode:u}=E(r.SLIP_0010_SEED,t),c=b(e).map(g=>parseInt(g,10)),{key:l}=c.reduce((g,w)=>H(g,w+i),{key:a,chainCode:u});return new r(l,!1)}publicKey(){let e=y.getPublicKey(this.signingKey.toUint8Array());return new f(e)}sign(e){let t=d(e),i=o.fromHexInput(t).toUint8Array(),a=y.sign(i,this.signingKey.toUint8Array());return new h(a)}toUint8Array(){return this.signingKey.toUint8Array()}toString(){return this.toHexString()}toHexString(){return this.signingKey.toString()}toAIP80String(){return x.formatPrivateKey(this.signingKey.toString(),"ed25519")}serialize(e){e.serializeBytes(this.toUint8Array())}static deserialize(e){let t=e.deserializeBytes();return new r(t,!1)}static isPrivateKey(e){return e instanceof r}};r.LENGTH=32,r.SLIP_0010_SEED="ed25519 seed";var z=r,s=class s extends S{constructor(e){super();let t=o.fromHexInput(e);if(t.toUint8Array().length!==s.LENGTH)throw new Error(`Signature length should be ${s.LENGTH}`);this.data=t}toUint8Array(){return this.data.toUint8Array()}serialize(e){e.serializeBytes(this.data.toUint8Array())}static deserialize(e){let t=e.deserializeBytes();return new s(t)}};s.LENGTH=64;var h=s;export{T as a,f as b,z as c,h as d};
2
+ //# sourceMappingURL=chunk-6KE4JZD6.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/core/crypto/ed25519.ts"],"sourcesContent":["// Copyright © Aptos Foundation\n// SPDX-License-Identifier: Apache-2.0\n\nimport { ed25519 } from \"@noble/curves/ed25519\";\nimport { Deserializer } from \"../../bcs/deserializer\";\nimport { Serializable, Serializer } from \"../../bcs/serializer\";\nimport { AuthenticationKey } from \"../authenticationKey\";\nimport { Hex } from \"../hex\";\nimport { HexInput, SigningScheme as AuthenticationKeyScheme, PrivateKeyVariants } from \"../../types\";\nimport { CKDPriv, deriveKey, HARDENED_OFFSET, isValidHardenedPath, mnemonicToSeed, splitPath } from \"./hdKey\";\nimport { PrivateKey } from \"./privateKey\";\nimport { AccountPublicKey, PublicKey, VerifySignatureArgs, VerifySignatureAsyncArgs } from \"./publicKey\";\nimport { Signature } from \"./signature\";\nimport { convertSigningMessage } from \"./utils\";\n\n/**\n * L is the value that greater than or equal to will produce a non-canonical signature, and must be rejected\n * @group Implementation\n * @category Serialization\n */\nconst L: number[] = [\n 0xed, 0xd3, 0xf5, 0x5c, 0x1a, 0x63, 0x12, 0x58, 0xd6, 0x9c, 0xf7, 0xa2, 0xde, 0xf9, 0xde, 0x14, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10,\n];\n\n/**\n * Checks if an ED25519 signature is non-canonical.\n * This function helps determine the validity of a signature by verifying its canonical form.\n *\n * @param signature - The signature to be checked for canonicality.\n * @returns A boolean indicating whether the signature is non-canonical.\n *\n * Comes from Aptos Core\n * https://github.com/aptos-labs/aptos-core/blob/main/crates/aptos-crypto/src/ed25519/ed25519_sigs.rs#L47-L85\n * @group Implementation\n * @category Serialization\n */\nexport function isCanonicalEd25519Signature(signature: Signature): boolean {\n const s = signature.toUint8Array().slice(32);\n for (let i = L.length - 1; i >= 0; i -= 1) {\n if (s[i] < L[i]) {\n return true;\n }\n if (s[i] > L[i]) {\n return false;\n }\n }\n // As this stage S == L which implies a non-canonical S.\n return false;\n}\n\n/**\n * Represents the public key of an Ed25519 key pair.\n *\n * Since [AIP-55](https://github.com/aptos-foundation/AIPs/pull/263) Aptos supports\n * `Legacy` and `Unified` authentication keys.\n *\n * Ed25519 scheme is represented in the SDK as `Legacy authentication key` and also\n * as `AnyPublicKey` that represents any `Unified authentication key`.\n * @group Implementation\n * @category Serialization\n */\nexport class Ed25519PublicKey extends AccountPublicKey {\n /**\n * Length of an Ed25519 public key\n * @group Implementation\n * @category Serialization\n */\n static readonly LENGTH: number = 32;\n\n /**\n * Bytes of the public key\n * @private\n * @group Implementation\n * @category Serialization\n */\n private readonly key: Hex;\n\n /**\n * Creates an instance of the Ed25519Signature class from a hex input.\n * This constructor validates the length of the signature to ensure it meets the required specifications.\n *\n * @param hexInput - The hex input representing the Ed25519 signature.\n * @throws Error if the signature length is not equal to Ed25519Signature.LENGTH.\n * @group Implementation\n * @category Serialization\n */\n constructor(hexInput: HexInput) {\n super();\n\n const hex = Hex.fromHexInput(hexInput);\n if (hex.toUint8Array().length !== Ed25519PublicKey.LENGTH) {\n throw new Error(`PublicKey length should be ${Ed25519PublicKey.LENGTH}`);\n }\n this.key = hex;\n }\n\n // region AccountPublicKey\n\n /**\n * Verifies a signed message using a public key.\n *\n * @param args - The arguments for verification.\n * @param args.message - A signed message as a Hex string or Uint8Array.\n * @param args.signature - The signature of the message.\n * @group Implementation\n * @category Serialization\n */\n verifySignature(args: VerifySignatureArgs): boolean {\n const { message, signature } = args;\n // Verify malleability\n if (!isCanonicalEd25519Signature(signature)) {\n return false;\n }\n\n const messageToVerify = convertSigningMessage(message);\n const messageBytes = Hex.fromHexInput(messageToVerify).toUint8Array();\n const signatureBytes = signature.toUint8Array();\n const publicKeyBytes = this.key.toUint8Array();\n return ed25519.verify(signatureBytes, messageBytes, publicKeyBytes);\n }\n\n /**\n * Note: Ed25519Signatures can be verified syncronously.\n *\n * Verifies the provided signature against the given message.\n * This function helps ensure the integrity and authenticity of the message by confirming that the signature is valid.\n *\n * @param args - The arguments for signature verification.\n * @param args.aptosConfig - The configuration object for connecting to the Aptos network\n * @param args.message - The message that was signed.\n * @param args.signature - The signature to verify, which must be an instance of Secp256k1Signature.\n * @returns A boolean indicating whether the signature is valid for the given message.\n * @group Implementation\n * @category Serialization\n */\n async verifySignatureAsync(args: VerifySignatureAsyncArgs): Promise<boolean> {\n return this.verifySignature(args);\n }\n\n /**\n * Generates an authentication key from the public key using the Ed25519 scheme.\n * This function is essential for creating a secure authentication key that can be used for further cryptographic operations.\n *\n * @returns {AuthenticationKey} The generated authentication key.\n * @group Implementation\n * @category Serialization\n */\n authKey(): AuthenticationKey {\n return AuthenticationKey.fromSchemeAndBytes({\n scheme: AuthenticationKeyScheme.Ed25519,\n input: this.toUint8Array(),\n });\n }\n\n /**\n * Convert the internal data representation to a Uint8Array.\n *\n * @returns Uint8Array representation of the data.\n * @group Implementation\n * @category Serialization\n */\n toUint8Array(): Uint8Array {\n return this.key.toUint8Array();\n }\n\n // endregion\n\n // region Serializable\n\n /**\n * Serializes the data into a byte array using the provided serializer.\n * This allows for the conversion of data into a format suitable for transmission or storage.\n *\n * @param serializer - The serializer instance used to perform the serialization.\n * @group Implementation\n * @category Serialization\n */\n serialize(serializer: Serializer): void {\n serializer.serializeBytes(this.key.toUint8Array());\n }\n\n /**\n * Deserialize bytes into an Ed25519Signature object.\n * This function is used to convert serialized byte data into a usable Ed25519Signature instance.\n *\n * @param deserializer - The deserializer instance used to read the byte data.\n * @group Implementation\n * @category Serialization\n */\n static deserialize(deserializer: Deserializer): Ed25519PublicKey {\n const bytes = deserializer.deserializeBytes();\n return new Ed25519PublicKey(bytes);\n }\n\n // endregion\n\n /**\n * Determine if the provided public key is an instance of Ed25519PublicKey.\n *\n * @param publicKey - The public key to check.\n * @returns True if the public key is an instance of Ed25519PublicKey, otherwise false.\n * @deprecated use `instanceof Ed25519PublicKey` instead.\n * @group Implementation\n * @category Serialization\n */\n static isPublicKey(publicKey: AccountPublicKey): publicKey is Ed25519PublicKey {\n return publicKey instanceof Ed25519PublicKey;\n }\n\n /**\n * Determines if the provided public key is a valid Ed25519 public key.\n * This function checks for the presence of the \"key\" property and verifies that its data length matches the expected length\n * for Ed25519 public keys.\n *\n * @param publicKey - The public key to validate.\n * @returns A boolean indicating whether the public key is a valid Ed25519 public key.\n * @group Implementation\n * @category Serialization\n */\n static isInstance(publicKey: PublicKey): publicKey is Ed25519PublicKey {\n return \"key\" in publicKey && (publicKey.key as any)?.data?.length === Ed25519PublicKey.LENGTH;\n }\n}\n\n/**\n * Represents the private key of an Ed25519 key pair.\n * @group Implementation\n * @category Serialization\n */\nexport class Ed25519PrivateKey extends Serializable implements PrivateKey {\n /**\n * Length of an Ed25519 private key\n * @group Implementation\n * @category Serialization\n */\n static readonly LENGTH: number = 32;\n\n /**\n * The Ed25519 key seed to use for BIP-32 compatibility\n * See more {@link https://github.com/satoshilabs/slips/blob/master/slip-0010.md}\n * @group Implementation\n * @category Serialization\n */\n static readonly SLIP_0010_SEED = \"ed25519 seed\";\n\n /**\n * The Ed25519 signing key\n * @private\n * @group Implementation\n * @category Serialization\n */\n private readonly signingKey: Hex;\n\n // region Constructors\n\n /**\n * Create a new PrivateKey instance from a Uint8Array or String.\n *\n * [Read about AIP-80](https://github.com/aptos-foundation/AIPs/blob/main/aips/aip-80.md)\n *\n * @param hexInput HexInput (string or Uint8Array)\n * @param strict If true, private key must AIP-80 compliant.\n * @group Implementation\n * @category Serialization\n */\n constructor(hexInput: HexInput, strict?: boolean) {\n super();\n\n const privateKeyHex = PrivateKey.parseHexInput(hexInput, PrivateKeyVariants.Ed25519, strict);\n if (privateKeyHex.toUint8Array().length !== Ed25519PrivateKey.LENGTH) {\n throw new Error(`PrivateKey length should be ${Ed25519PrivateKey.LENGTH}`);\n }\n\n // Create keyPair from Private key in Uint8Array format\n this.signingKey = privateKeyHex;\n }\n\n /**\n * Generate a new random private key.\n *\n * @returns Ed25519PrivateKey A newly generated Ed25519 private key.\n * @group Implementation\n * @category Serialization\n */\n static generate(): Ed25519PrivateKey {\n const keyPair = ed25519.utils.randomPrivateKey();\n return new Ed25519PrivateKey(keyPair, false);\n }\n\n /**\n * Derives a private key from a mnemonic seed phrase using a specified BIP44 path.\n * To derive multiple keys from the same phrase, change the path\n *\n * IMPORTANT: Ed25519 supports hardened derivation only, as it lacks a key homomorphism, making non-hardened derivation impossible.\n *\n * @param path - The BIP44 path used for key derivation.\n * @param mnemonics - The mnemonic seed phrase from which the key will be derived.\n * @throws Error if the provided path is not a valid hardened path.\n * @group Implementation\n * @category Serialization\n */\n static fromDerivationPath(path: string, mnemonics: string): Ed25519PrivateKey {\n if (!isValidHardenedPath(path)) {\n throw new Error(`Invalid derivation path ${path}`);\n }\n return Ed25519PrivateKey.fromDerivationPathInner(path, mnemonicToSeed(mnemonics));\n }\n\n /**\n * Derives a child private key from a given BIP44 path and seed.\n * A private inner function so we can separate from the main fromDerivationPath() method\n * to add tests to verify we create the keys correctly.\n *\n * @param path - The BIP44 path used for key derivation.\n * @param seed - The seed phrase created by the mnemonics, represented as a Uint8Array.\n * @param offset - The offset used for key derivation, defaults to HARDENED_OFFSET.\n * @returns An instance of Ed25519PrivateKey derived from the specified path and seed.\n * @group Implementation\n * @category Serialization\n */\n private static fromDerivationPathInner(path: string, seed: Uint8Array, offset = HARDENED_OFFSET): Ed25519PrivateKey {\n const { key, chainCode } = deriveKey(Ed25519PrivateKey.SLIP_0010_SEED, seed);\n\n const segments = splitPath(path).map((el) => parseInt(el, 10));\n\n // Derive the child key based on the path\n const { key: privateKey } = segments.reduce((parentKeys, segment) => CKDPriv(parentKeys, segment + offset), {\n key,\n chainCode,\n });\n return new Ed25519PrivateKey(privateKey, false);\n }\n\n // endregion\n\n // region PrivateKey\n\n /**\n * Derive the Ed25519PublicKey for this private key.\n *\n * @returns Ed25519PublicKey - The derived public key corresponding to the private key.\n * @group Implementation\n * @category Serialization\n */\n publicKey(): Ed25519PublicKey {\n const bytes = ed25519.getPublicKey(this.signingKey.toUint8Array());\n return new Ed25519PublicKey(bytes);\n }\n\n /**\n * Sign the given message with the private key.\n * This function generates a digital signature for the specified message, ensuring its authenticity and integrity.\n *\n * @param message - A message as a string or Uint8Array in HexInput format.\n * @returns A digital signature for the provided message.\n * @group Implementation\n * @category Serialization\n */\n sign(message: HexInput): Ed25519Signature {\n const messageToSign = convertSigningMessage(message);\n const messageBytes = Hex.fromHexInput(messageToSign).toUint8Array();\n const signatureBytes = ed25519.sign(messageBytes, this.signingKey.toUint8Array());\n return new Ed25519Signature(signatureBytes);\n }\n\n /**\n * Get the private key in bytes (Uint8Array).\n *\n * @returns Uint8Array representation of the private key\n * @group Implementation\n * @category Serialization\n */\n toUint8Array(): Uint8Array {\n return this.signingKey.toUint8Array();\n }\n\n /**\n * Get the private key as a hex string with the 0x prefix.\n *\n * @returns string representation of the private key.\n * @group Implementation\n * @category Serialization\n */\n toString(): string {\n return this.toHexString();\n }\n\n /**\n * Get the private key as a hex string with the 0x prefix.\n *\n * @returns string representation of the private key.\n */\n toHexString(): string {\n return this.signingKey.toString();\n }\n\n /**\n * Get the private key as a AIP-80 compliant hex string.\n *\n * [Read about AIP-80](https://github.com/aptos-foundation/AIPs/blob/main/aips/aip-80.md)\n *\n * @returns AIP-80 compliant string representation of the private key.\n */\n toAIP80String(): string {\n return PrivateKey.formatPrivateKey(this.signingKey.toString(), PrivateKeyVariants.Ed25519);\n }\n\n // endregion\n\n // region Serializable\n\n serialize(serializer: Serializer): void {\n serializer.serializeBytes(this.toUint8Array());\n }\n\n static deserialize(deserializer: Deserializer): Ed25519PrivateKey {\n const bytes = deserializer.deserializeBytes();\n return new Ed25519PrivateKey(bytes, false);\n }\n\n // endregion\n\n /**\n * Determines if the provided private key is an instance of Ed25519PrivateKey.\n *\n * @param privateKey - The private key to check.\n * @returns A boolean indicating whether the private key is an Ed25519PrivateKey.\n *\n * @deprecated Use `instanceof Ed25519PrivateKey` instead.\n * @group Implementation\n * @category Serialization\n */\n static isPrivateKey(privateKey: PrivateKey): privateKey is Ed25519PrivateKey {\n return privateKey instanceof Ed25519PrivateKey;\n }\n}\n\n/**\n * Represents a signature of a message signed using an Ed25519 private key.\n * @group Implementation\n * @category Serialization\n */\nexport class Ed25519Signature extends Signature {\n /**\n * Length of an Ed25519 signature, which is 64 bytes.\n * @group Implementation\n * @category Serialization\n */\n static readonly LENGTH = 64;\n\n /**\n * The signature bytes\n * @private\n * @group Implementation\n * @category Serialization\n */\n private readonly data: Hex;\n\n // region Constructors\n\n constructor(hexInput: HexInput) {\n super();\n const data = Hex.fromHexInput(hexInput);\n if (data.toUint8Array().length !== Ed25519Signature.LENGTH) {\n throw new Error(`Signature length should be ${Ed25519Signature.LENGTH}`);\n }\n this.data = data;\n }\n\n // endregion\n\n // region Signature\n\n toUint8Array(): Uint8Array {\n return this.data.toUint8Array();\n }\n\n // endregion\n\n // region Serializable\n\n serialize(serializer: Serializer): void {\n serializer.serializeBytes(this.data.toUint8Array());\n }\n\n static deserialize(deserializer: Deserializer): Ed25519Signature {\n const bytes = deserializer.deserializeBytes();\n return new Ed25519Signature(bytes);\n }\n\n // endregion\n}\n"],"mappings":"2WAGA,OAAS,WAAAA,MAAe,wBAiBxB,IAAMC,EAAc,CAClB,IAAM,IAAM,IAAM,GAAM,GAAM,GAAM,GAAM,GAAM,IAAM,IAAM,IAAM,IAAM,IAAM,IAAM,IAAM,GAAM,EAAM,EAAM,EAC5G,EAAM,EAAM,EAAM,EAAM,EAAM,EAAM,EAAM,EAAM,EAAM,EAAM,EAAM,EAAM,EAC1E,EAcO,SAASC,EAA4BC,EAA+B,CACzE,IAAMC,EAAID,EAAU,aAAa,EAAE,MAAM,EAAE,EAC3C,QAASE,EAAIJ,EAAE,OAAS,EAAGI,GAAK,EAAGA,GAAK,EAAG,CACzC,GAAID,EAAEC,CAAC,EAAIJ,EAAEI,CAAC,EACZ,MAAO,GAET,GAAID,EAAEC,CAAC,EAAIJ,EAAEI,CAAC,EACZ,MAAO,EAEX,CAEA,MAAO,EACT,CAaO,IAAMC,EAAN,MAAMA,UAAyBC,CAAiB,CAyBrD,YAAYC,EAAoB,CAC9B,MAAM,EAEN,IAAMC,EAAMC,EAAI,aAAaF,CAAQ,EACrC,GAAIC,EAAI,aAAa,EAAE,SAAWH,EAAiB,OACjD,MAAM,IAAI,MAAM,8BAA8BA,EAAiB,MAAM,EAAE,EAEzE,KAAK,IAAMG,CACb,CAaA,gBAAgBE,EAAoC,CAClD,GAAM,CAAE,QAAAC,EAAS,UAAAT,CAAU,EAAIQ,EAE/B,GAAI,CAACT,EAA4BC,CAAS,EACxC,MAAO,GAGT,IAAMU,EAAkBC,EAAsBF,CAAO,EAC/CG,EAAeL,EAAI,aAAaG,CAAe,EAAE,aAAa,EAC9DG,EAAiBb,EAAU,aAAa,EACxCc,EAAiB,KAAK,IAAI,aAAa,EAC7C,OAAOC,EAAQ,OAAOF,EAAgBD,EAAcE,CAAc,CACpE,CAgBA,MAAM,qBAAqBN,EAAkD,CAC3E,OAAO,KAAK,gBAAgBA,CAAI,CAClC,CAUA,SAA6B,CAC3B,OAAOQ,EAAkB,mBAAmB,CAC1C,SACA,MAAO,KAAK,aAAa,CAC3B,CAAC,CACH,CASA,cAA2B,CACzB,OAAO,KAAK,IAAI,aAAa,CAC/B,CAcA,UAAUC,EAA8B,CACtCA,EAAW,eAAe,KAAK,IAAI,aAAa,CAAC,CACnD,CAUA,OAAO,YAAYC,EAA8C,CAC/D,IAAMC,EAAQD,EAAa,iBAAiB,EAC5C,OAAO,IAAIf,EAAiBgB,CAAK,CACnC,CAaA,OAAO,YAAYC,EAA4D,CAC7E,OAAOA,aAAqBjB,CAC9B,CAYA,OAAO,WAAWiB,EAAqD,CACrE,MAAO,QAASA,GAAcA,EAAU,KAAa,MAAM,SAAWjB,EAAiB,MACzF,CACF,EAjKaA,EAMK,OAAiB,GAN5B,IAAMkB,EAANlB,EAwKMmB,EAAN,MAAMA,UAA0BC,CAAmC,CAoCxE,YAAYlB,EAAoBmB,EAAkB,CAChD,MAAM,EAEN,IAAMC,EAAgBC,EAAW,cAAcrB,YAAsCmB,CAAM,EAC3F,GAAIC,EAAc,aAAa,EAAE,SAAWH,EAAkB,OAC5D,MAAM,IAAI,MAAM,+BAA+BA,EAAkB,MAAM,EAAE,EAI3E,KAAK,WAAaG,CACpB,CASA,OAAO,UAA8B,CACnC,IAAME,EAAUZ,EAAQ,MAAM,iBAAiB,EAC/C,OAAO,IAAIO,EAAkBK,EAAS,EAAK,CAC7C,CAcA,OAAO,mBAAmBC,EAAcC,EAAsC,CAC5E,GAAI,CAACC,EAAoBF,CAAI,EAC3B,MAAM,IAAI,MAAM,2BAA2BA,CAAI,EAAE,EAEnD,OAAON,EAAkB,wBAAwBM,EAAMG,EAAeF,CAAS,CAAC,CAClF,CAcA,OAAe,wBAAwBD,EAAcI,EAAkBC,EAASC,EAAoC,CAClH,GAAM,CAAE,IAAAC,EAAK,UAAAC,CAAU,EAAIC,EAAUf,EAAkB,eAAgBU,CAAI,EAErEM,EAAWC,EAAUX,CAAI,EAAE,IAAKY,GAAO,SAASA,EAAI,EAAE,CAAC,EAGvD,CAAE,IAAKC,CAAW,EAAIH,EAAS,OAAO,CAACI,EAAYC,IAAYC,EAAQF,EAAYC,EAAUV,CAAM,EAAG,CAC1G,IAAAE,EACA,UAAAC,CACF,CAAC,EACD,OAAO,IAAId,EAAkBmB,EAAY,EAAK,CAChD,CAaA,WAA8B,CAC5B,IAAMtB,EAAQJ,EAAQ,aAAa,KAAK,WAAW,aAAa,CAAC,EACjE,OAAO,IAAIM,EAAiBF,CAAK,CACnC,CAWA,KAAKV,EAAqC,CACxC,IAAMoC,EAAgBlC,EAAsBF,CAAO,EAC7CG,EAAeL,EAAI,aAAasC,CAAa,EAAE,aAAa,EAC5DhC,EAAiBE,EAAQ,KAAKH,EAAc,KAAK,WAAW,aAAa,CAAC,EAChF,OAAO,IAAIkC,EAAiBjC,CAAc,CAC5C,CASA,cAA2B,CACzB,OAAO,KAAK,WAAW,aAAa,CACtC,CASA,UAAmB,CACjB,OAAO,KAAK,YAAY,CAC1B,CAOA,aAAsB,CACpB,OAAO,KAAK,WAAW,SAAS,CAClC,CASA,eAAwB,CACtB,OAAOa,EAAW,iBAAiB,KAAK,WAAW,SAAS,WAA6B,CAC3F,CAMA,UAAUT,EAA8B,CACtCA,EAAW,eAAe,KAAK,aAAa,CAAC,CAC/C,CAEA,OAAO,YAAYC,EAA+C,CAChE,IAAMC,EAAQD,EAAa,iBAAiB,EAC5C,OAAO,IAAII,EAAkBH,EAAO,EAAK,CAC3C,CAcA,OAAO,aAAasB,EAAyD,CAC3E,OAAOA,aAAsBnB,CAC/B,CACF,EA9MaA,EAMK,OAAiB,GANtBA,EAcK,eAAiB,eAd5B,IAAMyB,EAANzB,EAqNM0B,EAAN,MAAMA,UAAyBC,CAAU,CAkB9C,YAAY5C,EAAoB,CAC9B,MAAM,EACN,IAAM6C,EAAO3C,EAAI,aAAaF,CAAQ,EACtC,GAAI6C,EAAK,aAAa,EAAE,SAAWF,EAAiB,OAClD,MAAM,IAAI,MAAM,8BAA8BA,EAAiB,MAAM,EAAE,EAEzE,KAAK,KAAOE,CACd,CAMA,cAA2B,CACzB,OAAO,KAAK,KAAK,aAAa,CAChC,CAMA,UAAUjC,EAA8B,CACtCA,EAAW,eAAe,KAAK,KAAK,aAAa,CAAC,CACpD,CAEA,OAAO,YAAYC,EAA8C,CAC/D,IAAMC,EAAQD,EAAa,iBAAiB,EAC5C,OAAO,IAAI8B,EAAiB7B,CAAK,CACnC,CAGF,EAjDa6B,EAMK,OAAS,GANpB,IAAMF,EAANE","names":["ed25519","L","isCanonicalEd25519Signature","signature","s","i","_Ed25519PublicKey","AccountPublicKey","hexInput","hex","Hex","args","message","messageToVerify","convertSigningMessage","messageBytes","signatureBytes","publicKeyBytes","ed25519","AuthenticationKey","serializer","deserializer","bytes","publicKey","Ed25519PublicKey","_Ed25519PrivateKey","Serializable","strict","privateKeyHex","PrivateKey","keyPair","path","mnemonics","isValidHardenedPath","mnemonicToSeed","seed","offset","HARDENED_OFFSET","key","chainCode","deriveKey","segments","splitPath","el","privateKey","parentKeys","segment","CKDPriv","messageToSign","Ed25519Signature","Ed25519PrivateKey","_Ed25519Signature","Signature","data"]}
@@ -0,0 +1,2 @@
1
+ import{b as t,d as n}from"./chunk-6KE4JZD6.mjs";import{a as u}from"./chunk-LGC2JORV.mjs";import{a as l}from"./chunk-A3VO773Q.mjs";import{a as o}from"./chunk-ZD2TY5N3.mjs";import{b as s}from"./chunk-VHY6ZATX.mjs";var c=class i extends u{constructor(e){super();let r=e.constructor.name;switch(r){case t.name:this.publicKey=e,this.variant=0;break;default:throw new Error(`Unsupported key for EphemeralPublicKey - ${r}`)}}verifySignature(e){let{message:r,signature:a}=e;return this.publicKey.verifySignature({message:r,signature:a.signature})}async verifySignatureAsync(e){return this.verifySignature(e)}serialize(e){if(this.publicKey instanceof t)e.serializeU32AsUleb128(0),this.publicKey.serialize(e);else throw new Error("Unknown public key type")}static deserialize(e){let r=e.deserializeUleb128AsU32();switch(r){case 0:return new i(t.deserialize(e));default:throw new Error(`Unknown variant index for EphemeralPublicKey: ${r}`)}}static isPublicKey(e){return e instanceof i}},p=class i extends l{constructor(e){super();let r=e.constructor.name;switch(r){case n.name:this.signature=e;break;default:throw new Error(`Unsupported signature for EphemeralSignature - ${r}`)}}static fromHex(e){let r=s.fromHexInput(e),a=new o(r.toUint8Array());return i.deserialize(a)}serialize(e){if(this.signature instanceof n)e.serializeU32AsUleb128(0),this.signature.serialize(e);else throw new Error("Unknown signature type")}static deserialize(e){let r=e.deserializeUleb128AsU32();switch(r){case 0:return new i(n.deserialize(e));default:throw new Error(`Unknown variant index for EphemeralSignature: ${r}`)}}};export{c as a,p as b};
2
+ //# sourceMappingURL=chunk-7YTGBTWH.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/core/crypto/ephemeral.ts"],"sourcesContent":["import { Serializer, Deserializer } from \"../../bcs\";\nimport { EphemeralPublicKeyVariant, EphemeralSignatureVariant, HexInput } from \"../../types\";\nimport { PublicKey } from \"./publicKey\";\nimport { Signature } from \"./signature\";\nimport { Ed25519PublicKey, Ed25519Signature } from \"./ed25519\";\nimport { Hex } from \"../hex\";\nimport { AptosConfig } from \"../../api\";\n\n/**\n * Represents ephemeral public keys for Aptos Keyless accounts.\n *\n * These keys are used only temporarily within Keyless accounts and are not utilized as public keys for account identification.\n * @group Implementation\n * @category Serialization\n */\nexport class EphemeralPublicKey extends PublicKey {\n /**\n * The public key itself\n * @group Implementation\n * @category Serialization\n */\n public readonly publicKey: PublicKey;\n\n /**\n * An enum indicating the scheme of the ephemeral public key\n * @group Implementation\n * @category Serialization\n */\n public readonly variant: EphemeralPublicKeyVariant;\n\n /**\n * Creates an instance of EphemeralPublicKey using the provided public key.\n * This constructor ensures that only supported signature types are accepted.\n *\n * @param publicKey - The public key to be used for the ephemeral public key.\n * @throws Error if the signature type is unsupported.\n * @group Implementation\n * @category Serialization\n */\n constructor(publicKey: PublicKey) {\n super();\n const publicKeyType = publicKey.constructor.name;\n switch (publicKeyType) {\n case Ed25519PublicKey.name:\n this.publicKey = publicKey;\n this.variant = EphemeralPublicKeyVariant.Ed25519;\n break;\n default:\n throw new Error(`Unsupported key for EphemeralPublicKey - ${publicKeyType}`);\n }\n }\n\n /**\n * Verifies a signed message using the ephemeral public key.\n *\n * @param args - The arguments for the verification.\n * @param args.message - The message that was signed.\n * @param args.signature - The signature that was signed by the private key of the ephemeral public key.\n * @returns true if the signature is valid, otherwise false.\n * @group Implementation\n * @category Serialization\n */\n verifySignature(args: { message: HexInput; signature: EphemeralSignature }): boolean {\n const { message, signature } = args;\n return this.publicKey.verifySignature({ message, signature: signature.signature });\n }\n\n async verifySignatureAsync(args: {\n aptosConfig: AptosConfig;\n message: HexInput;\n signature: EphemeralSignature;\n }): Promise<boolean> {\n return this.verifySignature(args);\n }\n\n /**\n * Serializes the current instance, specifically handling the Ed25519 signature type.\n * This function ensures that the signature is properly serialized using the provided serializer.\n *\n * @param serializer - The serializer instance used to serialize the signature.\n * @throws Error if the signature type is unknown.\n * @group Implementation\n * @category Serialization\n */\n serialize(serializer: Serializer): void {\n if (this.publicKey instanceof Ed25519PublicKey) {\n serializer.serializeU32AsUleb128(EphemeralPublicKeyVariant.Ed25519);\n this.publicKey.serialize(serializer);\n } else {\n throw new Error(\"Unknown public key type\");\n }\n }\n\n /**\n * Deserializes an EphemeralSignature from the provided deserializer.\n * This function allows you to retrieve an EphemeralSignature based on the deserialized data.\n *\n * @param deserializer - The deserializer instance used to read the serialized data.\n * @group Implementation\n * @category Serialization\n */\n static deserialize(deserializer: Deserializer): EphemeralPublicKey {\n const index = deserializer.deserializeUleb128AsU32();\n switch (index) {\n case EphemeralPublicKeyVariant.Ed25519:\n return new EphemeralPublicKey(Ed25519PublicKey.deserialize(deserializer));\n default:\n throw new Error(`Unknown variant index for EphemeralPublicKey: ${index}`);\n }\n }\n\n /**\n * Determines if the provided public key is an instance of `EphemeralPublicKey`.\n *\n * @param publicKey - The public key to check.\n * @returns A boolean indicating whether the public key is an ephemeral type.\n * @group Implementation\n * @category Serialization\n */\n static isPublicKey(publicKey: PublicKey): publicKey is EphemeralPublicKey {\n return publicKey instanceof EphemeralPublicKey;\n }\n}\n\n/**\n * Represents ephemeral signatures used in Aptos Keyless accounts.\n *\n * These signatures are utilized within the KeylessSignature framework.\n * @group Implementation\n * @category Serialization\n */\nexport class EphemeralSignature extends Signature {\n /**\n * The signature signed by the private key of an EphemeralKeyPair\n * @group Implementation\n * @category Serialization\n */\n public readonly signature: Signature;\n\n constructor(signature: Signature) {\n super();\n const signatureType = signature.constructor.name;\n switch (signatureType) {\n case Ed25519Signature.name:\n this.signature = signature;\n break;\n default:\n throw new Error(`Unsupported signature for EphemeralSignature - ${signatureType}`);\n }\n }\n\n /**\n * Deserializes an ephemeral signature from a hexadecimal input.\n * This function allows you to convert a hexadecimal representation of an ephemeral signature into its deserialized form for\n * further processing.\n *\n * @param hexInput - The hexadecimal input representing the ephemeral signature.\n * @group Implementation\n * @category Serialization\n */\n static fromHex(hexInput: HexInput): EphemeralSignature {\n const data = Hex.fromHexInput(hexInput);\n const deserializer = new Deserializer(data.toUint8Array());\n return EphemeralSignature.deserialize(deserializer);\n }\n\n serialize(serializer: Serializer): void {\n if (this.signature instanceof Ed25519Signature) {\n serializer.serializeU32AsUleb128(EphemeralSignatureVariant.Ed25519);\n this.signature.serialize(serializer);\n } else {\n throw new Error(\"Unknown signature type\");\n }\n }\n\n static deserialize(deserializer: Deserializer): EphemeralSignature {\n const index = deserializer.deserializeUleb128AsU32();\n switch (index) {\n case EphemeralSignatureVariant.Ed25519:\n return new EphemeralSignature(Ed25519Signature.deserialize(deserializer));\n default:\n throw new Error(`Unknown variant index for EphemeralSignature: ${index}`);\n }\n }\n}\n"],"mappings":"oNAeO,IAAMA,EAAN,MAAMC,UAA2BC,CAAU,CAwBhD,YAAYC,EAAsB,CAChC,MAAM,EACN,IAAMC,EAAgBD,EAAU,YAAY,KAC5C,OAAQC,EAAe,CACrB,KAAKC,EAAiB,KACpB,KAAK,UAAYF,EACjB,KAAK,QAAU,EACf,MACF,QACE,MAAM,IAAI,MAAM,4CAA4CC,CAAa,EAAE,CAC/E,CACF,CAYA,gBAAgBE,EAAqE,CACnF,GAAM,CAAE,QAAAC,EAAS,UAAAC,CAAU,EAAIF,EAC/B,OAAO,KAAK,UAAU,gBAAgB,CAAE,QAAAC,EAAS,UAAWC,EAAU,SAAU,CAAC,CACnF,CAEA,MAAM,qBAAqBF,EAIN,CACnB,OAAO,KAAK,gBAAgBA,CAAI,CAClC,CAWA,UAAUG,EAA8B,CACtC,GAAI,KAAK,qBAAqBJ,EAC5BI,EAAW,uBAAuD,EAClE,KAAK,UAAU,UAAUA,CAAU,MAEnC,OAAM,IAAI,MAAM,yBAAyB,CAE7C,CAUA,OAAO,YAAYC,EAAgD,CACjE,IAAMC,EAAQD,EAAa,wBAAwB,EACnD,OAAQC,EAAO,CACb,OACE,OAAO,IAAIV,EAAmBI,EAAiB,YAAYK,CAAY,CAAC,EAC1E,QACE,MAAM,IAAI,MAAM,iDAAiDC,CAAK,EAAE,CAC5E,CACF,CAUA,OAAO,YAAYR,EAAuD,CACxE,OAAOA,aAAqBF,CAC9B,CACF,EASaW,EAAN,MAAMC,UAA2BC,CAAU,CAQhD,YAAYN,EAAsB,CAChC,MAAM,EACN,IAAMO,EAAgBP,EAAU,YAAY,KAC5C,OAAQO,EAAe,CACrB,KAAKC,EAAiB,KACpB,KAAK,UAAYR,EACjB,MACF,QACE,MAAM,IAAI,MAAM,kDAAkDO,CAAa,EAAE,CACrF,CACF,CAWA,OAAO,QAAQE,EAAwC,CACrD,IAAMC,EAAOC,EAAI,aAAaF,CAAQ,EAChCP,EAAe,IAAIU,EAAaF,EAAK,aAAa,CAAC,EACzD,OAAOL,EAAmB,YAAYH,CAAY,CACpD,CAEA,UAAUD,EAA8B,CACtC,GAAI,KAAK,qBAAqBO,EAC5BP,EAAW,uBAAuD,EAClE,KAAK,UAAU,UAAUA,CAAU,MAEnC,OAAM,IAAI,MAAM,wBAAwB,CAE5C,CAEA,OAAO,YAAYC,EAAgD,CACjE,IAAMC,EAAQD,EAAa,wBAAwB,EACnD,OAAQC,EAAO,CACb,OACE,OAAO,IAAIE,EAAmBG,EAAiB,YAAYN,CAAY,CAAC,EAC1E,QACE,MAAM,IAAI,MAAM,iDAAiDC,CAAK,EAAE,CAC5E,CACF,CACF","names":["EphemeralPublicKey","_EphemeralPublicKey","PublicKey","publicKey","publicKeyType","Ed25519PublicKey","args","message","signature","serializer","deserializer","index","EphemeralSignature","_EphemeralSignature","Signature","signatureType","Ed25519Signature","hexInput","data","Hex","Deserializer"]}
@@ -1,2 +1,2 @@
1
- import{c as u,d as A}from"./chunk-TWETGZ3W.mjs";async function n(e){let{type:t,originMethod:o,path:p,body:i,acceptType:r,contentType:R,params:f,aptosConfig:s,overrides:c}=e,d=s.getRequestUrl(t);return u({url:d,method:"POST",originMethod:o,path:p,body:i,contentType:R,acceptType:r,params:f,overrides:c},s,e.type)}async function y(e){let{type:t,originMethod:o,path:p,body:i,acceptType:r,contentType:R,params:f,aptosConfig:s,overrides:c}=e,d=s.getRequestUrl(t);return A({url:d,method:"POST",originMethod:o,path:p,body:i,contentType:R,acceptType:r,params:f,overrides:c},s,e.type)}async function C(e){let{aptosConfig:t}=e;return n({...e,type:"Fullnode",overrides:{...t.clientConfig,...t.fullnodeConfig,...e.overrides,HEADERS:{...t.clientConfig?.HEADERS,...t.fullnodeConfig?.HEADERS}}})}async function E(e){let{aptosConfig:t}=e;return y({...e,type:"Fullnode",overrides:{...t.clientConfig,...t.fullnodeConfig,...e.overrides,HEADERS:{...t.clientConfig?.HEADERS,...t.fullnodeConfig?.HEADERS}}})}async function l(e){let{aptosConfig:t}=e;return n({...e,type:"Indexer",overrides:{...t.clientConfig,...t.indexerConfig,...e.overrides,HEADERS:{...t.clientConfig?.HEADERS,...t.indexerConfig?.HEADERS}}})}async function m(e){let{aptosConfig:t}=e,o={...t,clientConfig:{...t.clientConfig}};return delete o?.clientConfig?.API_KEY,n({...e,type:"Faucet",overrides:{...o.clientConfig,...o.faucetConfig,...e.overrides,HEADERS:{...o.clientConfig?.HEADERS,...o.faucetConfig?.HEADERS}}})}async function P(e){return n({...e,type:"Pepper"})}async function x(e){return n({...e,type:"Prover"})}export{n as a,y as b,C as c,E as d,l as e,m as f,P as g,x as h};
2
- //# sourceMappingURL=chunk-752TOOCA.mjs.map
1
+ import{c as u,d as A}from"./chunk-3EUHEZND.mjs";async function n(e){let{type:t,originMethod:o,path:p,body:i,acceptType:r,contentType:R,params:f,aptosConfig:s,overrides:c}=e,d=s.getRequestUrl(t);return u({url:d,method:"POST",originMethod:o,path:p,body:i,contentType:R,acceptType:r,params:f,overrides:c},s,e.type)}async function y(e){let{type:t,originMethod:o,path:p,body:i,acceptType:r,contentType:R,params:f,aptosConfig:s,overrides:c}=e,d=s.getRequestUrl(t);return A({url:d,method:"POST",originMethod:o,path:p,body:i,contentType:R,acceptType:r,params:f,overrides:c},s,e.type)}async function C(e){let{aptosConfig:t}=e;return n({...e,type:"Fullnode",overrides:{...t.clientConfig,...t.fullnodeConfig,...e.overrides,HEADERS:{...t.clientConfig?.HEADERS,...t.fullnodeConfig?.HEADERS}}})}async function E(e){let{aptosConfig:t}=e;return y({...e,type:"Fullnode",overrides:{...t.clientConfig,...t.fullnodeConfig,...e.overrides,HEADERS:{...t.clientConfig?.HEADERS,...t.fullnodeConfig?.HEADERS}}})}async function l(e){let{aptosConfig:t}=e;return n({...e,type:"Indexer",overrides:{...t.clientConfig,...t.indexerConfig,...e.overrides,HEADERS:{...t.clientConfig?.HEADERS,...t.indexerConfig?.HEADERS}}})}async function m(e){let{aptosConfig:t}=e,o={...t,clientConfig:{...t.clientConfig}};return delete o?.clientConfig?.API_KEY,n({...e,type:"Faucet",overrides:{...o.clientConfig,...o.faucetConfig,...e.overrides,HEADERS:{...o.clientConfig?.HEADERS,...o.faucetConfig?.HEADERS}}})}async function P(e){return n({...e,type:"Pepper"})}async function x(e){return n({...e,type:"Prover"})}export{n as a,y as b,C as c,E as d,l as e,m as f,P as g,x as h};
2
+ //# sourceMappingURL=chunk-CWL7ZA3P.mjs.map
@@ -1,2 +1,2 @@
1
- import{h as e}from"./chunk-GRRBXHVG.mjs";async function i(o){o.minimumLedgerVersion!==void 0&&await e({aptosConfig:o.config,minimumLedgerVersion:o.minimumLedgerVersion,processorType:o.processorType})}export{i as a};
2
- //# sourceMappingURL=chunk-MFLHAVIW.mjs.map
1
+ import{h as e}from"./chunk-RXMLONF7.mjs";async function i(o){o.minimumLedgerVersion!==void 0&&await e({aptosConfig:o.config,minimumLedgerVersion:o.minimumLedgerVersion,processorType:o.processorType})}export{i as a};
2
+ //# sourceMappingURL=chunk-EODSU3YN.mjs.map
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=chunk-G3MHXDYA.mjs.map
@@ -1,2 +1,2 @@
1
- import{c as s}from"./chunk-KK5HUWF6.mjs";import{w as i,x as m}from"./chunk-VHNX2NUR.mjs";import{c as n}from"./chunk-752TOOCA.mjs";async function b(t){let{aptosConfig:a,handle:e,data:o,options:r}=t;return(await n({aptosConfig:a,originMethod:"getTableItem",path:`tables/${e}/item`,params:{ledger_version:r?.ledgerVersion},body:o})).data}async function f(t){let{aptosConfig:a,options:e}=t,o={query:i,variables:{where_condition:e?.where,offset:e?.offset,limit:e?.limit,order_by:e?.orderBy}};return(await s({aptosConfig:a,query:o,originMethod:"getTableItemsData"})).table_items}async function T(t){let{aptosConfig:a,options:e}=t,o={query:m,variables:{where_condition:e?.where,offset:e?.offset,limit:e?.limit,order_by:e?.orderBy}};return(await s({aptosConfig:a,query:o,originMethod:"getTableItemsMetadata"})).table_metadatas}export{b as a,f as b,T as c};
2
- //# sourceMappingURL=chunk-RDPWCN4B.mjs.map
1
+ import{c as s}from"./chunk-PSZYS4RG.mjs";import{w as i,x as m}from"./chunk-VHNX2NUR.mjs";import{c as n}from"./chunk-CWL7ZA3P.mjs";async function b(t){let{aptosConfig:a,handle:e,data:o,options:r}=t;return(await n({aptosConfig:a,originMethod:"getTableItem",path:`tables/${e}/item`,params:{ledger_version:r?.ledgerVersion},body:o})).data}async function f(t){let{aptosConfig:a,options:e}=t,o={query:i,variables:{where_condition:e?.where,offset:e?.offset,limit:e?.limit,order_by:e?.orderBy}};return(await s({aptosConfig:a,query:o,originMethod:"getTableItemsData"})).table_items}async function T(t){let{aptosConfig:a,options:e}=t,o={query:m,variables:{where_condition:e?.where,offset:e?.offset,limit:e?.limit,order_by:e?.orderBy}};return(await s({aptosConfig:a,query:o,originMethod:"getTableItemsMetadata"})).table_metadatas}export{b as a,f as b,T as c};
2
+ //# sourceMappingURL=chunk-KXVD52Y6.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as e}from"./chunk-RXHER6EA.mjs";import{b as r}from"./chunk-VHY6ZATX.mjs";var t=class extends e{toUint8Array(){return this.bcsToBytes()}toString(){let n=this.toUint8Array();return r.fromHexInput(n).toString()}},a=class extends t{};export{t as a,a as b};
2
- //# sourceMappingURL=chunk-H4YAL2IL.mjs.map
1
+ import{a as e}from"./chunk-RXHER6EA.mjs";import{b as r}from"./chunk-VHY6ZATX.mjs";var t=class extends e{toUint8Array(){return this.bcsToBytes()}toString(){let n=this.toUint8Array();return r.fromHexInput(n).toString()}},i=class extends t{};export{t as a,i as b};
2
+ //# sourceMappingURL=chunk-LGC2JORV.mjs.map