@aptos-labs/ts-sdk 4.0.0-zeta.0 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common/{account-D4dsN-1K.d.ts → account-BDwBREvt.d.ts} +29 -3
- package/dist/common/chunk-6MMUUJHX.js +4 -0
- package/dist/common/chunk-6MMUUJHX.js.map +1 -0
- package/dist/common/cli/index.d.ts +1 -1
- package/dist/common/cli/index.js +1 -480
- package/dist/common/cli/index.js.map +1 -1
- package/dist/common/index.d.ts +195 -463
- package/dist/common/index.js +447 -19859
- package/dist/common/index.js.map +1 -1
- package/dist/esm/{Ed25519Account-ndmdpFe9.d.mts → Ed25519Account-8ETkcAk_.d.mts} +1 -1
- package/dist/esm/account/AbstractKeylessAccount.d.mts +3 -3
- package/dist/esm/account/AbstractKeylessAccount.mjs +1 -66
- package/dist/esm/account/AbstractedAccount.d.mts +3 -2
- package/dist/esm/account/AbstractedAccount.mjs +1 -62
- package/dist/esm/account/Account.d.mts +2 -2
- package/dist/esm/account/Account.mjs +1 -62
- package/dist/esm/account/AccountUtils.d.mts +3 -3
- package/dist/esm/account/AccountUtils.mjs +1 -62
- package/dist/esm/account/DerivableAbstractedAccount.d.mts +2 -2
- package/dist/esm/account/DerivableAbstractedAccount.mjs +1 -62
- package/dist/esm/account/Ed25519Account.d.mts +2 -2
- package/dist/esm/account/Ed25519Account.mjs +1 -62
- package/dist/esm/account/EphemeralKeyPair.d.mts +1 -1
- package/dist/esm/account/EphemeralKeyPair.mjs +1 -62
- package/dist/esm/account/FederatedKeylessAccount.d.mts +3 -3
- package/dist/esm/account/FederatedKeylessAccount.mjs +1 -62
- package/dist/esm/account/KeylessAccount.d.mts +3 -3
- package/dist/esm/account/KeylessAccount.mjs +1 -62
- package/dist/esm/account/MultiEd25519Account.d.mts +2 -2
- package/dist/esm/account/MultiEd25519Account.mjs +1 -62
- package/dist/esm/account/MultiKeyAccount.d.mts +3 -3
- package/dist/esm/account/MultiKeyAccount.mjs +1 -62
- package/dist/esm/account/SingleKeyAccount.d.mts +2 -2
- package/dist/esm/account/SingleKeyAccount.mjs +1 -64
- package/dist/esm/account/index.d.mts +3 -3
- package/dist/esm/account/index.mjs +1 -90
- package/dist/esm/account/utils.d.mts +1 -1
- package/dist/esm/account/utils.mjs +1 -62
- package/dist/esm/{account--Q9z_xMN.d.mts → account-ClxOwjdh.d.mts} +28 -3
- package/dist/esm/api/account/abstraction.d.mts +1 -1
- package/dist/esm/api/account/abstraction.mjs +1 -62
- package/dist/esm/api/account.d.mts +2 -6
- package/dist/esm/api/account.mjs +1 -62
- package/dist/esm/api/ans.d.mts +2 -2
- package/dist/esm/api/ans.mjs +1 -62
- package/dist/esm/api/aptos.d.mts +6 -6
- package/dist/esm/api/aptos.mjs +1 -62
- package/dist/esm/api/aptosConfig.d.mts +1 -1
- package/dist/esm/api/aptosConfig.mjs +1 -9
- package/dist/esm/api/coin.d.mts +1 -1
- package/dist/esm/api/coin.mjs +1 -62
- package/dist/esm/api/digitalAsset.d.mts +2 -2
- package/dist/esm/api/digitalAsset.mjs +1 -62
- package/dist/esm/api/faucet.d.mts +1 -1
- package/dist/esm/api/faucet.mjs +1 -62
- package/dist/esm/api/fungibleAsset.d.mts +2 -2
- package/dist/esm/api/fungibleAsset.mjs +1 -62
- package/dist/esm/api/general.d.mts +1 -1
- package/dist/esm/api/general.mjs +1 -62
- package/dist/esm/api/index.d.mts +3 -4
- package/dist/esm/api/index.mjs +1 -67
- package/dist/esm/api/keyless.d.mts +3 -3
- package/dist/esm/api/keyless.mjs +1 -62
- package/dist/esm/api/object.d.mts +1 -1
- package/dist/esm/api/object.mjs +1 -62
- package/dist/esm/api/staking.d.mts +1 -1
- package/dist/esm/api/staking.mjs +1 -62
- package/dist/esm/api/table.d.mts +1 -1
- package/dist/esm/api/table.mjs +1 -39
- package/dist/esm/api/transaction.d.mts +2 -2
- package/dist/esm/api/transaction.mjs +1 -62
- package/dist/esm/api/transactionSubmission/build.d.mts +1 -1
- package/dist/esm/api/transactionSubmission/build.mjs +1 -62
- package/dist/esm/api/transactionSubmission/helpers.d.mts +1 -1
- package/dist/esm/api/transactionSubmission/helpers.mjs +1 -9
- package/dist/esm/api/transactionSubmission/management.d.mts +2 -2
- package/dist/esm/api/transactionSubmission/management.mjs +1 -62
- package/dist/esm/api/transactionSubmission/sign.d.mts +2 -2
- package/dist/esm/api/transactionSubmission/sign.mjs +1 -182
- package/dist/esm/api/transactionSubmission/sign.mjs.map +1 -1
- package/dist/esm/api/transactionSubmission/simulate.d.mts +1 -1
- package/dist/esm/api/transactionSubmission/simulate.mjs +1 -62
- package/dist/esm/api/transactionSubmission/submit.d.mts +1 -1
- package/dist/esm/api/transactionSubmission/submit.mjs +1 -62
- package/dist/esm/api/utils.d.mts +1 -1
- package/dist/esm/api/utils.mjs +1 -37
- package/dist/esm/bcs/consts.d.mts +1 -1
- package/dist/esm/bcs/consts.mjs +1 -17
- package/dist/esm/bcs/deserializer.d.mts +1 -1
- package/dist/esm/bcs/deserializer.mjs +1 -10
- package/dist/esm/bcs/index.d.mts +1 -1
- package/dist/esm/bcs/index.mjs +1 -60
- package/dist/esm/bcs/serializable/entryFunctionBytes.d.mts +1 -1
- package/dist/esm/bcs/serializable/entryFunctionBytes.mjs +1 -12
- package/dist/esm/bcs/serializable/fixedBytes.d.mts +1 -1
- package/dist/esm/bcs/serializable/fixedBytes.mjs +1 -11
- package/dist/esm/bcs/serializable/movePrimitives.d.mts +1 -1
- package/dist/esm/bcs/serializable/movePrimitives.mjs +1 -26
- package/dist/esm/bcs/serializable/moveStructs.d.mts +1 -1
- package/dist/esm/bcs/serializable/moveStructs.mjs +1 -22
- package/dist/esm/bcs/serializer.d.mts +1 -1
- package/dist/esm/bcs/serializer.mjs +1 -18
- package/dist/esm/chunk-35DKMW7Q.mjs +2 -0
- package/dist/esm/{chunk-GUA5YTIK.mjs.map → chunk-35DKMW7Q.mjs.map} +1 -1
- package/dist/esm/chunk-4RXKALLC.mjs +2 -0
- package/dist/esm/{chunk-SFLQPB72.mjs.map → chunk-4RXKALLC.mjs.map} +1 -1
- package/dist/esm/chunk-56CNRT2K.mjs +2 -0
- package/dist/esm/{chunk-SBB4YEPT.mjs.map → chunk-56CNRT2K.mjs.map} +1 -1
- package/dist/esm/chunk-5FI4545P.mjs +2 -0
- package/dist/esm/{chunk-DTLPTPJW.mjs.map → chunk-5FI4545P.mjs.map} +1 -1
- package/dist/esm/chunk-6WDVDEQZ.mjs +7 -0
- package/dist/esm/{chunk-A4IKXI43.mjs.map → chunk-6WDVDEQZ.mjs.map} +1 -1
- package/dist/esm/chunk-7DQDJ2SA.mjs +2 -0
- package/dist/esm/{chunk-SCWOUBOV.mjs.map → chunk-7DQDJ2SA.mjs.map} +1 -1
- package/dist/esm/chunk-A5L76YP7.mjs +2 -0
- package/dist/esm/{chunk-PT2QHUB6.mjs.map → chunk-A5L76YP7.mjs.map} +1 -1
- package/dist/esm/chunk-B563XRSZ.mjs +2 -0
- package/dist/esm/{chunk-Q5W46UAQ.mjs.map → chunk-B563XRSZ.mjs.map} +1 -1
- package/dist/esm/chunk-C3Q23D22.mjs +2 -0
- package/dist/esm/{chunk-F7W7KS5C.mjs.map → chunk-C3Q23D22.mjs.map} +1 -1
- package/dist/esm/chunk-CW35YAMN.mjs +2 -0
- package/dist/esm/{chunk-2EQWS4BO.mjs.map → chunk-CW35YAMN.mjs.map} +1 -1
- package/dist/esm/chunk-DIGP2ALY.mjs +4 -0
- package/dist/esm/chunk-DIGP2ALY.mjs.map +1 -0
- package/dist/esm/chunk-DNRUDMMV.mjs +2 -0
- package/dist/esm/{chunk-KJY6HBMF.mjs.map → chunk-DNRUDMMV.mjs.map} +1 -1
- package/dist/esm/chunk-EBMEXURY.mjs +2 -0
- package/dist/esm/{chunk-FJJ3KCPC.mjs.map → chunk-EBMEXURY.mjs.map} +1 -1
- package/dist/esm/chunk-EM52Z7T7.mjs +2 -0
- package/dist/esm/{chunk-XBBBLYRH.mjs.map → chunk-EM52Z7T7.mjs.map} +1 -1
- package/dist/esm/chunk-ES2KP6BS.mjs +2 -0
- package/dist/esm/{chunk-EPKBDH2H.mjs.map → chunk-ES2KP6BS.mjs.map} +1 -1
- package/dist/esm/chunk-FGFLPH5K.mjs +2 -0
- package/dist/esm/{chunk-6ZZZXQX5.mjs.map → chunk-FGFLPH5K.mjs.map} +1 -1
- package/dist/esm/chunk-FLZPUYXQ.mjs +2 -0
- package/dist/esm/{chunk-YJJUYS67.mjs.map → chunk-FLZPUYXQ.mjs.map} +1 -1
- package/dist/esm/chunk-GFFKEZ56.mjs +2 -0
- package/dist/esm/{chunk-GREMFKLA.mjs.map → chunk-GFFKEZ56.mjs.map} +1 -1
- package/dist/esm/chunk-GMQCQDW4.mjs +2 -0
- package/dist/esm/{chunk-QIM243UU.mjs.map → chunk-GMQCQDW4.mjs.map} +1 -1
- package/dist/esm/chunk-GOXRBEIJ.mjs +2 -0
- package/dist/esm/{chunk-APM7OSLS.mjs.map → chunk-GOXRBEIJ.mjs.map} +1 -1
- package/dist/esm/chunk-HNBKTJPN.mjs +2 -0
- package/dist/esm/{chunk-SQ3VDIBO.mjs.map → chunk-HNBKTJPN.mjs.map} +1 -1
- package/dist/esm/chunk-HNBVYE3N.mjs +2 -0
- package/dist/esm/{chunk-DUYTCDXO.mjs.map → chunk-HNBVYE3N.mjs.map} +1 -1
- package/dist/esm/chunk-IF4UU2MT.mjs +2 -0
- package/dist/esm/{chunk-QPT4BSAB.mjs.map → chunk-IF4UU2MT.mjs.map} +1 -1
- package/dist/esm/chunk-IJE2LVZG.mjs +2 -0
- package/dist/esm/{chunk-O3EP3HB3.mjs.map → chunk-IJE2LVZG.mjs.map} +1 -1
- package/dist/esm/chunk-KDMSOCZY.mjs +2 -0
- package/dist/esm/chunk-LWL57YFU.mjs +2 -0
- package/dist/esm/{chunk-ORIVGO5I.mjs.map → chunk-LWL57YFU.mjs.map} +1 -1
- package/dist/esm/chunk-MT2RJ7H3.mjs +2 -0
- package/dist/esm/{chunk-HKXZMGVA.mjs.map → chunk-MT2RJ7H3.mjs.map} +1 -1
- package/dist/esm/chunk-N3O3ULF7.mjs +2 -0
- package/dist/esm/{chunk-4OAWQT57.mjs.map → chunk-N3O3ULF7.mjs.map} +1 -1
- package/dist/esm/chunk-N6YTF76Q.mjs +2 -0
- package/dist/esm/{chunk-NATYEXGE.mjs.map → chunk-N6YTF76Q.mjs.map} +1 -1
- package/dist/esm/chunk-OLILO7VD.mjs +2 -0
- package/dist/esm/{chunk-FHHBIGGL.mjs.map → chunk-OLILO7VD.mjs.map} +1 -1
- package/dist/esm/chunk-ORMOQWWH.mjs +2 -0
- package/dist/esm/{chunk-TSXVHRQB.mjs.map → chunk-ORMOQWWH.mjs.map} +1 -1
- package/dist/esm/chunk-Q4W3WJ2U.mjs +2 -0
- package/dist/esm/{chunk-TPJY5GTS.mjs.map → chunk-Q4W3WJ2U.mjs.map} +1 -1
- package/dist/esm/chunk-QREVMGQZ.mjs +2 -0
- package/dist/esm/{chunk-BQCCGCK4.mjs.map → chunk-QREVMGQZ.mjs.map} +1 -1
- package/dist/esm/chunk-RCSJFTST.mjs +2 -0
- package/dist/esm/{chunk-3WEOSEUE.mjs.map → chunk-RCSJFTST.mjs.map} +1 -1
- package/dist/esm/chunk-RGKRCZ36.mjs +4 -0
- package/dist/esm/{chunk-P6RWWRGG.mjs.map → chunk-RGKRCZ36.mjs.map} +1 -1
- package/dist/esm/chunk-ROT6S6BM.mjs +2 -0
- package/dist/esm/{chunk-UKXKN5YN.mjs.map → chunk-ROT6S6BM.mjs.map} +1 -1
- package/dist/esm/chunk-RQX6JOEN.mjs +2 -0
- package/dist/esm/{chunk-WZD3K77H.mjs.map → chunk-RQX6JOEN.mjs.map} +1 -1
- package/dist/esm/chunk-STY74NUA.mjs +2 -0
- package/dist/esm/{chunk-GHQTJGG6.mjs.map → chunk-STY74NUA.mjs.map} +1 -1
- package/dist/esm/chunk-TGRLDWXV.mjs +2 -0
- package/dist/esm/{chunk-UAXZDOSV.mjs.map → chunk-TGRLDWXV.mjs.map} +1 -1
- package/dist/esm/chunk-TOBQ5UE6.mjs +2 -0
- package/dist/esm/{chunk-IBRCEHIR.mjs.map → chunk-TOBQ5UE6.mjs.map} +1 -1
- package/dist/esm/{chunk-A5FS7NAD.mjs → chunk-UL777LTI.mjs} +31 -380
- package/dist/esm/{chunk-A5FS7NAD.mjs.map → chunk-UL777LTI.mjs.map} +1 -1
- package/dist/esm/chunk-V74WPKSY.mjs +2 -0
- package/dist/esm/{chunk-CYKMZPCW.mjs.map → chunk-V74WPKSY.mjs.map} +1 -1
- package/dist/esm/chunk-WCMW2L3P.mjs +2 -0
- package/dist/esm/{chunk-MOQKSDHO.mjs.map → chunk-WCMW2L3P.mjs.map} +1 -1
- package/dist/esm/chunk-WSR5EBJM.mjs +2 -0
- package/dist/esm/{chunk-ITS22VZT.mjs.map → chunk-WSR5EBJM.mjs.map} +1 -1
- package/dist/esm/chunk-XJJVJOX5.mjs +2 -0
- package/dist/esm/{chunk-53SXUNRK.mjs.map → chunk-XJJVJOX5.mjs.map} +1 -1
- package/dist/esm/chunk-XKUIMGKU.mjs +2 -0
- package/dist/esm/{chunk-55VEYGKK.mjs.map → chunk-XKUIMGKU.mjs.map} +1 -1
- package/dist/esm/chunk-YOZBVVKL.mjs +2 -0
- package/dist/esm/{chunk-BEYIOC2H.mjs.map → chunk-YOZBVVKL.mjs.map} +1 -1
- package/dist/esm/chunk-ZP4DWSQA.mjs +2 -0
- package/dist/esm/chunk-ZP4DWSQA.mjs.map +1 -0
- package/dist/esm/cli/index.d.mts +1 -1
- package/dist/esm/cli/index.mjs +1 -21
- package/dist/esm/cli/localNode.mjs +1 -17
- package/dist/esm/cli/move.d.mts +1 -1
- package/dist/esm/cli/move.mjs +1 -7
- package/dist/esm/client/core.d.mts +1 -1
- package/dist/esm/client/core.mjs +1 -31
- package/dist/esm/client/get.d.mts +1 -1
- package/dist/esm/client/get.mjs +1 -40
- package/dist/esm/client/index.d.mts +1 -1
- package/dist/esm/client/index.mjs +1 -60
- package/dist/esm/client/post.d.mts +1 -1
- package/dist/esm/client/post.mjs +1 -40
- package/dist/esm/core/account/index.d.mts +1 -1
- package/dist/esm/core/account/index.mjs +1 -21
- package/dist/esm/core/account/utils/address.d.mts +1 -1
- package/dist/esm/core/account/utils/address.mjs +1 -19
- package/dist/esm/core/account/utils/index.d.mts +1 -1
- package/dist/esm/core/account/utils/index.mjs +1 -20
- package/dist/esm/core/accountAddress.d.mts +1 -1
- package/dist/esm/core/accountAddress.mjs +1 -16
- package/dist/esm/core/authenticationKey.d.mts +1 -1
- package/dist/esm/core/authenticationKey.mjs +1 -15
- package/dist/esm/core/common.mjs +1 -7
- package/dist/esm/core/crypto/abstraction.d.mts +1 -1
- package/dist/esm/core/crypto/abstraction.mjs +1 -26
- package/dist/esm/core/crypto/deserializationUtils.d.mts +1 -1
- package/dist/esm/core/crypto/deserializationUtils.mjs +1 -64
- package/dist/esm/core/crypto/ed25519.d.mts +1 -1
- package/dist/esm/core/crypto/ed25519.mjs +1 -68
- package/dist/esm/core/crypto/ephemeral.d.mts +1 -1
- package/dist/esm/core/crypto/ephemeral.mjs +1 -64
- package/dist/esm/core/crypto/federatedKeyless.d.mts +2 -2
- package/dist/esm/core/crypto/federatedKeyless.mjs +1 -62
- package/dist/esm/core/crypto/hdKey.mjs +1 -25
- package/dist/esm/core/crypto/index.d.mts +2 -2
- package/dist/esm/core/crypto/index.mjs +1 -196
- package/dist/esm/core/crypto/keyless.d.mts +2 -2
- package/dist/esm/core/crypto/keyless.mjs +1 -110
- package/dist/esm/core/crypto/multiEd25519.d.mts +1 -1
- package/dist/esm/core/crypto/multiEd25519.mjs +1 -64
- package/dist/esm/core/crypto/multiKey.d.mts +1 -1
- package/dist/esm/core/crypto/multiKey.mjs +1 -66
- package/dist/esm/core/crypto/poseidon.mjs +1 -15
- package/dist/esm/core/crypto/privateKey.d.mts +1 -1
- package/dist/esm/core/crypto/privateKey.mjs +1 -12
- package/dist/esm/core/crypto/proof.d.mts +1 -1
- package/dist/esm/core/crypto/proof.mjs +1 -20
- package/dist/esm/core/crypto/publicKey.d.mts +1 -1
- package/dist/esm/core/crypto/publicKey.mjs +1 -22
- package/dist/esm/core/crypto/secp256k1.d.mts +1 -1
- package/dist/esm/core/crypto/secp256k1.mjs +1 -66
- package/dist/esm/core/crypto/signature.d.mts +1 -1
- package/dist/esm/core/crypto/signature.mjs +1 -20
- package/dist/esm/core/crypto/singleKey.d.mts +1 -1
- package/dist/esm/core/crypto/singleKey.mjs +1 -64
- package/dist/esm/core/crypto/types.d.mts +1 -1
- package/dist/esm/core/crypto/types.mjs +1 -1
- package/dist/esm/core/crypto/utils.d.mts +1 -1
- package/dist/esm/core/crypto/utils.mjs +1 -66
- package/dist/esm/core/hex.d.mts +1 -1
- package/dist/esm/core/hex.mjs +1 -12
- package/dist/esm/core/index.d.mts +2 -2
- package/dist/esm/core/index.mjs +1 -221
- package/dist/esm/errors/index.d.mts +1 -1
- package/dist/esm/errors/index.mjs +1 -26
- package/dist/esm/{federatedKeyless-CiyplsOB.d.mts → federatedKeyless-CUPEnP-W.d.mts} +1 -1
- package/dist/esm/index.d.mts +4 -5
- package/dist/esm/index.mjs +1 -716
- package/dist/esm/internal/abstraction.d.mts +1 -1
- package/dist/esm/internal/abstraction.mjs +1 -66
- package/dist/esm/internal/account.d.mts +2 -2
- package/dist/esm/internal/account.mjs +1 -108
- package/dist/esm/internal/ans.d.mts +2 -2
- package/dist/esm/internal/ans.mjs +1 -100
- package/dist/esm/internal/coin.d.mts +1 -1
- package/dist/esm/internal/coin.mjs +1 -62
- package/dist/esm/internal/digitalAsset.d.mts +2 -2
- package/dist/esm/internal/digitalAsset.mjs +1 -108
- package/dist/esm/internal/faucet.d.mts +1 -1
- package/dist/esm/internal/faucet.mjs +1 -62
- package/dist/esm/internal/fungibleAsset.d.mts +2 -2
- package/dist/esm/internal/fungibleAsset.mjs +1 -70
- package/dist/esm/internal/general.d.mts +1 -1
- package/dist/esm/internal/general.mjs +1 -44
- package/dist/esm/internal/keyless.d.mts +3 -3
- package/dist/esm/internal/keyless.mjs +1 -68
- package/dist/esm/internal/object.d.mts +1 -1
- package/dist/esm/internal/object.mjs +1 -64
- package/dist/esm/internal/staking.d.mts +1 -1
- package/dist/esm/internal/staking.mjs +1 -66
- package/dist/esm/internal/table.d.mts +1 -1
- package/dist/esm/internal/table.mjs +1 -39
- package/dist/esm/internal/transaction.d.mts +1 -1
- package/dist/esm/internal/transaction.mjs +1 -58
- package/dist/esm/internal/transactionSubmission.d.mts +2 -2
- package/dist/esm/internal/transactionSubmission.mjs +1 -82
- package/dist/esm/internal/utils/index.d.mts +1 -1
- package/dist/esm/internal/utils/index.mjs +1 -37
- package/dist/esm/internal/utils/utils.d.mts +1 -1
- package/dist/esm/internal/utils/utils.mjs +1 -36
- package/dist/esm/internal/view.d.mts +1 -1
- package/dist/esm/internal/view.mjs +1 -64
- package/dist/esm/transactions/authenticator/account.d.mts +1 -1
- package/dist/esm/transactions/authenticator/account.mjs +1 -74
- package/dist/esm/transactions/authenticator/index.d.mts +1 -1
- package/dist/esm/transactions/authenticator/index.mjs +1 -86
- package/dist/esm/transactions/authenticator/transaction.d.mts +1 -1
- package/dist/esm/transactions/authenticator/transaction.mjs +1 -72
- package/dist/esm/transactions/index.d.mts +1 -1
- package/dist/esm/transactions/index.mjs +1 -277
- package/dist/esm/transactions/instances/chainId.d.mts +1 -1
- package/dist/esm/transactions/instances/chainId.mjs +1 -11
- package/dist/esm/transactions/instances/identifier.d.mts +1 -1
- package/dist/esm/transactions/instances/identifier.mjs +1 -11
- package/dist/esm/transactions/instances/index.d.mts +1 -1
- package/dist/esm/transactions/instances/index.mjs +1 -119
- package/dist/esm/transactions/instances/moduleId.d.mts +1 -1
- package/dist/esm/transactions/instances/moduleId.mjs +1 -62
- package/dist/esm/transactions/instances/multiAgentTransaction.d.mts +1 -1
- package/dist/esm/transactions/instances/multiAgentTransaction.mjs +1 -62
- package/dist/esm/transactions/instances/rawTransaction.d.mts +1 -1
- package/dist/esm/transactions/instances/rawTransaction.mjs +1 -68
- package/dist/esm/transactions/instances/rotationProofChallenge.d.mts +1 -1
- package/dist/esm/transactions/instances/rotationProofChallenge.mjs +1 -21
- package/dist/esm/transactions/instances/signedTransaction.d.mts +1 -1
- package/dist/esm/transactions/instances/signedTransaction.mjs +1 -62
- package/dist/esm/transactions/instances/simpleTransaction.d.mts +1 -1
- package/dist/esm/transactions/instances/simpleTransaction.mjs +1 -62
- package/dist/esm/transactions/instances/transactionArgument.d.mts +1 -1
- package/dist/esm/transactions/instances/transactionArgument.mjs +1 -1
- package/dist/esm/transactions/instances/transactionPayload.d.mts +1 -1
- package/dist/esm/transactions/instances/transactionPayload.mjs +1 -94
- package/dist/esm/transactions/management/accountSequenceNumber.d.mts +2 -2
- package/dist/esm/transactions/management/accountSequenceNumber.mjs +1 -62
- package/dist/esm/transactions/management/asyncQueue.mjs +1 -9
- package/dist/esm/transactions/management/index.d.mts +2 -2
- package/dist/esm/transactions/management/index.mjs +1 -68
- package/dist/esm/transactions/management/transactionWorker.d.mts +2 -2
- package/dist/esm/transactions/management/transactionWorker.mjs +1 -66
- package/dist/esm/transactions/transactionBuilder/helpers.d.mts +1 -1
- package/dist/esm/transactions/transactionBuilder/helpers.mjs +1 -100
- package/dist/esm/transactions/transactionBuilder/index.d.mts +1 -1
- package/dist/esm/transactions/transactionBuilder/index.mjs +1 -148
- package/dist/esm/transactions/transactionBuilder/remoteAbi.d.mts +1 -1
- package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs +1 -76
- package/dist/esm/transactions/transactionBuilder/signingMessage.d.mts +1 -1
- package/dist/esm/transactions/transactionBuilder/signingMessage.mjs +1 -68
- package/dist/esm/transactions/transactionBuilder/transactionBuilder.d.mts +1 -1
- package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs +1 -84
- package/dist/esm/transactions/typeTag/index.d.mts +1 -1
- package/dist/esm/transactions/typeTag/index.mjs +1 -98
- package/dist/esm/transactions/typeTag/parser.d.mts +1 -1
- package/dist/esm/transactions/typeTag/parser.mjs +1 -66
- package/dist/esm/transactions/types.d.mts +1 -1
- package/dist/esm/transactions/types.mjs +1 -1
- package/dist/esm/types/abstraction.d.mts +9 -3
- package/dist/esm/types/abstraction.mjs +1 -7
- package/dist/esm/types/generated/queries.mjs +1 -65
- package/dist/esm/types/generated/types.mjs +1 -758
- package/dist/esm/types/generated/types.mjs.map +1 -1
- package/dist/esm/types/index.d.mts +1 -1
- package/dist/esm/types/index.mjs +1 -83
- package/dist/esm/types/indexer.mjs +1 -1
- package/dist/esm/types/types.d.mts +1 -1
- package/dist/esm/types/types.mjs +1 -81
- package/dist/esm/utils/apiEndpoints.mjs +1 -21
- package/dist/esm/utils/const.d.mts +2 -1
- package/dist/esm/utils/const.mjs +1 -25
- package/dist/esm/utils/helpers.d.mts +1 -1
- package/dist/esm/utils/helpers.mjs +1 -42
- package/dist/esm/utils/index.d.mts +2 -2
- package/dist/esm/utils/index.mjs +1 -93
- package/dist/esm/utils/memoize.mjs +1 -9
- package/dist/esm/utils/normalizeBundle.d.mts +1 -1
- package/dist/esm/utils/normalizeBundle.mjs +1 -20
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -7
- package/package.json +26 -26
- package/src/account/AbstractedAccount.ts +16 -3
- package/src/account/DerivableAbstractedAccount.ts +3 -1
- package/src/api/account.ts +4 -16
- package/src/api/index.ts +0 -1
- package/src/transactions/authenticator/account.ts +71 -17
- package/src/types/abstraction.ts +9 -2
- package/src/utils/const.ts +2 -0
- package/src/version.ts +1 -1
- package/dist/common/chunk-MU4IJVW5.js +0 -1390
- package/dist/common/chunk-MU4IJVW5.js.map +0 -1
- package/dist/esm/api/manager.d.mts +0 -313
- package/dist/esm/api/manager.mjs +0 -63
- package/dist/esm/chunk-2EQWS4BO.mjs +0 -15
- package/dist/esm/chunk-3WEOSEUE.mjs +0 -221
- package/dist/esm/chunk-4OAWQT57.mjs +0 -281
- package/dist/esm/chunk-53SXUNRK.mjs +0 -12
- package/dist/esm/chunk-55VEYGKK.mjs +0 -46
- package/dist/esm/chunk-6ZZZXQX5.mjs +0 -138
- package/dist/esm/chunk-A4IKXI43.mjs +0 -339
- package/dist/esm/chunk-APM7OSLS.mjs +0 -122
- package/dist/esm/chunk-BEYIOC2H.mjs +0 -34
- package/dist/esm/chunk-BQCCGCK4.mjs +0 -22
- package/dist/esm/chunk-CYKMZPCW.mjs +0 -71
- package/dist/esm/chunk-DTLPTPJW.mjs +0 -7
- package/dist/esm/chunk-DUYTCDXO.mjs +0 -29
- package/dist/esm/chunk-EPKBDH2H.mjs +0 -177
- package/dist/esm/chunk-F7W7KS5C.mjs +0 -52
- package/dist/esm/chunk-FHHBIGGL.mjs +0 -43
- package/dist/esm/chunk-FJJ3KCPC.mjs +0 -376
- package/dist/esm/chunk-GHQTJGG6.mjs +0 -196
- package/dist/esm/chunk-GREMFKLA.mjs +0 -84
- package/dist/esm/chunk-GUA5YTIK.mjs +0 -362
- package/dist/esm/chunk-HKXZMGVA.mjs +0 -73
- package/dist/esm/chunk-HXS6ZS4S.mjs +0 -16311
- package/dist/esm/chunk-HXS6ZS4S.mjs.map +0 -1
- package/dist/esm/chunk-IBRCEHIR.mjs +0 -77
- package/dist/esm/chunk-ITS22VZT.mjs +0 -48
- package/dist/esm/chunk-KJY6HBMF.mjs +0 -114
- package/dist/esm/chunk-MOQKSDHO.mjs +0 -33
- package/dist/esm/chunk-NATYEXGE.mjs +0 -45
- package/dist/esm/chunk-O3EP3HB3.mjs +0 -257
- package/dist/esm/chunk-ORIVGO5I.mjs +0 -73
- package/dist/esm/chunk-OWG3TOG6.mjs +0 -11
- package/dist/esm/chunk-OWG3TOG6.mjs.map +0 -1
- package/dist/esm/chunk-P6RWWRGG.mjs +0 -440
- package/dist/esm/chunk-PT2QHUB6.mjs +0 -96
- package/dist/esm/chunk-Q5W46UAQ.mjs +0 -123
- package/dist/esm/chunk-QIM243UU.mjs +0 -89
- package/dist/esm/chunk-QPT4BSAB.mjs +0 -20
- package/dist/esm/chunk-SAWN7RJP.mjs +0 -15
- package/dist/esm/chunk-SAWN7RJP.mjs.map +0 -1
- package/dist/esm/chunk-SBB4YEPT.mjs +0 -17
- package/dist/esm/chunk-SCWOUBOV.mjs +0 -101
- package/dist/esm/chunk-SFLQPB72.mjs +0 -63
- package/dist/esm/chunk-SQ3VDIBO.mjs +0 -47
- package/dist/esm/chunk-TPJY5GTS.mjs +0 -502
- package/dist/esm/chunk-TSXVHRQB.mjs +0 -216
- package/dist/esm/chunk-UAXZDOSV.mjs +0 -19
- package/dist/esm/chunk-UKXKN5YN.mjs +0 -72
- package/dist/esm/chunk-WZD3K77H.mjs +0 -53
- package/dist/esm/chunk-XBBBLYRH.mjs +0 -66
- package/dist/esm/chunk-YJJUYS67.mjs +0 -329
- package/src/api/manager.ts +0 -872
- package/src/internal/move/jwks/build/jwk/BuildInfo.yaml +0 -56
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/account.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/aggregator.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/aggregator_factory.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/aggregator_v2.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/aptos_account.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/aptos_coin.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/aptos_governance.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/block.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/chain_id.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/chain_status.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/code.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/coin.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/config_buffer.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/consensus_config.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/create_signer.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/delegation_pool.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/dispatchable_fungible_asset.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/dkg.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/event.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/execution_config.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/function_info.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/fungible_asset.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/gas_schedule.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/genesis.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/governance_proposal.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/guid.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/jwk_consensus_config.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/jwks.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/keyless_account.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/managed_coin.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/multisig_account.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/object.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/object_code_deployment.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/optional_aggregator.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/primary_fungible_store.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/randomness.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/randomness_api_v0_config.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/randomness_config.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/randomness_config_seqnum.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/reconfiguration.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/reconfiguration_state.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/reconfiguration_with_dkg.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/resource_account.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/stake.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/staking_config.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/staking_contract.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/staking_proxy.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/state_storage.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/storage_gas.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/system_addresses.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/timestamp.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/transaction_context.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/transaction_fee.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/transaction_validation.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/util.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/validator_consensus_info.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/version.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/vesting.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/voting.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/any.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/aptos_hash.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/big_vector.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/bls12381.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/bls12381_algebra.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/bn254_algebra.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/capability.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/comparator.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/copyable_any.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/crypto_algebra.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/debug.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/ed25519.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/fixed_point64.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/from_bcs.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/math128.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/math64.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/math_fixed.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/math_fixed64.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/multi_ed25519.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/pool_u64.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/pool_u64_unbound.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/ristretto255.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/ristretto255_bulletproofs.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/ristretto255_elgamal.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/ristretto255_pedersen.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/secp256k1.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/simple_map.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/smart_table.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/smart_vector.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/string_utils.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/table.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/table_with_length.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/type_info.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/acl.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/bcs.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/bit_vector.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/error.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/features.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/fixed_point32.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/hash.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/option.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/signer.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/string.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/vector.mv +0 -0
- package/src/internal/move/jwks/build/jwk/bytecode_scripts/main.mv +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/account.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/aggregator.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/aggregator_factory.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/aggregator_v2.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/aptos_account.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/aptos_coin.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/aptos_governance.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/block.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/chain_id.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/chain_status.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/code.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/coin.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/config_buffer.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/consensus_config.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/create_signer.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/delegation_pool.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/dispatchable_fungible_asset.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/dkg.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/event.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/execution_config.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/function_info.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/fungible_asset.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/gas_schedule.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/genesis.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/governance_proposal.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/guid.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/jwk_consensus_config.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/jwks.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/keyless_account.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/managed_coin.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/multisig_account.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/object.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/object_code_deployment.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/optional_aggregator.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/primary_fungible_store.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/randomness.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/randomness_api_v0_config.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/randomness_config.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/randomness_config_seqnum.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/reconfiguration.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/reconfiguration_state.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/reconfiguration_with_dkg.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/resource_account.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/stake.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/staking_config.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/staking_contract.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/staking_proxy.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/state_storage.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/storage_gas.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/system_addresses.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/timestamp.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/transaction_context.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/transaction_fee.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/transaction_validation.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/util.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/validator_consensus_info.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/version.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/vesting.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/voting.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/any.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/aptos_hash.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/big_vector.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/bls12381.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/bls12381_algebra.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/bn254_algebra.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/capability.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/comparator.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/copyable_any.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/crypto_algebra.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/debug.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/ed25519.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/fixed_point64.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/from_bcs.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/math128.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/math64.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/math_fixed.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/math_fixed64.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/multi_ed25519.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/pool_u64.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/pool_u64_unbound.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/ristretto255.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/ristretto255_bulletproofs.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/ristretto255_elgamal.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/ristretto255_pedersen.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/secp256k1.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/simple_map.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/smart_table.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/smart_vector.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/string_utils.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/table.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/table_with_length.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/type_info.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/acl.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/bcs.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/bit_vector.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/error.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/features.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/fixed_point32.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/hash.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/option.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/signer.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/string.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/vector.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/source_maps/main.mvsm +0 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/account.move +0 -1533
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aggregator.move +0 -48
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aggregator_factory.move +0 -66
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aggregator_v2.move +0 -280
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aptos_account.move +0 -443
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aptos_coin.move +0 -204
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aptos_governance.move +0 -1387
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/block.move +0 -394
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/chain_id.move +0 -41
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/chain_status.move +0 -48
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/code.move +0 -367
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/coin.move +0 -2214
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/config_buffer.move +0 -101
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/consensus_config.move +0 -77
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/create_signer.move +0 -21
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/delegation_pool.move +0 -5568
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/dispatchable_fungible_asset.move +0 -228
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/dkg.move +0 -121
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/event.move +0 -92
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/execution_config.move +0 -66
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/function_info.move +0 -100
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/fungible_asset.move +0 -1566
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/gas_schedule.move +0 -176
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/genesis.move +0 -550
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/governance_proposal.move +0 -23
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/guid.move +0 -68
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/jwk_consensus_config.move +0 -148
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/jwks.move +0 -817
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/keyless_account.move +0 -312
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/managed_coin.move +0 -205
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/multisig_account.move +0 -2477
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/object.move +0 -1073
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/object_code_deployment.move +0 -147
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/optional_aggregator.move +0 -295
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/primary_fungible_store.move +0 -405
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/randomness.move +0 -574
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/randomness_api_v0_config.move +0 -57
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/randomness_config.move +0 -153
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/randomness_config_seqnum.move +0 -49
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/reconfiguration.move +0 -237
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/reconfiguration_state.move +0 -132
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/reconfiguration_with_dkg.move +0 -69
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/resource_account.move +0 -267
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/stake.move +0 -3286
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/staking_config.move +0 -686
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/staking_contract.move +0 -1618
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/staking_proxy.move +0 -228
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/state_storage.move +0 -90
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/storage_gas.move +0 -622
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/system_addresses.move +0 -82
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/timestamp.move +0 -88
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/transaction_context.move +0 -262
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/transaction_fee.move +0 -457
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/transaction_validation.move +0 -501
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/util.move +0 -16
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/validator_consensus_info.move +0 -42
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/version.move +0 -115
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/vesting.move +0 -2183
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/voting.move +0 -1279
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/any.move +0 -57
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/aptos_hash.move +0 -253
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/big_vector.move +0 -469
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/bls12381.move +0 -985
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/bls12381_algebra.move +0 -802
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/bn254_algebra.move +0 -855
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/capability.move +0 -193
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/comparator.move +0 -173
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/copyable_any.move +0 -45
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/crypto_algebra.move +0 -351
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/debug.move +0 -278
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/ed25519.move +0 -262
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/fixed_point64.move +0 -447
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/from_bcs.move +0 -91
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/math128.move +0 -381
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/math64.move +0 -336
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/math_fixed.move +0 -139
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/math_fixed64.move +0 -142
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/multi_ed25519.move +0 -482
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/pool_u64.move +0 -571
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/pool_u64_unbound.move +0 -270
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/ristretto255.move +0 -1310
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/ristretto255_bulletproofs.move +0 -253
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/ristretto255_elgamal.move +0 -234
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/ristretto255_pedersen.move +0 -158
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/secp256k1.move +0 -114
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/simple_map.move +0 -319
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/smart_table.move +0 -769
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/smart_vector.move +0 -766
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/string_utils.move +0 -148
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/table.move +0 -152
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/table_with_length.move +0 -141
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/type_info.move +0 -351
- package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/acl.move +0 -46
- package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/bcs.move +0 -27
- package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/bit_vector.move +0 -239
- package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/error.move +0 -88
- package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/features.move +0 -780
- package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/fixed_point32.move +0 -295
- package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/hash.move +0 -8
- package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/option.move +0 -356
- package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/signer.move +0 -21
- package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/string.move +0 -93
- package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/vector.move +0 -669
- package/src/internal/move/jwks/build/jwk/sources/main.move +0 -20
- /package/dist/esm/{api/manager.mjs.map → chunk-KDMSOCZY.mjs.map} +0 -0
package/dist/common/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as AccountAddress, a as AccountPublicKey, b as AuthenticationKey, V as VerifySignatureArgs, c as VerifySignatureAsyncArgs, S as Serializer, d as Signature, H as HexInput, D as Deserializer, P as PublicKey, E as EphemeralPublicKeyVariant, e as AptosConfig, f as Serializable, g as EphemeralCertificateVariant, Z as ZkpVariant, L as LedgerVersionArg, h as AccountAddressInput, i as Ed25519PublicKey, j as AnyPublicKey, M as MultiKey, k as MultiEd25519PublicKey, l as Ed25519Signature, m as MultiEd25519Signature, n as AccountAuthenticator, o as MoveString, p as MoveVector, U as U8, q as U64, r as AnyNumber, R as RawTransaction, s as SimpleEntryFunctionArgumentTypes, t as EntryFunctionArgumentTypes, B as Bool, F as FixedBytes, u as U16, v as U32, w as U128, x as U256, I as InputGenerateTransactionPayloadDataWithRemoteABI, y as InputGenerateTransactionPayloadData, z as InputScriptData, C as MoveFunction, T as TransactionPayloadScript, G as InputEntryFunctionDataWithRemoteABI, J as TransactionPayloadEntryFunction, K as InputMultiSigDataWithRemoteABI, N as TransactionPayloadMultiSig, O as InputEntryFunctionDataWithABI, Q as InputMultiSigDataWithABI, W as InputViewFunctionDataWithRemoteABI, X as EntryFunction, Y as InputViewFunctionDataWithABI, _ as AnyTransactionPayloadInstance, $ as InputGenerateTransactionOptions, a0 as TransactionInnerPayload, a1 as InputGenerateSingleSignerRawTransactionArgs, a2 as SimpleTransaction, a3 as InputGenerateMultiAgentRawTransactionArgs, a4 as MultiAgentTransaction, a5 as InputSimulateTransactionData, a6 as AccountAuthenticatorNoAccountAuthenticator, a7 as AccountAuthenticatorEd25519, a8 as AccountAuthenticatorSingleKey, a9 as AccountAuthenticatorMultiKey, aa as InputSubmitTransactionData, ab as TypeArgument, ac as TypeTag, ad as MoveModule, ae as FunctionABI, af as EntryFunctionABI, ag as ViewFunctionABI, ah as AnyRawTransaction, ai as AnyRawTransactionInstance, aj as AccountData, ak as MoveModuleBytecode, al as CursorPaginationArgs, am as PaginationArgs, an as TransactionResponse, ao as MoveResource, ap as MoveStructId, aq as TokenStandardArg, ar as OrderByArg, as as GetAccountOwnedTokensQueryResponse, at as GetAccountOwnedTokensFromCollectionResponse, au as GetAccountCollectionsWithOwnedTokenResponse, av as GetAccountCoinsDataResponse, aw as WhereArg, ax as GetObjectDataQueryResponse, ay as PrivateKeyInput, az as GetCollectionDataResponse, aA as GetTokenDataResponse, aB as GetCurrentTokenOwnershipResponse, aC as GetOwnedTokensResponse, aD as GetTokenActivityResponse, aE as WaitForTransactionOptions, aF as UserTransactionResponse, aG as GetFungibleAssetMetadataResponse, aH as GetFungibleAssetActivitiesResponse, aI as GetCurrentFungibleAssetBalancesResponse, aJ as LedgerInfo, aK as Block, aL as MoveValue, aM as InputViewFunctionData, aN as InputViewFunctionJsonData, aO as GetChainTopUserTransactionsResponse, aP as GraphqlQuery, aQ as ProcessorType, aR as GetProcessorStatusResponse, aS as GetANSNameResponse, aT as GetNumberOfDelegatorsResponse, aU as GetDelegatedStakingActivitiesResponse, aV as InputSimulateTransactionOptions, aW as InputTransactionPluginData, aX as PendingTransactionResponse, aY as CommittedTransactionResponse, aZ as GasEstimation, a_ as Ed25519PrivateKey, a$ as TableItemRequest, b0 as GetTableItemsDataResponse, b1 as GetTableItemsMetadataResponse, b2 as PrivateKey, b3 as SigningScheme, b4 as SigningSchemeInput, b5 as AnySignature, b6 as
|
|
2
|
-
export {
|
|
1
|
+
import { A as AccountAddress, a as AccountPublicKey, b as AuthenticationKey, V as VerifySignatureArgs, c as VerifySignatureAsyncArgs, S as Serializer, d as Signature, H as HexInput, D as Deserializer, P as PublicKey, E as EphemeralPublicKeyVariant, e as AptosConfig, f as Serializable, g as EphemeralCertificateVariant, Z as ZkpVariant, L as LedgerVersionArg, h as AccountAddressInput, i as Ed25519PublicKey, j as AnyPublicKey, M as MultiKey, k as MultiEd25519PublicKey, l as Ed25519Signature, m as MultiEd25519Signature, n as AccountAuthenticator, o as MoveString, p as MoveVector, U as U8, q as U64, r as AnyNumber, R as RawTransaction, s as SimpleEntryFunctionArgumentTypes, t as EntryFunctionArgumentTypes, B as Bool, F as FixedBytes, u as U16, v as U32, w as U128, x as U256, I as InputGenerateTransactionPayloadDataWithRemoteABI, y as InputGenerateTransactionPayloadData, z as InputScriptData, C as MoveFunction, T as TransactionPayloadScript, G as InputEntryFunctionDataWithRemoteABI, J as TransactionPayloadEntryFunction, K as InputMultiSigDataWithRemoteABI, N as TransactionPayloadMultiSig, O as InputEntryFunctionDataWithABI, Q as InputMultiSigDataWithABI, W as InputViewFunctionDataWithRemoteABI, X as EntryFunction, Y as InputViewFunctionDataWithABI, _ as AnyTransactionPayloadInstance, $ as InputGenerateTransactionOptions, a0 as TransactionInnerPayload, a1 as InputGenerateSingleSignerRawTransactionArgs, a2 as SimpleTransaction, a3 as InputGenerateMultiAgentRawTransactionArgs, a4 as MultiAgentTransaction, a5 as InputSimulateTransactionData, a6 as AccountAuthenticatorNoAccountAuthenticator, a7 as AccountAuthenticatorEd25519, a8 as AccountAuthenticatorSingleKey, a9 as AccountAuthenticatorMultiKey, aa as InputSubmitTransactionData, ab as TypeArgument, ac as TypeTag, ad as MoveModule, ae as FunctionABI, af as EntryFunctionABI, ag as ViewFunctionABI, ah as AnyRawTransaction, ai as AnyRawTransactionInstance, aj as AccountData, ak as MoveModuleBytecode, al as CursorPaginationArgs, am as PaginationArgs, an as TransactionResponse, ao as MoveResource, ap as MoveStructId, aq as TokenStandardArg, ar as OrderByArg, as as GetAccountOwnedTokensQueryResponse, at as GetAccountOwnedTokensFromCollectionResponse, au as GetAccountCollectionsWithOwnedTokenResponse, av as GetAccountCoinsDataResponse, aw as WhereArg, ax as GetObjectDataQueryResponse, ay as PrivateKeyInput, az as GetCollectionDataResponse, aA as GetTokenDataResponse, aB as GetCurrentTokenOwnershipResponse, aC as GetOwnedTokensResponse, aD as GetTokenActivityResponse, aE as WaitForTransactionOptions, aF as UserTransactionResponse, aG as GetFungibleAssetMetadataResponse, aH as GetFungibleAssetActivitiesResponse, aI as GetCurrentFungibleAssetBalancesResponse, aJ as LedgerInfo, aK as Block, aL as MoveValue, aM as InputViewFunctionData, aN as InputViewFunctionJsonData, aO as GetChainTopUserTransactionsResponse, aP as GraphqlQuery, aQ as ProcessorType, aR as GetProcessorStatusResponse, aS as GetANSNameResponse, aT as GetNumberOfDelegatorsResponse, aU as GetDelegatedStakingActivitiesResponse, aV as InputSimulateTransactionOptions, aW as InputTransactionPluginData, aX as PendingTransactionResponse, aY as CommittedTransactionResponse, aZ as GasEstimation, a_ as Ed25519PrivateKey, a$ as TableItemRequest, b0 as GetTableItemsDataResponse, b1 as GetTableItemsMetadataResponse, b2 as PrivateKey, b3 as SigningScheme, b4 as SigningSchemeInput, b5 as AnySignature, b6 as EntryFunctionArgument, b7 as MultiKeySignature, b8 as AccountAuthenticatorMultiEd25519, b9 as AccountAuthenticatorAbstraction, ba as MoveFunctionId, bb as ClientRequest, bc as Client, bd as ClientResponse, be as AptosRequest, bf as AptosApiType, bg as AptosResponse, bh as MimeType, bi as ClientConfig } from './account-BDwBREvt.js';
|
|
2
|
+
export { ef as ACCOUNT_ABSTRACTION_SIGNING_DATA_SALT, eb as APTOS_COIN, ec as APTOS_FA, bt as AbstractMultiKey, bA as AccountAbstractionMessage, cz as AccountAuthenticatorVariant, dz as AccountSignature, bp as AddressInvalidReason, cB as AnyPublicKeyVariant, cD as AnySignatureVariant, cL as AptosSettings, dX as AuthenticationKeyScheme, d4 as BlockEndInfo, d5 as BlockEpilogueTransactionResponse, d1 as BlockMetadataTransactionResponse, bB as ChainId, cQ as ClientHeadersType, e8 as DEFAULT_MAX_GAS_AMOUNT, e9 as DEFAULT_TXN_EXP_SEC_FROM_NOW, ea as DEFAULT_TXN_TIMEOUT_SEC, dd as DecodedTableData, de as DeletedTableData, dY as DeriveScheme, bj as Deserializable, dC as DirectWriteSet, dg as EntryFunctionPayloadResponse, cE as EphemeralSignatureVariant, dE as Event, dD as EventGuid, eg as FIREBASE_AUTH_ISS_PATTERN, cO as FaucetConfig, bG as FeePayerRawTransaction, cM as FullNodeConfig, d$ as GenerateAccount, dZ as GenerateAccountWithEd25519, d_ as GenerateAccountWithSingleSignerSecp256k1Key, dj as GenesisPayload, d0 as GenesisTransactionResponse, cm as GetAccountAddressesForAuthKeyResponse, cn as GetEventsResponse, by as Hex, bx as HexInvalidReason, bC as Identifier, cN as IndexerConfig, ce as InputEntryFunctionData, ck as InputGenerateMultiAgentRawTransactionData, cd as InputGenerateOrderlessTransactionOptions, ci as InputGenerateRawTransactionArgs, cc as InputGenerateSequenceNumberTransactionOptions, cj as InputGenerateSingleSignerRawTransactionData, cl as InputGenerateTransactionData, cf as InputGenerateTransactionPayloadDataWithABI, cg as InputMultiSigData, bD as ModuleId, dS as MoveAbility, dL as MoveAddressType, dT as MoveFunctionGenericTypeParam, dR as MoveFunctionVisibility, dQ as MoveModuleId, dM as MoveObjectType, bo as MoveOption, dN as MoveOptionType, dk as MoveScriptBytecode, dV as MoveStruct, dU as MoveStructField, dO as MoveStructType, dP as MoveType, dJ as MoveUint128Type, dG as MoveUint16Type, dK as MoveUint256Type, dH as MoveUint32Type, dI as MoveUint64Type, dF as MoveUint8Type, bF as MultiAgentRawTransaction, bM as MultiSig, bN as MultiSigTransactionPayload, di as MultisigPayloadResponse, e5 as Network, e6 as NetworkToChainId, e2 as NetworkToFaucetAPI, e0 as NetworkToIndexerAPI, e7 as NetworkToNetworkName, e1 as NetworkToNodeAPI, e3 as NetworkToPepperAPI, e4 as NetworkToProverAPI, co as OrderBy, cp as OrderByValue, bq as ParsingError, br as ParsingResult, cR as PluginConfig, cS as PluginSettings, cA as PrivateKeyVariants, ed as RAW_TRANSACTION_SALT, ee as RAW_TRANSACTION_WITH_DATA_SALT, bE as RawTransactionWithData, dW as RoleType, bL as Script, bI as ScriptFunctionArgument, cb as ScriptFunctionArgumentTypes, dh as ScriptPayloadResponse, cs as ScriptTransactionArgumentVariants, dB as ScriptWriteSet, bv as Secp256k1PrivateKey, bu as Secp256k1PublicKey, bw as Secp256k1Signature, bn as Serialized, d2 as StateCheckpointTransactionResponse, c6 as StructTag, cq as TokenStandard, bH as TransactionArgument, cy as TransactionAuthenticatorVariant, dt as TransactionEd25519Signature, bP as TransactionExecutable, bS as TransactionExecutableEmpty, bR as TransactionExecutableEntryFunction, bQ as TransactionExecutableScript, cv as TransactionExecutableVariants, bT as TransactionExtraConfig, bU as TransactionExtraConfigV1, cw as TransactionExtraConfigVariants, dy as TransactionFeePayerSignature, cP as TransactionGenerationConfig, bO as TransactionInnerPayloadV1, cu as TransactionInnerPayloadVariants, dx as TransactionMultiAgentSignature, dw as TransactionMultiEd25519Signature, bK as TransactionPayload, df as TransactionPayloadResponse, ct as TransactionPayloadVariants, cU as TransactionResponseType, du as TransactionSecp256k1Signature, dl as TransactionSignature, dv as TransactionSingleSenderSignature, cT as TransactionSubmitter, cx as TransactionVariants, c0 as TypeTagAddress, bV as TypeTagBool, c3 as TypeTagGeneric, c2 as TypeTagReference, c1 as TypeTagSigner, c5 as TypeTagStruct, b_ as TypeTagU128, bX as TypeTagU16, b$ as TypeTagU256, bY as TypeTagU32, bZ as TypeTagU64, bW as TypeTagU8, cr as TypeTagVariants, c4 as TypeTagVector, cJ as Uint128, cG as Uint16, cK as Uint256, cH as Uint32, cI as Uint64, cF as Uint8, d3 as ValidatorTransactionResponse, ch as ViewFunctionJsonPayload, dA as WriteSet, d6 as WriteSetChange, d7 as WriteSetChangeDeleteModule, d8 as WriteSetChangeDeleteResource, d9 as WriteSetChangeDeleteTableItem, da as WriteSetChangeWriteModule, db as WriteSetChangeWriteResource, dc as WriteSetChangeWriteTableItem, cC as anyPublicKeyVariantToString, c7 as aptosCoinStructTag, bJ as deserializeFromScriptArgument, bk as ensureBoolean, bz as hexToAsciiString, c$ as isBlockEpilogueTransactionResponse, cY as isBlockMetadataTransactionResponse, bs as isCanonicalEd25519Signature, dm as isEd25519Signature, dq as isFeePayerSignature, cX as isGenesisTransactionResponse, dp as isMultiAgentSignature, dr as isMultiEd25519Signature, cV as isPendingTransactionResponse, dn as isSecp256k1Signature, ds as isSingleSenderSignature, cZ as isStateCheckpointTransactionResponse, cW as isUserTransactionResponse, c_ as isValidatorTransactionResponse, ca as objectStructTag, c9 as optionStructTag, bl as outOfRangeErrorMessage, c8 as stringStructTag, bm as validateNumberInRange } from './account-BDwBREvt.js';
|
|
3
3
|
import { ProjPointType } from '@noble/curves/abstract/weierstrass';
|
|
4
4
|
import { Fp2 } from '@noble/curves/abstract/tower';
|
|
5
5
|
import EventEmitter from 'eventemitter3';
|
|
@@ -3179,9 +3179,6 @@ declare class Account$1 {
|
|
|
3179
3179
|
* is specified.
|
|
3180
3180
|
* @param args.faMetadataAddress The fungible asset metadata address to query. Note: If not provided, it may be automatically
|
|
3181
3181
|
* populated if `coinType` is specified.
|
|
3182
|
-
* @param args.minimumLedgerVersion Not used anymore, here for backward compatibility
|
|
3183
|
-
* see https://github.com/aptos-labs/aptos-ts-sdk/pull/519, will be removed in the near future.
|
|
3184
|
-
* Optional ledger version to sync up to before querying.
|
|
3185
3182
|
* @returns The current amount of the specified coin held by the account.
|
|
3186
3183
|
*
|
|
3187
3184
|
* @example
|
|
@@ -3208,7 +3205,6 @@ declare class Account$1 {
|
|
|
3208
3205
|
accountAddress: AccountAddressInput;
|
|
3209
3206
|
coinType?: MoveStructId;
|
|
3210
3207
|
faMetadataAddress?: AccountAddressInput;
|
|
3211
|
-
minimumLedgerVersion?: AnyNumber;
|
|
3212
3208
|
}): Promise<number>;
|
|
3213
3209
|
/**
|
|
3214
3210
|
* Queries an account's owned objects.
|
|
@@ -8991,462 +8987,6 @@ declare class Aptos {
|
|
|
8991
8987
|
interface Aptos extends Account$1, ANS, Coin, DigitalAsset, Event, Faucet, FungibleAsset, General, Keyless, Staking, Table, AptosObject, Omit<Transaction, "build" | "simulate" | "submit" | "batch"> {
|
|
8992
8988
|
}
|
|
8993
8989
|
|
|
8994
|
-
/**
|
|
8995
|
-
* @group Implementation
|
|
8996
|
-
* @category Utils
|
|
8997
|
-
*/
|
|
8998
|
-
type DeserializableClass<T extends Serializable> = {
|
|
8999
|
-
/**
|
|
9000
|
-
* Deserializes a serialized object using the provided deserializer.
|
|
9001
|
-
* This function allows you to reconstruct an object from its serialized form.
|
|
9002
|
-
*
|
|
9003
|
-
* @param deserializer - An instance of the Deserializer used to read the serialized data.
|
|
9004
|
-
* @group Implementation
|
|
9005
|
-
* @category Utils
|
|
9006
|
-
*/
|
|
9007
|
-
deserialize(deserializer: Deserializer): T;
|
|
9008
|
-
};
|
|
9009
|
-
/**
|
|
9010
|
-
* Normalizes an instance of a class by deserializing it from its byte representation.
|
|
9011
|
-
* This function allows the `instanceof` operator to work correctly when the input objects originate from a different bundle.
|
|
9012
|
-
*
|
|
9013
|
-
* @param cls - The class of the object to normalize.
|
|
9014
|
-
* @param value - The instance to normalize.
|
|
9015
|
-
* @group Implementation
|
|
9016
|
-
* @category Utils
|
|
9017
|
-
*/
|
|
9018
|
-
declare function normalizeBundle<T extends Serializable>(cls: DeserializableClass<T>, value: T): T;
|
|
9019
|
-
|
|
9020
|
-
/**
|
|
9021
|
-
* Sleep for the specified amount of time in milliseconds.
|
|
9022
|
-
* This function can be used to introduce delays in asynchronous operations.
|
|
9023
|
-
*
|
|
9024
|
-
* @param timeMs - The time in milliseconds to sleep.
|
|
9025
|
-
* @group Implementation
|
|
9026
|
-
* @category Utils
|
|
9027
|
-
*/
|
|
9028
|
-
declare function sleep(timeMs: number): Promise<null>;
|
|
9029
|
-
/**
|
|
9030
|
-
* Get the error message from an unknown error.
|
|
9031
|
-
*
|
|
9032
|
-
* @param error The error to get the message from
|
|
9033
|
-
* @returns The error message
|
|
9034
|
-
* @group Implementation
|
|
9035
|
-
* @category Utils
|
|
9036
|
-
*/
|
|
9037
|
-
declare function getErrorMessage(error: unknown): string;
|
|
9038
|
-
/**
|
|
9039
|
-
* @group Implementation
|
|
9040
|
-
* @category Utils
|
|
9041
|
-
*/
|
|
9042
|
-
declare const nowInSeconds: () => number;
|
|
9043
|
-
/**
|
|
9044
|
-
* Floors the given timestamp to the nearest whole hour.
|
|
9045
|
-
* This function is useful for normalizing timestamps to hourly intervals.
|
|
9046
|
-
*
|
|
9047
|
-
* @param timestampInSeconds - The timestamp in seconds to be floored.
|
|
9048
|
-
* @group Implementation
|
|
9049
|
-
* @category Utils
|
|
9050
|
-
*/
|
|
9051
|
-
declare function floorToWholeHour(timestampInSeconds: number): number;
|
|
9052
|
-
/**
|
|
9053
|
-
* Decodes a base64 URL-encoded string into its original form.
|
|
9054
|
-
* This function is useful for converting base64 URL-encoded data back to a readable format.
|
|
9055
|
-
*
|
|
9056
|
-
* @param base64Url - The base64 URL-encoded string to decode.
|
|
9057
|
-
* @returns The decoded string.
|
|
9058
|
-
* @group Implementation
|
|
9059
|
-
* @category Utils
|
|
9060
|
-
*/
|
|
9061
|
-
declare function base64UrlDecode(base64Url: string): string;
|
|
9062
|
-
declare function base64UrlToBytes(base64Url: string): Uint8Array;
|
|
9063
|
-
/**
|
|
9064
|
-
* Amount is represented in the smallest unit format on chain, this function converts
|
|
9065
|
-
* a human-readable amount format to the smallest unit format
|
|
9066
|
-
* @example
|
|
9067
|
-
* human-readable amount format: 500
|
|
9068
|
-
* on chain amount format when decimal is 8: 50000000000
|
|
9069
|
-
*
|
|
9070
|
-
* @param value The value in human-readable format
|
|
9071
|
-
* @param decimal The token decimal
|
|
9072
|
-
* @returns The value in the smallest units
|
|
9073
|
-
* @group Implementation
|
|
9074
|
-
* @category Utils
|
|
9075
|
-
*/
|
|
9076
|
-
declare const convertAmountFromHumanReadableToOnChain: (value: number, decimal: number) => number;
|
|
9077
|
-
/**
|
|
9078
|
-
* Amount is represented in the smallest unit format on chain, this function converts
|
|
9079
|
-
* the smallest unit format to a human-readable amount format
|
|
9080
|
-
* @example
|
|
9081
|
-
* human-readable amount format: 500
|
|
9082
|
-
* on chain amount format when decimal is 8: 50000000000
|
|
9083
|
-
*
|
|
9084
|
-
* @param value The value in human-readable format
|
|
9085
|
-
* @param decimal The token decimal
|
|
9086
|
-
* @returns The value in the smallest units
|
|
9087
|
-
* @group Implementation
|
|
9088
|
-
* @category Utils
|
|
9089
|
-
*/
|
|
9090
|
-
declare const convertAmountFromOnChainToHumanReadable: (value: number, decimal: number) => number;
|
|
9091
|
-
/**
|
|
9092
|
-
* Convert an encoded struct to a MoveStructId.
|
|
9093
|
-
*
|
|
9094
|
-
* @example
|
|
9095
|
-
* const structObj = {
|
|
9096
|
-
* account_address: "0x1",
|
|
9097
|
-
* module_name: "0x6170746f735f636f696e",
|
|
9098
|
-
* struct_name: "0x4170746f73436f696e",
|
|
9099
|
-
* };
|
|
9100
|
-
* // structId is "0x1::aptos_coin::AptosCoin"
|
|
9101
|
-
* const structId = parseEncodedStruct(structObj);
|
|
9102
|
-
*
|
|
9103
|
-
* @param structObj The struct with account_address, module_name, and struct_name properties
|
|
9104
|
-
* @returns The MoveStructId
|
|
9105
|
-
* @group Implementation
|
|
9106
|
-
* @category Utils
|
|
9107
|
-
*/
|
|
9108
|
-
declare const parseEncodedStruct: (structObj: {
|
|
9109
|
-
account_address: string;
|
|
9110
|
-
module_name: string;
|
|
9111
|
-
struct_name: string;
|
|
9112
|
-
}) => MoveStructId;
|
|
9113
|
-
/**
|
|
9114
|
-
* Determines whether the given object is an encoded struct type with the following properties:
|
|
9115
|
-
* - account_address: string
|
|
9116
|
-
* - module_name: string
|
|
9117
|
-
* - struct_name: string
|
|
9118
|
-
*
|
|
9119
|
-
* @param structObj The object to check
|
|
9120
|
-
* @returns Whether the object is an encoded struct type
|
|
9121
|
-
* @group Implementation
|
|
9122
|
-
* @category Utils
|
|
9123
|
-
*/
|
|
9124
|
-
declare const isEncodedStruct: (structObj: any) => structObj is {
|
|
9125
|
-
account_address: string;
|
|
9126
|
-
module_name: string;
|
|
9127
|
-
struct_name: string;
|
|
9128
|
-
};
|
|
9129
|
-
/**
|
|
9130
|
-
* Splits a function identifier into its constituent parts: module address, module name, and function name.
|
|
9131
|
-
* This function helps in validating and extracting details from a function identifier string.
|
|
9132
|
-
*
|
|
9133
|
-
* @param functionArg - The function identifier string in the format "moduleAddress::moduleName::functionName".
|
|
9134
|
-
* @returns An object containing the module address, module name, and function name.
|
|
9135
|
-
* @throws Error if the function identifier does not contain exactly three parts.
|
|
9136
|
-
* @group Implementation
|
|
9137
|
-
* @category Transactions
|
|
9138
|
-
*/
|
|
9139
|
-
declare function getFunctionParts(functionArg: MoveFunctionId): {
|
|
9140
|
-
moduleAddress: string;
|
|
9141
|
-
moduleName: string;
|
|
9142
|
-
functionName: string;
|
|
9143
|
-
};
|
|
9144
|
-
/**
|
|
9145
|
-
* Validates the provided function information.
|
|
9146
|
-
*
|
|
9147
|
-
* @param functionInfo - The function information to validate.
|
|
9148
|
-
* @returns Whether the function information is valid.
|
|
9149
|
-
* @group Implementation
|
|
9150
|
-
* @category Utils
|
|
9151
|
-
*/
|
|
9152
|
-
declare function isValidFunctionInfo(functionInfo: string): boolean;
|
|
9153
|
-
/**
|
|
9154
|
-
* Truncates the provided wallet address at the middle with an ellipsis.
|
|
9155
|
-
*
|
|
9156
|
-
* @param address - The wallet address to truncate.
|
|
9157
|
-
* @param start - The number of characters to show at the beginning of the address.
|
|
9158
|
-
* @param end - The number of characters to show at the end of the address.
|
|
9159
|
-
* @returns The truncated address.
|
|
9160
|
-
* @group Implementation
|
|
9161
|
-
* @category Utils
|
|
9162
|
-
*/
|
|
9163
|
-
declare function truncateAddress(address: string, start?: number, end?: number): string;
|
|
9164
|
-
/**
|
|
9165
|
-
* Calculates the paired FA metadata address for a given coin type.
|
|
9166
|
-
* This function is tolerant of various address formats in the coin type string,
|
|
9167
|
-
* including complex nested types.
|
|
9168
|
-
*
|
|
9169
|
-
* @example
|
|
9170
|
-
* // All these formats are valid and will produce the same result:
|
|
9171
|
-
* pairedFaMetadataAddress("0x1::aptos_coin::AptosCoin") // simple form
|
|
9172
|
-
* pairedFaMetadataAddress("0x0000000000000000000000000000000000000000000000000000000000000001::aptos_coin::AptosCoin") // long form
|
|
9173
|
-
* pairedFaMetadataAddress("0x00001::aptos_coin::AptosCoin") // with leading zeros
|
|
9174
|
-
* pairedFaMetadataAddress("0x1::coin::Coin<0x1412::a::struct<0x0001::aptos_coin::AptosCoin>>") // nested type parameters
|
|
9175
|
-
*
|
|
9176
|
-
* @param coinType - The coin type string in any of these formats:
|
|
9177
|
-
* - Short form address: "0x1::aptos_coin::AptosCoin"
|
|
9178
|
-
* - Long form address: "0x0000000000000000000000000000000000000000000000000000000000000001::aptos_coin::AptosCoin"
|
|
9179
|
-
* - With leading zeros: "0x00001::aptos_coin::AptosCoin"
|
|
9180
|
-
* - With nested types: "0x1::coin::Coin<0x1412::a::struct<0x0001::aptos_coin::AptosCoin>>"
|
|
9181
|
-
* @returns The calculated metadata address as an AccountAddress instance
|
|
9182
|
-
*/
|
|
9183
|
-
declare function pairedFaMetadataAddress(coinType: `0x${string}::${string}::${string}`): AccountAddress;
|
|
9184
|
-
|
|
9185
|
-
type FunctionsWithReturnType<T, ReturnType> = {
|
|
9186
|
-
[K in keyof T]: T[K] extends (...args: any[]) => ReturnType ? T[K] extends <M extends {} = any>(...args: any[]) => Promise<M> ? never : K : never;
|
|
9187
|
-
}[keyof T];
|
|
9188
|
-
type RemoveSender<T> = T extends (args: infer Args) => infer Return ? Args extends {
|
|
9189
|
-
sender?: any;
|
|
9190
|
-
account?: any;
|
|
9191
|
-
creator?: any;
|
|
9192
|
-
[key: string]: any;
|
|
9193
|
-
} ? (args: Omit<Args, "sender" | "account" | "creator" | "fromAccount">) => Return : T : T;
|
|
9194
|
-
type TransformReturnType<T> = T extends (...args: infer Args) => Promise<SimpleTransaction> ? (...args: Args) => TransactionContext : T;
|
|
9195
|
-
type SimpleTransactionGenerator = {
|
|
9196
|
-
[K in FunctionsWithReturnType<Aptos, Promise<SimpleTransaction>>]: TransformReturnType<RemoveSender<Aptos[K]>>;
|
|
9197
|
-
};
|
|
9198
|
-
type TransactionGenerationArgs = {
|
|
9199
|
-
sender: Account;
|
|
9200
|
-
options: InputGenerateTransactionOptions;
|
|
9201
|
-
aptos: Aptos;
|
|
9202
|
-
};
|
|
9203
|
-
type TransactionGenerationFunction = (args: TransactionGenerationArgs) => Promise<SimpleTransaction>;
|
|
9204
|
-
declare class TransactionContext {
|
|
9205
|
-
senderAccount?: Account;
|
|
9206
|
-
transactionGenerationFunction: TransactionGenerationFunction;
|
|
9207
|
-
maxGasAmountVal: number;
|
|
9208
|
-
gasUnitPriceVal: number | undefined;
|
|
9209
|
-
defaultTxnExpirySecsFromNow: number;
|
|
9210
|
-
txnExpirySecsFromNow?: number;
|
|
9211
|
-
withFeePayerBool: boolean;
|
|
9212
|
-
expiryTimestampSecsVal?: number;
|
|
9213
|
-
orderMode?: OrderMode;
|
|
9214
|
-
accountSequenceNumberVal: AnyNumber | undefined;
|
|
9215
|
-
replayProtectionNonceVal: AnyNumber | undefined;
|
|
9216
|
-
pluginParams?: Record<string, any>;
|
|
9217
|
-
transactionSubmitter?: TransactionSubmitter | null;
|
|
9218
|
-
aptos: Aptos;
|
|
9219
|
-
timeoutSecs: number;
|
|
9220
|
-
waitForIndexerBool: boolean;
|
|
9221
|
-
checkSuccessBool: boolean;
|
|
9222
|
-
feePayerAccount: Account | undefined;
|
|
9223
|
-
constructor(manager: TransactionManager, transactionGenerationFunction: TransactionGenerationFunction);
|
|
9224
|
-
private createAptosWithConfig;
|
|
9225
|
-
clientOverride(aptos: Aptos): this;
|
|
9226
|
-
network(network: Network): this;
|
|
9227
|
-
orderless(replayProtectionNonce: AnyNumber): this;
|
|
9228
|
-
sequential(accountSequenceNumber?: AnyNumber): this;
|
|
9229
|
-
maxGasAmount(amount: number): this;
|
|
9230
|
-
gasUnitPrice(gasUnitPrice: number): this;
|
|
9231
|
-
expiresAfter(txnExpirySecsFromNow: number): this;
|
|
9232
|
-
expiresAt(expiryTimestampSecs: number): this;
|
|
9233
|
-
withGasStation(gasStation: TransactionSubmitter): this;
|
|
9234
|
-
useFeePayer(useFeePayer?: boolean): this;
|
|
9235
|
-
feePayer(feePayerAccount: Account | undefined): this;
|
|
9236
|
-
withSubmitter(transactionSubmitter: TransactionSubmitter, pluginParams?: Record<string, any>): this;
|
|
9237
|
-
ignoreSubmitter(): this;
|
|
9238
|
-
timeoutAfter(timeoutSecs: number): this;
|
|
9239
|
-
skipWaitForIndexer(): this;
|
|
9240
|
-
skipCheckSuccess(): this;
|
|
9241
|
-
sender(sender: Account): this;
|
|
9242
|
-
getClient(): Aptos;
|
|
9243
|
-
validateSettings(): void;
|
|
9244
|
-
private setProperty;
|
|
9245
|
-
submit(): Promise<UserTransactionResponse>;
|
|
9246
|
-
generateTransaction(): Promise<SimpleTransaction>;
|
|
9247
|
-
}
|
|
9248
|
-
declare class FaucetContext {
|
|
9249
|
-
aptos: Aptos;
|
|
9250
|
-
amountVal: number;
|
|
9251
|
-
accountAddress?: AccountAddressInput;
|
|
9252
|
-
timeoutSecs: number;
|
|
9253
|
-
checkSuccess: boolean;
|
|
9254
|
-
waitForIndexer: boolean;
|
|
9255
|
-
constructor(manager: TransactionManager);
|
|
9256
|
-
submit(): Promise<UserTransactionResponse>;
|
|
9257
|
-
amount(amount: number): this;
|
|
9258
|
-
account(account: AccountAddressInput | Account): this;
|
|
9259
|
-
}
|
|
9260
|
-
type OrderMode = "orderless" | "sequential";
|
|
9261
|
-
declare class TransactionManager implements SimpleTransactionGenerator {
|
|
9262
|
-
sender?: Account;
|
|
9263
|
-
maxGasAmount?: number;
|
|
9264
|
-
gasUnitPrice?: number;
|
|
9265
|
-
txnExpirySecFromNow?: number;
|
|
9266
|
-
orderMode?: OrderMode;
|
|
9267
|
-
transactionSubmitter?: TransactionSubmitter | null;
|
|
9268
|
-
pluginParams?: Record<string, any>;
|
|
9269
|
-
txnTimeoutSecs?: number;
|
|
9270
|
-
waitForIndexer?: boolean;
|
|
9271
|
-
checkSuccess?: boolean;
|
|
9272
|
-
aptos: Aptos;
|
|
9273
|
-
withFeePayer?: boolean;
|
|
9274
|
-
fundAmount?: number;
|
|
9275
|
-
private constructor();
|
|
9276
|
-
static new(aptosOrConfig: Aptos | AptosConfig): TransactionManager;
|
|
9277
|
-
private createAptosWithConfig;
|
|
9278
|
-
setClient(aptos: Aptos): void;
|
|
9279
|
-
setDefaultNetwork(network: Network): void;
|
|
9280
|
-
defaultSender(sender: Account): this;
|
|
9281
|
-
generateDefaultSender(): this;
|
|
9282
|
-
fundAccount(account?: Account | AccountAddressInput): FaucetContext;
|
|
9283
|
-
defaultMaxGasAmount(maxGasAmount: number): this;
|
|
9284
|
-
defaultGasUnitPrice(gasUnitPrice: number): this;
|
|
9285
|
-
defaultExpireTimestamp(expireTimestamp: number): this;
|
|
9286
|
-
defaultWithFeePayer(withFeePayer: boolean): this;
|
|
9287
|
-
defaultOrderMode(orderMode: OrderMode): this;
|
|
9288
|
-
defaultTransactionSubmitter(transactionSubmitter: TransactionSubmitter | null, pluginParams?: Record<string, any>): this;
|
|
9289
|
-
defaultPluginParams(pluginParams: Record<string, any>): this;
|
|
9290
|
-
defaultTxnTimeoutSecs(txnTimeoutSec: number): this;
|
|
9291
|
-
defaultWaitForIndexer(waitForIndexer: boolean): this;
|
|
9292
|
-
defaultCheckSuccess(checkSuccess: boolean): this;
|
|
9293
|
-
defaultGasStation(gasStation: TransactionSubmitter): this;
|
|
9294
|
-
defaultFundAmount(amount: number): this;
|
|
9295
|
-
getClient(): Aptos;
|
|
9296
|
-
getDefaultNetwork(): Network;
|
|
9297
|
-
getDefaultSender(): Account | undefined;
|
|
9298
|
-
getDefaultMaxGasAmount(): number;
|
|
9299
|
-
getDefaultGasUnitPrice(): number | undefined;
|
|
9300
|
-
getDefaulTxnExpirySecFromNow(): number;
|
|
9301
|
-
getDefaultOrderMode(): OrderMode | undefined;
|
|
9302
|
-
getDefaultWithFeePayer(): boolean;
|
|
9303
|
-
getDefaultTransactionSubmitter(): TransactionSubmitter | undefined;
|
|
9304
|
-
getDefaultPluginParams(): Record<string, any> | undefined;
|
|
9305
|
-
getDefaultTxnTimeoutSecs(): number;
|
|
9306
|
-
getDefaultWaitForIndexer(): boolean;
|
|
9307
|
-
getDefaultCheckSuccess(): boolean;
|
|
9308
|
-
getDefaultFundAmount(): number;
|
|
9309
|
-
private createTransactionContext;
|
|
9310
|
-
fromTransaction(transaction: SimpleTransaction): TransactionContext;
|
|
9311
|
-
build(args: {
|
|
9312
|
-
data: InputGenerateTransactionPayloadData;
|
|
9313
|
-
}): TransactionContext;
|
|
9314
|
-
publishPackageTransaction(args: {
|
|
9315
|
-
metadataBytes: HexInput;
|
|
9316
|
-
moduleBytecode: Array<HexInput>;
|
|
9317
|
-
}): TransactionContext;
|
|
9318
|
-
rotateAuthKey(args: {
|
|
9319
|
-
toAccount: Ed25519Account | MultiEd25519Account;
|
|
9320
|
-
} | {
|
|
9321
|
-
toNewPrivateKey: Ed25519PrivateKey;
|
|
9322
|
-
}): TransactionContext;
|
|
9323
|
-
rotateAuthKeyUnverified(args: {
|
|
9324
|
-
toNewPublicKey: AccountPublicKey;
|
|
9325
|
-
}): TransactionContext;
|
|
9326
|
-
setTargetAddress(args: {
|
|
9327
|
-
name: string;
|
|
9328
|
-
address: AccountAddressInput;
|
|
9329
|
-
}): TransactionContext;
|
|
9330
|
-
setPrimaryName(args: {
|
|
9331
|
-
name?: string;
|
|
9332
|
-
}): TransactionContext;
|
|
9333
|
-
registerName(args: Omit<RegisterNameParameters, "aptosConfig" | "sender">): TransactionContext;
|
|
9334
|
-
renewDomain(args: {
|
|
9335
|
-
name: string;
|
|
9336
|
-
years?: 1;
|
|
9337
|
-
}): TransactionContext;
|
|
9338
|
-
transferCoinTransaction(args: {
|
|
9339
|
-
recipient: AccountAddressInput;
|
|
9340
|
-
amount: AnyNumber;
|
|
9341
|
-
coinType?: MoveStructId;
|
|
9342
|
-
}): TransactionContext;
|
|
9343
|
-
createCollectionTransaction(args: {
|
|
9344
|
-
description: string;
|
|
9345
|
-
name: string;
|
|
9346
|
-
uri: string;
|
|
9347
|
-
} & CreateCollectionOptions): TransactionContext;
|
|
9348
|
-
mintDigitalAssetTransaction(args: {
|
|
9349
|
-
collection: string;
|
|
9350
|
-
description: string;
|
|
9351
|
-
name: string;
|
|
9352
|
-
uri: string;
|
|
9353
|
-
propertyKeys?: Array<string>;
|
|
9354
|
-
propertyTypes?: Array<PropertyType>;
|
|
9355
|
-
propertyValues?: Array<PropertyValue>;
|
|
9356
|
-
}): TransactionContext;
|
|
9357
|
-
transferDigitalAssetTransaction(args: {
|
|
9358
|
-
digitalAssetAddress: AccountAddressInput;
|
|
9359
|
-
recipient: AccountAddress;
|
|
9360
|
-
digitalAssetType?: MoveStructId;
|
|
9361
|
-
}): TransactionContext;
|
|
9362
|
-
mintSoulBoundTransaction(args: {
|
|
9363
|
-
collection: string;
|
|
9364
|
-
description: string;
|
|
9365
|
-
name: string;
|
|
9366
|
-
uri: string;
|
|
9367
|
-
recipient: AccountAddressInput;
|
|
9368
|
-
propertyKeys?: Array<string>;
|
|
9369
|
-
propertyTypes?: Array<PropertyType>;
|
|
9370
|
-
propertyValues?: Array<PropertyValue>;
|
|
9371
|
-
}): TransactionContext;
|
|
9372
|
-
burnDigitalAssetTransaction(args: {
|
|
9373
|
-
digitalAssetAddress: AccountAddressInput;
|
|
9374
|
-
digitalAssetType?: MoveStructId;
|
|
9375
|
-
}): TransactionContext;
|
|
9376
|
-
freezeDigitalAssetTransaferTransaction(args: {
|
|
9377
|
-
digitalAssetAddress: AccountAddressInput;
|
|
9378
|
-
digitalAssetType?: MoveStructId;
|
|
9379
|
-
}): TransactionContext;
|
|
9380
|
-
unfreezeDigitalAssetTransaferTransaction(args: {
|
|
9381
|
-
digitalAssetAddress: AccountAddressInput;
|
|
9382
|
-
digitalAssetType?: MoveStructId;
|
|
9383
|
-
}): TransactionContext;
|
|
9384
|
-
setDigitalAssetDescriptionTransaction(args: {
|
|
9385
|
-
description: string;
|
|
9386
|
-
digitalAssetAddress: AccountAddressInput;
|
|
9387
|
-
digitalAssetType?: MoveStructId;
|
|
9388
|
-
}): TransactionContext;
|
|
9389
|
-
setDigitalAssetNameTransaction(args: {
|
|
9390
|
-
name: string;
|
|
9391
|
-
digitalAssetAddress: AccountAddressInput;
|
|
9392
|
-
digitalAssetType?: MoveStructId;
|
|
9393
|
-
}): TransactionContext;
|
|
9394
|
-
setDigitalAssetURITransaction(args: {
|
|
9395
|
-
uri: string;
|
|
9396
|
-
digitalAssetAddress: AccountAddressInput;
|
|
9397
|
-
digitalAssetType?: MoveStructId;
|
|
9398
|
-
}): TransactionContext;
|
|
9399
|
-
addDigitalAssetPropertyTransaction(args: {
|
|
9400
|
-
propertyKey: string;
|
|
9401
|
-
propertyType: PropertyType;
|
|
9402
|
-
propertyValue: PropertyValue;
|
|
9403
|
-
digitalAssetAddress: AccountAddressInput;
|
|
9404
|
-
digitalAssetType?: MoveStructId;
|
|
9405
|
-
}): TransactionContext;
|
|
9406
|
-
removeDigitalAssetPropertyTransaction(args: {
|
|
9407
|
-
propertyKey: string;
|
|
9408
|
-
propertyType: PropertyType;
|
|
9409
|
-
propertyValue: PropertyValue;
|
|
9410
|
-
digitalAssetAddress: AccountAddressInput;
|
|
9411
|
-
digitalAssetType?: MoveStructId;
|
|
9412
|
-
}): TransactionContext;
|
|
9413
|
-
updateDigitalAssetPropertyTransaction(args: {
|
|
9414
|
-
propertyKey: string;
|
|
9415
|
-
propertyType: PropertyType;
|
|
9416
|
-
propertyValue: PropertyValue;
|
|
9417
|
-
digitalAssetAddress: AccountAddressInput;
|
|
9418
|
-
digitalAssetType?: MoveStructId;
|
|
9419
|
-
}): TransactionContext;
|
|
9420
|
-
addDigitalAssetTypedPropertyTransaction(args: {
|
|
9421
|
-
propertyKey: string;
|
|
9422
|
-
propertyType: PropertyType;
|
|
9423
|
-
propertyValue: PropertyValue;
|
|
9424
|
-
digitalAssetAddress: AccountAddressInput;
|
|
9425
|
-
digitalAssetType?: MoveStructId;
|
|
9426
|
-
}): TransactionContext;
|
|
9427
|
-
updateDigitalAssetTypedPropertyTransaction(args: {
|
|
9428
|
-
propertyKey: string;
|
|
9429
|
-
propertyType: PropertyType;
|
|
9430
|
-
propertyValue: PropertyValue;
|
|
9431
|
-
digitalAssetAddress: AccountAddressInput;
|
|
9432
|
-
digitalAssetType?: MoveStructId;
|
|
9433
|
-
}): TransactionContext;
|
|
9434
|
-
transferFungibleAsset(args: {
|
|
9435
|
-
fungibleAssetMetadataAddress: AccountAddressInput;
|
|
9436
|
-
recipient: AccountAddressInput;
|
|
9437
|
-
amount: AnyNumber;
|
|
9438
|
-
}): TransactionContext;
|
|
9439
|
-
transferFungibleAssetBetweenStores(args: {
|
|
9440
|
-
fromStore: AccountAddressInput;
|
|
9441
|
-
toStore: AccountAddressInput;
|
|
9442
|
-
amount: AnyNumber;
|
|
9443
|
-
}): TransactionContext;
|
|
9444
|
-
updateFederatedKeylessJwkSetTransaction(args: {
|
|
9445
|
-
iss: string;
|
|
9446
|
-
jwksUrl?: string;
|
|
9447
|
-
}): TransactionContext;
|
|
9448
|
-
}
|
|
9449
|
-
|
|
9450
8990
|
/**
|
|
9451
8991
|
* This class exists solely to represent a sequence of fixed bytes as a serialized entry function, because
|
|
9452
8992
|
* serializing an entry function appends a prefix that's *only* used for entry function arguments.
|
|
@@ -10099,6 +9639,7 @@ declare class AbstractedAccount extends Account {
|
|
|
10099
9639
|
signer: Ed25519Account;
|
|
10100
9640
|
accountAddress?: AccountAddress;
|
|
10101
9641
|
}): AbstractedAccount;
|
|
9642
|
+
static generateAccountAbstractionMessage(message: HexInput, functionInfo: string): HexInput;
|
|
10102
9643
|
signWithAuthenticator(message: HexInput): AccountAuthenticatorAbstraction;
|
|
10103
9644
|
signTransactionWithAuthenticator(transaction: AnyRawTransaction): AccountAuthenticatorAbstraction;
|
|
10104
9645
|
sign: (message: HexInput) => AbstractSignature;
|
|
@@ -10159,6 +9700,197 @@ declare class DerivableAbstractedAccount extends AbstractedAccount {
|
|
|
10159
9700
|
signWithAuthenticator(message: HexInput): AccountAuthenticatorAbstraction;
|
|
10160
9701
|
}
|
|
10161
9702
|
|
|
9703
|
+
/**
|
|
9704
|
+
* @group Implementation
|
|
9705
|
+
* @category Utils
|
|
9706
|
+
*/
|
|
9707
|
+
type DeserializableClass<T extends Serializable> = {
|
|
9708
|
+
/**
|
|
9709
|
+
* Deserializes a serialized object using the provided deserializer.
|
|
9710
|
+
* This function allows you to reconstruct an object from its serialized form.
|
|
9711
|
+
*
|
|
9712
|
+
* @param deserializer - An instance of the Deserializer used to read the serialized data.
|
|
9713
|
+
* @group Implementation
|
|
9714
|
+
* @category Utils
|
|
9715
|
+
*/
|
|
9716
|
+
deserialize(deserializer: Deserializer): T;
|
|
9717
|
+
};
|
|
9718
|
+
/**
|
|
9719
|
+
* Normalizes an instance of a class by deserializing it from its byte representation.
|
|
9720
|
+
* This function allows the `instanceof` operator to work correctly when the input objects originate from a different bundle.
|
|
9721
|
+
*
|
|
9722
|
+
* @param cls - The class of the object to normalize.
|
|
9723
|
+
* @param value - The instance to normalize.
|
|
9724
|
+
* @group Implementation
|
|
9725
|
+
* @category Utils
|
|
9726
|
+
*/
|
|
9727
|
+
declare function normalizeBundle<T extends Serializable>(cls: DeserializableClass<T>, value: T): T;
|
|
9728
|
+
|
|
9729
|
+
/**
|
|
9730
|
+
* Sleep for the specified amount of time in milliseconds.
|
|
9731
|
+
* This function can be used to introduce delays in asynchronous operations.
|
|
9732
|
+
*
|
|
9733
|
+
* @param timeMs - The time in milliseconds to sleep.
|
|
9734
|
+
* @group Implementation
|
|
9735
|
+
* @category Utils
|
|
9736
|
+
*/
|
|
9737
|
+
declare function sleep(timeMs: number): Promise<null>;
|
|
9738
|
+
/**
|
|
9739
|
+
* Get the error message from an unknown error.
|
|
9740
|
+
*
|
|
9741
|
+
* @param error The error to get the message from
|
|
9742
|
+
* @returns The error message
|
|
9743
|
+
* @group Implementation
|
|
9744
|
+
* @category Utils
|
|
9745
|
+
*/
|
|
9746
|
+
declare function getErrorMessage(error: unknown): string;
|
|
9747
|
+
/**
|
|
9748
|
+
* @group Implementation
|
|
9749
|
+
* @category Utils
|
|
9750
|
+
*/
|
|
9751
|
+
declare const nowInSeconds: () => number;
|
|
9752
|
+
/**
|
|
9753
|
+
* Floors the given timestamp to the nearest whole hour.
|
|
9754
|
+
* This function is useful for normalizing timestamps to hourly intervals.
|
|
9755
|
+
*
|
|
9756
|
+
* @param timestampInSeconds - The timestamp in seconds to be floored.
|
|
9757
|
+
* @group Implementation
|
|
9758
|
+
* @category Utils
|
|
9759
|
+
*/
|
|
9760
|
+
declare function floorToWholeHour(timestampInSeconds: number): number;
|
|
9761
|
+
/**
|
|
9762
|
+
* Decodes a base64 URL-encoded string into its original form.
|
|
9763
|
+
* This function is useful for converting base64 URL-encoded data back to a readable format.
|
|
9764
|
+
*
|
|
9765
|
+
* @param base64Url - The base64 URL-encoded string to decode.
|
|
9766
|
+
* @returns The decoded string.
|
|
9767
|
+
* @group Implementation
|
|
9768
|
+
* @category Utils
|
|
9769
|
+
*/
|
|
9770
|
+
declare function base64UrlDecode(base64Url: string): string;
|
|
9771
|
+
declare function base64UrlToBytes(base64Url: string): Uint8Array;
|
|
9772
|
+
/**
|
|
9773
|
+
* Amount is represented in the smallest unit format on chain, this function converts
|
|
9774
|
+
* a human-readable amount format to the smallest unit format
|
|
9775
|
+
* @example
|
|
9776
|
+
* human-readable amount format: 500
|
|
9777
|
+
* on chain amount format when decimal is 8: 50000000000
|
|
9778
|
+
*
|
|
9779
|
+
* @param value The value in human-readable format
|
|
9780
|
+
* @param decimal The token decimal
|
|
9781
|
+
* @returns The value in the smallest units
|
|
9782
|
+
* @group Implementation
|
|
9783
|
+
* @category Utils
|
|
9784
|
+
*/
|
|
9785
|
+
declare const convertAmountFromHumanReadableToOnChain: (value: number, decimal: number) => number;
|
|
9786
|
+
/**
|
|
9787
|
+
* Amount is represented in the smallest unit format on chain, this function converts
|
|
9788
|
+
* the smallest unit format to a human-readable amount format
|
|
9789
|
+
* @example
|
|
9790
|
+
* human-readable amount format: 500
|
|
9791
|
+
* on chain amount format when decimal is 8: 50000000000
|
|
9792
|
+
*
|
|
9793
|
+
* @param value The value in human-readable format
|
|
9794
|
+
* @param decimal The token decimal
|
|
9795
|
+
* @returns The value in the smallest units
|
|
9796
|
+
* @group Implementation
|
|
9797
|
+
* @category Utils
|
|
9798
|
+
*/
|
|
9799
|
+
declare const convertAmountFromOnChainToHumanReadable: (value: number, decimal: number) => number;
|
|
9800
|
+
/**
|
|
9801
|
+
* Convert an encoded struct to a MoveStructId.
|
|
9802
|
+
*
|
|
9803
|
+
* @example
|
|
9804
|
+
* const structObj = {
|
|
9805
|
+
* account_address: "0x1",
|
|
9806
|
+
* module_name: "0x6170746f735f636f696e",
|
|
9807
|
+
* struct_name: "0x4170746f73436f696e",
|
|
9808
|
+
* };
|
|
9809
|
+
* // structId is "0x1::aptos_coin::AptosCoin"
|
|
9810
|
+
* const structId = parseEncodedStruct(structObj);
|
|
9811
|
+
*
|
|
9812
|
+
* @param structObj The struct with account_address, module_name, and struct_name properties
|
|
9813
|
+
* @returns The MoveStructId
|
|
9814
|
+
* @group Implementation
|
|
9815
|
+
* @category Utils
|
|
9816
|
+
*/
|
|
9817
|
+
declare const parseEncodedStruct: (structObj: {
|
|
9818
|
+
account_address: string;
|
|
9819
|
+
module_name: string;
|
|
9820
|
+
struct_name: string;
|
|
9821
|
+
}) => MoveStructId;
|
|
9822
|
+
/**
|
|
9823
|
+
* Determines whether the given object is an encoded struct type with the following properties:
|
|
9824
|
+
* - account_address: string
|
|
9825
|
+
* - module_name: string
|
|
9826
|
+
* - struct_name: string
|
|
9827
|
+
*
|
|
9828
|
+
* @param structObj The object to check
|
|
9829
|
+
* @returns Whether the object is an encoded struct type
|
|
9830
|
+
* @group Implementation
|
|
9831
|
+
* @category Utils
|
|
9832
|
+
*/
|
|
9833
|
+
declare const isEncodedStruct: (structObj: any) => structObj is {
|
|
9834
|
+
account_address: string;
|
|
9835
|
+
module_name: string;
|
|
9836
|
+
struct_name: string;
|
|
9837
|
+
};
|
|
9838
|
+
/**
|
|
9839
|
+
* Splits a function identifier into its constituent parts: module address, module name, and function name.
|
|
9840
|
+
* This function helps in validating and extracting details from a function identifier string.
|
|
9841
|
+
*
|
|
9842
|
+
* @param functionArg - The function identifier string in the format "moduleAddress::moduleName::functionName".
|
|
9843
|
+
* @returns An object containing the module address, module name, and function name.
|
|
9844
|
+
* @throws Error if the function identifier does not contain exactly three parts.
|
|
9845
|
+
* @group Implementation
|
|
9846
|
+
* @category Transactions
|
|
9847
|
+
*/
|
|
9848
|
+
declare function getFunctionParts(functionArg: MoveFunctionId): {
|
|
9849
|
+
moduleAddress: string;
|
|
9850
|
+
moduleName: string;
|
|
9851
|
+
functionName: string;
|
|
9852
|
+
};
|
|
9853
|
+
/**
|
|
9854
|
+
* Validates the provided function information.
|
|
9855
|
+
*
|
|
9856
|
+
* @param functionInfo - The function information to validate.
|
|
9857
|
+
* @returns Whether the function information is valid.
|
|
9858
|
+
* @group Implementation
|
|
9859
|
+
* @category Utils
|
|
9860
|
+
*/
|
|
9861
|
+
declare function isValidFunctionInfo(functionInfo: string): boolean;
|
|
9862
|
+
/**
|
|
9863
|
+
* Truncates the provided wallet address at the middle with an ellipsis.
|
|
9864
|
+
*
|
|
9865
|
+
* @param address - The wallet address to truncate.
|
|
9866
|
+
* @param start - The number of characters to show at the beginning of the address.
|
|
9867
|
+
* @param end - The number of characters to show at the end of the address.
|
|
9868
|
+
* @returns The truncated address.
|
|
9869
|
+
* @group Implementation
|
|
9870
|
+
* @category Utils
|
|
9871
|
+
*/
|
|
9872
|
+
declare function truncateAddress(address: string, start?: number, end?: number): string;
|
|
9873
|
+
/**
|
|
9874
|
+
* Calculates the paired FA metadata address for a given coin type.
|
|
9875
|
+
* This function is tolerant of various address formats in the coin type string,
|
|
9876
|
+
* including complex nested types.
|
|
9877
|
+
*
|
|
9878
|
+
* @example
|
|
9879
|
+
* // All these formats are valid and will produce the same result:
|
|
9880
|
+
* pairedFaMetadataAddress("0x1::aptos_coin::AptosCoin") // simple form
|
|
9881
|
+
* pairedFaMetadataAddress("0x0000000000000000000000000000000000000000000000000000000000000001::aptos_coin::AptosCoin") // long form
|
|
9882
|
+
* pairedFaMetadataAddress("0x00001::aptos_coin::AptosCoin") // with leading zeros
|
|
9883
|
+
* pairedFaMetadataAddress("0x1::coin::Coin<0x1412::a::struct<0x0001::aptos_coin::AptosCoin>>") // nested type parameters
|
|
9884
|
+
*
|
|
9885
|
+
* @param coinType - The coin type string in any of these formats:
|
|
9886
|
+
* - Short form address: "0x1::aptos_coin::AptosCoin"
|
|
9887
|
+
* - Long form address: "0x0000000000000000000000000000000000000000000000000000000000000001::aptos_coin::AptosCoin"
|
|
9888
|
+
* - With leading zeros: "0x00001::aptos_coin::AptosCoin"
|
|
9889
|
+
* - With nested types: "0x1::coin::Coin<0x1412::a::struct<0x0001::aptos_coin::AptosCoin>>"
|
|
9890
|
+
* @returns The calculated metadata address as an AccountAddress instance
|
|
9891
|
+
*/
|
|
9892
|
+
declare function pairedFaMetadataAddress(coinType: `0x${string}::${string}::${string}`): AccountAddress;
|
|
9893
|
+
|
|
10162
9894
|
/**
|
|
10163
9895
|
* Sends a request using the specified options and returns the response.
|
|
10164
9896
|
*
|
|
@@ -10582,4 +10314,4 @@ declare class AptosApiError extends Error {
|
|
|
10582
10314
|
constructor({ apiType, aptosRequest, aptosResponse }: AptosApiErrorOpts);
|
|
10583
10315
|
}
|
|
10584
10316
|
|
|
10585
|
-
export { APTOS_BIP44_REGEX, APTOS_HARDENED_REGEX, AbstractKeylessAccount, AbstractPublicKey, AbstractSignature, AbstractedAccount, Account, AccountAddress, AccountAddressInput, AccountAuthenticator, AccountAuthenticatorAbstraction, AccountAuthenticatorEd25519, AccountAuthenticatorMultiEd25519, AccountAuthenticatorMultiKey, AccountAuthenticatorNoAccountAuthenticator, AccountAuthenticatorSingleKey, AccountData, AccountPublicKey, AccountSequenceNumber, AccountUtils, AnyNumber, AnyPublicKey, AnyRawTransaction, AnyRawTransactionInstance, AnySignature, AnyTransactionPayloadInstance, Aptos, AptosApiError, AptosApiType, AptosConfig, AptosRequest, AptosResponse, AuthenticationKey, type BaseAccountPublicKey, Block, Bool, CKDPriv, Client, ClientConfig, ClientRequest, ClientResponse, CommittedTransactionResponse, type CreateAccountFromPrivateKeyArgs, type CreateEd25519AccountFromPrivateKeyArgs, type CreateEd25519SingleKeyAccountFromPrivateKeyArgs, type CreateSingleKeyAccountFromPrivateKeyArgs, CursorPaginationArgs, DerivableAbstractedAccount, type DerivedKeys, type DeserializableClass, Deserializer, EPK_HORIZON_SECS, Ed25519Account, Ed25519PrivateKey, Ed25519PublicKey, Ed25519Signature, type Ed25519SignerConstructorArgs, type Ed25519SignerFromDerivationPathArgs, EntryFunction, EntryFunctionABI, EntryFunctionArgument, EntryFunctionArgumentTypes, EntryFunctionBytes, EphemeralCertificate, EphemeralCertificateVariant, EphemeralKeyPair, EphemeralPublicKey, EphemeralPublicKeyVariant, EphemeralSignature, type ExecutionFinishEventData, type FailureEventData, FederatedKeylessAccount, FederatedKeylessPublicKey, FixedBytes, FunctionABI, GasEstimation, type GenerateAccountArgs, type GenerateEd25519AccountArgs, type GenerateEd25519SingleKeyAccountArgs, type GenerateSingleKeyAccountArgs, GetANSNameResponse, GetAccountCoinsDataResponse, GetAccountCollectionsWithOwnedTokenResponse, GetAccountOwnedTokensFromCollectionResponse, GetAccountOwnedTokensQueryResponse, type GetAptosRequestOptions, GetChainTopUserTransactionsResponse, GetCollectionDataResponse, GetCurrentFungibleAssetBalancesResponse, GetCurrentTokenOwnershipResponse, GetDelegatedStakingActivitiesResponse, GetFungibleAssetActivitiesResponse, GetFungibleAssetMetadataResponse, GetNumberOfDelegatorsResponse, GetObjectDataQueryResponse, GetOwnedTokensResponse, GetProcessorStatusResponse, type GetRequestOptions, GetTableItemsDataResponse, GetTableItemsMetadataResponse, GetTokenActivityResponse, GetTokenDataResponse, GraphqlQuery, Groth16ProofAndStatement, Groth16VerificationKey, Groth16Zkp, HARDENED_OFFSET, HexInput, InputEntryFunctionDataWithABI, InputEntryFunctionDataWithRemoteABI, InputGenerateMultiAgentRawTransactionArgs, InputGenerateSingleSignerRawTransactionArgs, InputGenerateTransactionOptions, InputGenerateTransactionPayloadData, InputGenerateTransactionPayloadDataWithRemoteABI, InputMultiSigDataWithABI, InputMultiSigDataWithRemoteABI, InputScriptData, InputSimulateTransactionData, InputSimulateTransactionOptions, InputSubmitTransactionData, InputTransactionPluginData, InputViewFunctionData, InputViewFunctionDataWithABI, InputViewFunctionDataWithRemoteABI, InputViewFunctionJsonData, KeyType, KeylessAccount, KeylessConfiguration, KeylessError, KeylessErrorCategory, KeylessErrorResolutionTip, KeylessErrorType, KeylessPublicKey, KeylessSignature, type KeylessSigner, LedgerInfo, LedgerVersionArg, MAX_AUD_VAL_BYTES, MAX_COMMITED_EPK_BYTES, MAX_EXTRA_FIELD_BYTES, MAX_ISS_VAL_BYTES, MAX_JWT_HEADER_B64_BYTES, MAX_UID_KEY_BYTES, MAX_UID_VAL_BYTES, MimeType, MoveFunction, MoveFunctionId, MoveJWK, MoveModule, MoveModuleBytecode, MoveResource, MoveString, MoveStructId, MoveValue, MoveVector, MultiAgentTransaction, MultiEd25519Account, MultiEd25519PublicKey, MultiEd25519Signature, type MultiEd25519SignerConstructorArgs, MultiKey, MultiKeyAccount, MultiKeySignature,
|
|
10317
|
+
export { APTOS_BIP44_REGEX, APTOS_HARDENED_REGEX, AbstractKeylessAccount, AbstractPublicKey, AbstractSignature, AbstractedAccount, Account, AccountAddress, AccountAddressInput, AccountAuthenticator, AccountAuthenticatorAbstraction, AccountAuthenticatorEd25519, AccountAuthenticatorMultiEd25519, AccountAuthenticatorMultiKey, AccountAuthenticatorNoAccountAuthenticator, AccountAuthenticatorSingleKey, AccountData, AccountPublicKey, AccountSequenceNumber, AccountUtils, AnyNumber, AnyPublicKey, AnyRawTransaction, AnyRawTransactionInstance, AnySignature, AnyTransactionPayloadInstance, Aptos, AptosApiError, AptosApiType, AptosConfig, AptosRequest, AptosResponse, AuthenticationKey, type BaseAccountPublicKey, Block, Bool, CKDPriv, Client, ClientConfig, ClientRequest, ClientResponse, CommittedTransactionResponse, type CreateAccountFromPrivateKeyArgs, type CreateEd25519AccountFromPrivateKeyArgs, type CreateEd25519SingleKeyAccountFromPrivateKeyArgs, type CreateSingleKeyAccountFromPrivateKeyArgs, CursorPaginationArgs, DerivableAbstractedAccount, type DerivedKeys, type DeserializableClass, Deserializer, EPK_HORIZON_SECS, Ed25519Account, Ed25519PrivateKey, Ed25519PublicKey, Ed25519Signature, type Ed25519SignerConstructorArgs, type Ed25519SignerFromDerivationPathArgs, EntryFunction, EntryFunctionABI, EntryFunctionArgument, EntryFunctionArgumentTypes, EntryFunctionBytes, EphemeralCertificate, EphemeralCertificateVariant, EphemeralKeyPair, EphemeralPublicKey, EphemeralPublicKeyVariant, EphemeralSignature, type ExecutionFinishEventData, type FailureEventData, FederatedKeylessAccount, FederatedKeylessPublicKey, FixedBytes, FunctionABI, GasEstimation, type GenerateAccountArgs, type GenerateEd25519AccountArgs, type GenerateEd25519SingleKeyAccountArgs, type GenerateSingleKeyAccountArgs, GetANSNameResponse, GetAccountCoinsDataResponse, GetAccountCollectionsWithOwnedTokenResponse, GetAccountOwnedTokensFromCollectionResponse, GetAccountOwnedTokensQueryResponse, type GetAptosRequestOptions, GetChainTopUserTransactionsResponse, GetCollectionDataResponse, GetCurrentFungibleAssetBalancesResponse, GetCurrentTokenOwnershipResponse, GetDelegatedStakingActivitiesResponse, GetFungibleAssetActivitiesResponse, GetFungibleAssetMetadataResponse, GetNumberOfDelegatorsResponse, GetObjectDataQueryResponse, GetOwnedTokensResponse, GetProcessorStatusResponse, type GetRequestOptions, GetTableItemsDataResponse, GetTableItemsMetadataResponse, GetTokenActivityResponse, GetTokenDataResponse, GraphqlQuery, Groth16ProofAndStatement, Groth16VerificationKey, Groth16Zkp, HARDENED_OFFSET, HexInput, InputEntryFunctionDataWithABI, InputEntryFunctionDataWithRemoteABI, InputGenerateMultiAgentRawTransactionArgs, InputGenerateSingleSignerRawTransactionArgs, InputGenerateTransactionOptions, InputGenerateTransactionPayloadData, InputGenerateTransactionPayloadDataWithRemoteABI, InputMultiSigDataWithABI, InputMultiSigDataWithRemoteABI, InputScriptData, InputSimulateTransactionData, InputSimulateTransactionOptions, InputSubmitTransactionData, InputTransactionPluginData, InputViewFunctionData, InputViewFunctionDataWithABI, InputViewFunctionDataWithRemoteABI, InputViewFunctionJsonData, KeyType, KeylessAccount, KeylessConfiguration, KeylessError, KeylessErrorCategory, KeylessErrorResolutionTip, KeylessErrorType, KeylessPublicKey, KeylessSignature, type KeylessSigner, LedgerInfo, LedgerVersionArg, MAX_AUD_VAL_BYTES, MAX_COMMITED_EPK_BYTES, MAX_EXTRA_FIELD_BYTES, MAX_ISS_VAL_BYTES, MAX_JWT_HEADER_B64_BYTES, MAX_UID_KEY_BYTES, MAX_UID_VAL_BYTES, MimeType, MoveFunction, MoveFunctionId, MoveJWK, MoveModule, MoveModuleBytecode, MoveResource, MoveString, MoveStructId, MoveValue, MoveVector, MultiAgentTransaction, MultiEd25519Account, MultiEd25519PublicKey, MultiEd25519Signature, type MultiEd25519SignerConstructorArgs, MultiKey, MultiKeyAccount, MultiKeySignature, OrderByArg, PaginationArgs, PendingTransactionResponse, type PostAptosRequestOptions, type PostRequestOptions, PrivateKey, type PrivateKeyFromDerivationPathArgs, PrivateKeyInput, ProcessorType, type ProofFetchCallback, type ProofFetchEvents, type ProofFetchFailure, type ProofFetchStatus, type ProofFetchSuccess, PublicKey, RawTransaction, RotationProofChallenge, Serializable, Serializer, Signature, SignedTransaction, SigningScheme, SigningSchemeInput, SimpleEntryFunctionArgumentTypes, SimpleTransaction, SingleKeyAccount, type SingleKeySigner, type SingleKeySignerConstructorArgs, type SingleKeySignerFromDerivationPathArgs, type SingleKeySignerGenerateArgs, type SingleKeySignerOrLegacyEd25519Account, type SuccessEventData, TableItemRequest, TokenStandardArg, TransactionAndProof, TransactionAuthenticator, TransactionAuthenticatorEd25519, TransactionAuthenticatorFeePayer, TransactionAuthenticatorMultiAgent, TransactionAuthenticatorMultiEd25519, TransactionAuthenticatorSingleSender, TransactionInnerPayload, TransactionPayloadEntryFunction, TransactionPayloadMultiSig, TransactionPayloadScript, TransactionResponse, TransactionWorker, type TransactionWorkerEvents, TransactionWorkerEventsEnum, TypeArgument, TypeTag, TypeTagParserError, TypeTagParserErrorType, U128, U16, U256, U32, U64, U8, UserTransactionResponse, type VerifyEd25519SignatureArgs, type VerifyMultiEd25519SignatureArgs, type VerifyMultiKeySignatureArgs, VerifySignatureArgs, VerifySignatureAsyncArgs, type VerifySingleKeySignatureArgs, ViewFunctionABI, WaitForTransactionOptions, WhereArg, ZeroKnowledgeSig, ZkProof, ZkpVariant, aptosRequest, base64UrlDecode, base64UrlToBytes, bigIntToBytesLE, buildTransaction, bytesToBigIntLE, checkOrConvertArgument, convertAmountFromHumanReadableToOnChain, convertAmountFromOnChainToHumanReadable, convertArgument, convertNumber, convertPayloadToInnerPayload, createObjectAddress, createResourceAddress, createTokenAddress, deriveKey, deriveTransactionType, deserializePublicKey, deserializeSignature, fetchEntryFunctionAbi, fetchFunctionAbi, fetchJWK, fetchModuleAbi, fetchMoveFunctionAbi, fetchViewFunctionAbi, findFirstNonSignerArg, floorToWholeHour, generateRawTransaction, generateSignedTransaction, generateSignedTransactionForSimulation, generateSigningMessage, generateSigningMessageForSerializable, generateSigningMessageForTransaction, generateTransactionPayload, generateTransactionPayloadWithABI, generateUserTransactionHash, generateViewFunctionPayload, generateViewFunctionPayloadWithABI, get, getAptosFullNode, getAptosPepperService, getAuthenticatorForSimulation, getErrorMessage, getFunctionParts, getIssAudAndUidVal, getKeylessConfig, getKeylessJWKs, getPageWithObfuscatedCursor, hashStrToField, hashValues, isBcsAddress, isBcsBool, isBcsFixedBytes, isBcsString, isBcsU128, isBcsU16, isBcsU256, isBcsU32, isBcsU64, isBcsU8, isBool, isEmptyOption, isEncodedEntryFunctionArgument, isEncodedStruct, isKeylessSigner, isLargeNumber, isNumber, isScriptDataInput, isSingleKeySigner, isString, isValidBIP44Path, isValidFunctionInfo, isValidHardenedPath, mnemonicToSeed, normalizeBundle, nowInSeconds, padAndPackBytesWithLen, paginateWithCursor, paginateWithObfuscatedCursor, pairedFaMetadataAddress, parseEncodedStruct, parseJwtHeader, parseTypeTag, poseidonHash, post, postAptosFaucet, postAptosFullNode, postAptosIndexer, postAptosPepperService, postAptosProvingService, promiseFulfilledStatus, request, sleep, splitPath, standardizeTypeTags, throwTypeMismatch, truncateAddress, verifyKeylessSignature, verifyKeylessSignatureWithJwkAndConfig };
|