@aptos-labs/ts-sdk 1.33.0-sc.1 → 1.33.0-sc.3
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.
- package/README.md +4 -6
- package/dist/common/{accountAddress-fJZJVSBc.d.ts → accountAddress-Cf1amU98.d.ts} +293 -1
- package/dist/common/{chunk-F43XVDYJ.js → chunk-IHUCZKG2.js} +1 -1
- package/dist/common/chunk-IHUCZKG2.js.map +1 -0
- package/dist/common/cli/index.d.ts +47 -9
- package/dist/common/cli/index.js +1 -1
- package/dist/common/cli/index.js.map +1 -1
- package/dist/common/index.d.ts +1945 -226
- package/dist/common/index.js +33 -33
- package/dist/common/index.js.map +1 -1
- package/dist/esm/{Ed25519Account-B3xHXAQe.d.mts → Ed25519Account-D4j3_WIS.d.mts} +122 -12
- package/dist/esm/account/AbstractKeylessAccount.d.mts +81 -7
- package/dist/esm/account/AbstractKeylessAccount.mjs +1 -1
- package/dist/esm/account/Account.d.mts +5 -4
- package/dist/esm/account/Account.mjs +1 -1
- package/dist/esm/account/AccountUtils.d.mts +65 -0
- package/dist/esm/account/AccountUtils.mjs +2 -0
- package/dist/esm/account/Ed25519Account.d.mts +3 -2
- package/dist/esm/account/Ed25519Account.mjs +1 -1
- package/dist/esm/account/EphemeralKeyPair.d.mts +29 -1
- package/dist/esm/account/EphemeralKeyPair.mjs +1 -1
- package/dist/esm/account/FederatedKeylessAccount.d.mts +25 -5
- package/dist/esm/account/FederatedKeylessAccount.mjs +1 -1
- package/dist/esm/account/KeylessAccount.d.mts +30 -5
- package/dist/esm/account/KeylessAccount.mjs +1 -1
- package/dist/esm/account/MultiKeyAccount.d.mts +40 -5
- package/dist/esm/account/MultiKeyAccount.mjs +1 -1
- package/dist/esm/account/SingleKeyAccount.d.mts +4 -3
- package/dist/esm/account/SingleKeyAccount.mjs +1 -1
- package/dist/esm/account/index.d.mts +4 -2
- package/dist/esm/account/index.mjs +1 -1
- package/dist/esm/account/utils.d.mts +19 -0
- package/dist/esm/account/utils.mjs +2 -0
- package/dist/esm/account/utils.mjs.map +1 -0
- package/dist/esm/api/account.d.mts +25 -4
- package/dist/esm/api/account.mjs +1 -1
- package/dist/esm/api/ans.d.mts +18 -2
- package/dist/esm/api/ans.mjs +1 -1
- package/dist/esm/api/aptos.d.mts +5 -2
- package/dist/esm/api/aptos.mjs +1 -1
- package/dist/esm/api/aptosConfig.d.mts +16 -0
- package/dist/esm/api/aptosConfig.mjs +1 -1
- package/dist/esm/api/coin.d.mts +5 -1
- package/dist/esm/api/coin.mjs +1 -1
- package/dist/esm/api/digitalAsset.d.mts +29 -2
- package/dist/esm/api/digitalAsset.mjs +1 -1
- package/dist/esm/api/event.d.mts +6 -0
- package/dist/esm/api/event.mjs +1 -1
- package/dist/esm/api/faucet.d.mts +11 -2
- package/dist/esm/api/faucet.mjs +1 -1
- package/dist/esm/api/fungibleAsset.d.mts +11 -2
- package/dist/esm/api/fungibleAsset.mjs +1 -1
- package/dist/esm/api/general.d.mts +14 -1
- package/dist/esm/api/general.mjs +1 -1
- package/dist/esm/api/index.d.mts +3 -2
- package/dist/esm/api/index.mjs +1 -1
- package/dist/esm/api/keyless.d.mts +8 -2
- package/dist/esm/api/keyless.mjs +1 -1
- package/dist/esm/api/object.d.mts +3 -0
- package/dist/esm/api/object.mjs +1 -1
- package/dist/esm/api/staking.d.mts +5 -0
- package/dist/esm/api/staking.mjs +1 -1
- package/dist/esm/api/table.d.mts +5 -0
- package/dist/esm/api/table.mjs +1 -1
- package/dist/esm/api/transaction.d.mts +23 -6
- package/dist/esm/api/transaction.mjs +1 -1
- package/dist/esm/api/transactionSubmission/build.d.mts +7 -2
- package/dist/esm/api/transactionSubmission/build.mjs +1 -1
- package/dist/esm/api/transactionSubmission/helpers.d.mts +2 -0
- package/dist/esm/api/transactionSubmission/helpers.mjs +1 -1
- package/dist/esm/api/transactionSubmission/management.d.mts +8 -2
- package/dist/esm/api/transactionSubmission/management.mjs +1 -1
- package/dist/esm/api/transactionSubmission/sign.d.mts +7 -2
- package/dist/esm/api/transactionSubmission/sign.mjs +1 -1
- package/dist/esm/api/transactionSubmission/sign.mjs.map +1 -1
- package/dist/esm/api/transactionSubmission/simulate.d.mts +6 -1
- package/dist/esm/api/transactionSubmission/simulate.mjs +1 -1
- package/dist/esm/api/transactionSubmission/submit.d.mts +6 -1
- package/dist/esm/api/transactionSubmission/submit.mjs +1 -1
- package/dist/esm/api/utils.d.mts +1 -0
- package/dist/esm/api/utils.mjs +1 -1
- package/dist/esm/bcs/deserializer.d.mts +56 -2
- package/dist/esm/bcs/deserializer.mjs +1 -1
- package/dist/esm/bcs/index.mjs +1 -1
- package/dist/esm/bcs/serializable/entryFunctionBytes.d.mts +10 -0
- package/dist/esm/bcs/serializable/entryFunctionBytes.mjs +1 -1
- package/dist/esm/bcs/serializable/fixedBytes.d.mts +12 -0
- package/dist/esm/bcs/serializable/fixedBytes.mjs +1 -1
- package/dist/esm/bcs/serializable/movePrimitives.d.mts +24 -0
- package/dist/esm/bcs/serializable/movePrimitives.mjs +1 -1
- package/dist/esm/bcs/serializable/moveStructs.d.mts +56 -0
- package/dist/esm/bcs/serializable/moveStructs.mjs +1 -1
- package/dist/esm/bcs/serializer.d.mts +60 -0
- package/dist/esm/bcs/serializer.mjs +1 -1
- package/dist/esm/{chunk-UTOO6IVJ.mjs → chunk-22HNYCN4.mjs} +2 -2
- package/dist/esm/chunk-22HNYCN4.mjs.map +1 -0
- package/dist/esm/{chunk-U7UTBXJD.mjs → chunk-255RZ5AM.mjs} +2 -2
- package/dist/esm/chunk-255RZ5AM.mjs.map +1 -0
- package/dist/esm/{chunk-WJSZAGHP.mjs → chunk-2I2HOJHV.mjs} +2 -2
- package/dist/esm/chunk-2I2HOJHV.mjs.map +1 -0
- package/dist/esm/{chunk-CW6P2DDJ.mjs → chunk-2NWLRUD6.mjs} +2 -2
- package/dist/esm/{chunk-CW6P2DDJ.mjs.map → chunk-2NWLRUD6.mjs.map} +1 -1
- package/dist/esm/chunk-2YQZYHWO.mjs +2 -0
- package/dist/esm/chunk-2YQZYHWO.mjs.map +1 -0
- package/dist/esm/{chunk-FZDEGDUY.mjs → chunk-35DKMW7Q.mjs} +1 -1
- package/dist/esm/chunk-35DKMW7Q.mjs.map +1 -0
- package/dist/esm/{chunk-EVASO3UR.mjs → chunk-424ZTUPT.mjs} +2 -2
- package/dist/esm/chunk-424ZTUPT.mjs.map +1 -0
- package/dist/esm/chunk-4RXKALLC.mjs +2 -0
- package/dist/esm/chunk-4RXKALLC.mjs.map +1 -0
- package/dist/esm/chunk-4YLUM62M.mjs +2 -0
- package/dist/esm/chunk-4YLUM62M.mjs.map +1 -0
- package/dist/esm/{chunk-B2OF42B3.mjs → chunk-4ZYPDCSP.mjs} +2 -2
- package/dist/esm/chunk-4ZYPDCSP.mjs.map +1 -0
- package/dist/esm/{chunk-AOQJI6IC.mjs → chunk-5L2745QA.mjs} +2 -2
- package/dist/esm/chunk-5L2745QA.mjs.map +1 -0
- package/dist/esm/{chunk-7R44XXPU.mjs → chunk-5TZXG626.mjs} +2 -2
- package/dist/esm/chunk-5TZXG626.mjs.map +1 -0
- package/dist/esm/chunk-5VILVOYP.mjs +2 -0
- package/dist/esm/chunk-5VILVOYP.mjs.map +1 -0
- package/dist/esm/{chunk-2G7SAWM3.mjs → chunk-63JTAZEH.mjs} +2 -2
- package/dist/esm/chunk-63JTAZEH.mjs.map +1 -0
- package/dist/esm/{chunk-UQIMOQZ7.mjs → chunk-6XUFRKGR.mjs} +2 -2
- package/dist/esm/chunk-6XUFRKGR.mjs.map +1 -0
- package/dist/esm/{chunk-2WLKSKL7.mjs → chunk-75IC2LNI.mjs} +2 -2
- package/dist/esm/chunk-75IC2LNI.mjs.map +1 -0
- package/dist/esm/{chunk-SOLRIYPW.mjs → chunk-7FCSZ5LT.mjs} +2 -2
- package/dist/esm/{chunk-3BWKODVZ.mjs → chunk-7FJ7RHY4.mjs} +2 -2
- package/dist/esm/chunk-7FJ7RHY4.mjs.map +1 -0
- package/dist/esm/{chunk-WIDWY7A2.mjs → chunk-7IY3DTEF.mjs} +2 -2
- package/dist/esm/chunk-7IY3DTEF.mjs.map +1 -0
- package/dist/esm/{chunk-2CJC43CV.mjs → chunk-A5L76YP7.mjs} +1 -1
- package/dist/esm/chunk-A5L76YP7.mjs.map +1 -0
- package/dist/esm/{chunk-CK5NDXQT.mjs → chunk-AKLUTUMD.mjs} +2 -2
- package/dist/esm/chunk-AKLUTUMD.mjs.map +1 -0
- package/dist/esm/{chunk-IKJAX5KQ.mjs → chunk-AN75UUF7.mjs} +2 -2
- package/dist/esm/chunk-AN75UUF7.mjs.map +1 -0
- package/dist/esm/chunk-AV6G4ACP.mjs +2 -0
- package/dist/esm/chunk-AV6G4ACP.mjs.map +1 -0
- package/dist/esm/{chunk-AOROYJ74.mjs → chunk-AZWVCBK2.mjs} +2 -2
- package/dist/esm/chunk-AZWVCBK2.mjs.map +1 -0
- package/dist/esm/{chunk-6ZOVTYLJ.mjs → chunk-BI3BTSUB.mjs} +2 -2
- package/dist/esm/chunk-BI3BTSUB.mjs.map +1 -0
- package/dist/esm/chunk-BPNW35GW.mjs +2 -0
- package/dist/esm/chunk-BPNW35GW.mjs.map +1 -0
- package/dist/esm/{chunk-2CKUTG67.mjs → chunk-BWDNXTV6.mjs} +2 -2
- package/dist/esm/chunk-BWDNXTV6.mjs.map +1 -0
- package/dist/esm/{chunk-OIOGOW6I.mjs → chunk-C3Q23D22.mjs} +1 -1
- package/dist/esm/chunk-C3Q23D22.mjs.map +1 -0
- package/dist/esm/chunk-CKKCL3LM.mjs +2 -0
- package/dist/esm/chunk-CKKCL3LM.mjs.map +1 -0
- package/dist/esm/{chunk-PMA7XAFK.mjs → chunk-CMA7755V.mjs} +2 -2
- package/dist/esm/chunk-CMA7755V.mjs.map +1 -0
- package/dist/esm/{chunk-MKM5MDD5.mjs → chunk-CSEQXUJM.mjs} +2 -2
- package/dist/esm/{chunk-MKM5MDD5.mjs.map → chunk-CSEQXUJM.mjs.map} +1 -1
- package/dist/esm/{chunk-VQZMI3EZ.mjs → chunk-CWKNJZB6.mjs} +2 -2
- package/dist/esm/chunk-CWKNJZB6.mjs.map +1 -0
- package/dist/esm/{chunk-V4FKFCBL.mjs → chunk-DAFSKSZ5.mjs} +1 -1
- package/dist/esm/chunk-DAFSKSZ5.mjs.map +1 -0
- package/dist/esm/chunk-DGJHSYF5.mjs +2 -0
- package/dist/esm/chunk-DGJHSYF5.mjs.map +1 -0
- package/dist/esm/chunk-DPP3ROKC.mjs +2 -0
- package/dist/esm/chunk-DPP3ROKC.mjs.map +1 -0
- package/dist/esm/chunk-DPW6ELCQ.mjs +2 -0
- package/dist/esm/chunk-DPW6ELCQ.mjs.map +1 -0
- package/dist/esm/{chunk-BKSQPS2O.mjs → chunk-DTICBERU.mjs} +2 -2
- package/dist/esm/chunk-DTICBERU.mjs.map +1 -0
- package/dist/esm/{chunk-AJ5JHBAE.mjs → chunk-EBMEXURY.mjs} +2 -2
- package/dist/esm/chunk-EBMEXURY.mjs.map +1 -0
- package/dist/esm/chunk-EMURYYVO.mjs +2 -0
- package/dist/esm/chunk-EMURYYVO.mjs.map +1 -0
- package/dist/esm/{chunk-S22QVNK7.mjs → chunk-ESLJXR3M.mjs} +2 -2
- package/dist/esm/chunk-ESLJXR3M.mjs.map +1 -0
- package/dist/esm/{chunk-3QUZFCNW.mjs → chunk-EVG6EXWX.mjs} +2 -2
- package/dist/esm/chunk-EVG6EXWX.mjs.map +1 -0
- package/dist/esm/{chunk-P6RNNESB.mjs → chunk-EYE4UEWZ.mjs} +2 -2
- package/dist/esm/chunk-EYE4UEWZ.mjs.map +1 -0
- package/dist/esm/chunk-F2ZTBAJJ.mjs +2 -0
- package/dist/esm/chunk-F2ZTBAJJ.mjs.map +1 -0
- package/dist/esm/{chunk-AKIO3OIT.mjs → chunk-FN4C3CKC.mjs} +2 -2
- package/dist/esm/chunk-FN4C3CKC.mjs.map +1 -0
- package/dist/esm/{chunk-T6ADNZE5.mjs → chunk-G4O6FXCF.mjs} +2 -2
- package/dist/esm/chunk-G4O6FXCF.mjs.map +1 -0
- package/dist/esm/chunk-G5ZWH5T3.mjs +2 -0
- package/dist/esm/chunk-G5ZWH5T3.mjs.map +1 -0
- package/dist/esm/{chunk-TE3SBS7J.mjs → chunk-GCGMMS3E.mjs} +2 -2
- package/dist/esm/chunk-GCGMMS3E.mjs.map +1 -0
- package/dist/esm/{chunk-GMKKHGXK.mjs → chunk-GOXRBEIJ.mjs} +1 -1
- package/dist/esm/chunk-GOXRBEIJ.mjs.map +1 -0
- package/dist/esm/chunk-GP4TLDVZ.mjs +1 -0
- package/dist/esm/chunk-GP4TLDVZ.mjs.map +1 -0
- package/dist/esm/{chunk-FFBC7GFN.mjs → chunk-HBH2NQKU.mjs} +2 -2
- package/dist/esm/chunk-HBH2NQKU.mjs.map +1 -0
- package/dist/esm/{chunk-NNWPYX3K.mjs → chunk-I6XLN4DI.mjs} +2 -2
- package/dist/esm/chunk-I6XLN4DI.mjs.map +1 -0
- package/dist/esm/{chunk-2E3EAJPC.mjs → chunk-IDQUPGUG.mjs} +2 -2
- package/dist/esm/chunk-IDQUPGUG.mjs.map +1 -0
- package/dist/esm/{chunk-Q3CWUEXI.mjs → chunk-IDTLNF4M.mjs} +2 -2
- package/dist/esm/chunk-IDTLNF4M.mjs.map +1 -0
- package/dist/esm/{chunk-6Q2O5G3J.mjs → chunk-IF4UU2MT.mjs} +1 -1
- package/dist/esm/chunk-IF4UU2MT.mjs.map +1 -0
- package/dist/esm/chunk-IOZSAIGP.mjs +2 -0
- package/dist/esm/{chunk-YQHOQJRQ.mjs.map → chunk-IOZSAIGP.mjs.map} +1 -1
- package/dist/esm/{chunk-6YFM6NEC.mjs → chunk-IVH53P2F.mjs} +2 -2
- package/dist/esm/chunk-IVH53P2F.mjs.map +1 -0
- package/dist/esm/chunk-JJM6ELMS.mjs +2 -0
- package/dist/esm/chunk-JJM6ELMS.mjs.map +1 -0
- package/dist/esm/{chunk-5XLZACVT.mjs → chunk-JW5CCOAL.mjs} +2 -2
- package/dist/esm/chunk-JW5CCOAL.mjs.map +1 -0
- package/dist/esm/{chunk-DBAISV4K.mjs → chunk-JZ5DVZIM.mjs} +2 -2
- package/dist/esm/chunk-JZ5DVZIM.mjs.map +1 -0
- package/dist/esm/{chunk-BVUMR7DQ.mjs → chunk-KCFBPJUP.mjs} +2 -2
- package/dist/esm/chunk-KCFBPJUP.mjs.map +1 -0
- package/dist/esm/{chunk-XEW2YQE2.mjs → chunk-LA7EWU7P.mjs} +2 -2
- package/dist/esm/chunk-LA7EWU7P.mjs.map +1 -0
- package/dist/esm/{chunk-J2NQJ34O.mjs → chunk-LP4EJK2O.mjs} +2 -2
- package/dist/esm/chunk-LP4EJK2O.mjs.map +1 -0
- package/dist/esm/{chunk-7CDITZUS.mjs → chunk-M2G2BM4Z.mjs} +2 -2
- package/dist/esm/chunk-M2G2BM4Z.mjs.map +1 -0
- package/dist/esm/{chunk-7BKLEHKL.mjs → chunk-MCLYDS3O.mjs} +2 -2
- package/dist/esm/chunk-MCLYDS3O.mjs.map +1 -0
- package/dist/esm/{chunk-4JX6OQEE.mjs → chunk-MGAGOKNQ.mjs} +2 -2
- package/dist/esm/chunk-MGAGOKNQ.mjs.map +1 -0
- package/dist/esm/chunk-MNWN4IT6.mjs +2 -0
- package/dist/esm/chunk-MNWN4IT6.mjs.map +1 -0
- package/dist/esm/{chunk-AR6BOLET.mjs → chunk-MSE2YEDF.mjs} +2 -2
- package/dist/esm/chunk-MSE2YEDF.mjs.map +1 -0
- package/dist/esm/{chunk-BRV3RLKW.mjs → chunk-MT2RJ7H3.mjs} +2 -2
- package/dist/esm/chunk-MT2RJ7H3.mjs.map +1 -0
- package/dist/esm/{chunk-ACVIE7IE.mjs → chunk-N4DM5FYH.mjs} +2 -2
- package/dist/esm/chunk-N4DM5FYH.mjs.map +1 -0
- package/dist/esm/{chunk-LGTOOAQI.mjs → chunk-N6YTF76Q.mjs} +2 -2
- package/dist/esm/chunk-N6YTF76Q.mjs.map +1 -0
- package/dist/esm/chunk-NS5YFLZQ.mjs +2 -0
- package/dist/esm/chunk-NS5YFLZQ.mjs.map +1 -0
- package/dist/esm/{chunk-QCIRC2SG.mjs → chunk-OBEMAKRF.mjs} +2 -2
- package/dist/esm/chunk-OBEMAKRF.mjs.map +1 -0
- package/dist/esm/{chunk-2YTHKFJZ.mjs → chunk-ODEDSSQL.mjs} +2 -2
- package/dist/esm/chunk-ODEDSSQL.mjs.map +1 -0
- package/dist/esm/{chunk-2E3BT4YW.mjs → chunk-OHZURQPY.mjs} +2 -2
- package/dist/esm/chunk-OHZURQPY.mjs.map +1 -0
- package/dist/esm/{chunk-OZK26LTY.mjs → chunk-ONTWK5FU.mjs} +2 -2
- package/dist/esm/chunk-ONTWK5FU.mjs.map +1 -0
- package/dist/esm/{chunk-T7BTSSX7.mjs → chunk-OOJGI2IR.mjs} +2 -2
- package/dist/esm/chunk-OOJGI2IR.mjs.map +1 -0
- package/dist/esm/{chunk-42H7WETG.mjs → chunk-ORMOQWWH.mjs} +2 -2
- package/dist/esm/chunk-ORMOQWWH.mjs.map +1 -0
- package/dist/esm/{chunk-JNO7KPMG.mjs → chunk-Q4C4U6I4.mjs} +2 -2
- package/dist/esm/chunk-Q4C4U6I4.mjs.map +1 -0
- package/dist/esm/{chunk-YT3IP57B.mjs → chunk-QD55JBJB.mjs} +2 -2
- package/dist/esm/chunk-QD55JBJB.mjs.map +1 -0
- package/dist/esm/{chunk-F45G3GP3.mjs → chunk-QHEKBHNU.mjs} +2 -2
- package/dist/esm/{chunk-D6WMUQB5.mjs → chunk-R3VMJE5K.mjs} +2 -2
- package/dist/esm/chunk-R3VMJE5K.mjs.map +1 -0
- package/dist/esm/{chunk-J7PJSK3J.mjs → chunk-RJ7F4JDV.mjs} +1 -1
- package/dist/esm/chunk-RJ7F4JDV.mjs.map +1 -0
- package/dist/esm/{chunk-J45GIVXE.mjs → chunk-RKY36HTP.mjs} +2 -2
- package/dist/esm/chunk-RKY36HTP.mjs.map +1 -0
- package/dist/esm/chunk-ROT6S6BM.mjs +2 -0
- package/dist/esm/chunk-ROT6S6BM.mjs.map +1 -0
- package/dist/esm/{chunk-554TWPPO.mjs → chunk-SCXTC4PW.mjs} +2 -2
- package/dist/esm/chunk-SCXTC4PW.mjs.map +1 -0
- package/dist/esm/{chunk-SPRNSFUV.mjs → chunk-STY74NUA.mjs} +2 -2
- package/dist/esm/chunk-STY74NUA.mjs.map +1 -0
- package/dist/esm/{chunk-GX4CYRK4.mjs → chunk-T6NQDM7D.mjs} +2 -2
- package/dist/esm/chunk-T6NQDM7D.mjs.map +1 -0
- package/dist/esm/{chunk-SHAKBL2R.mjs → chunk-TMI4XNRL.mjs} +2 -2
- package/dist/esm/chunk-TMI4XNRL.mjs.map +1 -0
- package/dist/esm/{chunk-ZMBXHMVQ.mjs → chunk-TOBQ5UE6.mjs} +2 -2
- package/dist/esm/chunk-TOBQ5UE6.mjs.map +1 -0
- package/dist/esm/chunk-TWYIOTWN.mjs +2 -0
- package/dist/esm/chunk-TWYIOTWN.mjs.map +1 -0
- package/dist/esm/{chunk-362NFXZR.mjs → chunk-UC23V7PU.mjs} +2 -2
- package/dist/esm/chunk-UC23V7PU.mjs.map +1 -0
- package/dist/esm/{chunk-3TOPGQJA.mjs → chunk-UFDIPJRD.mjs} +2 -2
- package/dist/esm/chunk-UFDIPJRD.mjs.map +1 -0
- package/dist/esm/{chunk-3QIOEU3Z.mjs → chunk-V7PGIXTT.mjs} +2 -2
- package/dist/esm/chunk-V7PGIXTT.mjs.map +1 -0
- package/dist/esm/chunk-VFLH3KLJ.mjs +2 -0
- package/dist/esm/chunk-VFLH3KLJ.mjs.map +1 -0
- package/dist/esm/{chunk-IHGA5KAD.mjs → chunk-W4BSN6SK.mjs} +1 -1
- package/dist/esm/chunk-W4BSN6SK.mjs.map +1 -0
- package/dist/esm/chunk-WCMW2L3P.mjs +2 -0
- package/dist/esm/chunk-WCMW2L3P.mjs.map +1 -0
- package/dist/esm/{chunk-JJXLJY37.mjs → chunk-WG3SZFSJ.mjs} +2 -2
- package/dist/esm/chunk-WG3SZFSJ.mjs.map +1 -0
- package/dist/esm/{chunk-VGJIATTB.mjs → chunk-XGF7UNEW.mjs} +2 -2
- package/dist/esm/chunk-XGF7UNEW.mjs.map +1 -0
- package/dist/esm/chunk-XJJVJOX5.mjs +2 -0
- package/dist/esm/{chunk-UGTIALNW.mjs.map → chunk-XJJVJOX5.mjs.map} +1 -1
- package/dist/esm/{chunk-OPO5EYF7.mjs → chunk-XKUIMGKU.mjs} +2 -2
- package/dist/esm/chunk-XKUIMGKU.mjs.map +1 -0
- package/dist/esm/chunk-XTOIL6MB.mjs +2 -0
- package/dist/esm/chunk-XTOIL6MB.mjs.map +1 -0
- package/dist/esm/{chunk-4ZNSNWQL.mjs → chunk-YNU343QC.mjs} +2 -2
- package/dist/esm/chunk-YNU343QC.mjs.map +1 -0
- package/dist/esm/{chunk-HBIDHQ2M.mjs → chunk-YOZBVVKL.mjs} +1 -1
- package/dist/esm/chunk-YOZBVVKL.mjs.map +1 -0
- package/dist/esm/{chunk-B6ERS4UX.mjs → chunk-YZAUA2GG.mjs} +2 -2
- package/dist/esm/chunk-YZAUA2GG.mjs.map +1 -0
- package/dist/esm/{chunk-EPBNJZ4A.mjs → chunk-ZMSWKJDU.mjs} +2 -2
- package/dist/esm/chunk-ZMSWKJDU.mjs.map +1 -0
- package/dist/esm/{chunk-EVA2SMAU.mjs → chunk-ZTXK5FPC.mjs} +2 -2
- package/dist/esm/chunk-ZTXK5FPC.mjs.map +1 -0
- package/dist/esm/cli/index.mjs +1 -1
- package/dist/esm/cli/localNode.d.mts +20 -8
- package/dist/esm/cli/localNode.mjs +1 -1
- package/dist/esm/cli/move.d.mts +26 -0
- package/dist/esm/cli/move.mjs +1 -1
- package/dist/esm/client/core.d.mts +4 -0
- package/dist/esm/client/core.mjs +1 -1
- package/dist/esm/client/get.d.mts +33 -1
- package/dist/esm/client/get.mjs +1 -1
- package/dist/esm/client/index.d.mts +1 -1
- package/dist/esm/client/index.mjs +1 -1
- package/dist/esm/client/post.d.mts +37 -0
- package/dist/esm/client/post.mjs +1 -1
- package/dist/esm/core/account/index.mjs +1 -1
- package/dist/esm/core/account/utils/address.d.mts +6 -0
- package/dist/esm/core/account/utils/address.mjs +1 -1
- package/dist/esm/core/account/utils/index.mjs +1 -1
- package/dist/esm/core/accountAddress.d.mts +46 -0
- package/dist/esm/core/accountAddress.mjs +1 -1
- package/dist/esm/core/authenticationKey.d.mts +1 -1
- package/dist/esm/core/authenticationKey.mjs +1 -1
- package/dist/esm/core/common.d.mts +14 -0
- package/dist/esm/core/common.mjs +1 -1
- package/dist/esm/core/crypto/ed25519.d.mts +57 -5
- package/dist/esm/core/crypto/ed25519.mjs +1 -1
- package/dist/esm/core/crypto/ephemeral.d.mts +23 -1
- package/dist/esm/core/crypto/ephemeral.mjs +1 -1
- package/dist/esm/core/crypto/federatedKeyless.d.mts +13 -1
- package/dist/esm/core/crypto/federatedKeyless.mjs +1 -1
- package/dist/esm/core/crypto/hdKey.d.mts +28 -0
- package/dist/esm/core/crypto/hdKey.mjs +1 -1
- package/dist/esm/core/crypto/index.d.mts +2 -2
- package/dist/esm/core/crypto/index.mjs +1 -1
- package/dist/esm/core/crypto/keyless.d.mts +131 -1
- package/dist/esm/core/crypto/keyless.mjs +1 -1
- package/dist/esm/core/crypto/multiEd25519.d.mts +41 -1
- package/dist/esm/core/crypto/multiEd25519.mjs +1 -1
- package/dist/esm/core/crypto/multiKey.d.mts +38 -1
- package/dist/esm/core/crypto/multiKey.mjs +1 -1
- package/dist/esm/core/crypto/poseidon.d.mts +10 -0
- package/dist/esm/core/crypto/poseidon.mjs +1 -1
- package/dist/esm/core/crypto/privateKey.d.mts +9 -1
- package/dist/esm/core/crypto/privateKey.mjs +1 -1
- package/dist/esm/core/crypto/proof.d.mts +2 -0
- package/dist/esm/core/crypto/proof.mjs +1 -1
- package/dist/esm/core/crypto/publicKey.d.mts +1 -1
- package/dist/esm/core/crypto/publicKey.mjs +1 -1
- package/dist/esm/core/crypto/secp256k1.d.mts +51 -3
- package/dist/esm/core/crypto/secp256k1.mjs +1 -1
- package/dist/esm/core/crypto/signature.d.mts +6 -0
- package/dist/esm/core/crypto/signature.mjs +1 -1
- package/dist/esm/core/crypto/singleKey.d.mts +36 -2
- package/dist/esm/core/crypto/singleKey.mjs +1 -1
- package/dist/esm/core/crypto/utils.d.mts +2 -0
- package/dist/esm/core/crypto/utils.mjs +1 -1
- package/dist/esm/core/hex.d.mts +20 -0
- package/dist/esm/core/hex.mjs +1 -1
- package/dist/esm/core/index.d.mts +2 -2
- package/dist/esm/core/index.mjs +1 -1
- package/dist/esm/errors/index.mjs +1 -1
- package/dist/esm/index.d.mts +5 -4
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/internal/account.d.mts +24 -4
- package/dist/esm/internal/account.mjs +1 -1
- package/dist/esm/internal/ans.d.mts +27 -2
- package/dist/esm/internal/ans.mjs +1 -1
- package/dist/esm/internal/coin.d.mts +3 -1
- package/dist/esm/internal/coin.mjs +1 -1
- package/dist/esm/internal/digitalAsset.d.mts +31 -2
- package/dist/esm/internal/digitalAsset.mjs +1 -1
- package/dist/esm/internal/event.d.mts +5 -0
- package/dist/esm/internal/event.mjs +1 -1
- package/dist/esm/internal/faucet.d.mts +5 -0
- package/dist/esm/internal/faucet.mjs +1 -1
- package/dist/esm/internal/fungibleAsset.d.mts +8 -2
- package/dist/esm/internal/fungibleAsset.mjs +1 -1
- package/dist/esm/internal/general.d.mts +7 -0
- package/dist/esm/internal/general.mjs +1 -1
- package/dist/esm/internal/keyless.d.mts +6 -2
- package/dist/esm/internal/keyless.mjs +1 -1
- package/dist/esm/internal/object.d.mts +2 -0
- package/dist/esm/internal/object.mjs +1 -1
- package/dist/esm/internal/staking.d.mts +5 -1
- package/dist/esm/internal/staking.mjs +1 -1
- package/dist/esm/internal/table.d.mts +3 -0
- package/dist/esm/internal/table.mjs +1 -1
- package/dist/esm/internal/transaction.d.mts +14 -0
- package/dist/esm/internal/transaction.mjs +1 -1
- package/dist/esm/internal/transactionSubmission.d.mts +16 -5
- package/dist/esm/internal/transactionSubmission.mjs +1 -1
- package/dist/esm/internal/view.d.mts +2 -1
- package/dist/esm/internal/view.mjs +1 -1
- package/dist/esm/{publicKey-BVXX1nVl.d.mts → publicKey-BMtGNNLg.d.mts} +36 -0
- package/dist/esm/transactions/authenticator/account.d.mts +28 -1
- package/dist/esm/transactions/authenticator/account.mjs +1 -1
- package/dist/esm/transactions/authenticator/index.d.mts +2 -1
- package/dist/esm/transactions/authenticator/index.mjs +1 -1
- package/dist/esm/transactions/authenticator/transaction.d.mts +23 -2
- package/dist/esm/transactions/authenticator/transaction.mjs +1 -1
- package/dist/esm/transactions/index.d.mts +2 -1
- package/dist/esm/transactions/index.mjs +1 -1
- package/dist/esm/transactions/instances/chainId.d.mts +8 -0
- package/dist/esm/transactions/instances/chainId.mjs +1 -1
- package/dist/esm/transactions/instances/identifier.d.mts +8 -0
- package/dist/esm/transactions/instances/identifier.mjs +1 -1
- package/dist/esm/transactions/instances/index.d.mts +2 -1
- package/dist/esm/transactions/instances/index.mjs +1 -1
- package/dist/esm/transactions/instances/moduleId.d.mts +10 -0
- package/dist/esm/transactions/instances/moduleId.mjs +1 -1
- package/dist/esm/transactions/instances/multiAgentTransaction.d.mts +8 -0
- package/dist/esm/transactions/instances/multiAgentTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/rawTransaction.d.mts +30 -0
- package/dist/esm/transactions/instances/rawTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/rotationProofChallenge.d.mts +7 -1
- package/dist/esm/transactions/instances/rotationProofChallenge.mjs +1 -1
- package/dist/esm/transactions/instances/signedTransaction.d.mts +10 -1
- package/dist/esm/transactions/instances/signedTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/simpleTransaction.d.mts +8 -0
- package/dist/esm/transactions/instances/simpleTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/transactionArgument.d.mts +16 -0
- package/dist/esm/transactions/instances/transactionPayload.d.mts +48 -0
- package/dist/esm/transactions/instances/transactionPayload.mjs +1 -1
- package/dist/esm/transactions/management/accountSequenceNumber.d.mts +19 -2
- package/dist/esm/transactions/management/accountSequenceNumber.mjs +1 -1
- package/dist/esm/transactions/management/asyncQueue.d.mts +16 -0
- package/dist/esm/transactions/management/asyncQueue.mjs +1 -1
- package/dist/esm/transactions/management/index.d.mts +3 -2
- package/dist/esm/transactions/management/index.mjs +1 -1
- package/dist/esm/transactions/management/transactionWorker.d.mts +45 -7
- package/dist/esm/transactions/management/transactionWorker.mjs +1 -1
- package/dist/esm/transactions/script-composer/index.d.mts +5 -2
- package/dist/esm/transactions/script-composer/index.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/helpers.d.mts +64 -1
- package/dist/esm/transactions/transactionBuilder/helpers.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/index.d.mts +2 -1
- package/dist/esm/transactions/transactionBuilder/index.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/remoteAbi.d.mts +14 -1
- package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/signingMessage.d.mts +10 -1
- package/dist/esm/transactions/transactionBuilder/signingMessage.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/transactionBuilder.d.mts +42 -1
- package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs +1 -1
- package/dist/esm/transactions/typeTag/index.d.mts +82 -0
- package/dist/esm/transactions/typeTag/index.mjs +1 -1
- package/dist/esm/transactions/typeTag/parser.d.mts +8 -0
- package/dist/esm/transactions/typeTag/parser.mjs +1 -1
- package/dist/esm/transactions/types.d.mts +80 -1
- package/dist/esm/types/indexer.d.mts +52 -0
- package/dist/esm/types/keyless.d.mts +12 -0
- package/dist/esm/utils/apiEndpoints.d.mts +30 -0
- package/dist/esm/utils/apiEndpoints.mjs +1 -1
- package/dist/esm/utils/const.d.mts +24 -0
- package/dist/esm/utils/const.mjs +1 -1
- package/dist/esm/utils/helpers.d.mts +20 -0
- package/dist/esm/utils/helpers.mjs +1 -1
- package/dist/esm/utils/index.mjs +1 -1
- package/dist/esm/utils/memoize.d.mts +4 -0
- package/dist/esm/utils/memoize.mjs +1 -1
- package/dist/esm/utils/normalizeBundle.d.mts +8 -0
- package/dist/esm/utils/normalizeBundle.mjs +1 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +20 -21
- package/src/account/AbstractKeylessAccount.ts +80 -9
- package/src/account/Account.ts +51 -6
- package/src/account/AccountUtils.ts +216 -0
- package/src/account/Ed25519Account.ts +26 -0
- package/src/account/EphemeralKeyPair.ts +30 -0
- package/src/account/FederatedKeylessAccount.ts +10 -3
- package/src/account/KeylessAccount.ts +13 -1
- package/src/account/MultiKeyAccount.ts +75 -12
- package/src/account/SingleKeyAccount.ts +63 -6
- package/src/account/index.ts +1 -0
- package/src/account/utils.ts +16 -0
- package/src/api/account.ts +22 -2
- package/src/api/ans.ts +15 -0
- package/src/api/aptos.ts +3 -0
- package/src/api/aptosConfig.ts +24 -0
- package/src/api/coin.ts +3 -0
- package/src/api/digitalAsset.ts +26 -0
- package/src/api/event.ts +6 -0
- package/src/api/faucet.ts +11 -2
- package/src/api/fungibleAsset.ts +8 -0
- package/src/api/general.ts +12 -0
- package/src/api/keyless.ts +6 -0
- package/src/api/object.ts +3 -0
- package/src/api/staking.ts +5 -0
- package/src/api/table.ts +5 -0
- package/src/api/transaction.ts +19 -3
- package/src/api/transactionSubmission/build.ts +10 -4
- package/src/api/transactionSubmission/helpers.ts +2 -0
- package/src/api/transactionSubmission/management.ts +5 -0
- package/src/api/transactionSubmission/sign.ts +4 -0
- package/src/api/transactionSubmission/simulate.ts +4 -0
- package/src/api/transactionSubmission/submit.ts +4 -0
- package/src/api/utils.ts +1 -0
- package/src/bcs/deserializer.ts +64 -2
- package/src/bcs/serializable/entryFunctionBytes.ts +10 -0
- package/src/bcs/serializable/fixedBytes.ts +12 -0
- package/src/bcs/serializable/movePrimitives.ts +26 -0
- package/src/bcs/serializable/moveStructs.ts +56 -0
- package/src/bcs/serializer.ts +64 -1
- package/src/cli/localNode.ts +22 -8
- package/src/cli/move.ts +26 -0
- package/src/client/core.ts +4 -0
- package/src/client/get.ts +75 -1
- package/src/client/post.ts +37 -0
- package/src/core/account/utils/address.ts +6 -0
- package/src/core/accountAddress.ts +46 -0
- package/src/core/authenticationKey.ts +22 -0
- package/src/core/common.ts +14 -0
- package/src/core/crypto/ed25519.ts +58 -4
- package/src/core/crypto/ephemeral.ts +22 -0
- package/src/core/crypto/federatedKeyless.ts +12 -0
- package/src/core/crypto/hdKey.ts +29 -0
- package/src/core/crypto/keyless.ts +134 -0
- package/src/core/crypto/multiEd25519.ts +40 -0
- package/src/core/crypto/multiKey.ts +37 -1
- package/src/core/crypto/poseidon.ts +20 -0
- package/src/core/crypto/privateKey.ts +17 -8
- package/src/core/crypto/proof.ts +2 -0
- package/src/core/crypto/publicKey.ts +14 -0
- package/src/core/crypto/secp256k1.ts +62 -5
- package/src/core/crypto/signature.ts +8 -0
- package/src/core/crypto/singleKey.ts +34 -2
- package/src/core/crypto/utils.ts +2 -0
- package/src/core/hex.ts +20 -0
- package/src/internal/account.ts +27 -7
- package/src/internal/ans.ts +27 -0
- package/src/internal/coin.ts +1 -0
- package/src/internal/digitalAsset.ts +30 -0
- package/src/internal/event.ts +6 -0
- package/src/internal/faucet.ts +5 -0
- package/src/internal/fungibleAsset.ts +5 -0
- package/src/internal/general.ts +7 -0
- package/src/internal/keyless.ts +4 -0
- package/src/internal/object.ts +2 -0
- package/src/internal/staking.ts +5 -1
- package/src/internal/table.ts +3 -0
- package/src/internal/transaction.ts +16 -0
- package/src/internal/transactionSubmission.ts +15 -2
- package/src/transactions/authenticator/account.ts +26 -0
- package/src/transactions/authenticator/transaction.ts +20 -0
- package/src/transactions/instances/chainId.ts +8 -0
- package/src/transactions/instances/identifier.ts +8 -0
- package/src/transactions/instances/moduleId.ts +10 -0
- package/src/transactions/instances/multiAgentTransaction.ts +8 -0
- package/src/transactions/instances/rawTransaction.ts +30 -0
- package/src/transactions/instances/rotationProofChallenge.ts +6 -0
- package/src/transactions/instances/signedTransaction.ts +8 -0
- package/src/transactions/instances/simpleTransaction.ts +8 -0
- package/src/transactions/instances/transactionArgument.ts +16 -0
- package/src/transactions/instances/transactionPayload.ts +50 -0
- package/src/transactions/management/accountSequenceNumber.ts +16 -0
- package/src/transactions/management/asyncQueue.ts +16 -0
- package/src/transactions/management/transactionWorker.ts +42 -5
- package/src/transactions/script-composer/index.ts +17 -8
- package/src/transactions/transactionBuilder/helpers.ts +82 -10
- package/src/transactions/transactionBuilder/remoteAbi.ts +20 -0
- package/src/transactions/transactionBuilder/signingMessage.ts +10 -0
- package/src/transactions/transactionBuilder/transactionBuilder.ts +58 -0
- package/src/transactions/typeTag/index.ts +82 -0
- package/src/transactions/typeTag/parser.ts +24 -0
- package/src/transactions/types.ts +78 -0
- package/src/types/indexer.ts +52 -0
- package/src/types/keyless.ts +12 -0
- package/src/utils/apiEndpoints.ts +30 -2
- package/src/utils/const.ts +24 -1
- package/src/utils/helpers.ts +22 -0
- package/src/utils/memoize.ts +6 -0
- package/src/utils/normalizeBundle.ts +8 -1
- package/src/version.ts +1 -1
- package/dist/common/chunk-F43XVDYJ.js.map +0 -1
- package/dist/esm/chunk-2CJC43CV.mjs.map +0 -1
- package/dist/esm/chunk-2CKUTG67.mjs.map +0 -1
- package/dist/esm/chunk-2E3BT4YW.mjs.map +0 -1
- package/dist/esm/chunk-2E3EAJPC.mjs.map +0 -1
- package/dist/esm/chunk-2G7SAWM3.mjs.map +0 -1
- package/dist/esm/chunk-2WLKSKL7.mjs.map +0 -1
- package/dist/esm/chunk-2YTHKFJZ.mjs.map +0 -1
- package/dist/esm/chunk-362NFXZR.mjs.map +0 -1
- package/dist/esm/chunk-3BWKODVZ.mjs.map +0 -1
- package/dist/esm/chunk-3QIOEU3Z.mjs.map +0 -1
- package/dist/esm/chunk-3QUZFCNW.mjs.map +0 -1
- package/dist/esm/chunk-3TOPGQJA.mjs.map +0 -1
- package/dist/esm/chunk-42H7WETG.mjs.map +0 -1
- package/dist/esm/chunk-4JX6OQEE.mjs.map +0 -1
- package/dist/esm/chunk-4O5XDQDO.mjs +0 -2
- package/dist/esm/chunk-4O5XDQDO.mjs.map +0 -1
- package/dist/esm/chunk-4ZNSNWQL.mjs.map +0 -1
- package/dist/esm/chunk-554TWPPO.mjs.map +0 -1
- package/dist/esm/chunk-5B3SMBXQ.mjs +0 -2
- package/dist/esm/chunk-5B3SMBXQ.mjs.map +0 -1
- package/dist/esm/chunk-5XLZACVT.mjs.map +0 -1
- package/dist/esm/chunk-6EVBSHT2.mjs +0 -2
- package/dist/esm/chunk-6EVBSHT2.mjs.map +0 -1
- package/dist/esm/chunk-6Q2O5G3J.mjs.map +0 -1
- package/dist/esm/chunk-6YFM6NEC.mjs.map +0 -1
- package/dist/esm/chunk-6ZOVTYLJ.mjs.map +0 -1
- package/dist/esm/chunk-77ILVREP.mjs +0 -2
- package/dist/esm/chunk-77ILVREP.mjs.map +0 -1
- package/dist/esm/chunk-7BKLEHKL.mjs.map +0 -1
- package/dist/esm/chunk-7CDITZUS.mjs.map +0 -1
- package/dist/esm/chunk-7R44XXPU.mjs.map +0 -1
- package/dist/esm/chunk-A7KFSQSE.mjs +0 -2
- package/dist/esm/chunk-A7KFSQSE.mjs.map +0 -1
- package/dist/esm/chunk-ACVIE7IE.mjs.map +0 -1
- package/dist/esm/chunk-AJ5JHBAE.mjs.map +0 -1
- package/dist/esm/chunk-AKIO3OIT.mjs.map +0 -1
- package/dist/esm/chunk-AOQJI6IC.mjs.map +0 -1
- package/dist/esm/chunk-AOROYJ74.mjs.map +0 -1
- package/dist/esm/chunk-AR6BOLET.mjs.map +0 -1
- package/dist/esm/chunk-AVZYJAXR.mjs +0 -2
- package/dist/esm/chunk-AVZYJAXR.mjs.map +0 -1
- package/dist/esm/chunk-B2OF42B3.mjs.map +0 -1
- package/dist/esm/chunk-B6ERS4UX.mjs.map +0 -1
- package/dist/esm/chunk-BKSQPS2O.mjs.map +0 -1
- package/dist/esm/chunk-BRV3RLKW.mjs.map +0 -1
- package/dist/esm/chunk-BVUMR7DQ.mjs.map +0 -1
- package/dist/esm/chunk-BZ7OCXLM.mjs +0 -2
- package/dist/esm/chunk-BZ7OCXLM.mjs.map +0 -1
- package/dist/esm/chunk-CK5NDXQT.mjs.map +0 -1
- package/dist/esm/chunk-D3OEQLUE.mjs +0 -2
- package/dist/esm/chunk-D3OEQLUE.mjs.map +0 -1
- package/dist/esm/chunk-D52UKPQF.mjs +0 -2
- package/dist/esm/chunk-D52UKPQF.mjs.map +0 -1
- package/dist/esm/chunk-D6WMUQB5.mjs.map +0 -1
- package/dist/esm/chunk-DBAISV4K.mjs.map +0 -1
- package/dist/esm/chunk-EPBNJZ4A.mjs.map +0 -1
- package/dist/esm/chunk-EVA2SMAU.mjs.map +0 -1
- package/dist/esm/chunk-EVASO3UR.mjs.map +0 -1
- package/dist/esm/chunk-FFBC7GFN.mjs.map +0 -1
- package/dist/esm/chunk-FZDEGDUY.mjs.map +0 -1
- package/dist/esm/chunk-GAEAYY44.mjs +0 -1
- package/dist/esm/chunk-GMKKHGXK.mjs.map +0 -1
- package/dist/esm/chunk-GX4CYRK4.mjs.map +0 -1
- package/dist/esm/chunk-H6RW3TML.mjs +0 -2
- package/dist/esm/chunk-H6RW3TML.mjs.map +0 -1
- package/dist/esm/chunk-HBIDHQ2M.mjs.map +0 -1
- package/dist/esm/chunk-HXCL6KBW.mjs +0 -2
- package/dist/esm/chunk-HXCL6KBW.mjs.map +0 -1
- package/dist/esm/chunk-IHGA5KAD.mjs.map +0 -1
- package/dist/esm/chunk-IIV42FZR.mjs +0 -2
- package/dist/esm/chunk-IIV42FZR.mjs.map +0 -1
- package/dist/esm/chunk-IKJAX5KQ.mjs.map +0 -1
- package/dist/esm/chunk-IZ3I5XZU.mjs +0 -2
- package/dist/esm/chunk-IZ3I5XZU.mjs.map +0 -1
- package/dist/esm/chunk-J2NQJ34O.mjs.map +0 -1
- package/dist/esm/chunk-J45GIVXE.mjs.map +0 -1
- package/dist/esm/chunk-J7PJSK3J.mjs.map +0 -1
- package/dist/esm/chunk-JJXLJY37.mjs.map +0 -1
- package/dist/esm/chunk-JNO7KPMG.mjs.map +0 -1
- package/dist/esm/chunk-LGTOOAQI.mjs.map +0 -1
- package/dist/esm/chunk-LRN4ALMT.mjs +0 -2
- package/dist/esm/chunk-LRN4ALMT.mjs.map +0 -1
- package/dist/esm/chunk-MHN6XY4Z.mjs +0 -2
- package/dist/esm/chunk-MHN6XY4Z.mjs.map +0 -1
- package/dist/esm/chunk-NNWPYX3K.mjs.map +0 -1
- package/dist/esm/chunk-OIOGOW6I.mjs.map +0 -1
- package/dist/esm/chunk-OPO5EYF7.mjs.map +0 -1
- package/dist/esm/chunk-OZK26LTY.mjs.map +0 -1
- package/dist/esm/chunk-P6RNNESB.mjs.map +0 -1
- package/dist/esm/chunk-PC4HNMCP.mjs +0 -2
- package/dist/esm/chunk-PC4HNMCP.mjs.map +0 -1
- package/dist/esm/chunk-PMA7XAFK.mjs.map +0 -1
- package/dist/esm/chunk-Q3CWUEXI.mjs.map +0 -1
- package/dist/esm/chunk-QCIRC2SG.mjs.map +0 -1
- package/dist/esm/chunk-S22QVNK7.mjs.map +0 -1
- package/dist/esm/chunk-SHAKBL2R.mjs.map +0 -1
- package/dist/esm/chunk-SPRNSFUV.mjs.map +0 -1
- package/dist/esm/chunk-T6ADNZE5.mjs.map +0 -1
- package/dist/esm/chunk-T7BTSSX7.mjs.map +0 -1
- package/dist/esm/chunk-TE3SBS7J.mjs.map +0 -1
- package/dist/esm/chunk-U7UTBXJD.mjs.map +0 -1
- package/dist/esm/chunk-UGTIALNW.mjs +0 -2
- package/dist/esm/chunk-UQIMOQZ7.mjs.map +0 -1
- package/dist/esm/chunk-UTOO6IVJ.mjs.map +0 -1
- package/dist/esm/chunk-UZTJWOLS.mjs +0 -2
- package/dist/esm/chunk-UZTJWOLS.mjs.map +0 -1
- package/dist/esm/chunk-V4FKFCBL.mjs.map +0 -1
- package/dist/esm/chunk-V5NDNR36.mjs +0 -2
- package/dist/esm/chunk-V5NDNR36.mjs.map +0 -1
- package/dist/esm/chunk-VGJIATTB.mjs.map +0 -1
- package/dist/esm/chunk-VQZMI3EZ.mjs.map +0 -1
- package/dist/esm/chunk-WIDWY7A2.mjs.map +0 -1
- package/dist/esm/chunk-WJSZAGHP.mjs.map +0 -1
- package/dist/esm/chunk-XEW2YQE2.mjs.map +0 -1
- package/dist/esm/chunk-YIQ3JFHW.mjs +0 -2
- package/dist/esm/chunk-YIQ3JFHW.mjs.map +0 -1
- package/dist/esm/chunk-YQHOQJRQ.mjs +0 -2
- package/dist/esm/chunk-YT3IP57B.mjs.map +0 -1
- package/dist/esm/chunk-ZMBXHMVQ.mjs.map +0 -1
- /package/dist/esm/{chunk-GAEAYY44.mjs.map → account/AccountUtils.mjs.map} +0 -0
- /package/dist/esm/{chunk-SOLRIYPW.mjs.map → chunk-7FCSZ5LT.mjs.map} +0 -0
- /package/dist/esm/{chunk-F45G3GP3.mjs.map → chunk-QHEKBHNU.mjs.map} +0 -0
|
@@ -21,6 +21,8 @@ import '../../core/common.mjs';
|
|
|
21
21
|
* @param deserializer - The deserializer used to read the script transaction argument.
|
|
22
22
|
* @returns The deserialized script transaction argument.
|
|
23
23
|
* @throws Error if the variant index is unknown.
|
|
24
|
+
* @group Implementation
|
|
25
|
+
* @category Transactions
|
|
24
26
|
*/
|
|
25
27
|
declare function deserializeFromScriptArgument(deserializer: Deserializer): TransactionArgument;
|
|
26
28
|
/**
|
|
@@ -29,20 +31,28 @@ declare function deserializeFromScriptArgument(deserializer: Deserializer): Tran
|
|
|
29
31
|
* This class serves as a base for different types of transaction payloads, allowing for
|
|
30
32
|
* their serialization into a format suitable for transmission and deserialization back
|
|
31
33
|
* into their original form.
|
|
34
|
+
* @group Implementation
|
|
35
|
+
* @category Transactions
|
|
32
36
|
*/
|
|
33
37
|
declare abstract class TransactionPayload extends Serializable {
|
|
34
38
|
/**
|
|
35
39
|
* Serialize a Transaction Payload
|
|
40
|
+
* @group Implementation
|
|
41
|
+
* @category Transactions
|
|
36
42
|
*/
|
|
37
43
|
abstract serialize(serializer: Serializer): void;
|
|
38
44
|
/**
|
|
39
45
|
* Deserialize a Transaction Payload
|
|
46
|
+
* @group Implementation
|
|
47
|
+
* @category Transactions
|
|
40
48
|
*/
|
|
41
49
|
/**
|
|
42
50
|
* Deserializes a multisig transaction payload from the provided deserializer.
|
|
43
51
|
* This function enables the reconstruction of a MultiSigTransactionPayload object from its serialized form.
|
|
44
52
|
*
|
|
45
53
|
* @param deserializer - The deserializer instance used to read the serialized data.
|
|
54
|
+
* @group Implementation
|
|
55
|
+
* @category Transactions
|
|
46
56
|
*/
|
|
47
57
|
static deserialize(deserializer: Deserializer): TransactionPayload;
|
|
48
58
|
}
|
|
@@ -52,6 +62,8 @@ declare abstract class TransactionPayload extends Serializable {
|
|
|
52
62
|
* This class encapsulates a script that defines the logic for a transaction payload.
|
|
53
63
|
*
|
|
54
64
|
* @extends TransactionPayload
|
|
65
|
+
* @group Implementation
|
|
66
|
+
* @category Transactions
|
|
55
67
|
*/
|
|
56
68
|
declare class TransactionPayloadScript extends TransactionPayload {
|
|
57
69
|
readonly script: Script;
|
|
@@ -60,12 +72,16 @@ declare class TransactionPayloadScript extends TransactionPayload {
|
|
|
60
72
|
*
|
|
61
73
|
* @param script - The payload of the multi-sig transaction. This can only be an EntryFunction for now, but Script might be
|
|
62
74
|
* supported in the future.
|
|
75
|
+
* @group Implementation
|
|
76
|
+
* @category Transactions
|
|
63
77
|
*/
|
|
64
78
|
constructor(script: Script);
|
|
65
79
|
/**
|
|
66
80
|
* Serializes the transaction payload, enabling future support for multiple types of inner transaction payloads.
|
|
67
81
|
*
|
|
68
82
|
* @param serializer - The serializer instance used to serialize the transaction data.
|
|
83
|
+
* @group Implementation
|
|
84
|
+
* @category Transactions
|
|
69
85
|
*/
|
|
70
86
|
serialize(serializer: Serializer): void;
|
|
71
87
|
/**
|
|
@@ -73,6 +89,8 @@ declare class TransactionPayloadScript extends TransactionPayload {
|
|
|
73
89
|
* This function helps in reconstructing a MultiSig transaction payload from its serialized form.
|
|
74
90
|
*
|
|
75
91
|
* @param deserializer - The deserializer used to read the serialized data.
|
|
92
|
+
* @group Implementation
|
|
93
|
+
* @category Transactions
|
|
76
94
|
*/
|
|
77
95
|
static load(deserializer: Deserializer): TransactionPayloadScript;
|
|
78
96
|
}
|
|
@@ -80,6 +98,8 @@ declare class TransactionPayloadScript extends TransactionPayload {
|
|
|
80
98
|
* Represents a transaction payload entry function that can be serialized and deserialized.
|
|
81
99
|
*
|
|
82
100
|
* @extends TransactionPayload
|
|
101
|
+
* @group Implementation
|
|
102
|
+
* @category Transactions
|
|
83
103
|
*/
|
|
84
104
|
declare class TransactionPayloadEntryFunction extends TransactionPayload {
|
|
85
105
|
readonly entryFunction: EntryFunction;
|
|
@@ -89,6 +109,8 @@ declare class TransactionPayloadEntryFunction extends TransactionPayload {
|
|
|
89
109
|
}
|
|
90
110
|
/**
|
|
91
111
|
* Represents a multi-signature transaction payload that can be serialized and deserialized.
|
|
112
|
+
* @group Implementation
|
|
113
|
+
* @category Transactions
|
|
92
114
|
*/
|
|
93
115
|
declare class TransactionPayloadMultiSig extends TransactionPayload {
|
|
94
116
|
readonly multiSig: MultiSig;
|
|
@@ -105,6 +127,8 @@ declare class TransactionPayloadMultiSig extends TransactionPayload {
|
|
|
105
127
|
* @param function_name - The name of the function (e.g., "transfer").
|
|
106
128
|
* @param type_args - Type arguments required by the Move function.
|
|
107
129
|
* @param args - Arguments to the Move function.
|
|
130
|
+
* @group Implementation
|
|
131
|
+
* @category Transactions
|
|
108
132
|
*/
|
|
109
133
|
declare class EntryFunction {
|
|
110
134
|
readonly module_name: ModuleId;
|
|
@@ -129,6 +153,8 @@ declare class EntryFunction {
|
|
|
129
153
|
* ```
|
|
130
154
|
* public entry fun transfer<CoinType>(from: &signer, to: address, amount: u64)
|
|
131
155
|
* ```
|
|
156
|
+
* @group Implementation
|
|
157
|
+
* @category Transactions
|
|
132
158
|
*/
|
|
133
159
|
constructor(module_name: ModuleId, function_name: Identifier, type_args: Array<TypeTag>, args: Array<EntryFunctionArgument>);
|
|
134
160
|
/**
|
|
@@ -151,6 +177,8 @@ declare class EntryFunction {
|
|
|
151
177
|
* ```
|
|
152
178
|
*
|
|
153
179
|
* @returns EntryFunction
|
|
180
|
+
* @group Implementation
|
|
181
|
+
* @category Transactions
|
|
154
182
|
*/
|
|
155
183
|
static build(module_id: MoveModuleId, function_name: string, type_args: Array<TypeTag>, args: Array<EntryFunctionArgument>): EntryFunction;
|
|
156
184
|
serialize(serializer: Serializer): void;
|
|
@@ -171,24 +199,34 @@ declare class EntryFunction {
|
|
|
171
199
|
* @param deserializer
|
|
172
200
|
* @returns A deserialized EntryFunction payload for a transaction.
|
|
173
201
|
*
|
|
202
|
+
* @group Implementation
|
|
203
|
+
* @category Transactions
|
|
174
204
|
*/
|
|
175
205
|
static deserialize(deserializer: Deserializer): EntryFunction;
|
|
176
206
|
}
|
|
177
207
|
/**
|
|
178
208
|
* Represents a Script that can be serialized and deserialized.
|
|
179
209
|
* Scripts contain the Move bytecode payload that can be submitted to the Aptos chain for execution.
|
|
210
|
+
* @group Implementation
|
|
211
|
+
* @category Transactions
|
|
180
212
|
*/
|
|
181
213
|
declare class Script {
|
|
182
214
|
/**
|
|
183
215
|
* The move module bytecode
|
|
216
|
+
* @group Implementation
|
|
217
|
+
* @category Transactions
|
|
184
218
|
*/
|
|
185
219
|
readonly bytecode: Uint8Array;
|
|
186
220
|
/**
|
|
187
221
|
* The type arguments that the bytecode function requires.
|
|
222
|
+
* @group Implementation
|
|
223
|
+
* @category Transactions
|
|
188
224
|
*/
|
|
189
225
|
readonly type_args: Array<TypeTag>;
|
|
190
226
|
/**
|
|
191
227
|
* The arguments that the bytecode function requires.
|
|
228
|
+
* @group Implementation
|
|
229
|
+
* @category Transactions
|
|
192
230
|
*/
|
|
193
231
|
readonly args: Array<ScriptFunctionArgument>;
|
|
194
232
|
/**
|
|
@@ -209,6 +247,8 @@ declare class Script {
|
|
|
209
247
|
* ```
|
|
210
248
|
* public(script) fun transfer<CoinType>(from: &signer, to: address, amount: u64)
|
|
211
249
|
* ```
|
|
250
|
+
* @group Implementation
|
|
251
|
+
* @category Transactions
|
|
212
252
|
*/
|
|
213
253
|
constructor(bytecode: Uint8Array, type_args: Array<TypeTag>, args: Array<ScriptFunctionArgument>);
|
|
214
254
|
serialize(serializer: Serializer): void;
|
|
@@ -219,6 +259,8 @@ declare class Script {
|
|
|
219
259
|
*
|
|
220
260
|
* This class encapsulates the functionality to manage multi-signature transactions, including the address of the
|
|
221
261
|
* multi-sig account and the associated transaction payload.
|
|
262
|
+
* @group Implementation
|
|
263
|
+
* @category Transactions
|
|
222
264
|
*/
|
|
223
265
|
declare class MultiSig {
|
|
224
266
|
readonly multisig_address: AccountAddress;
|
|
@@ -230,6 +272,8 @@ declare class MultiSig {
|
|
|
230
272
|
*
|
|
231
273
|
* @param transaction_payload The payload of the multi-sig transaction. This is optional when executing a multi-sig
|
|
232
274
|
* transaction whose payload is already stored on chain.
|
|
275
|
+
* @group Implementation
|
|
276
|
+
* @category Transactions
|
|
233
277
|
*/
|
|
234
278
|
constructor(multisig_address: AccountAddress, transaction_payload?: MultiSigTransactionPayload);
|
|
235
279
|
serialize(serializer: Serializer): void;
|
|
@@ -240,6 +284,8 @@ declare class MultiSig {
|
|
|
240
284
|
* This class is designed to encapsulate the transaction payload for multi-sig account transactions
|
|
241
285
|
* as defined in the `multisig_account.move` module. Future enhancements may allow support for script
|
|
242
286
|
* payloads as the `multisig_account.move` module evolves.
|
|
287
|
+
* @group Implementation
|
|
288
|
+
* @category Transactions
|
|
243
289
|
*/
|
|
244
290
|
declare class MultiSigTransactionPayload extends Serializable {
|
|
245
291
|
readonly transaction_payload: EntryFunction;
|
|
@@ -249,6 +295,8 @@ declare class MultiSigTransactionPayload extends Serializable {
|
|
|
249
295
|
* @param transaction_payload The payload of the multi-sig transaction.
|
|
250
296
|
* This can only be EntryFunction for now but,
|
|
251
297
|
* Script might be supported in the future.
|
|
298
|
+
* @group Implementation
|
|
299
|
+
* @category Transactions
|
|
252
300
|
*/
|
|
253
301
|
constructor(transaction_payload: EntryFunction);
|
|
254
302
|
serialize(serializer: Serializer): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g,h,i}from"../../chunk-
|
|
1
|
+
import{a,b,c,d,e,f,g,h,i}from"../../chunk-ONTWK5FU.mjs";import"../../chunk-G4O6FXCF.mjs";import"../../chunk-N4DM5FYH.mjs";import"../../chunk-N6YTF76Q.mjs";import"../../chunk-E7FWVXGX.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-BI3BTSUB.mjs";import"../../chunk-HEZ2ZYZA.mjs";import"../../chunk-ODEDSSQL.mjs";import"../../chunk-NS5YFLZQ.mjs";import"../../chunk-424ZTUPT.mjs";import"../../chunk-G5ZWH5T3.mjs";import"../../chunk-OOJGI2IR.mjs";import"../../chunk-TMI4XNRL.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-XJJVJOX5.mjs";import"../../chunk-T6NQDM7D.mjs";import"../../chunk-XGF7UNEW.mjs";import"../../chunk-EMURYYVO.mjs";import"../../chunk-WCMW2L3P.mjs";import"../../chunk-DPW6ELCQ.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-ROT6S6BM.mjs";import"../../chunk-FN4C3CKC.mjs";import"../../chunk-Q4C4U6I4.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-QD55JBJB.mjs";import"../../chunk-5VILVOYP.mjs";import"../../chunk-EYE4UEWZ.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-4YLUM62M.mjs";import"../../chunk-QHEKBHNU.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-TOBQ5UE6.mjs";import"../../chunk-MT2RJ7H3.mjs";import"../../chunk-IDTLNF4M.mjs";import"../../chunk-ORMOQWWH.mjs";import"../../chunk-3OLFJ65O.mjs";import"../../chunk-U2PRGW4O.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-EBMEXURY.mjs";import"../../chunk-DAFSKSZ5.mjs";import"../../chunk-XTOIL6MB.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-4RXKALLC.mjs";import"../../chunk-RJ7F4JDV.mjs";import"../../chunk-IOZSAIGP.mjs";import"../../chunk-KDMSOCZY.mjs";export{f as EntryFunction,h as MultiSig,i as MultiSigTransactionPayload,g as Script,b as TransactionPayload,d as TransactionPayloadEntryFunction,e as TransactionPayloadMultiSig,c as TransactionPayloadScript,a as deserializeFromScriptArgument};
|
|
2
2
|
//# sourceMappingURL=transactionPayload.mjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AptosConfig } from '../../api/aptosConfig.mjs';
|
|
2
|
-
import { A as Account } from '../../Ed25519Account-
|
|
2
|
+
import { A as Account } from '../../Ed25519Account-D4j3_WIS.mjs';
|
|
3
3
|
import '../../types/types.mjs';
|
|
4
4
|
import '../../types/indexer.mjs';
|
|
5
5
|
import '../../types/generated/operations.mjs';
|
|
@@ -13,7 +13,7 @@ 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-
|
|
16
|
+
import '../../publicKey-BMtGNNLg.mjs';
|
|
17
17
|
import '../../core/accountAddress.mjs';
|
|
18
18
|
import '../instances/transactionArgument.mjs';
|
|
19
19
|
import '../../core/crypto/signature.mjs';
|
|
@@ -21,6 +21,7 @@ import '../../core/crypto/privateKey.mjs';
|
|
|
21
21
|
import '../../core/crypto/multiEd25519.mjs';
|
|
22
22
|
import '../../core/crypto/multiKey.mjs';
|
|
23
23
|
import '../../core/crypto/singleKey.mjs';
|
|
24
|
+
import '../../core/crypto/secp256k1.mjs';
|
|
24
25
|
import '../types.mjs';
|
|
25
26
|
import '../../bcs/serializable/moveStructs.mjs';
|
|
26
27
|
import '../../bcs/serializable/movePrimitives.mjs';
|
|
@@ -57,6 +58,8 @@ import '../instances/multiAgentTransaction.mjs';
|
|
|
57
58
|
* This only manages the distribution of sequence numbers it does not help handle transaction
|
|
58
59
|
* failures.
|
|
59
60
|
* If a transaction fails, you should call synchronize and wait for timeouts.
|
|
61
|
+
* @group Implementation
|
|
62
|
+
* @category Transactions
|
|
60
63
|
*/
|
|
61
64
|
|
|
62
65
|
/**
|
|
@@ -69,6 +72,8 @@ import '../instances/multiAgentTransaction.mjs';
|
|
|
69
72
|
* @param maxWaitTime - The maximum time to wait for a transaction to commit.
|
|
70
73
|
* @param maximumInFlight - The maximum number of transactions that can be in flight at once.
|
|
71
74
|
* @param sleepTime - The time to wait before retrying to get the sequence number.
|
|
75
|
+
* @group Implementation
|
|
76
|
+
* @category Transactions
|
|
72
77
|
*/
|
|
73
78
|
declare class AccountSequenceNumber {
|
|
74
79
|
readonly aptosConfig: AptosConfig;
|
|
@@ -85,6 +90,8 @@ declare class AccountSequenceNumber {
|
|
|
85
90
|
* The ideal solution is likely that each thread grabs the next number from an incremental integer.
|
|
86
91
|
* When they complete, they increment that number and that entity is able to enter the `lock`.
|
|
87
92
|
* That would guarantee ordering.
|
|
93
|
+
* @group Implementation
|
|
94
|
+
* @category Transactions
|
|
88
95
|
*/
|
|
89
96
|
lock: boolean;
|
|
90
97
|
maxWaitTime: number;
|
|
@@ -99,6 +106,8 @@ declare class AccountSequenceNumber {
|
|
|
99
106
|
* @param maxWaitTime - The maximum time to wait for a transaction to be processed, in milliseconds.
|
|
100
107
|
* @param maximumInFlight - The maximum number of transactions that can be in flight at the same time.
|
|
101
108
|
* @param sleepTime - The time to sleep between transaction checks, in milliseconds.
|
|
109
|
+
* @group Implementation
|
|
110
|
+
* @category Transactions
|
|
102
111
|
*/
|
|
103
112
|
constructor(aptosConfig: AptosConfig, account: Account, maxWaitTime: number, maximumInFlight: number, sleepTime: number);
|
|
104
113
|
/**
|
|
@@ -106,6 +115,8 @@ declare class AccountSequenceNumber {
|
|
|
106
115
|
* This function ensures that the sequence number is updated and synchronized, handling potential delays in transaction commits.
|
|
107
116
|
*
|
|
108
117
|
* @returns {BigInt} The next available sequence number.
|
|
118
|
+
* @group Implementation
|
|
119
|
+
* @category Transactions
|
|
109
120
|
*/
|
|
110
121
|
nextSequenceNumber(): Promise<bigint | null>;
|
|
111
122
|
/**
|
|
@@ -114,12 +125,16 @@ declare class AccountSequenceNumber {
|
|
|
114
125
|
* @returns {Promise<void>} A promise that resolves when the account has been initialized.
|
|
115
126
|
*
|
|
116
127
|
* @throws {Error} Throws an error if the account information cannot be retrieved.
|
|
128
|
+
* @group Implementation
|
|
129
|
+
* @category Transactions
|
|
117
130
|
*/
|
|
118
131
|
initialize(): Promise<void>;
|
|
119
132
|
/**
|
|
120
133
|
* Updates this account's sequence number with the one on-chain.
|
|
121
134
|
*
|
|
122
135
|
* @returns The on-chain sequence number for this account.
|
|
136
|
+
* @group Implementation
|
|
137
|
+
* @category Transactions
|
|
123
138
|
*/
|
|
124
139
|
update(): Promise<bigint>;
|
|
125
140
|
/**
|
|
@@ -127,6 +142,8 @@ declare class AccountSequenceNumber {
|
|
|
127
142
|
* This function polls the network until all submitted transactions have either been committed or until the maximum wait time has elapsed.
|
|
128
143
|
*
|
|
129
144
|
* @throws {Error} Throws an error if there is an issue synchronizing the account sequence number with the one on-chain.
|
|
145
|
+
* @group Implementation
|
|
146
|
+
* @category Transactions
|
|
130
147
|
*/
|
|
131
148
|
synchronize(): Promise<void>;
|
|
132
149
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-YZAUA2GG.mjs";import"../../chunk-CKKCL3LM.mjs";import"../../chunk-ESLJXR3M.mjs";import"../../chunk-AKLUTUMD.mjs";import"../../chunk-VHNX2NUR.mjs";import"../../chunk-GP4TLDVZ.mjs";import"../../chunk-BPNW35GW.mjs";import"../../chunk-DGJHSYF5.mjs";import"../../chunk-DTICBERU.mjs";import"../../chunk-2YQZYHWO.mjs";import"../../chunk-JJM6ELMS.mjs";import"../../chunk-AV6G4ACP.mjs";import"../../chunk-6XUFRKGR.mjs";import"../../chunk-DPP3ROKC.mjs";import"../../chunk-MNWN4IT6.mjs";import"../../chunk-4ZYPDCSP.mjs";import"../../chunk-4NMDYPUD.mjs";import"../../chunk-MCLYDS3O.mjs";import"../../chunk-OHZURQPY.mjs";import"../../chunk-WG3SZFSJ.mjs";import"../../chunk-UC23V7PU.mjs";import"../../chunk-7IY3DTEF.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-ONTWK5FU.mjs";import"../../chunk-G4O6FXCF.mjs";import"../../chunk-XKUIMGKU.mjs";import"../../chunk-N4DM5FYH.mjs";import"../../chunk-N6YTF76Q.mjs";import"../../chunk-R3VMJE5K.mjs";import"../../chunk-75IC2LNI.mjs";import"../../chunk-E7FWVXGX.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-BI3BTSUB.mjs";import"../../chunk-SCXTC4PW.mjs";import"../../chunk-HEZ2ZYZA.mjs";import"../../chunk-ODEDSSQL.mjs";import"../../chunk-NS5YFLZQ.mjs";import"../../chunk-424ZTUPT.mjs";import"../../chunk-G5ZWH5T3.mjs";import"../../chunk-OOJGI2IR.mjs";import"../../chunk-TMI4XNRL.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-XJJVJOX5.mjs";import"../../chunk-T6NQDM7D.mjs";import"../../chunk-XGF7UNEW.mjs";import"../../chunk-EMURYYVO.mjs";import"../../chunk-WCMW2L3P.mjs";import"../../chunk-DPW6ELCQ.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-ROT6S6BM.mjs";import"../../chunk-FN4C3CKC.mjs";import"../../chunk-Q4C4U6I4.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-QD55JBJB.mjs";import"../../chunk-5VILVOYP.mjs";import"../../chunk-EYE4UEWZ.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-4YLUM62M.mjs";import"../../chunk-QHEKBHNU.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-TOBQ5UE6.mjs";import"../../chunk-MT2RJ7H3.mjs";import"../../chunk-IDTLNF4M.mjs";import"../../chunk-ORMOQWWH.mjs";import"../../chunk-3OLFJ65O.mjs";import"../../chunk-U2PRGW4O.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-EBMEXURY.mjs";import"../../chunk-DAFSKSZ5.mjs";import"../../chunk-XTOIL6MB.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-4RXKALLC.mjs";import"../../chunk-RJ7F4JDV.mjs";import"../../chunk-IOZSAIGP.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as AccountSequenceNumber};
|
|
2
2
|
//# sourceMappingURL=accountSequenceNumber.mjs.map
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
* It allows to enqueue items and dequeue them asynchronously.
|
|
5
5
|
* This is not thread-safe, but it is async concurrency safe, and
|
|
6
6
|
* it does not guarantee ordering for those that call into and await on enqueue.
|
|
7
|
+
* @group Implementation
|
|
8
|
+
* @category Transactions
|
|
7
9
|
*/
|
|
8
10
|
declare class AsyncQueue<T> {
|
|
9
11
|
readonly queue: T[];
|
|
@@ -14,6 +16,8 @@ declare class AsyncQueue<T> {
|
|
|
14
16
|
* immediately; otherwise, it adds the item to the queue.
|
|
15
17
|
*
|
|
16
18
|
* @param item - The item to be added to the queue.
|
|
19
|
+
* @group Implementation
|
|
20
|
+
* @category Transactions
|
|
17
21
|
*/
|
|
18
22
|
enqueue(item: T): void;
|
|
19
23
|
/**
|
|
@@ -21,12 +25,16 @@ declare class AsyncQueue<T> {
|
|
|
21
25
|
* If the queue is empty, it creates a new promise that will be resolved when an item is enqueued.
|
|
22
26
|
*
|
|
23
27
|
* @returns Promise<T>
|
|
28
|
+
* @group Implementation
|
|
29
|
+
* @category Transactions
|
|
24
30
|
*/
|
|
25
31
|
dequeue(): Promise<T>;
|
|
26
32
|
/**
|
|
27
33
|
* Determine whether the queue is empty.
|
|
28
34
|
*
|
|
29
35
|
* @returns boolean - Returns true if the queue has no elements, otherwise false.
|
|
36
|
+
* @group Implementation
|
|
37
|
+
* @category Transactions
|
|
30
38
|
*/
|
|
31
39
|
isEmpty(): boolean;
|
|
32
40
|
/**
|
|
@@ -34,18 +42,24 @@ declare class AsyncQueue<T> {
|
|
|
34
42
|
* This ensures that any awaiting code can handle the cancellation appropriately.
|
|
35
43
|
*
|
|
36
44
|
* @returns {void}
|
|
45
|
+
* @group Implementation
|
|
46
|
+
* @category Transactions
|
|
37
47
|
*/
|
|
38
48
|
cancel(): void;
|
|
39
49
|
/**
|
|
40
50
|
* Determine whether the queue has been cancelled.
|
|
41
51
|
*
|
|
42
52
|
* @returns boolean - Returns true if the queue is cancelled, otherwise false.
|
|
53
|
+
* @group Implementation
|
|
54
|
+
* @category Transactions
|
|
43
55
|
*/
|
|
44
56
|
isCancelled(): boolean;
|
|
45
57
|
/**
|
|
46
58
|
* Retrieve the length of the pending dequeue.
|
|
47
59
|
*
|
|
48
60
|
* @returns number - The number of items currently in the pending dequeue.
|
|
61
|
+
* @group Implementation
|
|
62
|
+
* @category Transactions
|
|
49
63
|
*/
|
|
50
64
|
pendingDequeueLength(): number;
|
|
51
65
|
}
|
|
@@ -54,6 +68,8 @@ declare class AsyncQueue<T> {
|
|
|
54
68
|
* This error extends the built-in Error class to provide additional context for cancellation events.
|
|
55
69
|
*
|
|
56
70
|
* @extends Error
|
|
71
|
+
* @group Implementation
|
|
72
|
+
* @category Transactions
|
|
57
73
|
*/
|
|
58
74
|
declare class AsyncQueueCancelledError extends Error {
|
|
59
75
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b}from"../../chunk-
|
|
1
|
+
import{a,b}from"../../chunk-A5L76YP7.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as AsyncQueue,b as AsyncQueueCancelledError};
|
|
2
2
|
//# sourceMappingURL=asyncQueue.mjs.map
|
|
@@ -8,14 +8,14 @@ import '../../types/generated/types.mjs';
|
|
|
8
8
|
import '../../utils/apiEndpoints.mjs';
|
|
9
9
|
import '@aptos-labs/script-composer-pack';
|
|
10
10
|
import '../../utils/const.mjs';
|
|
11
|
-
import '../../Ed25519Account-
|
|
11
|
+
import '../../Ed25519Account-D4j3_WIS.mjs';
|
|
12
12
|
import '../authenticator/account.mjs';
|
|
13
13
|
import '../../bcs/deserializer.mjs';
|
|
14
14
|
import '../../bcs/serializer.mjs';
|
|
15
15
|
import '../../core/hex.mjs';
|
|
16
16
|
import '../../core/common.mjs';
|
|
17
17
|
import '../../core/crypto/ed25519.mjs';
|
|
18
|
-
import '../../publicKey-
|
|
18
|
+
import '../../publicKey-BMtGNNLg.mjs';
|
|
19
19
|
import '../../core/accountAddress.mjs';
|
|
20
20
|
import '../instances/transactionArgument.mjs';
|
|
21
21
|
import '../../core/crypto/signature.mjs';
|
|
@@ -23,6 +23,7 @@ import '../../core/crypto/privateKey.mjs';
|
|
|
23
23
|
import '../../core/crypto/multiEd25519.mjs';
|
|
24
24
|
import '../../core/crypto/multiKey.mjs';
|
|
25
25
|
import '../../core/crypto/singleKey.mjs';
|
|
26
|
+
import '../../core/crypto/secp256k1.mjs';
|
|
26
27
|
import '../types.mjs';
|
|
27
28
|
import '../../bcs/serializable/moveStructs.mjs';
|
|
28
29
|
import '../../bcs/serializable/movePrimitives.mjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../../chunk-IHYTP2EW.mjs";import{a as b,b as c,c as d}from"../../chunk-
|
|
1
|
+
import"../../chunk-IHYTP2EW.mjs";import{a as b,b as c,c as d}from"../../chunk-BWDNXTV6.mjs";import{a}from"../../chunk-YZAUA2GG.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-EVG6EXWX.mjs";import"../../chunk-UIRAXHDH.mjs";import"../../chunk-VFLH3KLJ.mjs";import"../../chunk-JXCZTOYC.mjs";import"../../chunk-RKY36HTP.mjs";import"../../chunk-ZMSWKJDU.mjs";import"../../chunk-AZWVCBK2.mjs";import"../../chunk-HBH2NQKU.mjs";import"../../chunk-BSCOVLWS.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-CKKCL3LM.mjs";import"../../chunk-ESLJXR3M.mjs";import"../../chunk-22HNYCN4.mjs";import"../../chunk-AKLUTUMD.mjs";import"../../chunk-VHNX2NUR.mjs";import"../../chunk-GP4TLDVZ.mjs";import"../../chunk-BPNW35GW.mjs";import"../../chunk-DGJHSYF5.mjs";import"../../chunk-DTICBERU.mjs";import"../../chunk-2YQZYHWO.mjs";import"../../chunk-JJM6ELMS.mjs";import"../../chunk-AV6G4ACP.mjs";import"../../chunk-6XUFRKGR.mjs";import"../../chunk-DPP3ROKC.mjs";import"../../chunk-MNWN4IT6.mjs";import"../../chunk-4ZYPDCSP.mjs";import"../../chunk-4NMDYPUD.mjs";import"../../chunk-MCLYDS3O.mjs";import"../../chunk-OHZURQPY.mjs";import"../../chunk-WG3SZFSJ.mjs";import"../../chunk-UC23V7PU.mjs";import"../../chunk-7IY3DTEF.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-ONTWK5FU.mjs";import"../../chunk-G4O6FXCF.mjs";import"../../chunk-XKUIMGKU.mjs";import"../../chunk-N4DM5FYH.mjs";import"../../chunk-N6YTF76Q.mjs";import"../../chunk-R3VMJE5K.mjs";import"../../chunk-75IC2LNI.mjs";import"../../chunk-E7FWVXGX.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-BI3BTSUB.mjs";import"../../chunk-SCXTC4PW.mjs";import"../../chunk-HEZ2ZYZA.mjs";import"../../chunk-ODEDSSQL.mjs";import"../../chunk-NS5YFLZQ.mjs";import"../../chunk-424ZTUPT.mjs";import"../../chunk-G5ZWH5T3.mjs";import"../../chunk-OOJGI2IR.mjs";import"../../chunk-TMI4XNRL.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-XJJVJOX5.mjs";import"../../chunk-T6NQDM7D.mjs";import"../../chunk-XGF7UNEW.mjs";import"../../chunk-EMURYYVO.mjs";import"../../chunk-WCMW2L3P.mjs";import"../../chunk-DPW6ELCQ.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-ROT6S6BM.mjs";import"../../chunk-FN4C3CKC.mjs";import"../../chunk-Q4C4U6I4.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-QD55JBJB.mjs";import"../../chunk-5VILVOYP.mjs";import"../../chunk-EYE4UEWZ.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-4YLUM62M.mjs";import"../../chunk-QHEKBHNU.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-TOBQ5UE6.mjs";import"../../chunk-MT2RJ7H3.mjs";import"../../chunk-IDTLNF4M.mjs";import"../../chunk-ORMOQWWH.mjs";import"../../chunk-3OLFJ65O.mjs";import"../../chunk-U2PRGW4O.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-EBMEXURY.mjs";import"../../chunk-DAFSKSZ5.mjs";import"../../chunk-XTOIL6MB.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-4RXKALLC.mjs";import"../../chunk-RJ7F4JDV.mjs";import"../../chunk-IOZSAIGP.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as AccountSequenceNumber,d as TransactionWorker,c as TransactionWorkerEventsEnum,b as promiseFulfilledStatus};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -2,7 +2,7 @@ import { AccountSequenceNumber } from './accountSequenceNumber.mjs';
|
|
|
2
2
|
import EventEmitter from 'eventemitter3';
|
|
3
3
|
import { AptosConfig } from '../../api/aptosConfig.mjs';
|
|
4
4
|
import { PendingTransactionResponse } from '../../types/types.mjs';
|
|
5
|
-
import { A as Account } from '../../Ed25519Account-
|
|
5
|
+
import { A as Account } from '../../Ed25519Account-D4j3_WIS.mjs';
|
|
6
6
|
import { InputGenerateTransactionPayloadData, InputGenerateTransactionOptions } from '../types.mjs';
|
|
7
7
|
import { AsyncQueue } from './asyncQueue.mjs';
|
|
8
8
|
import { SimpleTransaction } from '../instances/simpleTransaction.mjs';
|
|
@@ -18,7 +18,7 @@ import '../../bcs/serializer.mjs';
|
|
|
18
18
|
import '../../core/hex.mjs';
|
|
19
19
|
import '../../core/common.mjs';
|
|
20
20
|
import '../../core/crypto/ed25519.mjs';
|
|
21
|
-
import '../../publicKey-
|
|
21
|
+
import '../../publicKey-BMtGNNLg.mjs';
|
|
22
22
|
import '../../core/accountAddress.mjs';
|
|
23
23
|
import '../instances/transactionArgument.mjs';
|
|
24
24
|
import '../../core/crypto/signature.mjs';
|
|
@@ -26,6 +26,7 @@ import '../../core/crypto/privateKey.mjs';
|
|
|
26
26
|
import '../../core/crypto/multiEd25519.mjs';
|
|
27
27
|
import '../../core/crypto/multiKey.mjs';
|
|
28
28
|
import '../../core/crypto/singleKey.mjs';
|
|
29
|
+
import '../../core/crypto/secp256k1.mjs';
|
|
29
30
|
import '../../bcs/serializable/moveStructs.mjs';
|
|
30
31
|
import '../../bcs/serializable/movePrimitives.mjs';
|
|
31
32
|
import '../../bcs/serializable/fixedBytes.mjs';
|
|
@@ -37,9 +38,15 @@ import '../instances/moduleId.mjs';
|
|
|
37
38
|
import '../typeTag/index.mjs';
|
|
38
39
|
import '../instances/multiAgentTransaction.mjs';
|
|
39
40
|
|
|
41
|
+
/**
|
|
42
|
+
* @group Implementation
|
|
43
|
+
* @category Transactions
|
|
44
|
+
*/
|
|
40
45
|
declare const promiseFulfilledStatus = "fulfilled";
|
|
41
46
|
/**
|
|
42
47
|
* Events emitted by the transaction worker during its operation, allowing the dapp to respond to various transaction states.
|
|
48
|
+
* @group Implementation
|
|
49
|
+
* @category Transactions
|
|
43
50
|
*/
|
|
44
51
|
declare enum TransactionWorkerEventsEnum {
|
|
45
52
|
TransactionSent = "transactionSent",
|
|
@@ -50,11 +57,8 @@ declare enum TransactionWorkerEventsEnum {
|
|
|
50
57
|
}
|
|
51
58
|
/**
|
|
52
59
|
* Defines the events emitted by the transaction worker during various stages of transaction processing. *
|
|
53
|
-
* @
|
|
54
|
-
* @
|
|
55
|
-
* @event transactionExecuted - Emitted when a transaction is successfully executed.
|
|
56
|
-
* @event transactionExecutionFailed - Emitted when executing a transaction fails.
|
|
57
|
-
* @event executionFinish - Emitted when the execution process is finished.
|
|
60
|
+
* @group Implementation
|
|
61
|
+
* @category Transactions
|
|
58
62
|
*/
|
|
59
63
|
interface TransactionWorkerEvents {
|
|
60
64
|
transactionSent: (data: SuccessEventData) => void;
|
|
@@ -65,12 +69,16 @@ interface TransactionWorkerEvents {
|
|
|
65
69
|
}
|
|
66
70
|
/**
|
|
67
71
|
* The payload for when the worker has finished its job.
|
|
72
|
+
* @group Implementation
|
|
73
|
+
* @category Transactions
|
|
68
74
|
*/
|
|
69
75
|
type ExecutionFinishEventData = {
|
|
70
76
|
message: string;
|
|
71
77
|
};
|
|
72
78
|
/**
|
|
73
79
|
* The payload for a success event.
|
|
80
|
+
* @group Implementation
|
|
81
|
+
* @category Transactions
|
|
74
82
|
*/
|
|
75
83
|
type SuccessEventData = {
|
|
76
84
|
message: string;
|
|
@@ -78,6 +86,8 @@ type SuccessEventData = {
|
|
|
78
86
|
};
|
|
79
87
|
/**
|
|
80
88
|
* The payload for a failure event.
|
|
89
|
+
* @group Implementation
|
|
90
|
+
* @category Transactions
|
|
81
91
|
*/
|
|
82
92
|
type FailureEventData = {
|
|
83
93
|
message: string;
|
|
@@ -94,6 +104,8 @@ type FailureEventData = {
|
|
|
94
104
|
* 1) waits for resolution of the submission process or get pre-execution validation error
|
|
95
105
|
* and 2) waits for the resolution of the execution process or get an execution error.
|
|
96
106
|
* The worker fires events for any submission and/or execution success and/or failure.
|
|
107
|
+
* @group Implementation
|
|
108
|
+
* @category Transactions
|
|
97
109
|
*/
|
|
98
110
|
declare class TransactionWorker extends EventEmitter<TransactionWorkerEvents> {
|
|
99
111
|
readonly aptosConfig: AptosConfig;
|
|
@@ -105,18 +117,26 @@ declare class TransactionWorker extends EventEmitter<TransactionWorkerEvents> {
|
|
|
105
117
|
* transactions payloads waiting to be generated and signed
|
|
106
118
|
*
|
|
107
119
|
* TODO support entry function payload from ABI builder
|
|
120
|
+
* @group Implementation
|
|
121
|
+
* @category Transactions
|
|
108
122
|
*/
|
|
109
123
|
transactionsQueue: AsyncQueue<[InputGenerateTransactionPayloadData, InputGenerateTransactionOptions | undefined]>;
|
|
110
124
|
/**
|
|
111
125
|
* signed transactions waiting to be submitted
|
|
126
|
+
* @group Implementation
|
|
127
|
+
* @category Transactions
|
|
112
128
|
*/
|
|
113
129
|
outstandingTransactions: AsyncQueue<[Promise<PendingTransactionResponse>, bigint]>;
|
|
114
130
|
/**
|
|
115
131
|
* transactions that have been submitted to chain
|
|
132
|
+
* @group Implementation
|
|
133
|
+
* @category Transactions
|
|
116
134
|
*/
|
|
117
135
|
sentTransactions: Array<[string, bigint, any]>;
|
|
118
136
|
/**
|
|
119
137
|
* transactions that have been committed to chain
|
|
138
|
+
* @group Implementation
|
|
139
|
+
* @category Transactions
|
|
120
140
|
*/
|
|
121
141
|
executedTransactions: Array<[string, bigint, any]>;
|
|
122
142
|
/**
|
|
@@ -129,6 +149,8 @@ declare class TransactionWorker extends EventEmitter<TransactionWorkerEvents> {
|
|
|
129
149
|
* @param maximumInFlight - The maximum number of transactions that can be submitted per account, default is 100.
|
|
130
150
|
* @param sleepTime - The time to wait in seconds before re-evaluating if the maximum number of transactions are in flight,
|
|
131
151
|
* default is 10 seconds.
|
|
152
|
+
* @group Implementation
|
|
153
|
+
* @category Transactions
|
|
132
154
|
*/
|
|
133
155
|
constructor(aptosConfig: AptosConfig, account: Account, maxWaitTime?: number, maximumInFlight?: number, sleepTime?: number);
|
|
134
156
|
/**
|
|
@@ -137,6 +159,8 @@ declare class TransactionWorker extends EventEmitter<TransactionWorkerEvents> {
|
|
|
137
159
|
* This function continues to submit transactions until there are no more to process.
|
|
138
160
|
*
|
|
139
161
|
* @throws {Error} Throws an error if the transaction submission fails.
|
|
162
|
+
* @group Implementation
|
|
163
|
+
* @category Transactions
|
|
140
164
|
*/
|
|
141
165
|
submitNextTransaction(): Promise<void>;
|
|
142
166
|
/**
|
|
@@ -149,12 +173,16 @@ declare class TransactionWorker extends EventEmitter<TransactionWorkerEvents> {
|
|
|
149
173
|
* @event TransactionWorkerEventsEnum.TransactionSendFailed - Emitted when a transaction fails to commit, along with the error
|
|
150
174
|
* reason.
|
|
151
175
|
* @event TransactionWorkerEventsEnum.ExecutionFinish - Emitted when the execution of transactions is complete.
|
|
176
|
+
* @group Implementation
|
|
177
|
+
* @category Transactions
|
|
152
178
|
*/
|
|
153
179
|
processTransactions(): Promise<void>;
|
|
154
180
|
/**
|
|
155
181
|
* Once a transaction has been sent to the chain, this function checks for its execution status.
|
|
156
182
|
* @param sentTransaction - The transaction that was sent to the chain and is now waiting to be executed.
|
|
157
183
|
* @param sequenceNumber - The account's sequence number that was sent with the transaction.
|
|
184
|
+
* @group Implementation
|
|
185
|
+
* @category Transactions
|
|
158
186
|
*/
|
|
159
187
|
checkTransaction(sentTransaction: PromiseFulfilledResult<PendingTransactionResponse>, sequenceNumber: bigint): Promise<void>;
|
|
160
188
|
/**
|
|
@@ -167,6 +195,8 @@ declare class TransactionWorker extends EventEmitter<TransactionWorkerEvents> {
|
|
|
167
195
|
* @param options.gasUnitPrice - Gas unit price for the transaction.
|
|
168
196
|
* @param options.expireTimestamp - Expiration timestamp on the transaction.
|
|
169
197
|
* @param options.accountSequenceNumber - The sequence number for the transaction.
|
|
198
|
+
* @group Implementation
|
|
199
|
+
* @category Transactions
|
|
170
200
|
*/
|
|
171
201
|
push(transactionData: InputGenerateTransactionPayloadData, options?: InputGenerateTransactionOptions): Promise<void>;
|
|
172
202
|
/**
|
|
@@ -175,24 +205,32 @@ declare class TransactionWorker extends EventEmitter<TransactionWorkerEvents> {
|
|
|
175
205
|
* @param account - An Aptos account used as the sender of the transaction.
|
|
176
206
|
* @param sequenceNumber - A sequence number the transaction will be generated with.
|
|
177
207
|
* @returns A signed transaction object or undefined if the transaction queue is empty.
|
|
208
|
+
* @group Implementation
|
|
209
|
+
* @category Transactions
|
|
178
210
|
*/
|
|
179
211
|
generateNextTransaction(account: Account, sequenceNumber: bigint): Promise<SimpleTransaction | undefined>;
|
|
180
212
|
/**
|
|
181
213
|
* Starts transaction submission and processing by executing tasks from the queue until it is cancelled.
|
|
182
214
|
*
|
|
183
215
|
* @throws {Error} Throws an error if unable to start transaction batching.
|
|
216
|
+
* @group Implementation
|
|
217
|
+
* @category Transactions
|
|
184
218
|
*/
|
|
185
219
|
run(): Promise<void>;
|
|
186
220
|
/**
|
|
187
221
|
* Starts the transaction management process.
|
|
188
222
|
*
|
|
189
223
|
* @throws {Error} Throws an error if the worker has already started.
|
|
224
|
+
* @group Implementation
|
|
225
|
+
* @category Transactions
|
|
190
226
|
*/
|
|
191
227
|
start(): void;
|
|
192
228
|
/**
|
|
193
229
|
* Stops the transaction management process.
|
|
194
230
|
*
|
|
195
231
|
* @throws {Error} Throws an error if the worker has already stopped.
|
|
232
|
+
* @group Implementation
|
|
233
|
+
* @category Transactions
|
|
196
234
|
*/
|
|
197
235
|
stop(): void;
|
|
198
236
|
}
|