@aptos-labs/ts-sdk 1.33.1 → 1.33.2
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-BHsGaOsa.d.ts → accountAddress-Cf1amU98.d.ts} +279 -0
- 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 +1941 -225
- 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 +64 -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 +18 -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 +6 -1
- 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 +42 -1
- 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-PMGK5IHB.mjs → chunk-2FBJWTJD.mjs} +2 -2
- package/dist/esm/chunk-2FBJWTJD.mjs.map +1 -0
- package/dist/esm/{chunk-L4SWQLAJ.mjs → chunk-2N5KYALM.mjs} +2 -2
- package/dist/esm/chunk-2N5KYALM.mjs.map +1 -0
- package/dist/esm/{chunk-7V35JAAF.mjs → chunk-2TJ6OTVD.mjs} +2 -2
- package/dist/esm/chunk-2TJ6OTVD.mjs.map +1 -0
- package/dist/esm/{chunk-GVNK3UMT.mjs → chunk-2UXW3EB7.mjs} +2 -2
- package/dist/esm/chunk-2UXW3EB7.mjs.map +1 -0
- package/dist/esm/{chunk-UJSTWN32.mjs → chunk-2WCATZVL.mjs} +2 -2
- package/dist/esm/{chunk-UJSTWN32.mjs.map → chunk-2WCATZVL.mjs.map} +1 -1
- package/dist/esm/{chunk-FZDEGDUY.mjs → chunk-35DKMW7Q.mjs} +1 -1
- package/dist/esm/chunk-35DKMW7Q.mjs.map +1 -0
- package/dist/esm/{chunk-WFK3XRQX.mjs → chunk-3RCAJICY.mjs} +2 -2
- package/dist/esm/chunk-3RCAJICY.mjs.map +1 -0
- package/dist/esm/{chunk-KCWRCWNT.mjs → chunk-43GCGE6C.mjs} +2 -2
- package/dist/esm/chunk-43GCGE6C.mjs.map +1 -0
- package/dist/esm/{chunk-4DP3PEYK.mjs → chunk-4EUS4E6S.mjs} +2 -2
- package/dist/esm/chunk-4EUS4E6S.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-SNYYEVJA.mjs → chunk-4ZYPDCSP.mjs} +2 -2
- package/dist/esm/chunk-4ZYPDCSP.mjs.map +1 -0
- package/dist/esm/{chunk-F2WY2DEY.mjs → chunk-5EBUWO2M.mjs} +2 -2
- package/dist/esm/chunk-5EBUWO2M.mjs.map +1 -0
- package/dist/esm/{chunk-5LGKGWLX.mjs → chunk-5EYTHMRZ.mjs} +2 -2
- package/dist/esm/chunk-5EYTHMRZ.mjs.map +1 -0
- package/dist/esm/{chunk-DBTKJMLV.mjs → chunk-5PXDPMF2.mjs} +2 -2
- package/dist/esm/chunk-5PXDPMF2.mjs.map +1 -0
- package/dist/esm/chunk-5VMAJTTV.mjs +2 -0
- package/dist/esm/chunk-5VMAJTTV.mjs.map +1 -0
- package/dist/esm/{chunk-YEWZAR76.mjs → chunk-5YWH3XPN.mjs} +2 -2
- package/dist/esm/chunk-5YWH3XPN.mjs.map +1 -0
- package/dist/esm/{chunk-QI7OREBM.mjs → chunk-67ZVDKJF.mjs} +2 -2
- package/dist/esm/chunk-67ZVDKJF.mjs.map +1 -0
- package/dist/esm/{chunk-U6OCK6T4.mjs → chunk-6CXMDJQR.mjs} +2 -2
- package/dist/esm/chunk-6CXMDJQR.mjs.map +1 -0
- package/dist/esm/chunk-6IEZPA4H.mjs +2 -0
- package/dist/esm/chunk-6IEZPA4H.mjs.map +1 -0
- package/dist/esm/{chunk-N62NUAHT.mjs → chunk-6YHDZLRN.mjs} +2 -2
- package/dist/esm/chunk-6YHDZLRN.mjs.map +1 -0
- package/dist/esm/chunk-6YWYAVFS.mjs +2 -0
- package/dist/esm/chunk-6YWYAVFS.mjs.map +1 -0
- package/dist/esm/chunk-77AEKF7K.mjs +2 -0
- package/dist/esm/{chunk-YD2BMHH7.mjs.map → chunk-77AEKF7K.mjs.map} +1 -1
- package/dist/esm/{chunk-XOLU6UP3.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-ICMELYCL.mjs → chunk-AFEHO5PP.mjs} +2 -2
- package/dist/esm/chunk-AFEHO5PP.mjs.map +1 -0
- package/dist/esm/{chunk-NK67FECB.mjs → chunk-AXYARCYT.mjs} +2 -2
- package/dist/esm/chunk-AXYARCYT.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-U3T4ZT7B.mjs → chunk-BGSEBFFC.mjs} +2 -2
- package/dist/esm/chunk-BGSEBFFC.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-OIOGOW6I.mjs → chunk-C3Q23D22.mjs} +1 -1
- package/dist/esm/chunk-C3Q23D22.mjs.map +1 -0
- 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-IBZKCBN5.mjs → chunk-DOQV5BSA.mjs} +2 -2
- package/dist/esm/chunk-DOQV5BSA.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-IK2NYNKG.mjs → chunk-DYATTONT.mjs} +2 -2
- package/dist/esm/chunk-DYATTONT.mjs.map +1 -0
- package/dist/esm/{chunk-ALNQK276.mjs → chunk-E5HGSOG2.mjs} +2 -2
- package/dist/esm/chunk-E5HGSOG2.mjs.map +1 -0
- package/dist/esm/{chunk-2MN7DW2J.mjs → chunk-E7JDVKFY.mjs} +2 -2
- package/dist/esm/chunk-E7JDVKFY.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-F2ZTBAJJ.mjs +2 -0
- package/dist/esm/chunk-F2ZTBAJJ.mjs.map +1 -0
- package/dist/esm/{chunk-UGIHQFID.mjs → chunk-FIEMUPXF.mjs} +2 -2
- package/dist/esm/chunk-FIEMUPXF.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-H3C3VTHS.mjs → chunk-FZD5RWSZ.mjs} +2 -2
- package/dist/esm/chunk-FZD5RWSZ.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-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-BAEIZAP7.mjs → chunk-HBH2NQKU.mjs} +2 -2
- package/dist/esm/chunk-HBH2NQKU.mjs.map +1 -0
- package/dist/esm/{chunk-ZMMLM6ZJ.mjs → chunk-IDTLNF4M.mjs} +2 -2
- package/dist/esm/chunk-IDTLNF4M.mjs.map +1 -0
- package/dist/esm/{chunk-PXMNAP2Q.mjs → chunk-IEUEMBFD.mjs} +2 -2
- package/dist/esm/chunk-IEUEMBFD.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-LPVGVTWT.mjs → chunk-JBEUUULP.mjs} +2 -2
- package/dist/esm/chunk-JBEUUULP.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-2ESU5N3V.mjs → chunk-KOORZTHC.mjs} +2 -2
- package/dist/esm/chunk-KOORZTHC.mjs.map +1 -0
- package/dist/esm/{chunk-2QGJDHME.mjs → chunk-KVM2SGSF.mjs} +2 -2
- package/dist/esm/chunk-KVM2SGSF.mjs.map +1 -0
- package/dist/esm/{chunk-5PVZ4N42.mjs → chunk-M77M6NSB.mjs} +2 -2
- package/dist/esm/chunk-M77M6NSB.mjs.map +1 -0
- package/dist/esm/{chunk-G4KAHJXB.mjs → chunk-MCLYDS3O.mjs} +2 -2
- package/dist/esm/chunk-MCLYDS3O.mjs.map +1 -0
- package/dist/esm/{chunk-46O23AOD.mjs → chunk-MLSAZJZK.mjs} +2 -2
- package/dist/esm/chunk-MLSAZJZK.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-MWBRD43V.mjs +2 -0
- package/dist/esm/chunk-MWBRD43V.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-7N7FEBZA.mjs → chunk-NBNZ53ZV.mjs} +2 -2
- package/dist/esm/chunk-NBNZ53ZV.mjs.map +1 -0
- package/dist/esm/{chunk-CX6KECGV.mjs → chunk-NWLJ6RW7.mjs} +2 -2
- package/dist/esm/chunk-NWLJ6RW7.mjs.map +1 -0
- package/dist/esm/{chunk-VIZHWYI5.mjs → chunk-NYETBDSR.mjs} +2 -2
- package/dist/esm/chunk-NYETBDSR.mjs.map +1 -0
- package/dist/esm/{chunk-SK3LIS4Z.mjs → chunk-OEQ2U7GK.mjs} +2 -2
- package/dist/esm/chunk-OEQ2U7GK.mjs.map +1 -0
- package/dist/esm/{chunk-2C27NY4D.mjs → chunk-OHZURQPY.mjs} +2 -2
- package/dist/esm/chunk-OHZURQPY.mjs.map +1 -0
- package/dist/esm/{chunk-333QBK32.mjs → chunk-ONTWK5FU.mjs} +2 -2
- package/dist/esm/chunk-ONTWK5FU.mjs.map +1 -0
- package/dist/esm/chunk-OR6GFWLG.mjs +2 -0
- package/dist/esm/chunk-OR6GFWLG.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-S5SQJRAV.mjs → chunk-OROPNHRY.mjs} +2 -2
- package/dist/esm/chunk-OROPNHRY.mjs.map +1 -0
- package/dist/esm/{chunk-VWGB5BHW.mjs → chunk-OSBRPVVI.mjs} +2 -2
- package/dist/esm/chunk-OSBRPVVI.mjs.map +1 -0
- package/dist/esm/{chunk-NZ7M6NG2.mjs → chunk-P7A5RILV.mjs} +2 -2
- package/dist/esm/{chunk-JNO7KPMG.mjs → chunk-Q4C4U6I4.mjs} +2 -2
- package/dist/esm/chunk-Q4C4U6I4.mjs.map +1 -0
- package/dist/esm/{chunk-HMMNQFVM.mjs → chunk-QHC5DKVZ.mjs} +2 -2
- package/dist/esm/chunk-QHC5DKVZ.mjs.map +1 -0
- package/dist/esm/{chunk-F45G3GP3.mjs → chunk-QHEKBHNU.mjs} +2 -2
- package/dist/esm/chunk-QQEK7WVP.mjs +2 -0
- package/dist/esm/chunk-QQEK7WVP.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-BUAHUVAD.mjs → chunk-ROT6S6BM.mjs} +2 -2
- package/dist/esm/chunk-ROT6S6BM.mjs.map +1 -0
- package/dist/esm/{chunk-LKKI2KAP.mjs → chunk-S4LZMY2L.mjs} +2 -2
- package/dist/esm/chunk-S4LZMY2L.mjs.map +1 -0
- package/dist/esm/{chunk-33CVOPIN.mjs → chunk-S7RZGC56.mjs} +2 -2
- package/dist/esm/{chunk-33CVOPIN.mjs.map → chunk-S7RZGC56.mjs.map} +1 -1
- package/dist/esm/{chunk-SPRNSFUV.mjs → chunk-STY74NUA.mjs} +2 -2
- package/dist/esm/chunk-STY74NUA.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-7T26VA2W.mjs → chunk-UC23V7PU.mjs} +2 -2
- package/dist/esm/chunk-UC23V7PU.mjs.map +1 -0
- package/dist/esm/{chunk-4MTSP4S2.mjs → chunk-V6VPMNWJ.mjs} +2 -2
- package/dist/esm/chunk-V6VPMNWJ.mjs.map +1 -0
- package/dist/esm/{chunk-JMPHD4BP.mjs → chunk-VUIHJIMX.mjs} +2 -2
- package/dist/esm/chunk-VUIHJIMX.mjs.map +1 -0
- package/dist/esm/{chunk-2KSMV5KD.mjs → chunk-VV4HCOJQ.mjs} +2 -2
- package/dist/esm/chunk-VV4HCOJQ.mjs.map +1 -0
- package/dist/esm/{chunk-XZN344G4.mjs → chunk-VVXBVJXD.mjs} +2 -2
- package/dist/esm/chunk-VVXBVJXD.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-UFPYCROT.mjs → chunk-WQRGDSPD.mjs} +2 -2
- package/dist/esm/chunk-WQRGDSPD.mjs.map +1 -0
- package/dist/esm/chunk-WUWPN7XV.mjs +2 -0
- package/dist/esm/chunk-WUWPN7XV.mjs.map +1 -0
- package/dist/esm/{chunk-LA5HJILW.mjs → chunk-X6UNY6YM.mjs} +2 -2
- package/dist/esm/chunk-X6UNY6YM.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-XTJOA5QN.mjs +2 -0
- package/dist/esm/chunk-XTJOA5QN.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-ZMS3AOEZ.mjs → chunk-XY43TPRH.mjs} +2 -2
- package/dist/esm/chunk-XY43TPRH.mjs.map +1 -0
- package/dist/esm/{chunk-EGV3HFE3.mjs → chunk-XYB6KYKW.mjs} +2 -2
- package/dist/esm/chunk-XYB6KYKW.mjs.map +1 -0
- package/dist/esm/{chunk-RCA73RVB.mjs → chunk-XZ4JRYCE.mjs} +2 -2
- package/dist/esm/chunk-XZ4JRYCE.mjs.map +1 -0
- package/dist/esm/{chunk-4XB3BB5Z.mjs → chunk-YCQUYDZI.mjs} +2 -2
- package/dist/esm/chunk-YCQUYDZI.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-ZAIVZDOL.mjs +2 -0
- package/dist/esm/chunk-ZAIVZDOL.mjs.map +1 -0
- package/dist/esm/{chunk-ZXVN3HXB.mjs → chunk-ZGVNZE7J.mjs} +2 -2
- package/dist/esm/chunk-ZGVNZE7J.mjs.map +1 -0
- package/dist/esm/{chunk-YJVZFYBX.mjs → chunk-ZPV7HPA4.mjs} +2 -2
- package/dist/esm/chunk-ZPV7HPA4.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 +50 -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/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/index.mjs +1 -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 +19 -20
- 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 +4 -0
- 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 +47 -1
- 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 +8 -0
- package/src/core/crypto/proof.ts +2 -0
- package/src/core/crypto/publicKey.ts +14 -0
- package/src/core/crypto/secp256k1.ts +49 -2
- 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/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-2C27NY4D.mjs.map +0 -1
- package/dist/esm/chunk-2CJC43CV.mjs.map +0 -1
- package/dist/esm/chunk-2ESU5N3V.mjs.map +0 -1
- package/dist/esm/chunk-2KSMV5KD.mjs.map +0 -1
- package/dist/esm/chunk-2MN7DW2J.mjs.map +0 -1
- package/dist/esm/chunk-2QGJDHME.mjs.map +0 -1
- package/dist/esm/chunk-333QBK32.mjs.map +0 -1
- package/dist/esm/chunk-372SLYVR.mjs +0 -2
- package/dist/esm/chunk-372SLYVR.mjs.map +0 -1
- package/dist/esm/chunk-42H7WETG.mjs.map +0 -1
- package/dist/esm/chunk-46O23AOD.mjs.map +0 -1
- package/dist/esm/chunk-4DI5SPSK.mjs +0 -2
- package/dist/esm/chunk-4DI5SPSK.mjs.map +0 -1
- package/dist/esm/chunk-4DP3PEYK.mjs.map +0 -1
- package/dist/esm/chunk-4MTSP4S2.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-4OV2A6PJ.mjs +0 -2
- package/dist/esm/chunk-4OV2A6PJ.mjs.map +0 -1
- package/dist/esm/chunk-4XB3BB5Z.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-5LGKGWLX.mjs.map +0 -1
- package/dist/esm/chunk-5PVZ4N42.mjs.map +0 -1
- package/dist/esm/chunk-6Q2O5G3J.mjs.map +0 -1
- package/dist/esm/chunk-6ZOVTYLJ.mjs.map +0 -1
- package/dist/esm/chunk-7N7FEBZA.mjs.map +0 -1
- package/dist/esm/chunk-7T26VA2W.mjs.map +0 -1
- package/dist/esm/chunk-7V35JAAF.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-ALNQK276.mjs.map +0 -1
- package/dist/esm/chunk-AOROYJ74.mjs.map +0 -1
- package/dist/esm/chunk-BAEIZAP7.mjs.map +0 -1
- package/dist/esm/chunk-BRV3RLKW.mjs.map +0 -1
- package/dist/esm/chunk-BUAHUVAD.mjs.map +0 -1
- package/dist/esm/chunk-C2HCRGQU.mjs +0 -2
- package/dist/esm/chunk-C2HCRGQU.mjs.map +0 -1
- package/dist/esm/chunk-CDEYH77E.mjs +0 -2
- package/dist/esm/chunk-CDEYH77E.mjs.map +0 -1
- package/dist/esm/chunk-CX6KECGV.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-DBTKJMLV.mjs.map +0 -1
- package/dist/esm/chunk-DC2IESER.mjs +0 -2
- package/dist/esm/chunk-DC2IESER.mjs.map +0 -1
- package/dist/esm/chunk-EGV3HFE3.mjs.map +0 -1
- package/dist/esm/chunk-ELXJ5A4B.mjs +0 -2
- package/dist/esm/chunk-ELXJ5A4B.mjs.map +0 -1
- package/dist/esm/chunk-F2WY2DEY.mjs.map +0 -1
- package/dist/esm/chunk-FZDEGDUY.mjs.map +0 -1
- package/dist/esm/chunk-G4KAHJXB.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-GVNK3UMT.mjs.map +0 -1
- package/dist/esm/chunk-H3C3VTHS.mjs.map +0 -1
- package/dist/esm/chunk-HBIDHQ2M.mjs.map +0 -1
- package/dist/esm/chunk-HMMNQFVM.mjs.map +0 -1
- package/dist/esm/chunk-IBZKCBN5.mjs.map +0 -1
- package/dist/esm/chunk-ICMELYCL.mjs.map +0 -1
- package/dist/esm/chunk-IHGA5KAD.mjs.map +0 -1
- package/dist/esm/chunk-IK2NYNKG.mjs.map +0 -1
- package/dist/esm/chunk-J3E4UMBB.mjs +0 -2
- package/dist/esm/chunk-J3E4UMBB.mjs.map +0 -1
- package/dist/esm/chunk-J7PJSK3J.mjs.map +0 -1
- package/dist/esm/chunk-JMPHD4BP.mjs.map +0 -1
- package/dist/esm/chunk-JNO7KPMG.mjs.map +0 -1
- package/dist/esm/chunk-KCWRCWNT.mjs.map +0 -1
- package/dist/esm/chunk-L4SWQLAJ.mjs.map +0 -1
- package/dist/esm/chunk-LA5HJILW.mjs.map +0 -1
- package/dist/esm/chunk-LGTOOAQI.mjs.map +0 -1
- package/dist/esm/chunk-LKKI2KAP.mjs.map +0 -1
- package/dist/esm/chunk-LPVGVTWT.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-N62NUAHT.mjs.map +0 -1
- package/dist/esm/chunk-NK67FECB.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-P6KX7AS2.mjs +0 -2
- package/dist/esm/chunk-P6KX7AS2.mjs.map +0 -1
- package/dist/esm/chunk-PMGK5IHB.mjs.map +0 -1
- package/dist/esm/chunk-PXMNAP2Q.mjs.map +0 -1
- package/dist/esm/chunk-QI7OREBM.mjs.map +0 -1
- package/dist/esm/chunk-RCA73RVB.mjs.map +0 -1
- package/dist/esm/chunk-S5SQJRAV.mjs.map +0 -1
- package/dist/esm/chunk-SK3LIS4Z.mjs.map +0 -1
- package/dist/esm/chunk-SNYYEVJA.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-TCXYTPUR.mjs +0 -2
- package/dist/esm/chunk-TCXYTPUR.mjs.map +0 -1
- package/dist/esm/chunk-U3T4ZT7B.mjs.map +0 -1
- package/dist/esm/chunk-U6OCK6T4.mjs.map +0 -1
- package/dist/esm/chunk-UFPYCROT.mjs.map +0 -1
- package/dist/esm/chunk-UGIHQFID.mjs.map +0 -1
- package/dist/esm/chunk-UGTIALNW.mjs +0 -2
- 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-VIZHWYI5.mjs.map +0 -1
- package/dist/esm/chunk-VQZMI3EZ.mjs.map +0 -1
- package/dist/esm/chunk-VWGB5BHW.mjs.map +0 -1
- package/dist/esm/chunk-WFK3XRQX.mjs.map +0 -1
- package/dist/esm/chunk-XOLU6UP3.mjs.map +0 -1
- package/dist/esm/chunk-XZN344G4.mjs.map +0 -1
- package/dist/esm/chunk-YD2BMHH7.mjs +0 -2
- package/dist/esm/chunk-YEWZAR76.mjs.map +0 -1
- package/dist/esm/chunk-YJVZFYBX.mjs.map +0 -1
- package/dist/esm/chunk-ZMBXHMVQ.mjs.map +0 -1
- package/dist/esm/chunk-ZMMLM6ZJ.mjs.map +0 -1
- package/dist/esm/chunk-ZMS3AOEZ.mjs.map +0 -1
- package/dist/esm/chunk-ZXVN3HXB.mjs.map +0 -1
- /package/dist/esm/{chunk-GAEAYY44.mjs.map → account/AccountUtils.mjs.map} +0 -0
- /package/dist/esm/{chunk-NZ7M6NG2.mjs.map → chunk-P7A5RILV.mjs.map} +0 -0
- /package/dist/esm/{chunk-F45G3GP3.mjs.map → chunk-QHEKBHNU.mjs.map} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b}from"../chunk-
|
|
1
|
+
import{a,b}from"../chunk-P7A5RILV.mjs";import"../chunk-I5OYNCZS.mjs";import"../chunk-JXCZTOYC.mjs";import"../chunk-JBEUUULP.mjs";import"../chunk-MLSAZJZK.mjs";import"../chunk-AZWVCBK2.mjs";import"../chunk-HBH2NQKU.mjs";import"../chunk-BSCOVLWS.mjs";import"../chunk-V3MBJJTL.mjs";import"../chunk-WUWPN7XV.mjs";import"../chunk-6YHDZLRN.mjs";import"../chunk-3RCAJICY.mjs";import"../chunk-VV4HCOJQ.mjs";import"../chunk-VHNX2NUR.mjs";import"../chunk-GP4TLDVZ.mjs";import"../chunk-XTJOA5QN.mjs";import"../chunk-OR6GFWLG.mjs";import"../chunk-M77M6NSB.mjs";import"../chunk-MWBRD43V.mjs";import"../chunk-JJM6ELMS.mjs";import"../chunk-5VMAJTTV.mjs";import"../chunk-2N5KYALM.mjs";import"../chunk-ZAIVZDOL.mjs";import"../chunk-QQEK7WVP.mjs";import"../chunk-4ZYPDCSP.mjs";import"../chunk-4NMDYPUD.mjs";import"../chunk-MCLYDS3O.mjs";import"../chunk-OHZURQPY.mjs";import"../chunk-5EBUWO2M.mjs";import"../chunk-DYATTONT.mjs";import"../chunk-QHC5DKVZ.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-E7FWVXGX.mjs";import"../chunk-NECL5FCQ.mjs";import"../chunk-4QMXOWHP.mjs";import"../chunk-BI3BTSUB.mjs";import"../chunk-YCQUYDZI.mjs";import"../chunk-HEZ2ZYZA.mjs";import"../chunk-VVXBVJXD.mjs";import"../chunk-6YWYAVFS.mjs";import"../chunk-VUIHJIMX.mjs";import"../chunk-NBNZ53ZV.mjs";import"../chunk-BGSEBFFC.mjs";import"../chunk-IEUEMBFD.mjs";import"../chunk-XJJVJOX5.mjs";import"../chunk-43GCGE6C.mjs";import"../chunk-GOXRBEIJ.mjs";import"../chunk-FZD5RWSZ.mjs";import"../chunk-ROT6S6BM.mjs";import"../chunk-EMURYYVO.mjs";import"../chunk-WCMW2L3P.mjs";import"../chunk-DPW6ELCQ.mjs";import"../chunk-C3Q23D22.mjs";import"../chunk-FN4C3CKC.mjs";import"../chunk-Q4C4U6I4.mjs";import"../chunk-YOZBVVKL.mjs";import"../chunk-7ECCT6PK.mjs";import"../chunk-S4LZMY2L.mjs";import"../chunk-6IEZPA4H.mjs";import"../chunk-OSBRPVVI.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-FD6FGKYY.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-77AEKF7K.mjs";import"../chunk-KDMSOCZY.mjs";export{a as view,b as viewJson};
|
|
2
2
|
//# sourceMappingURL=view.mjs.map
|
|
@@ -13,16 +13,22 @@ import { Signature } from './core/crypto/signature.mjs';
|
|
|
13
13
|
* @see {@link https://aptos.dev/concepts/accounts | Account Basics}
|
|
14
14
|
*
|
|
15
15
|
* Account addresses can be derived from the AuthenticationKey.
|
|
16
|
+
* @group Implementation
|
|
17
|
+
* @category Serialization
|
|
16
18
|
*/
|
|
17
19
|
declare class AuthenticationKey extends Serializable {
|
|
18
20
|
/**
|
|
19
21
|
* An authentication key is always a SHA3-256 hash of data, and is always 32 bytes.
|
|
20
22
|
*
|
|
21
23
|
* The data to hash depends on the underlying public key type and the derivation scheme.
|
|
24
|
+
* @group Implementation
|
|
25
|
+
* @category Serialization
|
|
22
26
|
*/
|
|
23
27
|
static readonly LENGTH: number;
|
|
24
28
|
/**
|
|
25
29
|
* The raw bytes of the authentication key.
|
|
30
|
+
* @group Implementation
|
|
31
|
+
* @category Serialization
|
|
26
32
|
*/
|
|
27
33
|
readonly data: Hex;
|
|
28
34
|
/**
|
|
@@ -33,6 +39,8 @@ declare class AuthenticationKey extends Serializable {
|
|
|
33
39
|
* @param args.data - The hex input data to be used for the Authentication Key.
|
|
34
40
|
* @throws {Error} Throws an error if the length of the provided hex input is not equal to the required Authentication Key
|
|
35
41
|
* length.
|
|
42
|
+
* @group Implementation
|
|
43
|
+
* @category Serialization
|
|
36
44
|
*/
|
|
37
45
|
constructor(args: {
|
|
38
46
|
data: HexInput;
|
|
@@ -41,12 +49,16 @@ declare class AuthenticationKey extends Serializable {
|
|
|
41
49
|
* Serializes the fixed bytes data into a format suitable for transmission or storage.
|
|
42
50
|
*
|
|
43
51
|
* @param serializer - The serializer instance used to perform the serialization.
|
|
52
|
+
* @group Implementation
|
|
53
|
+
* @category Serialization
|
|
44
54
|
*/
|
|
45
55
|
serialize(serializer: Serializer): void;
|
|
46
56
|
/**
|
|
47
57
|
* Deserialize an AuthenticationKey from the byte buffer in a Deserializer instance.
|
|
48
58
|
* @param deserializer - The deserializer to deserialize the AuthenticationKey from.
|
|
49
59
|
* @returns An instance of AuthenticationKey.
|
|
60
|
+
* @group Implementation
|
|
61
|
+
* @category Serialization
|
|
50
62
|
*/
|
|
51
63
|
static deserialize(deserializer: Deserializer): AuthenticationKey;
|
|
52
64
|
/**
|
|
@@ -55,6 +67,8 @@ declare class AuthenticationKey extends Serializable {
|
|
|
55
67
|
* This function is useful for obtaining a byte representation of the data, which can be utilized for serialization or transmission.
|
|
56
68
|
*
|
|
57
69
|
* @returns Uint8Array representation of the internal data.
|
|
70
|
+
* @group Implementation
|
|
71
|
+
* @category Serialization
|
|
58
72
|
*/
|
|
59
73
|
toUint8Array(): Uint8Array;
|
|
60
74
|
/**
|
|
@@ -65,6 +79,8 @@ declare class AuthenticationKey extends Serializable {
|
|
|
65
79
|
* @param args.scheme - The authentication key scheme to use.
|
|
66
80
|
* @param args.input - The input data in hexadecimal format to derive the key.
|
|
67
81
|
* @returns An instance of AuthenticationKey containing the generated key data.
|
|
82
|
+
* @group Implementation
|
|
83
|
+
* @category Serialization
|
|
68
84
|
*/
|
|
69
85
|
static fromSchemeAndBytes(args: {
|
|
70
86
|
scheme: AuthenticationKeyScheme;
|
|
@@ -77,6 +93,8 @@ declare class AuthenticationKey extends Serializable {
|
|
|
77
93
|
* @param args - The arguments for deriving the authentication key.
|
|
78
94
|
* @param args.publicKey - The public key used for the derivation.
|
|
79
95
|
* @param args.scheme - The scheme to use for deriving the authentication key.
|
|
96
|
+
* @group Implementation
|
|
97
|
+
* @category Serialization
|
|
80
98
|
*/
|
|
81
99
|
static fromPublicKeyAndScheme(args: {
|
|
82
100
|
publicKey: AccountPublicKey;
|
|
@@ -88,6 +106,8 @@ declare class AuthenticationKey extends Serializable {
|
|
|
88
106
|
* @param args - The arguments for the function.
|
|
89
107
|
* @param args.publicKey - The PublicKey to be converted.
|
|
90
108
|
* @returns AuthenticationKey - The derived AuthenticationKey.
|
|
109
|
+
* @group Implementation
|
|
110
|
+
* @category Serialization
|
|
91
111
|
*/
|
|
92
112
|
static fromPublicKey(args: {
|
|
93
113
|
publicKey: AccountPublicKey;
|
|
@@ -96,6 +116,8 @@ declare class AuthenticationKey extends Serializable {
|
|
|
96
116
|
* Derives an account address from an AuthenticationKey by translating the AuthenticationKey bytes directly to an AccountAddress.
|
|
97
117
|
*
|
|
98
118
|
* @returns AccountAddress - The derived account address.
|
|
119
|
+
* @group Implementation
|
|
120
|
+
* @category Serialization
|
|
99
121
|
*/
|
|
100
122
|
derivedAddress(): AccountAddress;
|
|
101
123
|
}
|
|
@@ -105,6 +127,8 @@ declare class AuthenticationKey extends Serializable {
|
|
|
105
127
|
*
|
|
106
128
|
* @param message - The original message that was signed.
|
|
107
129
|
* @param signature - The signature to be verified against the message.
|
|
130
|
+
* @group Implementation
|
|
131
|
+
* @category Serialization
|
|
108
132
|
*/
|
|
109
133
|
interface VerifySignatureArgs {
|
|
110
134
|
message: HexInput;
|
|
@@ -115,22 +139,30 @@ interface VerifySignatureArgs {
|
|
|
115
139
|
*
|
|
116
140
|
* This class provides a common interface for verifying signatures associated with the public key.
|
|
117
141
|
* It allows for the retrieval of the raw public key bytes and the public key in a hexadecimal string format.
|
|
142
|
+
* @group Implementation
|
|
143
|
+
* @category Serialization
|
|
118
144
|
*/
|
|
119
145
|
declare abstract class PublicKey extends Serializable {
|
|
120
146
|
/**
|
|
121
147
|
* Verifies that the private key associated with this public key signed the message with the given signature.
|
|
122
148
|
* @param args.message The message that was signed
|
|
123
149
|
* @param args.signature The signature to verify
|
|
150
|
+
* @group Implementation
|
|
151
|
+
* @category Serialization
|
|
124
152
|
*/
|
|
125
153
|
abstract verifySignature(args: VerifySignatureArgs): boolean;
|
|
126
154
|
/**
|
|
127
155
|
* Get the raw public key bytes
|
|
156
|
+
* @group Implementation
|
|
157
|
+
* @category Serialization
|
|
128
158
|
*/
|
|
129
159
|
toUint8Array(): Uint8Array;
|
|
130
160
|
/**
|
|
131
161
|
* Get the public key as a hex string with a 0x prefix.
|
|
132
162
|
*
|
|
133
163
|
* @returns The public key in hex format.
|
|
164
|
+
* @group Implementation
|
|
165
|
+
* @category Serialization
|
|
134
166
|
*/
|
|
135
167
|
toString(): string;
|
|
136
168
|
}
|
|
@@ -140,10 +172,14 @@ declare abstract class PublicKey extends Serializable {
|
|
|
140
172
|
* Provides a common interface for deriving an authentication key.
|
|
141
173
|
*
|
|
142
174
|
* @abstract
|
|
175
|
+
* @group Implementation
|
|
176
|
+
* @category Serialization
|
|
143
177
|
*/
|
|
144
178
|
declare abstract class AccountPublicKey extends PublicKey {
|
|
145
179
|
/**
|
|
146
180
|
* Get the authentication key associated with this public key
|
|
181
|
+
* @group Implementation
|
|
182
|
+
* @category Serialization
|
|
147
183
|
*/
|
|
148
184
|
abstract authKey(): AuthenticationKey;
|
|
149
185
|
}
|
|
@@ -11,11 +11,12 @@ import '../../types/generated/types.mjs';
|
|
|
11
11
|
import '../../utils/apiEndpoints.mjs';
|
|
12
12
|
import '../../core/hex.mjs';
|
|
13
13
|
import '../../core/common.mjs';
|
|
14
|
-
import '../../publicKey-
|
|
14
|
+
import '../../publicKey-BMtGNNLg.mjs';
|
|
15
15
|
import '../../core/accountAddress.mjs';
|
|
16
16
|
import '../instances/transactionArgument.mjs';
|
|
17
17
|
import '../../core/crypto/signature.mjs';
|
|
18
18
|
import '../../core/crypto/privateKey.mjs';
|
|
19
|
+
import '../../core/crypto/secp256k1.mjs';
|
|
19
20
|
|
|
20
21
|
/**
|
|
21
22
|
* Represents an account authenticator that can handle multiple authentication variants.
|
|
@@ -23,6 +24,8 @@ import '../../core/crypto/privateKey.mjs';
|
|
|
23
24
|
* and deserialization of various authenticator types.
|
|
24
25
|
*
|
|
25
26
|
* @extends Serializable
|
|
27
|
+
* @group Implementation
|
|
28
|
+
* @category Transactions
|
|
26
29
|
*/
|
|
27
30
|
declare abstract class AccountAuthenticator extends Serializable {
|
|
28
31
|
abstract serialize(serializer: Serializer): void;
|
|
@@ -31,30 +34,40 @@ declare abstract class AccountAuthenticator extends Serializable {
|
|
|
31
34
|
* This function helps in reconstructing the AccountAuthenticator object based on the variant index.
|
|
32
35
|
*
|
|
33
36
|
* @param deserializer - The deserializer instance used to read the serialized data.
|
|
37
|
+
* @group Implementation
|
|
38
|
+
* @category Transactions
|
|
34
39
|
*/
|
|
35
40
|
static deserialize(deserializer: Deserializer): AccountAuthenticator;
|
|
36
41
|
/**
|
|
37
42
|
* Determines if the current instance is an Ed25519 account authenticator.
|
|
38
43
|
*
|
|
39
44
|
* @returns {boolean} True if the instance is of type AccountAuthenticatorEd25519, otherwise false.
|
|
45
|
+
* @group Implementation
|
|
46
|
+
* @category Transactions
|
|
40
47
|
*/
|
|
41
48
|
isEd25519(): this is AccountAuthenticatorEd25519;
|
|
42
49
|
/**
|
|
43
50
|
* Determines if the current instance is of type AccountAuthenticatorMultiEd25519.
|
|
44
51
|
*
|
|
45
52
|
* @returns {boolean} True if the instance is a multi-signature Ed25519 account authenticator, otherwise false.
|
|
53
|
+
* @group Implementation
|
|
54
|
+
* @category Transactions
|
|
46
55
|
*/
|
|
47
56
|
isMultiEd25519(): this is AccountAuthenticatorMultiEd25519;
|
|
48
57
|
/**
|
|
49
58
|
* Determines if the current instance is of the type AccountAuthenticatorSingleKey.
|
|
50
59
|
*
|
|
51
60
|
* @returns {boolean} True if the instance is an AccountAuthenticatorSingleKey, otherwise false.
|
|
61
|
+
* @group Implementation
|
|
62
|
+
* @category Transactions
|
|
52
63
|
*/
|
|
53
64
|
isSingleKey(): this is AccountAuthenticatorSingleKey;
|
|
54
65
|
/**
|
|
55
66
|
* Determine if the current instance is of type AccountAuthenticatorMultiKey.
|
|
56
67
|
*
|
|
57
68
|
* @returns {boolean} Returns true if the instance is an AccountAuthenticatorMultiKey, otherwise false.
|
|
69
|
+
* @group Implementation
|
|
70
|
+
* @category Transactions
|
|
58
71
|
*/
|
|
59
72
|
isMultiKey(): this is AccountAuthenticatorMultiKey;
|
|
60
73
|
}
|
|
@@ -64,6 +77,8 @@ declare abstract class AccountAuthenticator extends Serializable {
|
|
|
64
77
|
*
|
|
65
78
|
* @param public_key - The Ed25519 public key associated with the account.
|
|
66
79
|
* @param signature - The Ed25519 signature for the account.
|
|
80
|
+
* @group Implementation
|
|
81
|
+
* @category Transactions
|
|
67
82
|
*/
|
|
68
83
|
declare class AccountAuthenticatorEd25519 extends AccountAuthenticator {
|
|
69
84
|
readonly public_key: Ed25519PublicKey;
|
|
@@ -73,6 +88,8 @@ declare class AccountAuthenticatorEd25519 extends AccountAuthenticator {
|
|
|
73
88
|
*
|
|
74
89
|
* @param public_key The public key used for verification.
|
|
75
90
|
* @param signature The signatures corresponding to the public keys.
|
|
91
|
+
* @group Implementation
|
|
92
|
+
* @category Transactions
|
|
76
93
|
*/
|
|
77
94
|
constructor(public_key: Ed25519PublicKey, signature: Ed25519Signature);
|
|
78
95
|
/**
|
|
@@ -80,6 +97,8 @@ declare class AccountAuthenticatorEd25519 extends AccountAuthenticator {
|
|
|
80
97
|
* This function captures the multi-key variant, public keys, and signatures for serialization.
|
|
81
98
|
*
|
|
82
99
|
* @param serializer - The serializer instance used to perform the serialization.
|
|
100
|
+
* @group Implementation
|
|
101
|
+
* @category Transactions
|
|
83
102
|
*/
|
|
84
103
|
serialize(serializer: Serializer): void;
|
|
85
104
|
/**
|
|
@@ -87,6 +106,8 @@ declare class AccountAuthenticatorEd25519 extends AccountAuthenticator {
|
|
|
87
106
|
* This function helps in reconstructing the authenticator object using the deserialized public keys and signatures.
|
|
88
107
|
*
|
|
89
108
|
* @param deserializer - The deserializer used to extract the necessary data for loading the authenticator.
|
|
109
|
+
* @group Implementation
|
|
110
|
+
* @category Transactions
|
|
90
111
|
*/
|
|
91
112
|
static load(deserializer: Deserializer): AccountAuthenticatorEd25519;
|
|
92
113
|
}
|
|
@@ -95,6 +116,8 @@ declare class AccountAuthenticatorEd25519 extends AccountAuthenticator {
|
|
|
95
116
|
*
|
|
96
117
|
* @param public_key - The MultiEd25519 public key of the account.
|
|
97
118
|
* @param signature - The MultiEd25519 signature of the account.
|
|
119
|
+
* @group Implementation
|
|
120
|
+
* @category Transactions
|
|
98
121
|
*/
|
|
99
122
|
declare class AccountAuthenticatorMultiEd25519 extends AccountAuthenticator {
|
|
100
123
|
readonly public_key: MultiEd25519PublicKey;
|
|
@@ -109,6 +132,8 @@ declare class AccountAuthenticatorMultiEd25519 extends AccountAuthenticator {
|
|
|
109
132
|
*
|
|
110
133
|
* @param public_key - The public key used for authentication.
|
|
111
134
|
* @param signature - The signature associated with the public key.
|
|
135
|
+
* @group Implementation
|
|
136
|
+
* @category Transactions
|
|
112
137
|
*/
|
|
113
138
|
declare class AccountAuthenticatorSingleKey extends AccountAuthenticator {
|
|
114
139
|
readonly public_key: AnyPublicKey;
|
|
@@ -122,6 +147,8 @@ declare class AccountAuthenticatorSingleKey extends AccountAuthenticator {
|
|
|
122
147
|
*
|
|
123
148
|
* @param public_keys - The public keys used for authentication.
|
|
124
149
|
* @param signatures - The signatures corresponding to the public keys.
|
|
150
|
+
* @group Implementation
|
|
151
|
+
* @category Transactions
|
|
125
152
|
*/
|
|
126
153
|
declare class AccountAuthenticatorMultiKey extends AccountAuthenticator {
|
|
127
154
|
readonly public_keys: MultiKey;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c,d,e,f}from"../../chunk-
|
|
1
|
+
import{a,b,c,d,e,f}from"../../chunk-QHC5DKVZ.mjs";import"../../chunk-HEZ2ZYZA.mjs";import"../../chunk-VVXBVJXD.mjs";import"../../chunk-6YWYAVFS.mjs";import"../../chunk-VUIHJIMX.mjs";import"../../chunk-NBNZ53ZV.mjs";import"../../chunk-BGSEBFFC.mjs";import"../../chunk-IEUEMBFD.mjs";import"../../chunk-XJJVJOX5.mjs";import"../../chunk-43GCGE6C.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-FZD5RWSZ.mjs";import"../../chunk-ROT6S6BM.mjs";import"../../chunk-EMURYYVO.mjs";import"../../chunk-WCMW2L3P.mjs";import"../../chunk-DPW6ELCQ.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-FN4C3CKC.mjs";import"../../chunk-Q4C4U6I4.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-S4LZMY2L.mjs";import"../../chunk-6IEZPA4H.mjs";import"../../chunk-OSBRPVVI.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-FD6FGKYY.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-77AEKF7K.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as AccountAuthenticator,b as AccountAuthenticatorEd25519,c as AccountAuthenticatorMultiEd25519,e as AccountAuthenticatorMultiKey,f as AccountAuthenticatorNoAccountAuthenticator,d as AccountAuthenticatorSingleKey};
|
|
2
2
|
//# sourceMappingURL=account.mjs.map
|
|
@@ -10,7 +10,7 @@ import '../../bcs/serializer.mjs';
|
|
|
10
10
|
import '../../core/hex.mjs';
|
|
11
11
|
import '../../core/common.mjs';
|
|
12
12
|
import '../../core/crypto/ed25519.mjs';
|
|
13
|
-
import '../../publicKey-
|
|
13
|
+
import '../../publicKey-BMtGNNLg.mjs';
|
|
14
14
|
import '../../core/accountAddress.mjs';
|
|
15
15
|
import '../instances/transactionArgument.mjs';
|
|
16
16
|
import '../../core/crypto/signature.mjs';
|
|
@@ -18,3 +18,4 @@ import '../../core/crypto/privateKey.mjs';
|
|
|
18
18
|
import '../../core/crypto/multiEd25519.mjs';
|
|
19
19
|
import '../../core/crypto/multiKey.mjs';
|
|
20
20
|
import '../../core/crypto/singleKey.mjs';
|
|
21
|
+
import '../../core/crypto/secp256k1.mjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../../chunk-BSCOVLWS.mjs";import{a as g,b as h,c as i,d as j,e as k,f as l}from"../../chunk-
|
|
1
|
+
import"../../chunk-BSCOVLWS.mjs";import{a as g,b as h,c as i,d as j,e as k,f as l}from"../../chunk-DYATTONT.mjs";import{a,b,c,d,e,f}from"../../chunk-QHC5DKVZ.mjs";import"../../chunk-E7FWVXGX.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-BI3BTSUB.mjs";import"../../chunk-HEZ2ZYZA.mjs";import"../../chunk-VVXBVJXD.mjs";import"../../chunk-6YWYAVFS.mjs";import"../../chunk-VUIHJIMX.mjs";import"../../chunk-NBNZ53ZV.mjs";import"../../chunk-BGSEBFFC.mjs";import"../../chunk-IEUEMBFD.mjs";import"../../chunk-XJJVJOX5.mjs";import"../../chunk-43GCGE6C.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-FZD5RWSZ.mjs";import"../../chunk-ROT6S6BM.mjs";import"../../chunk-EMURYYVO.mjs";import"../../chunk-WCMW2L3P.mjs";import"../../chunk-DPW6ELCQ.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-FN4C3CKC.mjs";import"../../chunk-Q4C4U6I4.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-S4LZMY2L.mjs";import"../../chunk-6IEZPA4H.mjs";import"../../chunk-OSBRPVVI.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-FD6FGKYY.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-77AEKF7K.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as AccountAuthenticator,b as AccountAuthenticatorEd25519,c as AccountAuthenticatorMultiEd25519,e as AccountAuthenticatorMultiKey,f as AccountAuthenticatorNoAccountAuthenticator,d as AccountAuthenticatorSingleKey,g as TransactionAuthenticator,h as TransactionAuthenticatorEd25519,k as TransactionAuthenticatorFeePayer,j as TransactionAuthenticatorMultiAgent,i as TransactionAuthenticatorMultiEd25519,l as TransactionAuthenticatorSingleSender};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -5,7 +5,7 @@ import { AccountAddress } from '../../core/accountAddress.mjs';
|
|
|
5
5
|
import { Ed25519PublicKey, Ed25519Signature } from '../../core/crypto/ed25519.mjs';
|
|
6
6
|
import { MultiEd25519PublicKey, MultiEd25519Signature } from '../../core/crypto/multiEd25519.mjs';
|
|
7
7
|
import '../../core/crypto/multiKey.mjs';
|
|
8
|
-
import '../../publicKey-
|
|
8
|
+
import '../../publicKey-BMtGNNLg.mjs';
|
|
9
9
|
import '../../types/types.mjs';
|
|
10
10
|
import '../../types/indexer.mjs';
|
|
11
11
|
import '../../types/generated/operations.mjs';
|
|
@@ -15,14 +15,17 @@ import '../../core/hex.mjs';
|
|
|
15
15
|
import '../../core/common.mjs';
|
|
16
16
|
import '../../core/crypto/signature.mjs';
|
|
17
17
|
import '../../core/crypto/singleKey.mjs';
|
|
18
|
-
import '
|
|
18
|
+
import '../../core/crypto/secp256k1.mjs';
|
|
19
19
|
import '../../core/crypto/privateKey.mjs';
|
|
20
|
+
import '../instances/transactionArgument.mjs';
|
|
20
21
|
|
|
21
22
|
/**
|
|
22
23
|
* Represents an abstract base class for transaction authenticators.
|
|
23
24
|
* This class provides methods for serializing and deserializing different types of transaction authenticators.
|
|
24
25
|
*
|
|
25
26
|
* @extends Serializable
|
|
27
|
+
* @group Implementation
|
|
28
|
+
* @category Transactions
|
|
26
29
|
*/
|
|
27
30
|
declare abstract class TransactionAuthenticator extends Serializable {
|
|
28
31
|
abstract serialize(serializer: Serializer): void;
|
|
@@ -31,6 +34,8 @@ declare abstract class TransactionAuthenticator extends Serializable {
|
|
|
31
34
|
* This function helps in reconstructing the TransactionAuthenticator based on the variant index found in the serialized data.
|
|
32
35
|
*
|
|
33
36
|
* @param deserializer - The deserializer instance used to read the serialized data.
|
|
37
|
+
* @group Implementation
|
|
38
|
+
* @category Transactions
|
|
34
39
|
*/
|
|
35
40
|
static deserialize(deserializer: Deserializer): TransactionAuthenticator;
|
|
36
41
|
isEd25519(): this is TransactionAuthenticatorEd25519;
|
|
@@ -47,6 +52,8 @@ declare abstract class TransactionAuthenticator extends Serializable {
|
|
|
47
52
|
* @param signature - The Ed25519 signature of a raw transaction.
|
|
48
53
|
* @see {@link https://aptos.dev/integration/creating-a-signed-transaction | Creating a Signed Transaction}
|
|
49
54
|
* for details about generating a signature.
|
|
55
|
+
* @group Implementation
|
|
56
|
+
* @category Transactions
|
|
50
57
|
*/
|
|
51
58
|
declare class TransactionAuthenticatorEd25519 extends TransactionAuthenticator {
|
|
52
59
|
readonly public_key: Ed25519PublicKey;
|
|
@@ -56,12 +63,16 @@ declare class TransactionAuthenticatorEd25519 extends TransactionAuthenticator {
|
|
|
56
63
|
*
|
|
57
64
|
* @param public_key - The Ed25519PublicKey that will be used for authentication.
|
|
58
65
|
* @param signature - The Ed25519Signature that will be used for authentication.
|
|
66
|
+
* @group Implementation
|
|
67
|
+
* @category Transactions
|
|
59
68
|
*/
|
|
60
69
|
constructor(public_key: Ed25519PublicKey, signature: Ed25519Signature);
|
|
61
70
|
/**
|
|
62
71
|
* Serializes the transaction authenticator by encoding the sender information.
|
|
63
72
|
*
|
|
64
73
|
* @param serializer - The serializer instance used to perform the serialization.
|
|
74
|
+
* @group Implementation
|
|
75
|
+
* @category Transactions
|
|
65
76
|
*/
|
|
66
77
|
serialize(serializer: Serializer): void;
|
|
67
78
|
/**
|
|
@@ -69,6 +80,8 @@ declare class TransactionAuthenticatorEd25519 extends TransactionAuthenticator {
|
|
|
69
80
|
* This function helps in deserializing the sender information to create a transaction authenticator.
|
|
70
81
|
*
|
|
71
82
|
* @param deserializer - The deserializer used to extract the sender data.
|
|
83
|
+
* @group Implementation
|
|
84
|
+
* @category Transactions
|
|
72
85
|
*/
|
|
73
86
|
static load(deserializer: Deserializer): TransactionAuthenticatorEd25519;
|
|
74
87
|
}
|
|
@@ -78,6 +91,8 @@ declare class TransactionAuthenticatorEd25519 extends TransactionAuthenticator {
|
|
|
78
91
|
*
|
|
79
92
|
* @param public_key - The public key of the client involved in the transaction.
|
|
80
93
|
* @param signature - The multi-signature of the raw transaction.
|
|
94
|
+
* @group Implementation
|
|
95
|
+
* @category Transactions
|
|
81
96
|
*/
|
|
82
97
|
declare class TransactionAuthenticatorMultiEd25519 extends TransactionAuthenticator {
|
|
83
98
|
readonly public_key: MultiEd25519PublicKey;
|
|
@@ -94,6 +109,8 @@ declare class TransactionAuthenticatorMultiEd25519 extends TransactionAuthentica
|
|
|
94
109
|
* @param sender - The authenticator for the sender account.
|
|
95
110
|
* @param secondary_signer_addresses - An array of addresses for the secondary signers.
|
|
96
111
|
* @param secondary_signers - An array of authenticators for the secondary signer accounts.
|
|
112
|
+
* @group Implementation
|
|
113
|
+
* @category Transactions
|
|
97
114
|
*/
|
|
98
115
|
declare class TransactionAuthenticatorMultiAgent extends TransactionAuthenticator {
|
|
99
116
|
readonly sender: AccountAuthenticator;
|
|
@@ -112,6 +129,8 @@ declare class TransactionAuthenticatorMultiAgent extends TransactionAuthenticato
|
|
|
112
129
|
* @param secondary_signer_addresses - An array of addresses for secondary signers.
|
|
113
130
|
* @param secondary_signers - An array of authenticators for secondary signers' accounts.
|
|
114
131
|
* @param fee_payer - An object containing the fee payer's account address and authenticator.
|
|
132
|
+
* @group Implementation
|
|
133
|
+
* @category Transactions
|
|
115
134
|
*/
|
|
116
135
|
declare class TransactionAuthenticatorFeePayer extends TransactionAuthenticator {
|
|
117
136
|
readonly sender: AccountAuthenticator;
|
|
@@ -133,6 +152,8 @@ declare class TransactionAuthenticatorFeePayer extends TransactionAuthenticator
|
|
|
133
152
|
* This class is responsible for managing the authentication of a transaction initiated by a single sender.
|
|
134
153
|
*
|
|
135
154
|
* @param sender - An instance of AccountAuthenticator that represents the account of the sender.
|
|
155
|
+
* @group Implementation
|
|
156
|
+
* @category Transactions
|
|
136
157
|
*/
|
|
137
158
|
declare class TransactionAuthenticatorSingleSender extends TransactionAuthenticator {
|
|
138
159
|
readonly sender: AccountAuthenticator;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c,d,e,f}from"../../chunk-
|
|
1
|
+
import{a,b,c,d,e,f}from"../../chunk-DYATTONT.mjs";import"../../chunk-QHC5DKVZ.mjs";import"../../chunk-E7FWVXGX.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-BI3BTSUB.mjs";import"../../chunk-HEZ2ZYZA.mjs";import"../../chunk-VVXBVJXD.mjs";import"../../chunk-6YWYAVFS.mjs";import"../../chunk-VUIHJIMX.mjs";import"../../chunk-NBNZ53ZV.mjs";import"../../chunk-BGSEBFFC.mjs";import"../../chunk-IEUEMBFD.mjs";import"../../chunk-XJJVJOX5.mjs";import"../../chunk-43GCGE6C.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-FZD5RWSZ.mjs";import"../../chunk-ROT6S6BM.mjs";import"../../chunk-EMURYYVO.mjs";import"../../chunk-WCMW2L3P.mjs";import"../../chunk-DPW6ELCQ.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-FN4C3CKC.mjs";import"../../chunk-Q4C4U6I4.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-S4LZMY2L.mjs";import"../../chunk-6IEZPA4H.mjs";import"../../chunk-OSBRPVVI.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-FD6FGKYY.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-77AEKF7K.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as TransactionAuthenticator,b as TransactionAuthenticatorEd25519,e as TransactionAuthenticatorFeePayer,d as TransactionAuthenticatorMultiAgent,c as TransactionAuthenticatorMultiEd25519,f as TransactionAuthenticatorSingleSender};
|
|
2
2
|
//# sourceMappingURL=transaction.mjs.map
|
|
@@ -27,13 +27,14 @@ import '../bcs/serializer.mjs';
|
|
|
27
27
|
import '../core/hex.mjs';
|
|
28
28
|
import '../core/common.mjs';
|
|
29
29
|
import '../core/crypto/ed25519.mjs';
|
|
30
|
-
import '../publicKey-
|
|
30
|
+
import '../publicKey-BMtGNNLg.mjs';
|
|
31
31
|
import '../core/accountAddress.mjs';
|
|
32
32
|
import '../core/crypto/signature.mjs';
|
|
33
33
|
import '../core/crypto/privateKey.mjs';
|
|
34
34
|
import '../core/crypto/multiEd25519.mjs';
|
|
35
35
|
import '../core/crypto/multiKey.mjs';
|
|
36
36
|
import '../core/crypto/singleKey.mjs';
|
|
37
|
+
import '../core/crypto/secp256k1.mjs';
|
|
37
38
|
import '../bcs/serializable/movePrimitives.mjs';
|
|
38
39
|
import '../bcs/serializable/moveStructs.mjs';
|
|
39
40
|
import '../bcs/serializable/fixedBytes.mjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../chunk-I5OYNCZS.mjs";import"../chunk-JXCZTOYC.mjs";import{a as Fa,b as Ga,c as Ha,d as Ia,e as Ja,f as Ka,g as La,h as Ma,i as Na,j as Oa,k as Pa}from"../chunk-
|
|
1
|
+
import"../chunk-I5OYNCZS.mjs";import"../chunk-JXCZTOYC.mjs";import{a as Fa,b as Ga,c as Ha,d as Ia,e as Ja,f as Ka,g as La,h as Ma,i as Na,j as Oa,k as Pa}from"../chunk-JBEUUULP.mjs";import{a as za,b as Aa,c as Ba,d as Ca,e as Da,f as Ea}from"../chunk-MLSAZJZK.mjs";import{a as wa,b as xa,c as ya}from"../chunk-AZWVCBK2.mjs";import{a as ba,b as ca,c as da,d as ea,e as fa,f as ga,g as ha,h as ia,i as ja,j as ka,k as la,l as ma,m as na,n as oa,o as pa,p as qa,q as ra,r as sa,s as ta,t as ua,u as va}from"../chunk-HBH2NQKU.mjs";import"../chunk-BSCOVLWS.mjs";import"../chunk-V3MBJJTL.mjs";import"../chunk-WUWPN7XV.mjs";import"../chunk-6YHDZLRN.mjs";import"../chunk-3RCAJICY.mjs";import"../chunk-VV4HCOJQ.mjs";import"../chunk-VHNX2NUR.mjs";import"../chunk-GP4TLDVZ.mjs";import"../chunk-XTJOA5QN.mjs";import"../chunk-OR6GFWLG.mjs";import"../chunk-M77M6NSB.mjs";import"../chunk-MWBRD43V.mjs";import"../chunk-JJM6ELMS.mjs";import"../chunk-5VMAJTTV.mjs";import"../chunk-2N5KYALM.mjs";import"../chunk-ZAIVZDOL.mjs";import"../chunk-QQEK7WVP.mjs";import{a as Z,b as _,c as $,d as aa}from"../chunk-4ZYPDCSP.mjs";import"../chunk-4NMDYPUD.mjs";import{a as Y}from"../chunk-MCLYDS3O.mjs";import{a as P}from"../chunk-OHZURQPY.mjs";import{a as W}from"../chunk-5EBUWO2M.mjs";import{a as Q,b as R,c as S,d as T,e as U,f as V}from"../chunk-DYATTONT.mjs";import{a,b,c,d,e,f}from"../chunk-QHC5DKVZ.mjs";import{a as X}from"../chunk-UC23V7PU.mjs";import{a as L,b as M,c as N,d as O}from"../chunk-7IY3DTEF.mjs";import"../chunk-UYVPNUH3.mjs";import{a as C,b as D,c as E,d as F,e as G,f as H,g as I,h as J,i as K}from"../chunk-ONTWK5FU.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,i as r,j as s,k as t,l as u,m as v,n as w,o as x,p as y,q as z,r as A,s as B}from"../chunk-G4O6FXCF.mjs";import{a as g}from"../chunk-XKUIMGKU.mjs";import{a as i}from"../chunk-N4DM5FYH.mjs";import{a as h}from"../chunk-N6YTF76Q.mjs";import"../chunk-E7FWVXGX.mjs";import"../chunk-NECL5FCQ.mjs";import"../chunk-4QMXOWHP.mjs";import"../chunk-BI3BTSUB.mjs";import"../chunk-YCQUYDZI.mjs";import"../chunk-HEZ2ZYZA.mjs";import"../chunk-VVXBVJXD.mjs";import"../chunk-6YWYAVFS.mjs";import"../chunk-VUIHJIMX.mjs";import"../chunk-NBNZ53ZV.mjs";import"../chunk-BGSEBFFC.mjs";import"../chunk-IEUEMBFD.mjs";import"../chunk-XJJVJOX5.mjs";import"../chunk-43GCGE6C.mjs";import"../chunk-GOXRBEIJ.mjs";import"../chunk-FZD5RWSZ.mjs";import"../chunk-ROT6S6BM.mjs";import"../chunk-EMURYYVO.mjs";import"../chunk-WCMW2L3P.mjs";import"../chunk-DPW6ELCQ.mjs";import"../chunk-C3Q23D22.mjs";import"../chunk-FN4C3CKC.mjs";import"../chunk-Q4C4U6I4.mjs";import"../chunk-YOZBVVKL.mjs";import"../chunk-7ECCT6PK.mjs";import"../chunk-S4LZMY2L.mjs";import"../chunk-6IEZPA4H.mjs";import"../chunk-OSBRPVVI.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-FD6FGKYY.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-77AEKF7K.mjs";import"../chunk-KDMSOCZY.mjs";export{a as AccountAuthenticator,b as AccountAuthenticatorEd25519,c as AccountAuthenticatorMultiEd25519,e as AccountAuthenticatorMultiKey,f as AccountAuthenticatorNoAccountAuthenticator,d as AccountAuthenticatorSingleKey,g as ChainId,H as EntryFunction,O as FeePayerRawTransaction,h as Identifier,i as ModuleId,N as MultiAgentRawTransaction,Y as MultiAgentTransaction,J as MultiSig,K as MultiSigTransactionPayload,L as RawTransaction,M as RawTransactionWithData,P as RotationProofChallenge,I as Script,W as SignedTransaction,X as SimpleTransaction,x as StructTag,Q as TransactionAuthenticator,R as TransactionAuthenticatorEd25519,U as TransactionAuthenticatorFeePayer,T as TransactionAuthenticatorMultiAgent,S as TransactionAuthenticatorMultiEd25519,V as TransactionAuthenticatorSingleSender,D as TransactionPayload,F as TransactionPayloadEntryFunction,G as TransactionPayloadMultiSig,E as TransactionPayloadScript,j as TypeTag,r as TypeTagAddress,k as TypeTagBool,u as TypeTagGeneric,xa as TypeTagParserError,wa as TypeTagParserErrorType,t as TypeTagReference,s as TypeTagSigner,w as TypeTagStruct,p as TypeTagU128,m as TypeTagU16,q as TypeTagU256,n as TypeTagU32,o as TypeTagU64,l as TypeTagU8,v as TypeTagVector,y as aptosCoinStructTag,Ka as buildTransaction,Ea as checkOrConvertArgument,Da as convertArgument,ea as convertNumber,Z as deriveTransactionType,C as deserializeFromScriptArgument,Ba as fetchEntryFunctionAbi,Aa as fetchFunctionAbi,Ca as fetchViewFunctionAbi,ua as findFirstNonSignerArg,Ja as generateRawTransaction,Na as generateSignedTransaction,La as generateSignedTransactionForSimulation,_ as generateSigningMessage,$ as generateSigningMessageForSerializable,aa as generateSigningMessageForTransaction,Fa as generateTransactionPayload,Ga as generateTransactionPayloadWithABI,Pa as generateUserTransactionHash,Ha as generateViewFunctionPayload,Ia as generateViewFunctionPayloadWithABI,Ma as getAuthenticatorForSimulation,va as getFunctionParts,Oa as hashValues,ja as isBcsAddress,ia as isBcsBool,la as isBcsFixedBytes,ka as isBcsString,qa as isBcsU128,na as isBcsU16,ra as isBcsU256,oa as isBcsU32,pa as isBcsU64,ma as isBcsU8,ba as isBool,ga as isEmptyOption,ha as isEncodedEntryFunctionArgument,fa as isLargeNumber,da as isNumber,sa as isScriptDataInput,ca as isString,B as objectStructTag,A as optionStructTag,ya as parseTypeTag,za as standardizeTypeTags,z as stringStructTag,ta as throwTypeMismatch};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -12,6 +12,8 @@ import '../../utils/apiEndpoints.mjs';
|
|
|
12
12
|
* Represents a ChainId that can be serialized and deserialized.
|
|
13
13
|
*
|
|
14
14
|
* @extends Serializable
|
|
15
|
+
* @group Implementation
|
|
16
|
+
* @category Transactions
|
|
15
17
|
*/
|
|
16
18
|
declare class ChainId extends Serializable {
|
|
17
19
|
readonly chainId: number;
|
|
@@ -19,6 +21,8 @@ declare class ChainId extends Serializable {
|
|
|
19
21
|
* Initializes a new instance of the class with the specified chain ID.
|
|
20
22
|
*
|
|
21
23
|
* @param chainId - The ID of the blockchain network to be used.
|
|
24
|
+
* @group Implementation
|
|
25
|
+
* @category Transactions
|
|
22
26
|
*/
|
|
23
27
|
constructor(chainId: number);
|
|
24
28
|
/**
|
|
@@ -26,6 +30,8 @@ declare class ChainId extends Serializable {
|
|
|
26
30
|
* This function helps in converting the object into a format suitable for transmission or storage.
|
|
27
31
|
*
|
|
28
32
|
* @param serializer - The serializer instance used to perform the serialization.
|
|
33
|
+
* @group Implementation
|
|
34
|
+
* @category Transactions
|
|
29
35
|
*/
|
|
30
36
|
serialize(serializer: Serializer): void;
|
|
31
37
|
/**
|
|
@@ -33,6 +39,8 @@ declare class ChainId extends Serializable {
|
|
|
33
39
|
* This function allows you to reconstruct a ChainId object from serialized data.
|
|
34
40
|
*
|
|
35
41
|
* @param deserializer - The deserializer instance used to read the serialized data.
|
|
42
|
+
* @group Implementation
|
|
43
|
+
* @category Transactions
|
|
36
44
|
*/
|
|
37
45
|
static deserialize(deserializer: Deserializer): ChainId;
|
|
38
46
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-XKUIMGKU.mjs";import"../../chunk-EBMEXURY.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as ChainId};
|
|
2
2
|
//# sourceMappingURL=chainId.mjs.map
|
|
@@ -14,6 +14,8 @@ import '../../core/common.mjs';
|
|
|
14
14
|
* the "function name" in "EntryFunction".
|
|
15
15
|
*
|
|
16
16
|
* @extends Serializable
|
|
17
|
+
* @group Implementation
|
|
18
|
+
* @category Transactions
|
|
17
19
|
*/
|
|
18
20
|
declare class Identifier extends Serializable {
|
|
19
21
|
identifier: string;
|
|
@@ -21,12 +23,16 @@ declare class Identifier extends Serializable {
|
|
|
21
23
|
* Creates an instance of the class with a specified identifier.
|
|
22
24
|
*
|
|
23
25
|
* @param identifier - The unique identifier for the instance.
|
|
26
|
+
* @group Implementation
|
|
27
|
+
* @category Transactions
|
|
24
28
|
*/
|
|
25
29
|
constructor(identifier: string);
|
|
26
30
|
/**
|
|
27
31
|
* Serializes the identifier of the current instance using the provided serializer.
|
|
28
32
|
*
|
|
29
33
|
* @param serializer - The serializer instance used to perform the serialization.
|
|
34
|
+
* @group Implementation
|
|
35
|
+
* @category Transactions
|
|
30
36
|
*/
|
|
31
37
|
serialize(serializer: Serializer): void;
|
|
32
38
|
/**
|
|
@@ -34,6 +40,8 @@ declare class Identifier extends Serializable {
|
|
|
34
40
|
* This function is useful for reconstructing an Identifier object from a serialized format.
|
|
35
41
|
*
|
|
36
42
|
* @param deserializer - The deserializer instance used to read the serialized data.
|
|
43
|
+
* @group Implementation
|
|
44
|
+
* @category Transactions
|
|
37
45
|
*/
|
|
38
46
|
static deserialize(deserializer: Deserializer): Identifier;
|
|
39
47
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-N6YTF76Q.mjs";import"../../chunk-EBMEXURY.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as Identifier};
|
|
2
2
|
//# sourceMappingURL=identifier.mjs.map
|
|
@@ -18,7 +18,7 @@ import '../../types/generated/types.mjs';
|
|
|
18
18
|
import '../../utils/apiEndpoints.mjs';
|
|
19
19
|
import '../../bcs/deserializer.mjs';
|
|
20
20
|
import '../../core/accountAddress.mjs';
|
|
21
|
-
import '../../publicKey-
|
|
21
|
+
import '../../publicKey-BMtGNNLg.mjs';
|
|
22
22
|
import '../../core/crypto/signature.mjs';
|
|
23
23
|
import '../../bcs/serializable/movePrimitives.mjs';
|
|
24
24
|
import '../../bcs/serializable/moveStructs.mjs';
|
|
@@ -29,4 +29,5 @@ import '../../core/crypto/privateKey.mjs';
|
|
|
29
29
|
import '../../core/crypto/multiEd25519.mjs';
|
|
30
30
|
import '../../core/crypto/multiKey.mjs';
|
|
31
31
|
import '../../core/crypto/singleKey.mjs';
|
|
32
|
+
import '../../core/crypto/secp256k1.mjs';
|
|
32
33
|
import '../typeTag/index.mjs';
|