@aptos-labs/ts-sdk 1.28.0-zeta.8 → 1.29.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 (628) hide show
  1. package/README.md +103 -82
  2. package/dist/common/{accountAddress-DiV7nV2O.d.ts → accountAddress-DUCC2ffJ.d.ts} +6 -0
  3. package/dist/common/cli/index.d.ts +1 -1
  4. package/dist/common/index.d.ts +53 -12
  5. package/dist/common/index.js +13 -13
  6. package/dist/common/index.js.map +1 -1
  7. package/dist/esm/account/{KeylessAccountCommon.d.mts → AbstractKeylessAccount.d.mts} +5 -5
  8. package/dist/esm/account/AbstractKeylessAccount.mjs +2 -0
  9. package/dist/esm/account/Account.mjs +1 -1
  10. package/dist/esm/account/Ed25519Account.mjs +1 -1
  11. package/dist/esm/account/EphemeralKeyPair.mjs +1 -1
  12. package/dist/esm/account/FederatedKeylessAccount.d.mts +3 -3
  13. package/dist/esm/account/FederatedKeylessAccount.mjs +1 -1
  14. package/dist/esm/account/KeylessAccount.d.mts +3 -3
  15. package/dist/esm/account/KeylessAccount.mjs +1 -1
  16. package/dist/esm/account/MultiKeyAccount.mjs +1 -1
  17. package/dist/esm/account/SingleKeyAccount.mjs +1 -1
  18. package/dist/esm/account/index.d.mts +1 -1
  19. package/dist/esm/account/index.mjs +1 -1
  20. package/dist/esm/api/account.d.mts +1 -1
  21. package/dist/esm/api/account.mjs +1 -1
  22. package/dist/esm/api/ans.mjs +1 -1
  23. package/dist/esm/api/aptos.d.mts +2 -1
  24. package/dist/esm/api/aptos.mjs +1 -1
  25. package/dist/esm/api/aptosConfig.mjs +1 -1
  26. package/dist/esm/api/coin.d.mts +2 -2
  27. package/dist/esm/api/coin.mjs +1 -1
  28. package/dist/esm/api/digitalAsset.d.mts +2 -2
  29. package/dist/esm/api/digitalAsset.mjs +1 -1
  30. package/dist/esm/api/event.d.mts +1 -1
  31. package/dist/esm/api/event.mjs +1 -1
  32. package/dist/esm/api/faucet.mjs +1 -1
  33. package/dist/esm/api/fungibleAsset.d.mts +1 -1
  34. package/dist/esm/api/fungibleAsset.mjs +1 -1
  35. package/dist/esm/api/general.d.mts +2 -2
  36. package/dist/esm/api/general.mjs +1 -1
  37. package/dist/esm/api/index.d.mts +2 -1
  38. package/dist/esm/api/index.mjs +1 -1
  39. package/dist/esm/api/keyless.d.mts +2 -2
  40. package/dist/esm/api/keyless.mjs +1 -1
  41. package/dist/esm/api/object.d.mts +2 -2
  42. package/dist/esm/api/object.mjs +1 -1
  43. package/dist/esm/api/staking.d.mts +2 -2
  44. package/dist/esm/api/staking.mjs +1 -1
  45. package/dist/esm/api/table.d.mts +1 -1
  46. package/dist/esm/api/table.mjs +1 -1
  47. package/dist/esm/api/transaction.d.mts +33 -9
  48. package/dist/esm/api/transaction.mjs +1 -1
  49. package/dist/esm/api/transactionSubmission/build.mjs +1 -1
  50. package/dist/esm/api/transactionSubmission/management.mjs +1 -1
  51. package/dist/esm/api/transactionSubmission/sign.mjs +1 -1
  52. package/dist/esm/api/transactionSubmission/simulate.mjs +1 -1
  53. package/dist/esm/api/transactionSubmission/submit.mjs +1 -1
  54. package/dist/esm/api/utils.mjs +1 -1
  55. package/dist/esm/bcs/index.mjs +1 -1
  56. package/dist/esm/bcs/serializable/movePrimitives.mjs +1 -1
  57. package/dist/esm/bcs/serializable/moveStructs.mjs +1 -1
  58. package/dist/esm/{chunk-OTNGLTKS.mjs → chunk-2BTTX2KO.mjs} +2 -2
  59. package/dist/esm/{chunk-ISOA3TPZ.mjs → chunk-2F7Z7RMW.mjs} +2 -2
  60. package/dist/esm/{chunk-ZCT6NDEU.mjs → chunk-367OG3DB.mjs} +2 -2
  61. package/dist/esm/{chunk-SNM4U3FC.mjs → chunk-3W2DHZXK.mjs} +2 -2
  62. package/dist/esm/{chunk-23J256KA.mjs → chunk-44GYWUSH.mjs} +1 -1
  63. package/dist/esm/{chunk-23J256KA.mjs.map → chunk-44GYWUSH.mjs.map} +1 -1
  64. package/dist/esm/{chunk-XG57ULWZ.mjs → chunk-45IUUCAV.mjs} +2 -2
  65. package/dist/esm/{chunk-AK4AHVRD.mjs → chunk-4HR32TSY.mjs} +2 -2
  66. package/dist/esm/chunk-4TB3AWQE.mjs +2 -0
  67. package/dist/esm/chunk-4TB3AWQE.mjs.map +1 -0
  68. package/dist/esm/{chunk-ZAQKT56M.mjs → chunk-53RB2PRH.mjs} +2 -2
  69. package/dist/esm/{chunk-JH225EXU.mjs → chunk-5PCNWXRN.mjs} +2 -2
  70. package/dist/esm/{chunk-LZXQ4522.mjs → chunk-5VD4MHB3.mjs} +2 -2
  71. package/dist/esm/{chunk-L46BAMVA.mjs → chunk-6UZ3VI5Y.mjs} +2 -2
  72. package/dist/esm/{chunk-FFL4M7YG.mjs → chunk-7VKFXX5Q.mjs} +2 -2
  73. package/dist/esm/{chunk-PA4LAE4B.mjs → chunk-A42BPAD4.mjs} +2 -2
  74. package/dist/esm/{chunk-XN6MKWEO.mjs → chunk-ADE6MVXC.mjs} +2 -2
  75. package/dist/esm/{chunk-2CAGPXCX.mjs → chunk-APN6AV5Q.mjs} +2 -2
  76. package/dist/esm/{chunk-SMZXGGBH.mjs → chunk-BA4RBST6.mjs} +2 -2
  77. package/dist/esm/{chunk-ZRTXAUDS.mjs → chunk-BSAHPS6E.mjs} +2 -2
  78. package/dist/esm/{chunk-UBKS7KKY.mjs → chunk-BWNTSJOC.mjs} +2 -2
  79. package/dist/esm/chunk-CB6H4VMZ.mjs +2 -0
  80. package/dist/esm/chunk-CB6H4VMZ.mjs.map +1 -0
  81. package/dist/esm/{chunk-LS6G4DZV.mjs → chunk-CRA2MFJC.mjs} +2 -2
  82. package/dist/esm/{chunk-VQVNUN5Y.mjs → chunk-D3Q4BC3I.mjs} +2 -2
  83. package/dist/esm/chunk-E4O26ZJB.mjs +2 -0
  84. package/dist/esm/chunk-E4O26ZJB.mjs.map +1 -0
  85. package/dist/esm/{chunk-5TBIWC7N.mjs → chunk-ELYS7CWV.mjs} +2 -2
  86. package/dist/esm/chunk-F3M2UQA4.mjs +2 -0
  87. package/dist/esm/chunk-F3M2UQA4.mjs.map +1 -0
  88. package/dist/esm/{chunk-VDSDMO5B.mjs → chunk-F63E4CR7.mjs} +2 -2
  89. package/dist/esm/{chunk-JOROI7FE.mjs → chunk-F76N4MQO.mjs} +2 -2
  90. package/dist/esm/{chunk-F5PNGH44.mjs → chunk-FZ5EYP3D.mjs} +2 -2
  91. package/dist/esm/chunk-G5XLMQ5E.mjs +2 -0
  92. package/dist/esm/chunk-G5XLMQ5E.mjs.map +1 -0
  93. package/dist/esm/{chunk-LWRYJL3W.mjs → chunk-GDO6Q2FI.mjs} +2 -2
  94. package/dist/esm/{chunk-WYQLUB4H.mjs → chunk-GDUAFXIQ.mjs} +2 -2
  95. package/dist/esm/{chunk-XSFX5XES.mjs → chunk-GMBSQDPO.mjs} +2 -2
  96. package/dist/esm/{chunk-OGX4PXYG.mjs → chunk-GWSDIX6C.mjs} +2 -2
  97. package/dist/esm/{chunk-3L5DX6JP.mjs → chunk-HHGJXVAE.mjs} +2 -2
  98. package/dist/esm/{chunk-E6BAWWWF.mjs → chunk-HKBBA653.mjs} +2 -2
  99. package/dist/esm/{chunk-V3H27T2Q.mjs → chunk-HVMFZF6P.mjs} +2 -2
  100. package/dist/esm/{chunk-LMKBLXGR.mjs → chunk-IR4SLC2M.mjs} +2 -2
  101. package/dist/esm/{chunk-GGPA6QTN.mjs → chunk-J64ARI4E.mjs} +2 -2
  102. package/dist/esm/{chunk-MYH7Q3VH.mjs → chunk-JH6VLTMS.mjs} +2 -2
  103. package/dist/esm/{chunk-ZP5VIQ73.mjs → chunk-KUOB4DDE.mjs} +2 -2
  104. package/dist/esm/{chunk-ZLKTE23A.mjs → chunk-KUZ2YTJH.mjs} +2 -2
  105. package/dist/esm/{chunk-VEBU2C3H.mjs → chunk-L2QXU6F4.mjs} +2 -2
  106. package/dist/esm/{chunk-QQU4IQ27.mjs → chunk-LNEZEYYE.mjs} +2 -2
  107. package/dist/esm/{chunk-72SSWSHA.mjs → chunk-MAMPMCO7.mjs} +2 -2
  108. package/dist/esm/{chunk-W3VWZSFH.mjs → chunk-MDJ66AA3.mjs} +2 -2
  109. package/dist/esm/{chunk-FH35HWRP.mjs → chunk-MNVUSJEK.mjs} +2 -2
  110. package/dist/esm/{chunk-AE5KXM2X.mjs → chunk-NMD45OTM.mjs} +2 -2
  111. package/dist/esm/{chunk-A657D5ZR.mjs → chunk-O2BPA6TS.mjs} +2 -2
  112. package/dist/esm/{chunk-NKDHR2DA.mjs → chunk-OKAQO57B.mjs} +2 -2
  113. package/dist/esm/chunk-OMV7445F.mjs +2 -0
  114. package/dist/esm/chunk-OMV7445F.mjs.map +1 -0
  115. package/dist/esm/chunk-P2EIZ7WL.mjs +2 -0
  116. package/dist/esm/chunk-P2EIZ7WL.mjs.map +1 -0
  117. package/dist/esm/{chunk-PDNA4H34.mjs → chunk-P3TAY5PP.mjs} +2 -2
  118. package/dist/esm/{chunk-ZFI2LQGD.mjs → chunk-Q3TAEOH5.mjs} +2 -2
  119. package/dist/esm/{chunk-J4GG7PQT.mjs → chunk-QBSU3L5Q.mjs} +2 -2
  120. package/dist/esm/{chunk-5NXUGQ6L.mjs → chunk-QPB6EJVM.mjs} +2 -2
  121. package/dist/esm/{chunk-FGIEEY6R.mjs → chunk-R76DHMGR.mjs} +2 -2
  122. package/dist/esm/{chunk-VSDISGIN.mjs → chunk-RXE6NNOL.mjs} +2 -2
  123. package/dist/esm/chunk-RXE6NNOL.mjs.map +1 -0
  124. package/dist/esm/{chunk-JUNVPIW4.mjs → chunk-S2KDCIZN.mjs} +2 -2
  125. package/dist/esm/{chunk-HJRGKBC6.mjs → chunk-S2W4D6NZ.mjs} +2 -2
  126. package/dist/esm/{chunk-C5JQQTMI.mjs → chunk-SCHZ67F3.mjs} +2 -2
  127. package/dist/esm/{chunk-C5JQQTMI.mjs.map → chunk-SCHZ67F3.mjs.map} +1 -1
  128. package/dist/esm/{chunk-5P7MXLZA.mjs → chunk-SDWE6WMM.mjs} +2 -2
  129. package/dist/esm/chunk-SRPI2FFA.mjs +2 -0
  130. package/dist/esm/chunk-SRPI2FFA.mjs.map +1 -0
  131. package/dist/esm/chunk-STUXKQVZ.mjs +2 -0
  132. package/dist/esm/chunk-STUXKQVZ.mjs.map +1 -0
  133. package/dist/esm/{chunk-WLZYSLHP.mjs → chunk-SWNFKKRE.mjs} +2 -2
  134. package/dist/esm/{chunk-RW5ISQXD.mjs → chunk-TQWGQLM6.mjs} +2 -2
  135. package/dist/esm/chunk-UAEODDZS.mjs +2 -0
  136. package/dist/esm/{chunk-ZXVQ2OBJ.mjs.map → chunk-UAEODDZS.mjs.map} +1 -1
  137. package/dist/esm/{chunk-RTNQD3VQ.mjs → chunk-WJRZWAIS.mjs} +2 -2
  138. package/dist/esm/{chunk-PPAFIAG2.mjs → chunk-X34JJPW5.mjs} +2 -2
  139. package/dist/esm/{chunk-EXMQBH3I.mjs → chunk-XMW65WCQ.mjs} +2 -2
  140. package/dist/esm/{chunk-RKZOTGGH.mjs → chunk-Y2GWUE7C.mjs} +2 -2
  141. package/dist/esm/chunk-Y3BATGHX.mjs +2 -0
  142. package/dist/esm/chunk-Y3BATGHX.mjs.map +1 -0
  143. package/dist/esm/{chunk-54QUDAAC.mjs → chunk-YU3IYJRL.mjs} +2 -2
  144. package/dist/esm/{chunk-3FD6IOED.mjs → chunk-ZROQH5YL.mjs} +2 -2
  145. package/dist/esm/client/core.mjs +1 -1
  146. package/dist/esm/client/get.mjs +1 -1
  147. package/dist/esm/client/index.mjs +1 -1
  148. package/dist/esm/client/post.mjs +1 -1
  149. package/dist/esm/core/account/index.mjs +1 -1
  150. package/dist/esm/core/account/utils/address.mjs +1 -1
  151. package/dist/esm/core/account/utils/index.mjs +1 -1
  152. package/dist/esm/core/accountAddress.mjs +1 -1
  153. package/dist/esm/core/authenticationKey.mjs +1 -1
  154. package/dist/esm/core/crypto/ed25519.mjs +1 -1
  155. package/dist/esm/core/crypto/ephemeral.mjs +1 -1
  156. package/dist/esm/core/crypto/federatedKeyless.mjs +1 -1
  157. package/dist/esm/core/crypto/index.mjs +1 -1
  158. package/dist/esm/core/crypto/keyless.mjs +1 -1
  159. package/dist/esm/core/crypto/multiEd25519.mjs +1 -1
  160. package/dist/esm/core/crypto/multiKey.mjs +1 -1
  161. package/dist/esm/core/crypto/poseidon.mjs +1 -1
  162. package/dist/esm/core/crypto/proof.mjs +1 -1
  163. package/dist/esm/core/crypto/publicKey.mjs +1 -1
  164. package/dist/esm/core/crypto/secp256k1.mjs +1 -1
  165. package/dist/esm/core/crypto/signature.mjs +1 -1
  166. package/dist/esm/core/crypto/singleKey.mjs +1 -1
  167. package/dist/esm/core/index.mjs +1 -1
  168. package/dist/esm/index.d.mts +2 -1
  169. package/dist/esm/index.mjs +1 -1
  170. package/dist/esm/internal/account.d.mts +1 -7
  171. package/dist/esm/internal/account.mjs +1 -1
  172. package/dist/esm/internal/ans.mjs +1 -1
  173. package/dist/esm/internal/coin.mjs +1 -1
  174. package/dist/esm/internal/digitalAsset.mjs +1 -1
  175. package/dist/esm/internal/event.mjs +1 -1
  176. package/dist/esm/internal/faucet.mjs +1 -1
  177. package/dist/esm/internal/fungibleAsset.mjs +1 -1
  178. package/dist/esm/internal/general.mjs +1 -1
  179. package/dist/esm/internal/keyless.d.mts +1 -1
  180. package/dist/esm/internal/keyless.mjs +1 -1
  181. package/dist/esm/internal/object.mjs +1 -1
  182. package/dist/esm/internal/staking.mjs +1 -1
  183. package/dist/esm/internal/table.mjs +1 -1
  184. package/dist/esm/internal/transaction.mjs +1 -1
  185. package/dist/esm/internal/transactionSubmission.d.mts +22 -2
  186. package/dist/esm/internal/transactionSubmission.mjs +1 -1
  187. package/dist/esm/internal/view.mjs +1 -1
  188. package/dist/esm/transactions/authenticator/account.mjs +1 -1
  189. package/dist/esm/transactions/authenticator/index.mjs +1 -1
  190. package/dist/esm/transactions/authenticator/transaction.mjs +1 -1
  191. package/dist/esm/transactions/index.mjs +1 -1
  192. package/dist/esm/transactions/instances/index.mjs +1 -1
  193. package/dist/esm/transactions/instances/moduleId.mjs +1 -1
  194. package/dist/esm/transactions/instances/multiAgentTransaction.mjs +1 -1
  195. package/dist/esm/transactions/instances/rawTransaction.mjs +1 -1
  196. package/dist/esm/transactions/instances/rotationProofChallenge.mjs +1 -1
  197. package/dist/esm/transactions/instances/signedTransaction.mjs +1 -1
  198. package/dist/esm/transactions/instances/simpleTransaction.mjs +1 -1
  199. package/dist/esm/transactions/instances/transactionPayload.mjs +1 -1
  200. package/dist/esm/transactions/management/accountSequenceNumber.mjs +1 -1
  201. package/dist/esm/transactions/management/index.mjs +1 -1
  202. package/dist/esm/transactions/management/transactionWorker.mjs +1 -1
  203. package/dist/esm/transactions/transactionBuilder/helpers.mjs +1 -1
  204. package/dist/esm/transactions/transactionBuilder/index.mjs +1 -1
  205. package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs +1 -1
  206. package/dist/esm/transactions/transactionBuilder/signingMessage.mjs +1 -1
  207. package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs +1 -1
  208. package/dist/esm/transactions/typeTag/index.mjs +1 -1
  209. package/dist/esm/transactions/typeTag/parser.mjs +1 -1
  210. package/dist/esm/types/index.d.mts +6 -0
  211. package/dist/esm/types/index.mjs +1 -1
  212. package/dist/esm/utils/apiEndpoints.mjs +1 -1
  213. package/dist/esm/utils/index.mjs +1 -1
  214. package/dist/esm/utils/normalizeBundle.mjs +1 -1
  215. package/dist/esm/version.d.mts +1 -1
  216. package/dist/esm/version.mjs +1 -1
  217. package/package.json +1 -1
  218. package/src/account/{KeylessAccountCommon.ts → AbstractKeylessAccount.ts} +10 -10
  219. package/src/account/FederatedKeylessAccount.ts +9 -8
  220. package/src/account/KeylessAccount.ts +9 -8
  221. package/src/account/MultiKeyAccount.ts +4 -2
  222. package/src/account/index.ts +1 -1
  223. package/src/api/account.ts +68 -22
  224. package/src/api/transaction.ts +40 -20
  225. package/src/core/crypto/keyless.ts +4 -3
  226. package/src/core/crypto/poseidon.ts +3 -7
  227. package/src/internal/account.ts +1 -54
  228. package/src/internal/keyless.ts +5 -1
  229. package/src/internal/transactionSubmission.ts +63 -10
  230. package/src/types/index.ts +6 -0
  231. package/src/utils/apiEndpoints.ts +3 -3
  232. package/src/version.ts +1 -1
  233. package/dist/esm/account/KeylessAccountCommon.mjs +0 -2
  234. package/dist/esm/chunk-3TMGYL7A.mjs +0 -2
  235. package/dist/esm/chunk-3TMGYL7A.mjs.map +0 -1
  236. package/dist/esm/chunk-3ZX4UY4M.mjs +0 -2
  237. package/dist/esm/chunk-3ZX4UY4M.mjs.map +0 -1
  238. package/dist/esm/chunk-BVYF2IWN.mjs +0 -2
  239. package/dist/esm/chunk-BVYF2IWN.mjs.map +0 -1
  240. package/dist/esm/chunk-KBFUFNVV.mjs +0 -2
  241. package/dist/esm/chunk-KBFUFNVV.mjs.map +0 -1
  242. package/dist/esm/chunk-LPPYZUF3.mjs +0 -2
  243. package/dist/esm/chunk-LPPYZUF3.mjs.map +0 -1
  244. package/dist/esm/chunk-RRJ2DCWG.mjs +0 -2
  245. package/dist/esm/chunk-RRJ2DCWG.mjs.map +0 -1
  246. package/dist/esm/chunk-RZV5AX3S.mjs +0 -2
  247. package/dist/esm/chunk-RZV5AX3S.mjs.map +0 -1
  248. package/dist/esm/chunk-V46RMNID.mjs +0 -2
  249. package/dist/esm/chunk-V46RMNID.mjs.map +0 -1
  250. package/dist/esm/chunk-VSDISGIN.mjs.map +0 -1
  251. package/dist/esm/chunk-XYSNMCKB.mjs +0 -2
  252. package/dist/esm/chunk-XYSNMCKB.mjs.map +0 -1
  253. package/dist/esm/chunk-YQAWLH5T.mjs +0 -2
  254. package/dist/esm/chunk-YQAWLH5T.mjs.map +0 -1
  255. package/dist/esm/chunk-ZXVQ2OBJ.mjs +0 -2
  256. package/src/internal/move/jwks/build/jwk/BuildInfo.yaml +0 -56
  257. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/account.mv +0 -0
  258. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/aggregator.mv +0 -0
  259. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/aggregator_factory.mv +0 -0
  260. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/aggregator_v2.mv +0 -0
  261. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/aptos_account.mv +0 -0
  262. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/aptos_coin.mv +0 -0
  263. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/aptos_governance.mv +0 -0
  264. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/block.mv +0 -0
  265. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/chain_id.mv +0 -0
  266. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/chain_status.mv +0 -0
  267. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/code.mv +0 -0
  268. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/coin.mv +0 -0
  269. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/config_buffer.mv +0 -0
  270. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/consensus_config.mv +0 -0
  271. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/create_signer.mv +0 -0
  272. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/delegation_pool.mv +0 -0
  273. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/dispatchable_fungible_asset.mv +0 -0
  274. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/dkg.mv +0 -0
  275. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/event.mv +0 -0
  276. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/execution_config.mv +0 -0
  277. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/function_info.mv +0 -0
  278. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/fungible_asset.mv +0 -0
  279. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/gas_schedule.mv +0 -0
  280. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/genesis.mv +0 -0
  281. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/governance_proposal.mv +0 -0
  282. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/guid.mv +0 -0
  283. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/jwk_consensus_config.mv +0 -0
  284. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/jwks.mv +0 -0
  285. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/keyless_account.mv +0 -0
  286. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/managed_coin.mv +0 -0
  287. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/multisig_account.mv +0 -0
  288. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/object.mv +0 -0
  289. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/object_code_deployment.mv +0 -0
  290. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/optional_aggregator.mv +0 -0
  291. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/primary_fungible_store.mv +0 -0
  292. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/randomness.mv +0 -0
  293. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/randomness_api_v0_config.mv +0 -0
  294. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/randomness_config.mv +0 -0
  295. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/randomness_config_seqnum.mv +0 -0
  296. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/reconfiguration.mv +0 -0
  297. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/reconfiguration_state.mv +0 -0
  298. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/reconfiguration_with_dkg.mv +0 -0
  299. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/resource_account.mv +0 -0
  300. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/stake.mv +0 -0
  301. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/staking_config.mv +0 -0
  302. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/staking_contract.mv +0 -0
  303. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/staking_proxy.mv +0 -0
  304. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/state_storage.mv +0 -0
  305. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/storage_gas.mv +0 -0
  306. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/system_addresses.mv +0 -0
  307. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/timestamp.mv +0 -0
  308. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/transaction_context.mv +0 -0
  309. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/transaction_fee.mv +0 -0
  310. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/transaction_validation.mv +0 -0
  311. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/util.mv +0 -0
  312. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/validator_consensus_info.mv +0 -0
  313. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/version.mv +0 -0
  314. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/vesting.mv +0 -0
  315. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/voting.mv +0 -0
  316. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/any.mv +0 -0
  317. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/aptos_hash.mv +0 -0
  318. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/big_vector.mv +0 -0
  319. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/bls12381.mv +0 -0
  320. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/bls12381_algebra.mv +0 -0
  321. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/bn254_algebra.mv +0 -0
  322. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/capability.mv +0 -0
  323. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/comparator.mv +0 -0
  324. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/copyable_any.mv +0 -0
  325. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/crypto_algebra.mv +0 -0
  326. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/debug.mv +0 -0
  327. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/ed25519.mv +0 -0
  328. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/fixed_point64.mv +0 -0
  329. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/from_bcs.mv +0 -0
  330. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/math128.mv +0 -0
  331. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/math64.mv +0 -0
  332. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/math_fixed.mv +0 -0
  333. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/math_fixed64.mv +0 -0
  334. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/multi_ed25519.mv +0 -0
  335. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/pool_u64.mv +0 -0
  336. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/pool_u64_unbound.mv +0 -0
  337. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/ristretto255.mv +0 -0
  338. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/ristretto255_bulletproofs.mv +0 -0
  339. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/ristretto255_elgamal.mv +0 -0
  340. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/ristretto255_pedersen.mv +0 -0
  341. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/secp256k1.mv +0 -0
  342. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/simple_map.mv +0 -0
  343. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/smart_table.mv +0 -0
  344. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/smart_vector.mv +0 -0
  345. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/string_utils.mv +0 -0
  346. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/table.mv +0 -0
  347. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/table_with_length.mv +0 -0
  348. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/type_info.mv +0 -0
  349. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/acl.mv +0 -0
  350. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/bcs.mv +0 -0
  351. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/bit_vector.mv +0 -0
  352. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/error.mv +0 -0
  353. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/features.mv +0 -0
  354. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/fixed_point32.mv +0 -0
  355. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/hash.mv +0 -0
  356. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/option.mv +0 -0
  357. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/signer.mv +0 -0
  358. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/string.mv +0 -0
  359. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/vector.mv +0 -0
  360. package/src/internal/move/jwks/build/jwk/bytecode_scripts/main.mv +0 -0
  361. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/account.mvsm +0 -0
  362. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/aggregator.mvsm +0 -0
  363. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/aggregator_factory.mvsm +0 -0
  364. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/aggregator_v2.mvsm +0 -0
  365. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/aptos_account.mvsm +0 -0
  366. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/aptos_coin.mvsm +0 -0
  367. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/aptos_governance.mvsm +0 -0
  368. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/block.mvsm +0 -0
  369. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/chain_id.mvsm +0 -0
  370. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/chain_status.mvsm +0 -0
  371. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/code.mvsm +0 -0
  372. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/coin.mvsm +0 -0
  373. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/config_buffer.mvsm +0 -0
  374. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/consensus_config.mvsm +0 -0
  375. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/create_signer.mvsm +0 -0
  376. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/delegation_pool.mvsm +0 -0
  377. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/dispatchable_fungible_asset.mvsm +0 -0
  378. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/dkg.mvsm +0 -0
  379. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/event.mvsm +0 -0
  380. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/execution_config.mvsm +0 -0
  381. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/function_info.mvsm +0 -0
  382. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/fungible_asset.mvsm +0 -0
  383. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/gas_schedule.mvsm +0 -0
  384. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/genesis.mvsm +0 -0
  385. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/governance_proposal.mvsm +0 -0
  386. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/guid.mvsm +0 -0
  387. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/jwk_consensus_config.mvsm +0 -0
  388. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/jwks.mvsm +0 -0
  389. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/keyless_account.mvsm +0 -0
  390. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/managed_coin.mvsm +0 -0
  391. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/multisig_account.mvsm +0 -0
  392. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/object.mvsm +0 -0
  393. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/object_code_deployment.mvsm +0 -0
  394. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/optional_aggregator.mvsm +0 -0
  395. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/primary_fungible_store.mvsm +0 -0
  396. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/randomness.mvsm +0 -0
  397. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/randomness_api_v0_config.mvsm +0 -0
  398. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/randomness_config.mvsm +0 -0
  399. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/randomness_config_seqnum.mvsm +0 -0
  400. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/reconfiguration.mvsm +0 -0
  401. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/reconfiguration_state.mvsm +0 -0
  402. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/reconfiguration_with_dkg.mvsm +0 -0
  403. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/resource_account.mvsm +0 -0
  404. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/stake.mvsm +0 -0
  405. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/staking_config.mvsm +0 -0
  406. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/staking_contract.mvsm +0 -0
  407. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/staking_proxy.mvsm +0 -0
  408. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/state_storage.mvsm +0 -0
  409. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/storage_gas.mvsm +0 -0
  410. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/system_addresses.mvsm +0 -0
  411. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/timestamp.mvsm +0 -0
  412. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/transaction_context.mvsm +0 -0
  413. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/transaction_fee.mvsm +0 -0
  414. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/transaction_validation.mvsm +0 -0
  415. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/util.mvsm +0 -0
  416. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/validator_consensus_info.mvsm +0 -0
  417. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/version.mvsm +0 -0
  418. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/vesting.mvsm +0 -0
  419. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/voting.mvsm +0 -0
  420. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/any.mvsm +0 -0
  421. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/aptos_hash.mvsm +0 -0
  422. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/big_vector.mvsm +0 -0
  423. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/bls12381.mvsm +0 -0
  424. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/bls12381_algebra.mvsm +0 -0
  425. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/bn254_algebra.mvsm +0 -0
  426. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/capability.mvsm +0 -0
  427. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/comparator.mvsm +0 -0
  428. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/copyable_any.mvsm +0 -0
  429. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/crypto_algebra.mvsm +0 -0
  430. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/debug.mvsm +0 -0
  431. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/ed25519.mvsm +0 -0
  432. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/fixed_point64.mvsm +0 -0
  433. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/from_bcs.mvsm +0 -0
  434. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/math128.mvsm +0 -0
  435. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/math64.mvsm +0 -0
  436. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/math_fixed.mvsm +0 -0
  437. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/math_fixed64.mvsm +0 -0
  438. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/multi_ed25519.mvsm +0 -0
  439. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/pool_u64.mvsm +0 -0
  440. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/pool_u64_unbound.mvsm +0 -0
  441. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/ristretto255.mvsm +0 -0
  442. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/ristretto255_bulletproofs.mvsm +0 -0
  443. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/ristretto255_elgamal.mvsm +0 -0
  444. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/ristretto255_pedersen.mvsm +0 -0
  445. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/secp256k1.mvsm +0 -0
  446. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/simple_map.mvsm +0 -0
  447. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/smart_table.mvsm +0 -0
  448. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/smart_vector.mvsm +0 -0
  449. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/string_utils.mvsm +0 -0
  450. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/table.mvsm +0 -0
  451. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/table_with_length.mvsm +0 -0
  452. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/type_info.mvsm +0 -0
  453. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/acl.mvsm +0 -0
  454. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/bcs.mvsm +0 -0
  455. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/bit_vector.mvsm +0 -0
  456. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/error.mvsm +0 -0
  457. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/features.mvsm +0 -0
  458. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/fixed_point32.mvsm +0 -0
  459. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/hash.mvsm +0 -0
  460. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/option.mvsm +0 -0
  461. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/signer.mvsm +0 -0
  462. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/string.mvsm +0 -0
  463. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/vector.mvsm +0 -0
  464. package/src/internal/move/jwks/build/jwk/source_maps/main.mvsm +0 -0
  465. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/account.move +0 -1533
  466. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aggregator.move +0 -48
  467. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aggregator_factory.move +0 -66
  468. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aggregator_v2.move +0 -280
  469. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aptos_account.move +0 -443
  470. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aptos_coin.move +0 -204
  471. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aptos_governance.move +0 -1387
  472. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/block.move +0 -394
  473. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/chain_id.move +0 -41
  474. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/chain_status.move +0 -48
  475. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/code.move +0 -367
  476. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/coin.move +0 -2214
  477. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/config_buffer.move +0 -101
  478. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/consensus_config.move +0 -77
  479. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/create_signer.move +0 -21
  480. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/delegation_pool.move +0 -5568
  481. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/dispatchable_fungible_asset.move +0 -228
  482. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/dkg.move +0 -121
  483. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/event.move +0 -92
  484. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/execution_config.move +0 -66
  485. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/function_info.move +0 -100
  486. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/fungible_asset.move +0 -1566
  487. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/gas_schedule.move +0 -176
  488. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/genesis.move +0 -550
  489. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/governance_proposal.move +0 -23
  490. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/guid.move +0 -68
  491. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/jwk_consensus_config.move +0 -148
  492. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/jwks.move +0 -817
  493. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/keyless_account.move +0 -312
  494. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/managed_coin.move +0 -205
  495. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/multisig_account.move +0 -2477
  496. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/object.move +0 -1073
  497. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/object_code_deployment.move +0 -147
  498. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/optional_aggregator.move +0 -295
  499. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/primary_fungible_store.move +0 -405
  500. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/randomness.move +0 -574
  501. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/randomness_api_v0_config.move +0 -57
  502. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/randomness_config.move +0 -153
  503. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/randomness_config_seqnum.move +0 -49
  504. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/reconfiguration.move +0 -237
  505. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/reconfiguration_state.move +0 -132
  506. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/reconfiguration_with_dkg.move +0 -69
  507. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/resource_account.move +0 -267
  508. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/stake.move +0 -3286
  509. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/staking_config.move +0 -686
  510. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/staking_contract.move +0 -1618
  511. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/staking_proxy.move +0 -228
  512. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/state_storage.move +0 -90
  513. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/storage_gas.move +0 -622
  514. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/system_addresses.move +0 -82
  515. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/timestamp.move +0 -88
  516. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/transaction_context.move +0 -262
  517. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/transaction_fee.move +0 -457
  518. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/transaction_validation.move +0 -501
  519. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/util.move +0 -16
  520. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/validator_consensus_info.move +0 -42
  521. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/version.move +0 -115
  522. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/vesting.move +0 -2183
  523. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/voting.move +0 -1279
  524. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/any.move +0 -57
  525. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/aptos_hash.move +0 -253
  526. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/big_vector.move +0 -469
  527. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/bls12381.move +0 -985
  528. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/bls12381_algebra.move +0 -802
  529. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/bn254_algebra.move +0 -855
  530. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/capability.move +0 -193
  531. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/comparator.move +0 -173
  532. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/copyable_any.move +0 -45
  533. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/crypto_algebra.move +0 -351
  534. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/debug.move +0 -278
  535. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/ed25519.move +0 -262
  536. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/fixed_point64.move +0 -447
  537. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/from_bcs.move +0 -91
  538. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/math128.move +0 -381
  539. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/math64.move +0 -336
  540. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/math_fixed.move +0 -139
  541. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/math_fixed64.move +0 -142
  542. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/multi_ed25519.move +0 -482
  543. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/pool_u64.move +0 -571
  544. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/pool_u64_unbound.move +0 -270
  545. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/ristretto255.move +0 -1310
  546. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/ristretto255_bulletproofs.move +0 -253
  547. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/ristretto255_elgamal.move +0 -234
  548. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/ristretto255_pedersen.move +0 -158
  549. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/secp256k1.move +0 -114
  550. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/simple_map.move +0 -319
  551. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/smart_table.move +0 -769
  552. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/smart_vector.move +0 -766
  553. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/string_utils.move +0 -148
  554. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/table.move +0 -152
  555. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/table_with_length.move +0 -141
  556. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/type_info.move +0 -351
  557. package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/acl.move +0 -46
  558. package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/bcs.move +0 -27
  559. package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/bit_vector.move +0 -239
  560. package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/error.move +0 -88
  561. package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/features.move +0 -780
  562. package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/fixed_point32.move +0 -295
  563. package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/hash.move +0 -8
  564. package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/option.move +0 -356
  565. package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/signer.move +0 -21
  566. package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/string.move +0 -93
  567. package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/vector.move +0 -669
  568. package/src/internal/move/jwks/build/jwk/sources/main.move +0 -20
  569. /package/dist/esm/account/{KeylessAccountCommon.mjs.map → AbstractKeylessAccount.mjs.map} +0 -0
  570. /package/dist/esm/{chunk-OTNGLTKS.mjs.map → chunk-2BTTX2KO.mjs.map} +0 -0
  571. /package/dist/esm/{chunk-ISOA3TPZ.mjs.map → chunk-2F7Z7RMW.mjs.map} +0 -0
  572. /package/dist/esm/{chunk-ZCT6NDEU.mjs.map → chunk-367OG3DB.mjs.map} +0 -0
  573. /package/dist/esm/{chunk-SNM4U3FC.mjs.map → chunk-3W2DHZXK.mjs.map} +0 -0
  574. /package/dist/esm/{chunk-XG57ULWZ.mjs.map → chunk-45IUUCAV.mjs.map} +0 -0
  575. /package/dist/esm/{chunk-AK4AHVRD.mjs.map → chunk-4HR32TSY.mjs.map} +0 -0
  576. /package/dist/esm/{chunk-ZAQKT56M.mjs.map → chunk-53RB2PRH.mjs.map} +0 -0
  577. /package/dist/esm/{chunk-JH225EXU.mjs.map → chunk-5PCNWXRN.mjs.map} +0 -0
  578. /package/dist/esm/{chunk-LZXQ4522.mjs.map → chunk-5VD4MHB3.mjs.map} +0 -0
  579. /package/dist/esm/{chunk-L46BAMVA.mjs.map → chunk-6UZ3VI5Y.mjs.map} +0 -0
  580. /package/dist/esm/{chunk-FFL4M7YG.mjs.map → chunk-7VKFXX5Q.mjs.map} +0 -0
  581. /package/dist/esm/{chunk-PA4LAE4B.mjs.map → chunk-A42BPAD4.mjs.map} +0 -0
  582. /package/dist/esm/{chunk-XN6MKWEO.mjs.map → chunk-ADE6MVXC.mjs.map} +0 -0
  583. /package/dist/esm/{chunk-2CAGPXCX.mjs.map → chunk-APN6AV5Q.mjs.map} +0 -0
  584. /package/dist/esm/{chunk-SMZXGGBH.mjs.map → chunk-BA4RBST6.mjs.map} +0 -0
  585. /package/dist/esm/{chunk-ZRTXAUDS.mjs.map → chunk-BSAHPS6E.mjs.map} +0 -0
  586. /package/dist/esm/{chunk-UBKS7KKY.mjs.map → chunk-BWNTSJOC.mjs.map} +0 -0
  587. /package/dist/esm/{chunk-LS6G4DZV.mjs.map → chunk-CRA2MFJC.mjs.map} +0 -0
  588. /package/dist/esm/{chunk-VQVNUN5Y.mjs.map → chunk-D3Q4BC3I.mjs.map} +0 -0
  589. /package/dist/esm/{chunk-5TBIWC7N.mjs.map → chunk-ELYS7CWV.mjs.map} +0 -0
  590. /package/dist/esm/{chunk-VDSDMO5B.mjs.map → chunk-F63E4CR7.mjs.map} +0 -0
  591. /package/dist/esm/{chunk-JOROI7FE.mjs.map → chunk-F76N4MQO.mjs.map} +0 -0
  592. /package/dist/esm/{chunk-F5PNGH44.mjs.map → chunk-FZ5EYP3D.mjs.map} +0 -0
  593. /package/dist/esm/{chunk-LWRYJL3W.mjs.map → chunk-GDO6Q2FI.mjs.map} +0 -0
  594. /package/dist/esm/{chunk-WYQLUB4H.mjs.map → chunk-GDUAFXIQ.mjs.map} +0 -0
  595. /package/dist/esm/{chunk-XSFX5XES.mjs.map → chunk-GMBSQDPO.mjs.map} +0 -0
  596. /package/dist/esm/{chunk-OGX4PXYG.mjs.map → chunk-GWSDIX6C.mjs.map} +0 -0
  597. /package/dist/esm/{chunk-3L5DX6JP.mjs.map → chunk-HHGJXVAE.mjs.map} +0 -0
  598. /package/dist/esm/{chunk-E6BAWWWF.mjs.map → chunk-HKBBA653.mjs.map} +0 -0
  599. /package/dist/esm/{chunk-V3H27T2Q.mjs.map → chunk-HVMFZF6P.mjs.map} +0 -0
  600. /package/dist/esm/{chunk-LMKBLXGR.mjs.map → chunk-IR4SLC2M.mjs.map} +0 -0
  601. /package/dist/esm/{chunk-GGPA6QTN.mjs.map → chunk-J64ARI4E.mjs.map} +0 -0
  602. /package/dist/esm/{chunk-MYH7Q3VH.mjs.map → chunk-JH6VLTMS.mjs.map} +0 -0
  603. /package/dist/esm/{chunk-ZP5VIQ73.mjs.map → chunk-KUOB4DDE.mjs.map} +0 -0
  604. /package/dist/esm/{chunk-ZLKTE23A.mjs.map → chunk-KUZ2YTJH.mjs.map} +0 -0
  605. /package/dist/esm/{chunk-VEBU2C3H.mjs.map → chunk-L2QXU6F4.mjs.map} +0 -0
  606. /package/dist/esm/{chunk-QQU4IQ27.mjs.map → chunk-LNEZEYYE.mjs.map} +0 -0
  607. /package/dist/esm/{chunk-72SSWSHA.mjs.map → chunk-MAMPMCO7.mjs.map} +0 -0
  608. /package/dist/esm/{chunk-W3VWZSFH.mjs.map → chunk-MDJ66AA3.mjs.map} +0 -0
  609. /package/dist/esm/{chunk-FH35HWRP.mjs.map → chunk-MNVUSJEK.mjs.map} +0 -0
  610. /package/dist/esm/{chunk-AE5KXM2X.mjs.map → chunk-NMD45OTM.mjs.map} +0 -0
  611. /package/dist/esm/{chunk-A657D5ZR.mjs.map → chunk-O2BPA6TS.mjs.map} +0 -0
  612. /package/dist/esm/{chunk-NKDHR2DA.mjs.map → chunk-OKAQO57B.mjs.map} +0 -0
  613. /package/dist/esm/{chunk-PDNA4H34.mjs.map → chunk-P3TAY5PP.mjs.map} +0 -0
  614. /package/dist/esm/{chunk-ZFI2LQGD.mjs.map → chunk-Q3TAEOH5.mjs.map} +0 -0
  615. /package/dist/esm/{chunk-J4GG7PQT.mjs.map → chunk-QBSU3L5Q.mjs.map} +0 -0
  616. /package/dist/esm/{chunk-5NXUGQ6L.mjs.map → chunk-QPB6EJVM.mjs.map} +0 -0
  617. /package/dist/esm/{chunk-FGIEEY6R.mjs.map → chunk-R76DHMGR.mjs.map} +0 -0
  618. /package/dist/esm/{chunk-JUNVPIW4.mjs.map → chunk-S2KDCIZN.mjs.map} +0 -0
  619. /package/dist/esm/{chunk-HJRGKBC6.mjs.map → chunk-S2W4D6NZ.mjs.map} +0 -0
  620. /package/dist/esm/{chunk-5P7MXLZA.mjs.map → chunk-SDWE6WMM.mjs.map} +0 -0
  621. /package/dist/esm/{chunk-WLZYSLHP.mjs.map → chunk-SWNFKKRE.mjs.map} +0 -0
  622. /package/dist/esm/{chunk-RW5ISQXD.mjs.map → chunk-TQWGQLM6.mjs.map} +0 -0
  623. /package/dist/esm/{chunk-RTNQD3VQ.mjs.map → chunk-WJRZWAIS.mjs.map} +0 -0
  624. /package/dist/esm/{chunk-PPAFIAG2.mjs.map → chunk-X34JJPW5.mjs.map} +0 -0
  625. /package/dist/esm/{chunk-EXMQBH3I.mjs.map → chunk-XMW65WCQ.mjs.map} +0 -0
  626. /package/dist/esm/{chunk-RKZOTGGH.mjs.map → chunk-Y2GWUE7C.mjs.map} +0 -0
  627. /package/dist/esm/{chunk-54QUDAAC.mjs.map → chunk-YU3IYJRL.mjs.map} +0 -0
  628. /package/dist/esm/{chunk-3FD6IOED.mjs.map → chunk-ZROQH5YL.mjs.map} +0 -0
@@ -1,2 +1,2 @@
1
- import{a,b,c}from"../../chunk-NWOMSL6K.mjs";import"../../chunk-SUJLWCRN.mjs";import"../../chunk-YUNDX5I7.mjs";import"../../chunk-E7FWVXGX.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-WRRQ7L5K.mjs";import"../../chunk-HEZ2ZYZA.mjs";import"../../chunk-XG57ULWZ.mjs";import"../../chunk-3L5DX6JP.mjs";import"../../chunk-XSFX5XES.mjs";import"../../chunk-KUX6GQ2E.mjs";import"../../chunk-LWRYJL3W.mjs";import"../../chunk-SMZXGGBH.mjs";import"../../chunk-LPPYZUF3.mjs";import"../../chunk-RRJ2DCWG.mjs";import"../../chunk-MQGW234H.mjs";import"../../chunk-VDSDMO5B.mjs";import"../../chunk-OGX4PXYG.mjs";import"../../chunk-Q4XR6QOZ.mjs";import"../../chunk-76OH2Z4Q.mjs";import"../../chunk-MLDQ2TY2.mjs";import"../../chunk-LR65XHSF.mjs";import"../../chunk-G5MGSV7Y.mjs";import"../../chunk-OHRL766V.mjs";import"../../chunk-AH44UPM4.mjs";import"../../chunk-N2FKVZ4D.mjs";import"../../chunk-54QUDAAC.mjs";import"../../chunk-LS6G4DZV.mjs";import"../../chunk-EXMQBH3I.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-BSUYPXRD.mjs";import"../../chunk-TDGQGILY.mjs";import"../../chunk-UAL27G6B.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-QQU4IQ27.mjs";import"../../chunk-P5V7OZNN.mjs";import"../../chunk-H6YNXJNF.mjs";import"../../chunk-YPHH6CAO.mjs";import"../../chunk-23J256KA.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-KEYAPEAX.mjs";import"../../chunk-A63SMUOU.mjs";import"../../chunk-BCUSI3N6.mjs";import"../../chunk-LG7RJQ57.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-C5JQQTMI.mjs";import"../../chunk-EXP5STXZ.mjs";import"../../chunk-ZXVQ2OBJ.mjs";import"../../chunk-FVA2OPG4.mjs";export{b as TypeTagParserError,a as TypeTagParserErrorType,c as parseTypeTag};
1
+ import{a,b,c}from"../../chunk-NWOMSL6K.mjs";import"../../chunk-SUJLWCRN.mjs";import"../../chunk-YUNDX5I7.mjs";import"../../chunk-E7FWVXGX.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-WRRQ7L5K.mjs";import"../../chunk-HEZ2ZYZA.mjs";import"../../chunk-45IUUCAV.mjs";import"../../chunk-HHGJXVAE.mjs";import"../../chunk-GMBSQDPO.mjs";import"../../chunk-KUX6GQ2E.mjs";import"../../chunk-GDO6Q2FI.mjs";import"../../chunk-BA4RBST6.mjs";import"../../chunk-G5XLMQ5E.mjs";import"../../chunk-SRPI2FFA.mjs";import"../../chunk-MQGW234H.mjs";import"../../chunk-F63E4CR7.mjs";import"../../chunk-GWSDIX6C.mjs";import"../../chunk-MLDQ2TY2.mjs";import"../../chunk-Q4XR6QOZ.mjs";import"../../chunk-76OH2Z4Q.mjs";import"../../chunk-LR65XHSF.mjs";import"../../chunk-G5MGSV7Y.mjs";import"../../chunk-OHRL766V.mjs";import"../../chunk-AH44UPM4.mjs";import"../../chunk-N2FKVZ4D.mjs";import"../../chunk-YU3IYJRL.mjs";import"../../chunk-CRA2MFJC.mjs";import"../../chunk-XMW65WCQ.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-BSUYPXRD.mjs";import"../../chunk-SCHZ67F3.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-LNEZEYYE.mjs";import"../../chunk-YPHH6CAO.mjs";import"../../chunk-P5V7OZNN.mjs";import"../../chunk-H6YNXJNF.mjs";import"../../chunk-44GYWUSH.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-A63SMUOU.mjs";import"../../chunk-BCUSI3N6.mjs";import"../../chunk-LG7RJQ57.mjs";import"../../chunk-TDGQGILY.mjs";import"../../chunk-EXP5STXZ.mjs";import"../../chunk-UAL27G6B.mjs";import"../../chunk-KEYAPEAX.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-UAEODDZS.mjs";import"../../chunk-FVA2OPG4.mjs";export{b as TypeTagParserError,a as TypeTagParserErrorType,c as parseTypeTag};
2
2
  //# sourceMappingURL=parser.mjs.map
@@ -823,6 +823,12 @@ type MoveStruct = {
823
823
  * Whether the struct is a native struct of Move
824
824
  */
825
825
  is_native: boolean;
826
+ /**
827
+ * Whether the struct is a module event (aka v2 event). This will be false for v1
828
+ * events because the value is derived from the #[event] attribute on the struct in
829
+ * the Move source code. This attribute is only relevant for v2 events.
830
+ */
831
+ is_event: boolean;
826
832
  /**
827
833
  * Abilities associated with the struct
828
834
  */
@@ -1,2 +1,2 @@
1
- import{A,B,C,D,E,F,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"../chunk-23J256KA.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-FVA2OPG4.mjs";export{g as AccountAuthenticatorVariant,h as AnyPublicKeyVariant,i as AnySignatureVariant,F as DeriveScheme,l as EphemeralCertificateVariant,j as EphemeralPublicKeyVariant,k as EphemeralSignatureVariant,a as MimeType,B as MoveAbility,A as MoveFunctionVisibility,C as RoleType,c as ScriptTransactionArgumentVariants,D as SigningScheme,E as SigningSchemeInput,f as TransactionAuthenticatorVariant,d as TransactionPayloadVariants,n as TransactionResponseType,e as TransactionVariants,b as TypeTagVariants,m as ZkpVariant,u as isBlockEpilogueTransactionResponse,r as isBlockMetadataTransactionResponse,v as isEd25519Signature,y as isFeePayerSignature,q as isGenesisTransactionResponse,x as isMultiAgentSignature,z as isMultiEd25519Signature,o as isPendingTransactionResponse,w as isSecp256k1Signature,s as isStateCheckpointTransactionResponse,p as isUserTransactionResponse,t as isValidatorTransactionResponse};
1
+ import{A,B,C,D,E,F,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"../chunk-44GYWUSH.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-FVA2OPG4.mjs";export{g as AccountAuthenticatorVariant,h as AnyPublicKeyVariant,i as AnySignatureVariant,F as DeriveScheme,l as EphemeralCertificateVariant,j as EphemeralPublicKeyVariant,k as EphemeralSignatureVariant,a as MimeType,B as MoveAbility,A as MoveFunctionVisibility,C as RoleType,c as ScriptTransactionArgumentVariants,D as SigningScheme,E as SigningSchemeInput,f as TransactionAuthenticatorVariant,d as TransactionPayloadVariants,n as TransactionResponseType,e as TransactionVariants,b as TypeTagVariants,m as ZkpVariant,u as isBlockEpilogueTransactionResponse,r as isBlockMetadataTransactionResponse,v as isEd25519Signature,y as isFeePayerSignature,q as isGenesisTransactionResponse,x as isMultiAgentSignature,z as isMultiEd25519Signature,o as isPendingTransactionResponse,w as isSecp256k1Signature,s as isStateCheckpointTransactionResponse,p as isUserTransactionResponse,t as isValidatorTransactionResponse};
2
2
  //# sourceMappingURL=index.mjs.map
@@ -1,2 +1,2 @@
1
- import{a,b,c,d,e,f,g,h}from"../chunk-C5JQQTMI.mjs";import"../chunk-FVA2OPG4.mjs";export{f as Network,g as NetworkToChainId,c as NetworkToFaucetAPI,a as NetworkToIndexerAPI,h as NetworkToNetworkName,b as NetworkToNodeAPI,d as NetworkToPepperAPI,e as NetworkToProverAPI};
1
+ import{a,b,c,d,e,f,g,h}from"../chunk-SCHZ67F3.mjs";import"../chunk-FVA2OPG4.mjs";export{f as Network,g as NetworkToChainId,c as NetworkToFaucetAPI,a as NetworkToIndexerAPI,h as NetworkToNetworkName,b as NetworkToNodeAPI,d as NetworkToPepperAPI,e as NetworkToProverAPI};
2
2
  //# sourceMappingURL=apiEndpoints.mjs.map
@@ -1,2 +1,2 @@
1
- import"../chunk-HGLO5LDS.mjs";import{a as r}from"../chunk-BSUYPXRD.mjs";import{a as s,b as t,c as u,d as v,e as w,f as x,g as y,h as z}from"../chunk-UAL27G6B.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-QQU4IQ27.mjs";import"../chunk-P5V7OZNN.mjs";import"../chunk-H6YNXJNF.mjs";import"../chunk-YPHH6CAO.mjs";import"../chunk-23J256KA.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-KEYAPEAX.mjs";import"../chunk-A63SMUOU.mjs";import"../chunk-BCUSI3N6.mjs";import"../chunk-LG7RJQ57.mjs";import"../chunk-56CNRT2K.mjs";import{a as j,b as k,c as l,d as m,e as n,f as o,g as p,h as q}from"../chunk-C5JQQTMI.mjs";import{a,b,c,d,e,f,g,h,i}from"../chunk-EXP5STXZ.mjs";import"../chunk-FVA2OPG4.mjs";export{e as APTOS_COIN,f as APTOS_FA,a as AptosApiType,b as DEFAULT_MAX_GAS_AMOUNT,c as DEFAULT_TXN_EXP_SEC_FROM_NOW,d as DEFAULT_TXN_TIMEOUT_SEC,o as Network,p as NetworkToChainId,l as NetworkToFaucetAPI,j as NetworkToIndexerAPI,q as NetworkToNetworkName,k as NetworkToNodeAPI,m as NetworkToPepperAPI,n as NetworkToProverAPI,i as ProcessorType,g as RAW_TRANSACTION_SALT,h as RAW_TRANSACTION_WITH_DATA_SALT,v as base64UrlDecode,w as convertAmountFromHumanReadableToOnChain,x as convertAmountFromOnChainToHumanReadable,u as floorToWholeHour,z as isEncodedStruct,r as normalizeBundle,t as nowInSeconds,y as parseEncodedStruct,s as sleep};
1
+ import"../chunk-HGLO5LDS.mjs";import{a as r}from"../chunk-BSUYPXRD.mjs";import{a as j,b as k,c as l,d as m,e as n,f as o,g as p,h as q}from"../chunk-SCHZ67F3.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-LNEZEYYE.mjs";import"../chunk-YPHH6CAO.mjs";import"../chunk-P5V7OZNN.mjs";import"../chunk-H6YNXJNF.mjs";import"../chunk-44GYWUSH.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-A63SMUOU.mjs";import"../chunk-BCUSI3N6.mjs";import"../chunk-LG7RJQ57.mjs";import{a,b,c,d,e,f,g,h,i}from"../chunk-EXP5STXZ.mjs";import{a as s,b as t,c as u,d as v,e as w,f as x,g as y,h as z}from"../chunk-UAL27G6B.mjs";import"../chunk-KEYAPEAX.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-FVA2OPG4.mjs";export{e as APTOS_COIN,f as APTOS_FA,a as AptosApiType,b as DEFAULT_MAX_GAS_AMOUNT,c as DEFAULT_TXN_EXP_SEC_FROM_NOW,d as DEFAULT_TXN_TIMEOUT_SEC,o as Network,p as NetworkToChainId,l as NetworkToFaucetAPI,j as NetworkToIndexerAPI,q as NetworkToNetworkName,k as NetworkToNodeAPI,m as NetworkToPepperAPI,n as NetworkToProverAPI,i as ProcessorType,g as RAW_TRANSACTION_SALT,h as RAW_TRANSACTION_WITH_DATA_SALT,v as base64UrlDecode,w as convertAmountFromHumanReadableToOnChain,x as convertAmountFromOnChainToHumanReadable,u as floorToWholeHour,z as isEncodedStruct,r as normalizeBundle,t as nowInSeconds,y as parseEncodedStruct,s as sleep};
2
2
  //# sourceMappingURL=index.mjs.map
@@ -1,2 +1,2 @@
1
- import{a}from"../chunk-BSUYPXRD.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-QQU4IQ27.mjs";import"../chunk-P5V7OZNN.mjs";import"../chunk-H6YNXJNF.mjs";import"../chunk-YPHH6CAO.mjs";import"../chunk-23J256KA.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-KEYAPEAX.mjs";import"../chunk-A63SMUOU.mjs";import"../chunk-BCUSI3N6.mjs";import"../chunk-LG7RJQ57.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-FVA2OPG4.mjs";export{a as normalizeBundle};
1
+ import{a}from"../chunk-BSUYPXRD.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-LNEZEYYE.mjs";import"../chunk-YPHH6CAO.mjs";import"../chunk-P5V7OZNN.mjs";import"../chunk-H6YNXJNF.mjs";import"../chunk-44GYWUSH.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-A63SMUOU.mjs";import"../chunk-BCUSI3N6.mjs";import"../chunk-LG7RJQ57.mjs";import"../chunk-KEYAPEAX.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-FVA2OPG4.mjs";export{a as normalizeBundle};
2
2
  //# sourceMappingURL=normalizeBundle.mjs.map
@@ -3,6 +3,6 @@
3
3
  *
4
4
  * hardcoded for now, we would want to have it injected dynamically
5
5
  */
6
- declare const VERSION = "1.28.0";
6
+ declare const VERSION = "1.29.0";
7
7
 
8
8
  export { VERSION };
@@ -1,2 +1,2 @@
1
- import{a}from"./chunk-ZXVQ2OBJ.mjs";import"./chunk-FVA2OPG4.mjs";export{a as VERSION};
1
+ import{a}from"./chunk-UAEODDZS.mjs";import"./chunk-FVA2OPG4.mjs";export{a as VERSION};
2
2
  //# sourceMappingURL=version.mjs.map
package/package.json CHANGED
@@ -95,5 +95,5 @@
95
95
  "typedoc": "^0.25.4",
96
96
  "typescript": "^5.3.3"
97
97
  },
98
- "version": "1.28.0-zeta.8"
98
+ "version": "1.29.0"
99
99
  }
@@ -28,7 +28,7 @@ import { FederatedKeylessPublicKey } from "../core/crypto/federatedKeyless";
28
28
  * Account implementation for the Keyless authentication scheme. This abstract class is used for standard Keyless Accounts
29
29
  * and Federated Keyless Accounts.
30
30
  */
31
- export abstract class KeylessAccountCommon extends Serializable implements Account {
31
+ export abstract class AbstractKeylessAccount extends Serializable implements Account {
32
32
  static readonly PEPPER_LENGTH: number = 31;
33
33
 
34
34
  /**
@@ -89,12 +89,12 @@ export abstract class KeylessAccountCommon extends Serializable implements Accou
89
89
  readonly jwt: string;
90
90
 
91
91
  /**
92
- * An event emitter used to assist in handling asycronous proof fetching.
92
+ * An event emitter used to assist in handling asynchronous proof fetching.
93
93
  */
94
94
  private readonly emitter: EventEmitter<ProofFetchEvents>;
95
95
 
96
96
  // Use the static constructor 'create' instead.
97
- constructor(args: {
97
+ protected constructor(args: {
98
98
  address?: AccountAddress;
99
99
  ephemeralKeyPair: EphemeralKeyPair;
100
100
  iss: string;
@@ -131,8 +131,8 @@ export abstract class KeylessAccountCommon extends Serializable implements Accou
131
131
  }
132
132
  this.signingScheme = SigningScheme.SingleKey;
133
133
  const pepperBytes = Hex.fromHexInput(pepper).toUint8Array();
134
- if (pepperBytes.length !== KeylessAccountCommon.PEPPER_LENGTH) {
135
- throw new Error(`Pepper length in bytes should be ${KeylessAccountCommon.PEPPER_LENGTH}`);
134
+ if (pepperBytes.length !== AbstractKeylessAccount.PEPPER_LENGTH) {
135
+ throw new Error(`Pepper length in bytes should be ${AbstractKeylessAccount.PEPPER_LENGTH}`);
136
136
  }
137
137
  this.pepper = pepperBytes;
138
138
  }
@@ -160,7 +160,7 @@ export abstract class KeylessAccountCommon extends Serializable implements Accou
160
160
  serializer.serializeFixedBytes(this.pepper);
161
161
  this.ephemeralKeyPair.serialize(serializer);
162
162
  if (this.proof === undefined) {
163
- throw new Error("Connot serialize - proof undefined");
163
+ throw new Error("Cannot serialize - proof undefined");
164
164
  }
165
165
  this.proof.serialize(serializer);
166
166
  }
@@ -211,16 +211,16 @@ export abstract class KeylessAccountCommon extends Serializable implements Accou
211
211
  * @param message in HexInput format
212
212
  * @returns Signature
213
213
  */
214
- sign(data: HexInput): KeylessSignature {
214
+ sign(message: HexInput): KeylessSignature {
215
215
  const { expiryDateSecs } = this.ephemeralKeyPair;
216
216
  if (this.isExpired()) {
217
217
  throw new Error("EphemeralKeyPair is expired");
218
218
  }
219
219
  if (this.proof === undefined) {
220
- throw new Error("Proof not defined");
220
+ throw new Error("Proof not found - make sure to call `await account.waitForProofFetch()` before signing.");
221
221
  }
222
222
  const ephemeralPublicKey = this.ephemeralKeyPair.getPublicKey();
223
- const ephemeralSignature = this.ephemeralKeyPair.sign(data);
223
+ const ephemeralSignature = this.ephemeralKeyPair.sign(message);
224
224
 
225
225
  return new KeylessSignature({
226
226
  jwtHeader: base64UrlDecode(this.jwt.split(".")[0]),
@@ -239,7 +239,7 @@ export abstract class KeylessAccountCommon extends Serializable implements Accou
239
239
  */
240
240
  signTransaction(transaction: AnyRawTransaction): KeylessSignature {
241
241
  if (this.proof === undefined) {
242
- throw new Error("Proof not found");
242
+ throw new Error("Proof not found - make sure to call `await account.waitForProofFetch()` before signing.");
243
243
  }
244
244
  const raw = deriveTransactionType(transaction);
245
245
  const txnAndProof = new TransactionAndProof(raw, this.proof.proof);
@@ -9,20 +9,20 @@ import { ZeroKnowledgeSig } from "../core/crypto";
9
9
  import { EphemeralKeyPair } from "./EphemeralKeyPair";
10
10
  import { Deserializer, Serializer } from "../bcs";
11
11
  import { FederatedKeylessPublicKey } from "../core/crypto/federatedKeyless";
12
- import { KeylessAccountCommon, ProofFetchCallback } from "./KeylessAccountCommon";
12
+ import { AbstractKeylessAccount, ProofFetchCallback } from "./AbstractKeylessAccount";
13
13
 
14
14
  /**
15
15
  * Account implementation for the FederatedKeyless authentication scheme.
16
16
  *
17
17
  * Used to represent a FederatedKeyless based account and sign transactions with it.
18
18
  *
19
- * Use FederatedKeylessAccount.fromJWTAndProof to instantiate a KeylessAccount with a JWT, proof, EphemeralKeyPair and the
19
+ * Use FederatedKeylessAccount.create to instantiate a KeylessAccount with a JWT, proof, EphemeralKeyPair and the
20
20
  * address the JWKs are installed that will be used to verify the JWT.
21
21
  *
22
22
  * When the proof expires or the JWT becomes invalid, the KeylessAccount must be instantiated again with a new JWT,
23
23
  * EphemeralKeyPair, and corresponding proof.
24
24
  */
25
- export class FederatedKeylessAccount extends KeylessAccountCommon {
25
+ export class FederatedKeylessAccount extends AbstractKeylessAccount {
26
26
  /**
27
27
  * The FederatedKeylessPublicKey associated with the account
28
28
  */
@@ -48,7 +48,7 @@ export class FederatedKeylessAccount extends KeylessAccountCommon {
48
48
 
49
49
  serialize(serializer: Serializer): void {
50
50
  if (this.proof === undefined) {
51
- throw new Error("Connot serialize - proof undefined");
51
+ throw new Error("Cannot serialize - proof undefined");
52
52
  }
53
53
  serializer.serializeStr(this.jwt);
54
54
  serializer.serializeStr(this.uidKey);
@@ -92,20 +92,21 @@ export class FederatedKeylessAccount extends KeylessAccountCommon {
92
92
  const { address, proof, jwt, ephemeralKeyPair, pepper, jwkAddress, uidKey = "sub", proofFetchCallback } = args;
93
93
 
94
94
  const jwtPayload = jwtDecode<JwtPayload & { [key: string]: string }>(jwt);
95
- const iss = jwtPayload.iss!;
95
+ if (typeof jwtPayload.iss !== "string") {
96
+ throw new Error("iss was not found");
97
+ }
96
98
  if (typeof jwtPayload.aud !== "string") {
97
99
  throw new Error("aud was not found or an array of values");
98
100
  }
99
- const aud = jwtPayload.aud!;
100
101
  const uidVal = jwtPayload[uidKey];
101
102
  return new FederatedKeylessAccount({
102
103
  address,
103
104
  proof,
104
105
  ephemeralKeyPair,
105
- iss,
106
+ iss: jwtPayload.iss,
106
107
  uidKey,
107
108
  uidVal,
108
- aud,
109
+ aud: jwtPayload.aud,
109
110
  pepper,
110
111
  jwkAddress: AccountAddress.from(jwkAddress),
111
112
  jwt,
@@ -8,19 +8,19 @@ import { ZeroKnowledgeSig } from "../core/crypto";
8
8
 
9
9
  import { EphemeralKeyPair } from "./EphemeralKeyPair";
10
10
  import { Deserializer, Serializer } from "../bcs";
11
- import { KeylessAccountCommon, ProofFetchCallback } from "./KeylessAccountCommon";
11
+ import { AbstractKeylessAccount, ProofFetchCallback } from "./AbstractKeylessAccount";
12
12
 
13
13
  /**
14
14
  * Account implementation for the Keyless authentication scheme.
15
15
  *
16
16
  * Used to represent a Keyless based account and sign transactions with it.
17
17
  *
18
- * Use KeylessAccount.fromJWTAndProof to instantiate a KeylessAccount with a JWT, proof and EphemeralKeyPair.
18
+ * Use KeylessAccount.create to instantiate a KeylessAccount with a JWT, proof and EphemeralKeyPair.
19
19
  *
20
20
  * When the proof expires or the JWT becomes invalid, the KeylessAccount must be instantiated again with a new JWT,
21
21
  * EphemeralKeyPair, and corresponding proof.
22
22
  */
23
- export class KeylessAccount extends KeylessAccountCommon {
23
+ export class KeylessAccount extends AbstractKeylessAccount {
24
24
  // Use the static constructor 'create' instead.
25
25
  private constructor(args: {
26
26
  address?: AccountAddress;
@@ -43,7 +43,7 @@ export class KeylessAccount extends KeylessAccountCommon {
43
43
  serializer.serializeFixedBytes(this.pepper);
44
44
  this.ephemeralKeyPair.serialize(serializer);
45
45
  if (this.proof === undefined) {
46
- throw new Error("Connot serialize - proof undefined");
46
+ throw new Error("Cannot serialize - proof undefined");
47
47
  }
48
48
  this.proof.serialize(serializer);
49
49
  }
@@ -79,20 +79,21 @@ export class KeylessAccount extends KeylessAccountCommon {
79
79
  const { address, proof, jwt, ephemeralKeyPair, pepper, uidKey = "sub", proofFetchCallback } = args;
80
80
 
81
81
  const jwtPayload = jwtDecode<JwtPayload & { [key: string]: string }>(jwt);
82
- const iss = jwtPayload.iss!;
82
+ if (typeof jwtPayload.iss !== "string") {
83
+ throw new Error("iss was not found");
84
+ }
83
85
  if (typeof jwtPayload.aud !== "string") {
84
86
  throw new Error("aud was not found or an array of values");
85
87
  }
86
- const aud = jwtPayload.aud!;
87
88
  const uidVal = jwtPayload[uidKey];
88
89
  return new KeylessAccount({
89
90
  address,
90
91
  proof,
91
92
  ephemeralKeyPair,
92
- iss,
93
+ iss: jwtPayload.iss,
93
94
  uidKey,
94
95
  uidVal,
95
- aud,
96
+ aud: jwtPayload.aud,
96
97
  pepper,
97
98
  jwt,
98
99
  proofFetchCallback,
@@ -7,7 +7,7 @@ import { AccountAddress, AccountAddressInput } from "../core/accountAddress";
7
7
  import { HexInput, SigningScheme } from "../types";
8
8
  import { AccountAuthenticatorMultiKey } from "../transactions/authenticator/account";
9
9
  import { AnyRawTransaction } from "../transactions/types";
10
- import { KeylessAccount } from "./KeylessAccount";
10
+ import { AbstractKeylessAccount } from "./AbstractKeylessAccount";
11
11
 
12
12
  export interface VerifyMultiKeySignatureArgs {
13
13
  message: HexInput;
@@ -130,7 +130,9 @@ export class MultiKeyAccount implements Account {
130
130
  * @return
131
131
  */
132
132
  async waitForProofFetch() {
133
- const keylessSigners = this.signers.filter((signer) => signer instanceof KeylessAccount) as KeylessAccount[];
133
+ const keylessSigners = this.signers.filter(
134
+ (signer) => signer instanceof AbstractKeylessAccount,
135
+ ) as AbstractKeylessAccount[];
134
136
  const promises = keylessSigners.map(async (signer) => signer.waitForProofFetch());
135
137
  await Promise.all(promises);
136
138
  }
@@ -3,6 +3,6 @@ export * from "./Account";
3
3
  export * from "./SingleKeyAccount";
4
4
  export * from "./EphemeralKeyPair";
5
5
  export * from "./KeylessAccount";
6
- export * from "./KeylessAccountCommon";
6
+ export * from "./AbstractKeylessAccount";
7
7
  export * from "./FederatedKeylessAccount";
8
8
  export * from "./MultiKeyAccount";
@@ -2,7 +2,7 @@
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
 
4
4
  import { Account as AccountModule } from "../account";
5
- import { AccountAddress, PrivateKey, AccountAddressInput } from "../core";
5
+ import { AccountAddress, PrivateKey, AccountAddressInput, createObjectAddress } from "../core";
6
6
  import {
7
7
  AccountData,
8
8
  AnyNumber,
@@ -24,7 +24,6 @@ import {
24
24
  } from "../types";
25
25
  import {
26
26
  deriveAccountFromPrivateKey,
27
- getAccountCoinAmount,
28
27
  getAccountCoinsCount,
29
28
  getAccountCoinsData,
30
29
  getAccountCollectionsWithOwnedTokens,
@@ -47,6 +46,7 @@ import { waitForIndexerOnVersion } from "./utils";
47
46
  import { CurrentFungibleAssetBalancesBoolExp } from "../types/generated/types";
48
47
  import { view } from "../internal/view";
49
48
  import { isEncodedStruct, parseEncodedStruct } from "../utils";
49
+ import { memoizeAsync } from "../utils/memoize";
50
50
 
51
51
  /**
52
52
  * A class to query all `Account` related queries on Aptos.
@@ -454,35 +454,81 @@ export class Account {
454
454
  faMetadataAddress?: AccountAddressInput;
455
455
  minimumLedgerVersion?: AnyNumber;
456
456
  }): Promise<number> {
457
- const { coinType, faMetadataAddress } = args;
458
- await waitForIndexerOnVersion({
459
- config: this.config,
460
- minimumLedgerVersion: args.minimumLedgerVersion,
461
- processorType: ProcessorType.FUNGIBLE_ASSET_PROCESSOR,
462
- });
457
+ const { accountAddress, coinType, faMetadataAddress } = args;
463
458
 
464
459
  // Attempt to populate the CoinType field if the FA address is provided.
465
460
  // We cannot do this internally due to dependency cycles issue.
466
461
  let coinAssetType: MoveStructId | undefined = coinType;
467
462
  if (coinType === undefined && faMetadataAddress !== undefined) {
468
- try {
469
- const pairedCoinTypeStruct = (
470
- await view({
471
- aptosConfig: this.config,
472
- payload: { function: "0x1::coin::paired_coin", functionArguments: [faMetadataAddress] },
473
- })
474
- ).at(0) as { vec: MoveValue[] };
463
+ coinAssetType = await memoizeAsync(
464
+ async () => {
465
+ try {
466
+ const pairedCoinTypeStruct = (
467
+ await view({
468
+ aptosConfig: this.config,
469
+ payload: { function: "0x1::coin::paired_coin", functionArguments: [faMetadataAddress] },
470
+ })
471
+ ).at(0) as { vec: MoveValue[] };
472
+
473
+ // Check if the Option has a value, and if so, parse the struct
474
+ if (pairedCoinTypeStruct.vec.length > 0 && isEncodedStruct(pairedCoinTypeStruct.vec[0])) {
475
+ return parseEncodedStruct(pairedCoinTypeStruct.vec[0]) as MoveStructId;
476
+ }
477
+ } catch (error) {
478
+ /* No paired coin type found */
479
+ }
480
+ return undefined;
481
+ },
482
+ `coin-mapping-${faMetadataAddress.toString()}`,
483
+ 1000 * 60 * 5, // 5 minutes
484
+ )();
485
+ }
486
+
487
+ let faAddress: string;
475
488
 
476
- // Check if the Option has a value, and if so, parse the struct
477
- if (pairedCoinTypeStruct.vec.length > 0 && isEncodedStruct(pairedCoinTypeStruct.vec[0])) {
478
- coinAssetType = parseEncodedStruct(pairedCoinTypeStruct.vec[0]);
479
- }
480
- } catch (error) {
481
- /* No paired coin type found */
489
+ if (coinType !== undefined && faMetadataAddress !== undefined) {
490
+ faAddress = AccountAddress.from(faMetadataAddress).toStringLong();
491
+ } else if (coinType !== undefined && faMetadataAddress === undefined) {
492
+ // TODO Move to a separate function as defined in the AIP for coin migration
493
+ if (coinType === APTOS_COIN) {
494
+ faAddress = AccountAddress.A.toStringLong();
495
+ } else {
496
+ faAddress = createObjectAddress(AccountAddress.A, coinType).toStringLong();
497
+ }
498
+ } else if (coinType === undefined && faMetadataAddress !== undefined) {
499
+ const addr = AccountAddress.from(faMetadataAddress);
500
+ faAddress = addr.toStringLong();
501
+ if (addr === AccountAddress.A) {
502
+ coinAssetType = APTOS_COIN;
482
503
  }
504
+ // The paired CoinType should be populated outside of this function in another
505
+ // async call. We cannot do this internally due to dependency cycles issue.
506
+ } else {
507
+ throw new Error("Either coinType, faMetadataAddress, or both must be provided");
483
508
  }
484
509
 
485
- return getAccountCoinAmount({ aptosConfig: this.config, ...args, coinType: coinAssetType });
510
+ // When there is a coin mapping, use that first, otherwise use the fungible asset address
511
+ // TODO: This function's signature at the top, returns number, but it could be greater than can be represented
512
+ if (coinAssetType !== undefined) {
513
+ const [balanceStr] = await view<[string]>({
514
+ aptosConfig: this.config,
515
+ payload: {
516
+ function: "0x1::coin::balance",
517
+ typeArguments: [coinAssetType],
518
+ functionArguments: [accountAddress],
519
+ },
520
+ });
521
+ return parseInt(balanceStr, 10);
522
+ }
523
+ const [balanceStr] = await view<[string]>({
524
+ aptosConfig: this.config,
525
+ payload: {
526
+ function: "0x1::primary_fungible_store::balance",
527
+ typeArguments: ["0x1::object::ObjectCore"],
528
+ functionArguments: [accountAddress, faAddress],
529
+ },
530
+ });
531
+ return parseInt(balanceStr, 10);
486
532
  }
487
533
 
488
534
  /**
@@ -21,10 +21,13 @@ import {
21
21
  WaitForTransactionOptions,
22
22
  } from "../types";
23
23
  import {
24
+ FeePayerOrFeePayerAuthenticatorOrNeither,
24
25
  getSigningMessage,
25
26
  publicPackageTransaction,
26
27
  rotateAuthKey,
28
+ signAndSubmitAsFeePayer,
27
29
  signAndSubmitTransaction,
30
+ signAsFeePayer,
28
31
  signTransaction,
29
32
  } from "../internal/transactionSubmission";
30
33
  import {
@@ -290,20 +293,8 @@ export class Transaction {
290
293
  */
291
294
  // eslint-disable-next-line class-methods-use-this
292
295
  signAsFeePayer(args: { signer: Account; transaction: AnyRawTransaction }): AccountAuthenticator {
293
- const { signer, transaction } = args;
294
-
295
- // if transaction doesnt hold a "feePayerAddress" prop it means
296
- // this is not a fee payer transaction
297
- if (!transaction.feePayerAddress) {
298
- throw new Error(`Transaction ${transaction} is not a Fee Payer transaction`);
299
- }
300
-
301
- // Set the feePayerAddress to the signer account address
302
- transaction.feePayerAddress = signer.accountAddress;
303
-
304
- return signTransaction({
305
- signer,
306
- transaction,
296
+ return signAsFeePayer({
297
+ ...args,
307
298
  });
308
299
  }
309
300
 
@@ -355,15 +346,44 @@ export class Transaction {
355
346
  *
356
347
  * @return PendingTransactionResponse
357
348
  */
358
- async signAndSubmitTransaction(args: {
359
- signer: Account;
349
+ async signAndSubmitTransaction(
350
+ args: FeePayerOrFeePayerAuthenticatorOrNeither & {
351
+ signer: Account;
352
+ transaction: AnyRawTransaction;
353
+ },
354
+ ): Promise<PendingTransactionResponse> {
355
+ return signAndSubmitTransaction({
356
+ aptosConfig: this.config,
357
+ ...args,
358
+ });
359
+ }
360
+
361
+ /**
362
+ * Sign and submit a single signer transaction as the fee payer to chain given an authenticator by the sender of the transaction.
363
+ *
364
+ * @param args.feePayer The fee payer account to sign the transaction
365
+ * @param args.senderAuthenticator The AccountAuthenticator signed by the sender of the transaction
366
+ * @param args.transaction An instance of a RawTransaction, plus optional secondary/fee payer addresses
367
+ *
368
+ * @example
369
+ * const transaction = await aptos.transaction.build.simple({sender: alice.accountAddress, feePayer: true ...})
370
+ * const senderAuthenticator = alice.signTransactionWithAuthenticator(transaction)
371
+ * const pendingTransaction = await aptos.signAndSubmitAsFeePayer({
372
+ * senderAuthenticator,
373
+ * feePayer: bob,
374
+ * transaction,
375
+ * })
376
+ *
377
+ * @return PendingTransactionResponse
378
+ */
379
+ async signAndSubmitAsFeePayer(args: {
380
+ feePayer: Account;
381
+ senderAuthenticator: AccountAuthenticator;
360
382
  transaction: AnyRawTransaction;
361
383
  }): Promise<PendingTransactionResponse> {
362
- const { signer, transaction } = args;
363
- return signAndSubmitTransaction({
384
+ return signAndSubmitAsFeePayer({
364
385
  aptosConfig: this.config,
365
- signer,
366
- transaction,
386
+ ...args,
367
387
  });
368
388
  }
369
389
  }
@@ -158,13 +158,14 @@ export class KeylessPublicKey extends AccountPublicKey {
158
158
  static fromJwtAndPepper(args: { jwt: string; pepper: HexInput; uidKey?: string }): KeylessPublicKey {
159
159
  const { jwt, pepper, uidKey = "sub" } = args;
160
160
  const jwtPayload = jwtDecode<JwtPayload & { [key: string]: string }>(jwt);
161
- const iss = jwtPayload.iss!;
161
+ if (typeof jwtPayload.iss !== "string") {
162
+ throw new Error("iss was not found");
163
+ }
162
164
  if (typeof jwtPayload.aud !== "string") {
163
165
  throw new Error("aud was not found or an array of values");
164
166
  }
165
- const aud = jwtPayload.aud!;
166
167
  const uidVal = jwtPayload[uidKey];
167
- return KeylessPublicKey.create({ iss, uidKey, uidVal, aud, pepper });
168
+ return KeylessPublicKey.create({ iss: jwtPayload.iss, uidKey, uidVal, aud: jwtPayload.aud, pepper });
168
169
  }
169
170
 
170
171
  static isInstance(publicKey: PublicKey) {
@@ -99,15 +99,11 @@ export function bytesToBigIntLE(bytes: Uint8Array): bigint {
99
99
  }
100
100
 
101
101
  export function bigIntToBytesLE(value: bigint | number, length: number): Uint8Array {
102
- if (typeof value === "number") {
103
- // eslint-disable-next-line no-param-reassign
104
- value = BigInt(value);
105
- }
102
+ let val = BigInt(value);
106
103
  const bytes = new Uint8Array(length);
107
104
  for (let i = 0; i < length; i += 1) {
108
- bytes[i] = Number(value & BigInt(0xff));
109
- // eslint-disable-next-line no-param-reassign
110
- value >>= BigInt(8);
105
+ bytes[i] = Number(val & BigInt(0xff));
106
+ val >>= BigInt(8);
111
107
  }
112
108
  return bytes;
113
109
  }
@@ -52,10 +52,9 @@ import {
52
52
  GetAccountTransactionsCount,
53
53
  } from "../types/generated/queries";
54
54
  import { memoizeAsync } from "../utils/memoize";
55
- import { Secp256k1PrivateKey, AuthenticationKey, Ed25519PrivateKey, createObjectAddress } from "../core";
55
+ import { Secp256k1PrivateKey, AuthenticationKey, Ed25519PrivateKey } from "../core";
56
56
  import { CurrentFungibleAssetBalancesBoolExp } from "../types/generated/types";
57
57
  import { getTableItem } from "./table";
58
- import { APTOS_COIN } from "../utils";
59
58
 
60
59
  export async function getInfo(args: {
61
60
  aptosConfig: AptosConfig;
@@ -402,58 +401,6 @@ export async function getAccountTransactionsCount(args: {
402
401
  return data.account_transactions_aggregate.aggregate ? data.account_transactions_aggregate.aggregate.count : 0;
403
402
  }
404
403
 
405
- export async function getAccountCoinAmount(args: {
406
- aptosConfig: AptosConfig;
407
- accountAddress: AccountAddressInput;
408
- coinType?: MoveStructId;
409
- faMetadataAddress?: AccountAddressInput;
410
- }): Promise<number> {
411
- const { aptosConfig, accountAddress, coinType, faMetadataAddress } = args;
412
-
413
- let coinAssetType: string | undefined = coinType;
414
- let faAddress: string;
415
-
416
- if (coinType !== undefined && faMetadataAddress !== undefined) {
417
- faAddress = AccountAddress.from(faMetadataAddress).toStringLong();
418
- } else if (coinType !== undefined && faMetadataAddress === undefined) {
419
- // TODO Move to a separate function as defined in the AIP for coin migration
420
- if (coinType === APTOS_COIN) {
421
- faAddress = AccountAddress.A.toStringLong();
422
- } else {
423
- faAddress = createObjectAddress(AccountAddress.A, coinType).toStringLong();
424
- }
425
- } else if (coinType === undefined && faMetadataAddress !== undefined) {
426
- const addr = AccountAddress.from(faMetadataAddress);
427
- faAddress = addr.toStringLong();
428
- if (addr === AccountAddress.A) {
429
- coinAssetType = APTOS_COIN;
430
- }
431
- // The paired CoinType should be populated outside of this function in another
432
- // async call. We cannot do this internally due to dependency cycles issue.
433
- } else {
434
- throw new Error("Either coinType, fungibleAssetAddress, or both must be provided");
435
- }
436
- const address = AccountAddress.from(accountAddress).toStringLong();
437
-
438
- // Search by fungible asset address, unless it has a coin it migrated from
439
- let where: any = { asset_type: { _eq: faAddress } };
440
- if (coinAssetType !== undefined) {
441
- where = { asset_type: { _in: [coinAssetType, faAddress] } };
442
- }
443
-
444
- const data = await getAccountCoinsData({
445
- aptosConfig,
446
- accountAddress: address,
447
- options: {
448
- where,
449
- },
450
- });
451
-
452
- // commonjs (aka cjs) doesnt handle Nullish Coalescing for some reason
453
- // might be because of how ts infer the graphql generated scheme type
454
- return data[0] ? data[0].amount : 0;
455
- }
456
-
457
404
  export async function getAccountCoinsData(args: {
458
405
  aptosConfig: AptosConfig;
459
406
  accountAddress: AccountAddressInput;
@@ -69,7 +69,11 @@ export async function getProof(args: {
69
69
  throw new Error(`Pepper needs to be ${KeylessAccount.PEPPER_LENGTH} bytes`);
70
70
  }
71
71
  const { maxExpHorizonSecs } = await getKeylessConfig({ aptosConfig });
72
- if (maxExpHorizonSecs < ephemeralKeyPair.expiryDateSecs - jwtDecode<JwtPayload>(jwt).iat!) {
72
+ const decodedJwt = jwtDecode<JwtPayload>(jwt);
73
+ if (typeof decodedJwt.iat !== "number") {
74
+ throw new Error("iat was not found");
75
+ }
76
+ if (maxExpHorizonSecs < ephemeralKeyPair.expiryDateSecs - decodedJwt.iat) {
73
77
  throw Error(`The EphemeralKeyPair is too long lived. It's lifespan must be less than ${maxExpHorizonSecs}`);
74
78
  }
75
79
  const json = {