@aptos-labs/ts-sdk 3.1.2 → 4.0.0-zeta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common/{account-Bb5REyaT.d.ts → account-D4dsN-1K.d.ts} +1 -1
- package/dist/common/chunk-MU4IJVW5.js +1390 -0
- package/dist/common/chunk-MU4IJVW5.js.map +1 -0
- package/dist/common/cli/index.d.ts +1 -1
- package/dist/common/cli/index.js +480 -1
- package/dist/common/cli/index.js.map +1 -1
- package/dist/common/index.d.ts +598 -511
- package/dist/common/index.js +19842 -451
- package/dist/common/index.js.map +1 -1
- package/dist/esm/account/AbstractKeylessAccount.mjs +66 -1
- package/dist/esm/account/AbstractedAccount.mjs +62 -1
- package/dist/esm/account/Account.mjs +62 -1
- package/dist/esm/account/AccountUtils.mjs +62 -1
- package/dist/esm/account/DerivableAbstractedAccount.mjs +62 -1
- package/dist/esm/account/Ed25519Account.mjs +62 -1
- package/dist/esm/account/EphemeralKeyPair.mjs +62 -1
- package/dist/esm/account/FederatedKeylessAccount.mjs +62 -1
- package/dist/esm/account/KeylessAccount.mjs +62 -1
- package/dist/esm/account/MultiEd25519Account.mjs +62 -1
- package/dist/esm/account/MultiKeyAccount.mjs +62 -1
- package/dist/esm/account/SingleKeyAccount.mjs +64 -1
- package/dist/esm/account/index.mjs +90 -1
- package/dist/esm/account/utils.mjs +62 -1
- package/dist/esm/api/account/abstraction.mjs +62 -1
- package/dist/esm/api/account.d.mts +1 -0
- package/dist/esm/api/account.mjs +62 -1
- package/dist/esm/api/ans.mjs +62 -1
- package/dist/esm/api/aptos.d.mts +3 -4
- package/dist/esm/api/aptos.mjs +62 -1
- package/dist/esm/api/aptosConfig.mjs +9 -1
- package/dist/esm/api/coin.mjs +62 -1
- package/dist/esm/api/digitalAsset.mjs +62 -1
- package/dist/esm/api/faucet.mjs +62 -1
- package/dist/esm/api/fungibleAsset.mjs +62 -1
- package/dist/esm/api/general.mjs +62 -1
- package/dist/esm/api/index.d.mts +2 -1
- package/dist/esm/api/index.mjs +67 -1
- package/dist/esm/api/keyless.mjs +62 -1
- package/dist/esm/api/manager.d.mts +313 -0
- package/dist/esm/api/manager.mjs +63 -0
- package/dist/esm/api/object.mjs +62 -1
- package/dist/esm/api/staking.mjs +62 -1
- package/dist/esm/api/table.mjs +39 -1
- package/dist/esm/api/transaction.d.mts +56 -36
- package/dist/esm/api/transaction.mjs +62 -1
- package/dist/esm/api/transactionSubmission/build.mjs +62 -1
- package/dist/esm/api/transactionSubmission/helpers.mjs +9 -1
- package/dist/esm/api/transactionSubmission/management.mjs +62 -1
- package/dist/esm/api/transactionSubmission/sign.mjs +182 -1
- package/dist/esm/api/transactionSubmission/sign.mjs.map +1 -1
- package/dist/esm/api/transactionSubmission/simulate.mjs +62 -1
- package/dist/esm/api/transactionSubmission/submit.mjs +62 -1
- package/dist/esm/api/utils.mjs +37 -1
- package/dist/esm/bcs/consts.mjs +17 -1
- package/dist/esm/bcs/deserializer.mjs +10 -1
- package/dist/esm/bcs/index.mjs +60 -1
- package/dist/esm/bcs/serializable/entryFunctionBytes.mjs +12 -1
- package/dist/esm/bcs/serializable/fixedBytes.mjs +11 -1
- package/dist/esm/bcs/serializable/movePrimitives.mjs +26 -1
- package/dist/esm/bcs/serializable/moveStructs.mjs +22 -1
- package/dist/esm/bcs/serializer.mjs +18 -1
- package/dist/esm/chunk-2EQWS4BO.mjs +15 -0
- package/dist/esm/{chunk-HPQMAP7O.mjs.map → chunk-2EQWS4BO.mjs.map} +1 -1
- package/dist/esm/chunk-3WEOSEUE.mjs +221 -0
- package/dist/esm/{chunk-Y7ZQTLH4.mjs.map → chunk-3WEOSEUE.mjs.map} +1 -1
- package/dist/esm/chunk-4OAWQT57.mjs +281 -0
- package/dist/esm/{chunk-DW6WLD2B.mjs.map → chunk-4OAWQT57.mjs.map} +1 -1
- package/dist/esm/chunk-53SXUNRK.mjs +12 -0
- package/dist/esm/{chunk-OYUW6ZN2.mjs.map → chunk-53SXUNRK.mjs.map} +1 -1
- package/dist/esm/chunk-55VEYGKK.mjs +46 -0
- package/dist/esm/{chunk-OYH2T6V5.mjs.map → chunk-55VEYGKK.mjs.map} +1 -1
- package/dist/esm/chunk-6ZZZXQX5.mjs +138 -0
- package/dist/esm/{chunk-6PKBXYG3.mjs.map → chunk-6ZZZXQX5.mjs.map} +1 -1
- package/dist/esm/chunk-A4IKXI43.mjs +339 -0
- package/dist/esm/{chunk-6Y6ZO7TS.mjs.map → chunk-A4IKXI43.mjs.map} +1 -1
- package/dist/esm/{chunk-UL777LTI.mjs → chunk-A5FS7NAD.mjs} +380 -31
- package/dist/esm/{chunk-UL777LTI.mjs.map → chunk-A5FS7NAD.mjs.map} +1 -1
- package/dist/esm/chunk-APM7OSLS.mjs +122 -0
- package/dist/esm/{chunk-GOXRBEIJ.mjs.map → chunk-APM7OSLS.mjs.map} +1 -1
- package/dist/esm/chunk-BEYIOC2H.mjs +34 -0
- package/dist/esm/{chunk-YOZBVVKL.mjs.map → chunk-BEYIOC2H.mjs.map} +1 -1
- package/dist/esm/chunk-BQCCGCK4.mjs +22 -0
- package/dist/esm/{chunk-QREVMGQZ.mjs.map → chunk-BQCCGCK4.mjs.map} +1 -1
- package/dist/esm/chunk-CYKMZPCW.mjs +71 -0
- package/dist/esm/{chunk-XIQFX5FV.mjs.map → chunk-CYKMZPCW.mjs.map} +1 -1
- package/dist/esm/chunk-DTLPTPJW.mjs +7 -0
- package/dist/esm/{chunk-4R4AI5RT.mjs.map → chunk-DTLPTPJW.mjs.map} +1 -1
- package/dist/esm/chunk-DUYTCDXO.mjs +29 -0
- package/dist/esm/{chunk-BUUV6B4P.mjs.map → chunk-DUYTCDXO.mjs.map} +1 -1
- package/dist/esm/chunk-EPKBDH2H.mjs +177 -0
- package/dist/esm/{chunk-AQQEQB35.mjs.map → chunk-EPKBDH2H.mjs.map} +1 -1
- package/dist/esm/chunk-F7W7KS5C.mjs +52 -0
- package/dist/esm/{chunk-C3Q23D22.mjs.map → chunk-F7W7KS5C.mjs.map} +1 -1
- package/dist/esm/chunk-FHHBIGGL.mjs +43 -0
- package/dist/esm/{chunk-JCFTAG5Z.mjs.map → chunk-FHHBIGGL.mjs.map} +1 -1
- package/dist/esm/chunk-FJJ3KCPC.mjs +376 -0
- package/dist/esm/{chunk-NJN3EAOM.mjs.map → chunk-FJJ3KCPC.mjs.map} +1 -1
- package/dist/esm/chunk-GHQTJGG6.mjs +196 -0
- package/dist/esm/{chunk-STY74NUA.mjs.map → chunk-GHQTJGG6.mjs.map} +1 -1
- package/dist/esm/chunk-GREMFKLA.mjs +84 -0
- package/dist/esm/{chunk-PQS3II2E.mjs.map → chunk-GREMFKLA.mjs.map} +1 -1
- package/dist/esm/chunk-GUA5YTIK.mjs +362 -0
- package/dist/esm/{chunk-35DKMW7Q.mjs.map → chunk-GUA5YTIK.mjs.map} +1 -1
- package/dist/esm/chunk-HKXZMGVA.mjs +73 -0
- package/dist/esm/{chunk-WLUXOUZH.mjs.map → chunk-HKXZMGVA.mjs.map} +1 -1
- package/dist/esm/chunk-HXS6ZS4S.mjs +16311 -0
- package/dist/esm/chunk-HXS6ZS4S.mjs.map +1 -0
- package/dist/esm/chunk-IBRCEHIR.mjs +77 -0
- package/dist/esm/{chunk-IXYGZ57N.mjs.map → chunk-IBRCEHIR.mjs.map} +1 -1
- package/dist/esm/chunk-ITS22VZT.mjs +48 -0
- package/dist/esm/{chunk-BYINW7I2.mjs.map → chunk-ITS22VZT.mjs.map} +1 -1
- package/dist/esm/chunk-KJY6HBMF.mjs +114 -0
- package/dist/esm/{chunk-NII5Q32W.mjs.map → chunk-KJY6HBMF.mjs.map} +1 -1
- package/dist/esm/chunk-MOQKSDHO.mjs +33 -0
- package/dist/esm/{chunk-Z6KQX6VX.mjs.map → chunk-MOQKSDHO.mjs.map} +1 -1
- package/dist/esm/chunk-NATYEXGE.mjs +45 -0
- package/dist/esm/{chunk-PRUQZNAP.mjs.map → chunk-NATYEXGE.mjs.map} +1 -1
- package/dist/esm/chunk-O3EP3HB3.mjs +257 -0
- package/dist/esm/{chunk-IJE2LVZG.mjs.map → chunk-O3EP3HB3.mjs.map} +1 -1
- package/dist/esm/chunk-ORIVGO5I.mjs +73 -0
- package/dist/esm/{chunk-E6IUB35J.mjs.map → chunk-ORIVGO5I.mjs.map} +1 -1
- package/dist/esm/chunk-OWG3TOG6.mjs +11 -0
- package/dist/esm/{chunk-KJH4KKG6.mjs.map → chunk-OWG3TOG6.mjs.map} +1 -1
- package/dist/esm/chunk-P6RWWRGG.mjs +440 -0
- package/dist/esm/{chunk-GYVSI3TS.mjs.map → chunk-P6RWWRGG.mjs.map} +1 -1
- package/dist/esm/chunk-PT2QHUB6.mjs +96 -0
- package/dist/esm/{chunk-A5L76YP7.mjs.map → chunk-PT2QHUB6.mjs.map} +1 -1
- package/dist/esm/chunk-Q5W46UAQ.mjs +123 -0
- package/dist/esm/{chunk-ZMT2M6YT.mjs.map → chunk-Q5W46UAQ.mjs.map} +1 -1
- package/dist/esm/chunk-QIM243UU.mjs +89 -0
- package/dist/esm/{chunk-THUSLDD6.mjs.map → chunk-QIM243UU.mjs.map} +1 -1
- package/dist/esm/chunk-QPT4BSAB.mjs +20 -0
- package/dist/esm/{chunk-IF4UU2MT.mjs.map → chunk-QPT4BSAB.mjs.map} +1 -1
- package/dist/esm/chunk-SAWN7RJP.mjs +15 -0
- package/dist/esm/chunk-SBB4YEPT.mjs +17 -0
- package/dist/esm/{chunk-56CNRT2K.mjs.map → chunk-SBB4YEPT.mjs.map} +1 -1
- package/dist/esm/chunk-SCWOUBOV.mjs +101 -0
- package/dist/esm/{chunk-YFFDF22R.mjs.map → chunk-SCWOUBOV.mjs.map} +1 -1
- package/dist/esm/chunk-SFLQPB72.mjs +63 -0
- package/dist/esm/{chunk-4RXKALLC.mjs.map → chunk-SFLQPB72.mjs.map} +1 -1
- package/dist/esm/chunk-SQ3VDIBO.mjs +47 -0
- package/dist/esm/{chunk-RFQFTIOA.mjs.map → chunk-SQ3VDIBO.mjs.map} +1 -1
- package/dist/esm/chunk-TPJY5GTS.mjs +502 -0
- package/dist/esm/{chunk-6MWXV62C.mjs.map → chunk-TPJY5GTS.mjs.map} +1 -1
- package/dist/esm/chunk-TSXVHRQB.mjs +216 -0
- package/dist/esm/{chunk-C6JRJNK3.mjs.map → chunk-TSXVHRQB.mjs.map} +1 -1
- package/dist/esm/chunk-UAXZDOSV.mjs +19 -0
- package/dist/esm/{chunk-GRB6YSIT.mjs.map → chunk-UAXZDOSV.mjs.map} +1 -1
- package/dist/esm/chunk-UKXKN5YN.mjs +72 -0
- package/dist/esm/{chunk-ROT6S6BM.mjs.map → chunk-UKXKN5YN.mjs.map} +1 -1
- package/dist/esm/chunk-WZD3K77H.mjs +53 -0
- package/dist/esm/{chunk-FBCXUC7J.mjs.map → chunk-WZD3K77H.mjs.map} +1 -1
- package/dist/esm/chunk-XBBBLYRH.mjs +66 -0
- package/dist/esm/{chunk-QQEK2GJC.mjs.map → chunk-XBBBLYRH.mjs.map} +1 -1
- package/dist/esm/chunk-YJJUYS67.mjs +329 -0
- package/dist/esm/{chunk-UCBUUH5M.mjs.map → chunk-YJJUYS67.mjs.map} +1 -1
- package/dist/esm/cli/index.mjs +21 -1
- package/dist/esm/cli/localNode.mjs +17 -1
- package/dist/esm/cli/move.mjs +7 -1
- package/dist/esm/client/core.mjs +31 -1
- package/dist/esm/client/get.mjs +40 -1
- package/dist/esm/client/index.mjs +60 -1
- package/dist/esm/client/post.mjs +40 -1
- package/dist/esm/core/account/index.mjs +21 -1
- package/dist/esm/core/account/utils/address.mjs +19 -1
- package/dist/esm/core/account/utils/index.mjs +20 -1
- package/dist/esm/core/accountAddress.mjs +16 -1
- package/dist/esm/core/authenticationKey.mjs +15 -1
- package/dist/esm/core/common.mjs +7 -1
- package/dist/esm/core/crypto/abstraction.mjs +26 -1
- package/dist/esm/core/crypto/deserializationUtils.mjs +64 -1
- package/dist/esm/core/crypto/ed25519.mjs +68 -1
- package/dist/esm/core/crypto/ephemeral.mjs +64 -1
- package/dist/esm/core/crypto/federatedKeyless.mjs +62 -1
- package/dist/esm/core/crypto/hdKey.mjs +25 -1
- package/dist/esm/core/crypto/index.mjs +196 -1
- package/dist/esm/core/crypto/keyless.mjs +110 -1
- package/dist/esm/core/crypto/multiEd25519.mjs +64 -1
- package/dist/esm/core/crypto/multiKey.mjs +66 -1
- package/dist/esm/core/crypto/poseidon.mjs +15 -1
- package/dist/esm/core/crypto/privateKey.mjs +12 -1
- package/dist/esm/core/crypto/proof.mjs +20 -1
- package/dist/esm/core/crypto/publicKey.mjs +22 -1
- package/dist/esm/core/crypto/secp256k1.mjs +66 -1
- package/dist/esm/core/crypto/signature.mjs +20 -1
- package/dist/esm/core/crypto/singleKey.mjs +64 -1
- package/dist/esm/core/crypto/types.mjs +1 -1
- package/dist/esm/core/crypto/utils.d.mts +5 -2
- package/dist/esm/core/crypto/utils.mjs +66 -1
- package/dist/esm/core/hex.mjs +12 -1
- package/dist/esm/core/index.mjs +221 -1
- package/dist/esm/errors/index.mjs +26 -1
- package/dist/esm/index.d.mts +1 -1
- package/dist/esm/index.mjs +716 -1
- package/dist/esm/internal/abstraction.mjs +66 -1
- package/dist/esm/internal/account.d.mts +27 -21
- package/dist/esm/internal/account.mjs +108 -1
- package/dist/esm/internal/ans.d.mts +19 -8
- package/dist/esm/internal/ans.mjs +100 -1
- package/dist/esm/internal/coin.mjs +62 -1
- package/dist/esm/internal/digitalAsset.mjs +108 -1
- package/dist/esm/internal/faucet.mjs +62 -1
- package/dist/esm/internal/fungibleAsset.mjs +70 -1
- package/dist/esm/internal/general.mjs +44 -1
- package/dist/esm/internal/keyless.mjs +68 -1
- package/dist/esm/internal/object.mjs +64 -1
- package/dist/esm/internal/staking.mjs +66 -1
- package/dist/esm/internal/table.mjs +39 -1
- package/dist/esm/internal/transaction.mjs +58 -1
- package/dist/esm/internal/transactionSubmission.mjs +82 -1
- package/dist/esm/internal/utils/index.mjs +37 -1
- package/dist/esm/internal/utils/utils.mjs +36 -1
- package/dist/esm/internal/view.mjs +64 -1
- package/dist/esm/transactions/authenticator/account.mjs +74 -1
- package/dist/esm/transactions/authenticator/index.mjs +86 -1
- package/dist/esm/transactions/authenticator/transaction.mjs +72 -1
- package/dist/esm/transactions/index.mjs +277 -1
- package/dist/esm/transactions/instances/chainId.mjs +11 -1
- package/dist/esm/transactions/instances/identifier.mjs +11 -1
- package/dist/esm/transactions/instances/index.mjs +119 -1
- package/dist/esm/transactions/instances/moduleId.mjs +62 -1
- package/dist/esm/transactions/instances/multiAgentTransaction.mjs +62 -1
- package/dist/esm/transactions/instances/rawTransaction.mjs +68 -1
- package/dist/esm/transactions/instances/rotationProofChallenge.mjs +21 -1
- package/dist/esm/transactions/instances/signedTransaction.mjs +62 -1
- package/dist/esm/transactions/instances/simpleTransaction.mjs +62 -1
- package/dist/esm/transactions/instances/transactionArgument.mjs +1 -1
- package/dist/esm/transactions/instances/transactionPayload.mjs +94 -1
- package/dist/esm/transactions/management/accountSequenceNumber.mjs +62 -1
- package/dist/esm/transactions/management/asyncQueue.mjs +9 -1
- package/dist/esm/transactions/management/index.mjs +68 -1
- package/dist/esm/transactions/management/transactionWorker.mjs +66 -1
- package/dist/esm/transactions/transactionBuilder/helpers.mjs +100 -1
- package/dist/esm/transactions/transactionBuilder/index.mjs +148 -1
- package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs +76 -1
- package/dist/esm/transactions/transactionBuilder/signingMessage.mjs +68 -1
- package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs +84 -1
- package/dist/esm/transactions/typeTag/index.mjs +98 -1
- package/dist/esm/transactions/typeTag/parser.mjs +66 -1
- package/dist/esm/transactions/types.mjs +1 -1
- package/dist/esm/types/abstraction.mjs +7 -1
- package/dist/esm/types/generated/queries.mjs +65 -1
- package/dist/esm/types/generated/types.mjs +758 -1
- package/dist/esm/types/generated/types.mjs.map +1 -1
- package/dist/esm/types/index.mjs +83 -1
- package/dist/esm/types/indexer.d.mts +1 -1
- package/dist/esm/types/indexer.mjs +1 -1
- package/dist/esm/types/types.mjs +81 -1
- package/dist/esm/utils/apiEndpoints.mjs +21 -1
- package/dist/esm/utils/const.mjs +25 -1
- package/dist/esm/utils/helpers.mjs +42 -1
- package/dist/esm/utils/index.mjs +93 -1
- package/dist/esm/utils/memoize.mjs +9 -1
- package/dist/esm/utils/normalizeBundle.mjs +20 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +7 -1
- package/package.json +1 -1
- package/src/api/aptos.ts +10 -9
- package/src/api/index.ts +1 -0
- package/src/api/manager.ts +872 -0
- package/src/api/transaction.ts +59 -36
- package/src/core/crypto/utils.ts +38 -1
- package/src/internal/account.ts +36 -83
- package/src/internal/ans.ts +19 -8
- package/src/internal/move/jwks/build/jwk/BuildInfo.yaml +56 -0
- 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 +1533 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aggregator.move +48 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aggregator_factory.move +66 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aggregator_v2.move +280 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aptos_account.move +443 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aptos_coin.move +204 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aptos_governance.move +1387 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/block.move +394 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/chain_id.move +41 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/chain_status.move +48 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/code.move +367 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/coin.move +2214 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/config_buffer.move +101 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/consensus_config.move +77 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/create_signer.move +21 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/delegation_pool.move +5568 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/dispatchable_fungible_asset.move +228 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/dkg.move +121 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/event.move +92 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/execution_config.move +66 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/function_info.move +100 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/fungible_asset.move +1566 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/gas_schedule.move +176 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/genesis.move +550 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/governance_proposal.move +23 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/guid.move +68 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/jwk_consensus_config.move +148 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/jwks.move +817 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/keyless_account.move +312 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/managed_coin.move +205 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/multisig_account.move +2477 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/object.move +1073 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/object_code_deployment.move +147 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/optional_aggregator.move +295 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/primary_fungible_store.move +405 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/randomness.move +574 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/randomness_api_v0_config.move +57 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/randomness_config.move +153 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/randomness_config_seqnum.move +49 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/reconfiguration.move +237 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/reconfiguration_state.move +132 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/reconfiguration_with_dkg.move +69 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/resource_account.move +267 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/stake.move +3286 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/staking_config.move +686 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/staking_contract.move +1618 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/staking_proxy.move +228 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/state_storage.move +90 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/storage_gas.move +622 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/system_addresses.move +82 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/timestamp.move +88 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/transaction_context.move +262 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/transaction_fee.move +457 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/transaction_validation.move +501 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/util.move +16 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/validator_consensus_info.move +42 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/version.move +115 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/vesting.move +2183 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/voting.move +1279 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/any.move +57 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/aptos_hash.move +253 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/big_vector.move +469 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/bls12381.move +985 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/bls12381_algebra.move +802 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/bn254_algebra.move +855 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/capability.move +193 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/comparator.move +173 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/copyable_any.move +45 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/crypto_algebra.move +351 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/debug.move +278 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/ed25519.move +262 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/fixed_point64.move +447 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/from_bcs.move +91 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/math128.move +381 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/math64.move +336 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/math_fixed.move +139 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/math_fixed64.move +142 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/multi_ed25519.move +482 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/pool_u64.move +571 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/pool_u64_unbound.move +270 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/ristretto255.move +1310 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/ristretto255_bulletproofs.move +253 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/ristretto255_elgamal.move +234 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/ristretto255_pedersen.move +158 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/secp256k1.move +114 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/simple_map.move +319 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/smart_table.move +769 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/smart_vector.move +766 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/string_utils.move +148 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/table.move +152 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/table_with_length.move +141 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/type_info.move +351 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/acl.move +46 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/bcs.move +27 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/bit_vector.move +239 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/error.move +88 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/features.move +780 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/fixed_point32.move +295 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/hash.move +8 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/option.move +356 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/signer.move +21 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/string.move +93 -0
- package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/vector.move +669 -0
- package/src/internal/move/jwks/build/jwk/sources/main.move +20 -0
- package/src/version.ts +1 -1
- package/dist/common/chunk-6MMUUJHX.js +0 -4
- package/dist/common/chunk-6MMUUJHX.js.map +0 -1
- package/dist/esm/api/event.d.mts +0 -193
- package/dist/esm/api/event.mjs +0 -2
- package/dist/esm/chunk-35DKMW7Q.mjs +0 -2
- package/dist/esm/chunk-4R4AI5RT.mjs +0 -2
- package/dist/esm/chunk-4RXKALLC.mjs +0 -2
- package/dist/esm/chunk-56CNRT2K.mjs +0 -2
- package/dist/esm/chunk-6MWXV62C.mjs +0 -2
- package/dist/esm/chunk-6PKBXYG3.mjs +0 -2
- package/dist/esm/chunk-6Y6ZO7TS.mjs +0 -7
- package/dist/esm/chunk-A5L76YP7.mjs +0 -2
- package/dist/esm/chunk-AQQEQB35.mjs +0 -2
- package/dist/esm/chunk-BUUV6B4P.mjs +0 -2
- package/dist/esm/chunk-BYINW7I2.mjs +0 -2
- package/dist/esm/chunk-C3Q23D22.mjs +0 -2
- package/dist/esm/chunk-C6JRJNK3.mjs +0 -2
- package/dist/esm/chunk-DPW6ELCQ.mjs +0 -2
- package/dist/esm/chunk-DPW6ELCQ.mjs.map +0 -1
- package/dist/esm/chunk-DW6WLD2B.mjs +0 -2
- package/dist/esm/chunk-E6IUB35J.mjs +0 -2
- package/dist/esm/chunk-EPMBZCYJ.mjs +0 -2
- package/dist/esm/chunk-EPMBZCYJ.mjs.map +0 -1
- package/dist/esm/chunk-FBCXUC7J.mjs +0 -2
- package/dist/esm/chunk-FWGLACJS.mjs +0 -2
- package/dist/esm/chunk-FWGLACJS.mjs.map +0 -1
- package/dist/esm/chunk-GOXRBEIJ.mjs +0 -2
- package/dist/esm/chunk-GRB6YSIT.mjs +0 -2
- package/dist/esm/chunk-GYVSI3TS.mjs +0 -4
- package/dist/esm/chunk-HPQMAP7O.mjs +0 -2
- package/dist/esm/chunk-I4NMWLUZ.mjs +0 -6
- package/dist/esm/chunk-I4NMWLUZ.mjs.map +0 -1
- package/dist/esm/chunk-IF4UU2MT.mjs +0 -2
- package/dist/esm/chunk-IJE2LVZG.mjs +0 -2
- package/dist/esm/chunk-IXYGZ57N.mjs +0 -2
- package/dist/esm/chunk-JCFTAG5Z.mjs +0 -2
- package/dist/esm/chunk-KDMSOCZY.mjs +0 -2
- package/dist/esm/chunk-KJH4KKG6.mjs +0 -2
- package/dist/esm/chunk-NII5Q32W.mjs +0 -2
- package/dist/esm/chunk-NJN3EAOM.mjs +0 -2
- package/dist/esm/chunk-OYH2T6V5.mjs +0 -2
- package/dist/esm/chunk-OYUW6ZN2.mjs +0 -2
- package/dist/esm/chunk-PQS3II2E.mjs +0 -2
- package/dist/esm/chunk-PRUQZNAP.mjs +0 -2
- package/dist/esm/chunk-QGFWOGAV.mjs +0 -2
- package/dist/esm/chunk-QGFWOGAV.mjs.map +0 -1
- package/dist/esm/chunk-QQEK2GJC.mjs +0 -2
- package/dist/esm/chunk-QREVMGQZ.mjs +0 -2
- package/dist/esm/chunk-RFQFTIOA.mjs +0 -2
- package/dist/esm/chunk-ROT6S6BM.mjs +0 -2
- package/dist/esm/chunk-STY74NUA.mjs +0 -2
- package/dist/esm/chunk-THUSLDD6.mjs +0 -2
- package/dist/esm/chunk-UCBUUH5M.mjs +0 -2
- package/dist/esm/chunk-WLUXOUZH.mjs +0 -2
- package/dist/esm/chunk-XIQFX5FV.mjs +0 -2
- package/dist/esm/chunk-Y7ZQTLH4.mjs +0 -2
- package/dist/esm/chunk-YFFDF22R.mjs +0 -2
- package/dist/esm/chunk-YOZBVVKL.mjs +0 -2
- package/dist/esm/chunk-Z6KQX6VX.mjs +0 -2
- package/dist/esm/chunk-ZMT2M6YT.mjs +0 -2
- package/dist/esm/internal/event.d.mts +0 -82
- package/dist/esm/internal/event.mjs +0 -2
- package/dist/esm/internal/event.mjs.map +0 -1
- package/src/api/event.ts +0 -230
- package/src/internal/event.ts +0 -166
- /package/dist/esm/api/{event.mjs.map → manager.mjs.map} +0 -0
- /package/dist/esm/{chunk-KDMSOCZY.mjs.map → chunk-SAWN7RJP.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
|
|
2
|
-
export { ea as APTOS_COIN, eb as APTOS_FA,
|
|
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 MoveFunctionId, b7 as TransactionSubmitter, b8 as Network, b9 as EntryFunctionArgument, ba as MultiKeySignature, bb as AccountAuthenticatorMultiEd25519, bc as AccountAuthenticatorAbstraction, bd as ClientRequest, be as Client, bf as ClientResponse, bg as AptosRequest, bh as AptosApiType, bi as AptosResponse, bj as MimeType, bk as ClientConfig } from './account-D4dsN-1K.js';
|
|
2
|
+
export { ea as APTOS_COIN, eb as APTOS_FA, bv as AbstractMultiKey, cA as AccountAuthenticatorVariant, dz as AccountSignature, br as AddressInvalidReason, cC as AnyPublicKeyVariant, cE as AnySignatureVariant, cM as AptosSettings, dX as AuthenticationKeyScheme, d4 as BlockEndInfo, d5 as BlockEpilogueTransactionResponse, d1 as BlockMetadataTransactionResponse, bC as ChainId, cR as ClientHeadersType, e7 as DEFAULT_MAX_GAS_AMOUNT, e8 as DEFAULT_TXN_EXP_SEC_FROM_NOW, e9 as DEFAULT_TXN_TIMEOUT_SEC, dd as DecodedTableData, de as DeletedTableData, dY as DeriveScheme, bl as Deserializable, dC as DirectWriteSet, dg as EntryFunctionPayloadResponse, cF as EphemeralSignatureVariant, dE as Event, dD as EventGuid, ee as FIREBASE_AUTH_ISS_PATTERN, cP as FaucetConfig, bH as FeePayerRawTransaction, cN as FullNodeConfig, d$ as GenerateAccount, dZ as GenerateAccountWithEd25519, d_ as GenerateAccountWithSingleSignerSecp256k1Key, dj as GenesisPayload, d0 as GenesisTransactionResponse, cn as GetAccountAddressesForAuthKeyResponse, co as GetEventsResponse, bA as Hex, bz as HexInvalidReason, bD as Identifier, cO as IndexerConfig, cf as InputEntryFunctionData, cl as InputGenerateMultiAgentRawTransactionData, ce as InputGenerateOrderlessTransactionOptions, cj as InputGenerateRawTransactionArgs, cd as InputGenerateSequenceNumberTransactionOptions, ck as InputGenerateSingleSignerRawTransactionData, cm as InputGenerateTransactionData, cg as InputGenerateTransactionPayloadDataWithABI, ch as InputMultiSigData, bE as ModuleId, dS as MoveAbility, dL as MoveAddressType, dT as MoveFunctionGenericTypeParam, dR as MoveFunctionVisibility, dQ as MoveModuleId, dM as MoveObjectType, bq 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, bG as MultiAgentRawTransaction, bN as MultiSig, bO as MultiSigTransactionPayload, di as MultisigPayloadResponse, e5 as NetworkToChainId, e2 as NetworkToFaucetAPI, e0 as NetworkToIndexerAPI, e6 as NetworkToNetworkName, e1 as NetworkToNodeAPI, e3 as NetworkToPepperAPI, e4 as NetworkToProverAPI, cp as OrderBy, cq as OrderByValue, bs as ParsingError, bt as ParsingResult, cS as PluginConfig, cT as PluginSettings, cB as PrivateKeyVariants, ec as RAW_TRANSACTION_SALT, ed as RAW_TRANSACTION_WITH_DATA_SALT, bF as RawTransactionWithData, dW as RoleType, bM as Script, bJ as ScriptFunctionArgument, cc as ScriptFunctionArgumentTypes, dh as ScriptPayloadResponse, ct as ScriptTransactionArgumentVariants, dB as ScriptWriteSet, bx as Secp256k1PrivateKey, bw as Secp256k1PublicKey, by as Secp256k1Signature, bp as Serialized, d2 as StateCheckpointTransactionResponse, c7 as StructTag, cr as TokenStandard, bI as TransactionArgument, cz as TransactionAuthenticatorVariant, dt as TransactionEd25519Signature, bQ as TransactionExecutable, bT as TransactionExecutableEmpty, bS as TransactionExecutableEntryFunction, bR as TransactionExecutableScript, cw as TransactionExecutableVariants, bU as TransactionExtraConfig, bV as TransactionExtraConfigV1, cx as TransactionExtraConfigVariants, dy as TransactionFeePayerSignature, cQ as TransactionGenerationConfig, bP as TransactionInnerPayloadV1, cv as TransactionInnerPayloadVariants, dx as TransactionMultiAgentSignature, dw as TransactionMultiEd25519Signature, bL as TransactionPayload, df as TransactionPayloadResponse, cu as TransactionPayloadVariants, cU as TransactionResponseType, du as TransactionSecp256k1Signature, dl as TransactionSignature, dv as TransactionSingleSenderSignature, cy as TransactionVariants, c1 as TypeTagAddress, bW as TypeTagBool, c4 as TypeTagGeneric, c3 as TypeTagReference, c2 as TypeTagSigner, c6 as TypeTagStruct, b$ as TypeTagU128, bY as TypeTagU16, c0 as TypeTagU256, bZ as TypeTagU32, b_ as TypeTagU64, bX as TypeTagU8, cs as TypeTagVariants, c5 as TypeTagVector, cK as Uint128, cH as Uint16, cL as Uint256, cI as Uint32, cJ as Uint64, cG as Uint8, d3 as ValidatorTransactionResponse, ci 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, cD as anyPublicKeyVariantToString, c8 as aptosCoinStructTag, bK as deserializeFromScriptArgument, bm as ensureBoolean, bB as hexToAsciiString, c$ as isBlockEpilogueTransactionResponse, cY as isBlockMetadataTransactionResponse, bu 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, cb as objectStructTag, ca as optionStructTag, bn as outOfRangeErrorMessage, c9 as stringStructTag, bo as validateNumberInRange } from './account-D4dsN-1K.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';
|
|
@@ -223,21 +223,6 @@ type CurrentFungibleAssetBalancesBoolExp = {
|
|
|
223
223
|
storage_id?: InputMaybe<StringComparisonExp>;
|
|
224
224
|
token_standard?: InputMaybe<StringComparisonExp>;
|
|
225
225
|
};
|
|
226
|
-
/** Boolean expression to filter rows from the table "events". All fields are combined with a logical 'AND'. */
|
|
227
|
-
type EventsBoolExp = {
|
|
228
|
-
_and?: InputMaybe<Array<EventsBoolExp>>;
|
|
229
|
-
_not?: InputMaybe<EventsBoolExp>;
|
|
230
|
-
_or?: InputMaybe<Array<EventsBoolExp>>;
|
|
231
|
-
account_address?: InputMaybe<StringComparisonExp>;
|
|
232
|
-
creation_number?: InputMaybe<BigintComparisonExp>;
|
|
233
|
-
data?: InputMaybe<JsonbComparisonExp>;
|
|
234
|
-
event_index?: InputMaybe<BigintComparisonExp>;
|
|
235
|
-
indexed_type?: InputMaybe<StringComparisonExp>;
|
|
236
|
-
sequence_number?: InputMaybe<BigintComparisonExp>;
|
|
237
|
-
transaction_block_height?: InputMaybe<BigintComparisonExp>;
|
|
238
|
-
transaction_version?: InputMaybe<BigintComparisonExp>;
|
|
239
|
-
type?: InputMaybe<StringComparisonExp>;
|
|
240
|
-
};
|
|
241
226
|
/** Boolean expression to filter rows from the table "fungible_asset_activities". All fields are combined with a logical 'AND'. */
|
|
242
227
|
type FungibleAssetActivitiesBoolExp = {
|
|
243
228
|
_and?: InputMaybe<Array<FungibleAssetActivitiesBoolExp>>;
|
|
@@ -4548,190 +4533,6 @@ declare class DigitalAsset {
|
|
|
4548
4533
|
}): Promise<SimpleTransaction>;
|
|
4549
4534
|
}
|
|
4550
4535
|
|
|
4551
|
-
/**
|
|
4552
|
-
* A class to query all `Event` Aptos related queries.
|
|
4553
|
-
* @group Event
|
|
4554
|
-
*/
|
|
4555
|
-
declare class Event {
|
|
4556
|
-
readonly config: AptosConfig;
|
|
4557
|
-
/**
|
|
4558
|
-
* Initializes a new instance of the Aptos client with the provided configuration.
|
|
4559
|
-
*
|
|
4560
|
-
* @param config - The configuration settings for the Aptos client.
|
|
4561
|
-
* @param config.network - The network to connect to (e.g., Testnet, Mainnet).
|
|
4562
|
-
* @param config.nodeUrl - The URL of the Aptos node to connect to.
|
|
4563
|
-
* @param config.faucetUrl - The URL of the faucet to use for funding accounts.
|
|
4564
|
-
*
|
|
4565
|
-
* @example
|
|
4566
|
-
* ```typescript
|
|
4567
|
-
* import { Aptos, AptosConfig, Network } from "@aptos-labs/ts-sdk";
|
|
4568
|
-
*
|
|
4569
|
-
* async function runExample() {
|
|
4570
|
-
* // Create a new Aptos client with Testnet configuration
|
|
4571
|
-
* const config = new AptosConfig({ network: Network.TESTNET }); // Specify your own network if needed
|
|
4572
|
-
* const aptos = new Aptos(config);
|
|
4573
|
-
*
|
|
4574
|
-
* console.log("Aptos client initialized:", aptos);
|
|
4575
|
-
* }
|
|
4576
|
-
* runExample().catch(console.error);
|
|
4577
|
-
* ```
|
|
4578
|
-
* @group Event
|
|
4579
|
-
*/
|
|
4580
|
-
constructor(config: AptosConfig);
|
|
4581
|
-
/**
|
|
4582
|
-
* Retrieve module events based on a specified event type.
|
|
4583
|
-
* This function allows you to query for events that are associated with a particular module event type in the Aptos blockchain.
|
|
4584
|
-
*
|
|
4585
|
-
* @param args - The arguments for retrieving module events.
|
|
4586
|
-
* @param args.eventType - The event type to filter the results.
|
|
4587
|
-
* @param args.minimumLedgerVersion - Optional ledger version to sync up to before querying.
|
|
4588
|
-
* @param args.options - Optional pagination and ordering parameters for the event results.
|
|
4589
|
-
*
|
|
4590
|
-
* @returns Promise<GetEventsResponse> - A promise that resolves to the retrieved events.
|
|
4591
|
-
*
|
|
4592
|
-
* @example
|
|
4593
|
-
* ```typescript
|
|
4594
|
-
* import { Aptos, AptosConfig, Network } from "@aptos-labs/ts-sdk";
|
|
4595
|
-
*
|
|
4596
|
-
* const config = new AptosConfig({ network: Network.TESTNET });
|
|
4597
|
-
* const aptos = new Aptos(config);
|
|
4598
|
-
*
|
|
4599
|
-
* async function runExample() {
|
|
4600
|
-
* // Retrieve module events for a specific event type
|
|
4601
|
-
* const events = await aptos.getModuleEventsByEventType({
|
|
4602
|
-
* eventType: "0x1::transaction_fee::FeeStatement", // specify the event type
|
|
4603
|
-
* minimumLedgerVersion: 1, // optional: specify minimum ledger version if needed
|
|
4604
|
-
* });
|
|
4605
|
-
*
|
|
4606
|
-
* console.log(events); // log the retrieved events
|
|
4607
|
-
* }
|
|
4608
|
-
* runExample().catch(console.error);
|
|
4609
|
-
* ```
|
|
4610
|
-
* @group Event
|
|
4611
|
-
*/
|
|
4612
|
-
getModuleEventsByEventType(args: {
|
|
4613
|
-
eventType: MoveStructId;
|
|
4614
|
-
minimumLedgerVersion?: AnyNumber;
|
|
4615
|
-
options?: PaginationArgs & OrderByArg<GetEventsResponse[0]>;
|
|
4616
|
-
}): Promise<GetEventsResponse>;
|
|
4617
|
-
/**
|
|
4618
|
-
* Retrieve events associated with a specific account address and creation number.
|
|
4619
|
-
*
|
|
4620
|
-
* @param args - The parameters for retrieving account events.
|
|
4621
|
-
* @param args.accountAddress - The account address to query events for.
|
|
4622
|
-
* @param args.creationNumber - The event creation number to filter the events.
|
|
4623
|
-
* @param args.minimumLedgerVersion - Optional minimum ledger version to sync up to before querying.
|
|
4624
|
-
*
|
|
4625
|
-
* @returns Promise<GetEventsResponse>
|
|
4626
|
-
*
|
|
4627
|
-
* @example
|
|
4628
|
-
* ```typescript
|
|
4629
|
-
* import { Aptos, AptosConfig, Network } from "@aptos-labs/ts-sdk";
|
|
4630
|
-
*
|
|
4631
|
-
* const config = new AptosConfig({ network: Network.TESTNET });
|
|
4632
|
-
* const aptos = new Aptos(config);
|
|
4633
|
-
*
|
|
4634
|
-
* async function runExample() {
|
|
4635
|
-
* // Get events for the account at creation number 0
|
|
4636
|
-
* const events = await aptos.getAccountEventsByCreationNumber({
|
|
4637
|
-
* accountAddress: "0x1", // replace with a real account address
|
|
4638
|
-
* creationNumber: 0,
|
|
4639
|
-
* });
|
|
4640
|
-
*
|
|
4641
|
-
* console.log(events);
|
|
4642
|
-
* }
|
|
4643
|
-
* runExample().catch(console.error);
|
|
4644
|
-
* ```
|
|
4645
|
-
* @group Event
|
|
4646
|
-
*/
|
|
4647
|
-
getAccountEventsByCreationNumber(args: {
|
|
4648
|
-
accountAddress: AccountAddressInput;
|
|
4649
|
-
creationNumber: AnyNumber;
|
|
4650
|
-
minimumLedgerVersion?: AnyNumber;
|
|
4651
|
-
}): Promise<GetEventsResponse>;
|
|
4652
|
-
/**
|
|
4653
|
-
* Retrieve events associated with a specific account address and event type.
|
|
4654
|
-
*
|
|
4655
|
-
* @param args.accountAddress - The account address to query events for.
|
|
4656
|
-
* @param args.eventType - The type of event to filter by.
|
|
4657
|
-
* @param args.minimumLedgerVersion - Optional ledger version to sync up to before querying.
|
|
4658
|
-
* @param args.options - Optional pagination and ordering parameters for the event query.
|
|
4659
|
-
*
|
|
4660
|
-
* @returns Promise<GetEventsResponse>
|
|
4661
|
-
*
|
|
4662
|
-
* @example
|
|
4663
|
-
* ```typescript
|
|
4664
|
-
* import { Aptos, AptosConfig, Network } from "@aptos-labs/ts-sdk";
|
|
4665
|
-
*
|
|
4666
|
-
* const config = new AptosConfig({ network: Network.TESTNET });
|
|
4667
|
-
* const aptos = new Aptos(config);
|
|
4668
|
-
*
|
|
4669
|
-
* async function runExample() {
|
|
4670
|
-
* // Get events for a specific account and event type
|
|
4671
|
-
* const events = await aptos.getAccountEventsByEventType({
|
|
4672
|
-
* accountAddress: "0x1", // replace with a real account address
|
|
4673
|
-
* eventType: "0x1::transaction_fee::FeeStatement", // replace with a real event type
|
|
4674
|
-
* minimumLedgerVersion: 1, // optional, specify if needed
|
|
4675
|
-
* });
|
|
4676
|
-
*
|
|
4677
|
-
* console.log(events);
|
|
4678
|
-
* }
|
|
4679
|
-
* runExample().catch(console.error);
|
|
4680
|
-
* ```
|
|
4681
|
-
* @group Event
|
|
4682
|
-
*/
|
|
4683
|
-
getAccountEventsByEventType(args: {
|
|
4684
|
-
accountAddress: AccountAddressInput;
|
|
4685
|
-
eventType: MoveStructId;
|
|
4686
|
-
minimumLedgerVersion?: AnyNumber;
|
|
4687
|
-
options?: PaginationArgs & OrderByArg<GetEventsResponse[0]>;
|
|
4688
|
-
}): Promise<GetEventsResponse>;
|
|
4689
|
-
/**
|
|
4690
|
-
* Retrieve all events from the Aptos blockchain.
|
|
4691
|
-
* An optional `where` clause can be provided to filter the results based on specific criteria.
|
|
4692
|
-
*
|
|
4693
|
-
* @param args Optional parameters for the query.
|
|
4694
|
-
* @param args.minimumLedgerVersion Optional ledger version to sync up to before querying.
|
|
4695
|
-
* @param args.options Optional pagination and filtering options.
|
|
4696
|
-
* @param args.options.where Optional condition to filter events.
|
|
4697
|
-
* @param args.options.offset Optional pagination offset.
|
|
4698
|
-
* @param args.options.limit Optional maximum number of events to return.
|
|
4699
|
-
* @param args.options.orderBy Optional ordering of the results.
|
|
4700
|
-
*
|
|
4701
|
-
* @returns GetEventsQuery response type containing the events.
|
|
4702
|
-
*
|
|
4703
|
-
* @example
|
|
4704
|
-
* ```typescript
|
|
4705
|
-
* import { Aptos, AptosConfig, Network } from "@aptos-labs/ts-sdk";
|
|
4706
|
-
*
|
|
4707
|
-
* const config = new AptosConfig({ network: Network.TESTNET });
|
|
4708
|
-
* const aptos = new Aptos(config);
|
|
4709
|
-
*
|
|
4710
|
-
* async function runExample() {
|
|
4711
|
-
* // Retrieve all events
|
|
4712
|
-
* const events = await aptos.getEvents();
|
|
4713
|
-
*
|
|
4714
|
-
* // Retrieve events with filtering by account address
|
|
4715
|
-
* const whereCondition = {
|
|
4716
|
-
* account_address: { _eq: "0x123" }, // replace with a real account address
|
|
4717
|
-
* };
|
|
4718
|
-
* const filteredEvents = await aptos.getEvents({
|
|
4719
|
-
* options: { where: whereCondition },
|
|
4720
|
-
* });
|
|
4721
|
-
*
|
|
4722
|
-
* console.log(events);
|
|
4723
|
-
* console.log(filteredEvents);
|
|
4724
|
-
* }
|
|
4725
|
-
* runExample().catch(console.error);
|
|
4726
|
-
* ```
|
|
4727
|
-
* @group Event
|
|
4728
|
-
*/
|
|
4729
|
-
getEvents(args?: {
|
|
4730
|
-
minimumLedgerVersion?: AnyNumber;
|
|
4731
|
-
options?: PaginationArgs & OrderByArg<GetEventsResponse[0]> & WhereArg<EventsBoolExp>;
|
|
4732
|
-
}): Promise<GetEventsResponse>;
|
|
4733
|
-
}
|
|
4734
|
-
|
|
4735
4536
|
/**
|
|
4736
4537
|
* A class to query all `Faucet` related queries on Aptos.
|
|
4737
4538
|
* @group Faucet
|
|
@@ -5390,6 +5191,9 @@ declare class General {
|
|
|
5390
5191
|
* @param sender - The account initiating the name registration.
|
|
5391
5192
|
* @param name - The name to be registered.
|
|
5392
5193
|
* @param expiration - The expiration policy for the name registration.
|
|
5194
|
+
* @param transferable - Whether the name can be transferred to another owner.
|
|
5195
|
+
* @param toAddress - The address that will be set as the owner_address of the name.
|
|
5196
|
+
* @param targetAddress - The address that this name will resolve to.
|
|
5393
5197
|
* @group Implementation
|
|
5394
5198
|
*/
|
|
5395
5199
|
interface RegisterNameParameters {
|
|
@@ -7451,43 +7255,33 @@ declare class Transaction {
|
|
|
7451
7255
|
*
|
|
7452
7256
|
* @param args - The arguments for rotating the authentication key.
|
|
7453
7257
|
* @param args.fromAccount - The account from which the authentication key will be rotated.
|
|
7454
|
-
* @param args.toAccount - (Optional) The target account to rotate to. Required if not using toNewPrivateKey
|
|
7455
|
-
* @param args.toNewPrivateKey - (Optional) The new private key to rotate to. Required if not using toAccount
|
|
7456
|
-
* @param args.toAuthKey - (Optional) The new authentication key to rotate to. Can only be used with dangerouslySkipVerification=true.
|
|
7457
|
-
* @param args.dangerouslySkipVerification - (Optional) If true, skips verification steps after rotation. Required when using toAuthKey.
|
|
7258
|
+
* @param args.toAccount - (Optional) The target account to rotate to. Required if not using toNewPrivateKey.
|
|
7259
|
+
* @param args.toNewPrivateKey - (Optional) The new private key to rotate to. Required if not using toAccount.
|
|
7458
7260
|
*
|
|
7459
7261
|
* @remarks
|
|
7460
7262
|
* This function supports three modes of rotation:
|
|
7461
7263
|
* 1. Using a target Account object (toAccount)
|
|
7462
7264
|
* 2. Using a new private key (toNewPrivateKey)
|
|
7463
|
-
* 3. Using a raw authentication key (toAuthKey) - requires dangerouslySkipVerification=true
|
|
7464
7265
|
*
|
|
7465
|
-
*
|
|
7266
|
+
* For Ed25519 accounts, the function will use a challenge-based rotation that requires signatures from both the old and new keys.
|
|
7267
|
+
* For multi-key accounts like MultiEd25519Account, the function will use a challenge-based rotation that requires signatures from both keys.
|
|
7268
|
+
* For other account types, the function will use an unverified rotation that only requires the new public key.
|
|
7466
7269
|
*
|
|
7467
|
-
*
|
|
7468
|
-
* prevent users from being locked out of the account from loss of knowledge of one of the public keys.
|
|
7469
|
-
*
|
|
7470
|
-
* @returns PendingTransactionResponse
|
|
7270
|
+
* @returns SimpleTransaction that can be submitted to rotate the auth key
|
|
7471
7271
|
*
|
|
7472
7272
|
* @example
|
|
7473
7273
|
* ```typescript
|
|
7474
|
-
*
|
|
7475
|
-
*
|
|
7476
|
-
*
|
|
7477
|
-
*
|
|
7478
|
-
*
|
|
7479
|
-
* async function runExample() {
|
|
7480
|
-
* // Rotate the authentication key for an account
|
|
7481
|
-
* const response = await aptos.rotateAuthKey({
|
|
7482
|
-
* // replace with a real account
|
|
7483
|
-
* fromAccount: Account.generate(),
|
|
7484
|
-
* // replace with a real private key
|
|
7485
|
-
* toNewPrivateKey: new PrivateKey("0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"),
|
|
7486
|
-
* });
|
|
7274
|
+
* // Create and submit transaction to rotate the auth key
|
|
7275
|
+
* const transaction = await aptos.rotateAuthKey({
|
|
7276
|
+
* fromAccount,
|
|
7277
|
+
* toAccount: toAccount,
|
|
7278
|
+
* });
|
|
7487
7279
|
*
|
|
7488
|
-
*
|
|
7489
|
-
*
|
|
7490
|
-
*
|
|
7280
|
+
* // Sign and submit the transaction
|
|
7281
|
+
* const pendingTransaction = await aptos.signAndSubmitTransaction({
|
|
7282
|
+
* signer: fromAccount,
|
|
7283
|
+
* transaction,
|
|
7284
|
+
* });
|
|
7491
7285
|
* ```
|
|
7492
7286
|
* @group Transaction
|
|
7493
7287
|
*/
|
|
@@ -7495,15 +7289,44 @@ declare class Transaction {
|
|
|
7495
7289
|
fromAccount: Account;
|
|
7496
7290
|
options?: InputGenerateTransactionOptions;
|
|
7497
7291
|
} & ({
|
|
7498
|
-
toAccount:
|
|
7499
|
-
dangerouslySkipVerification?: never;
|
|
7292
|
+
toAccount: Ed25519Account | MultiEd25519Account;
|
|
7500
7293
|
} | {
|
|
7501
7294
|
toNewPrivateKey: Ed25519PrivateKey;
|
|
7502
|
-
|
|
7503
|
-
|
|
7504
|
-
|
|
7505
|
-
|
|
7506
|
-
|
|
7295
|
+
})): Promise<SimpleTransaction>;
|
|
7296
|
+
/**
|
|
7297
|
+
* Rotates the authentication key for a given account without verifying the new key.
|
|
7298
|
+
*
|
|
7299
|
+
* Accounts with their auth key rotated via this function will be derivable via the `getAccountsForPublicKey` and
|
|
7300
|
+
* `deriveOwnedAccountsFromSigner` functions however the public key will be unverified (no proof of ownership). Thus
|
|
7301
|
+
* includeUnverified must be set to true to derive the account until the public key is verified via signing a transaction.
|
|
7302
|
+
*
|
|
7303
|
+
* @param args - The arguments for rotating the authentication key.
|
|
7304
|
+
* @param args.fromAccount - The account from which the authentication key will be rotated.
|
|
7305
|
+
* @param args.toNewPublicKey - The new public key to rotate to.
|
|
7306
|
+
*
|
|
7307
|
+
* @returns A simple transaction object that can be submitted to the network.
|
|
7308
|
+
*
|
|
7309
|
+
* @example
|
|
7310
|
+
* ```typescript
|
|
7311
|
+
* // Create and submit transaction to rotate the auth key
|
|
7312
|
+
* const transaction = await aptos.rotateAuthKeyUnverified({
|
|
7313
|
+
* fromAccount,
|
|
7314
|
+
* toNewPublicKey,
|
|
7315
|
+
* });
|
|
7316
|
+
*
|
|
7317
|
+
* // Sign and submit the transaction
|
|
7318
|
+
* const pendingTransaction = await aptos.signAndSubmitTransaction({
|
|
7319
|
+
* signer: fromAccount,
|
|
7320
|
+
* transaction,
|
|
7321
|
+
* });
|
|
7322
|
+
* ```
|
|
7323
|
+
* @group Transaction
|
|
7324
|
+
*/
|
|
7325
|
+
rotateAuthKeyUnverified(args: {
|
|
7326
|
+
fromAccount: Account;
|
|
7327
|
+
options?: InputGenerateTransactionOptions;
|
|
7328
|
+
toNewPublicKey: AccountPublicKey;
|
|
7329
|
+
}): Promise<SimpleTransaction>;
|
|
7507
7330
|
/**
|
|
7508
7331
|
* Sign a transaction that can later be submitted to the chain.
|
|
7509
7332
|
* This function is essential for ensuring the authenticity of the transaction by using the provided account's signing capabilities.
|
|
@@ -9133,7 +8956,6 @@ declare class Aptos {
|
|
|
9133
8956
|
readonly ans: ANS;
|
|
9134
8957
|
readonly coin: Coin;
|
|
9135
8958
|
readonly digitalAsset: DigitalAsset;
|
|
9136
|
-
readonly event: Event;
|
|
9137
8959
|
readonly faucet: Faucet;
|
|
9138
8960
|
readonly fungibleAsset: FungibleAsset;
|
|
9139
8961
|
readonly general: General;
|
|
@@ -9170,111 +8992,567 @@ interface Aptos extends Account$1, ANS, Coin, DigitalAsset, Event, Faucet, Fungi
|
|
|
9170
8992
|
}
|
|
9171
8993
|
|
|
9172
8994
|
/**
|
|
9173
|
-
* This class exists solely to represent a sequence of fixed bytes as a serialized entry function, because
|
|
9174
|
-
* serializing an entry function appends a prefix that's *only* used for entry function arguments.
|
|
9175
|
-
*
|
|
9176
|
-
* NOTE: Using this class for serialized script functions will lead to erroneous and unexpected behavior.
|
|
9177
|
-
*
|
|
9178
|
-
* If you wish to convert this class back to a TransactionArgument, you must know the type
|
|
9179
|
-
* of the argument beforehand, and use the appropriate class to deserialize the bytes within
|
|
9180
|
-
* an instance of this class.
|
|
9181
8995
|
* @group Implementation
|
|
9182
|
-
* @category
|
|
8996
|
+
* @category Utils
|
|
9183
8997
|
*/
|
|
9184
|
-
|
|
9185
|
-
readonly value: FixedBytes;
|
|
9186
|
-
/**
|
|
9187
|
-
* Creates an instance of the class with a specified hexadecimal input value.
|
|
9188
|
-
*
|
|
9189
|
-
* @param value - The hexadecimal input to be converted into FixedBytes.
|
|
9190
|
-
* @group Implementation
|
|
9191
|
-
* @category BCS
|
|
9192
|
-
*/
|
|
9193
|
-
private constructor();
|
|
9194
|
-
/**
|
|
9195
|
-
* Serializes the value using the provided serializer.
|
|
9196
|
-
* This function is essential for accurately representing a sequence of bytes that are already BCS-serialized as a type.
|
|
9197
|
-
*
|
|
9198
|
-
* Note that to see the Move, BCS-serialized representation of the underlying fixed byte vector,
|
|
9199
|
-
* we must not serialize the length prefix.
|
|
9200
|
-
*
|
|
9201
|
-
* @param serializer - The serializer instance used to perform the serialization.
|
|
9202
|
-
* @group Implementation
|
|
9203
|
-
* @category BCS
|
|
9204
|
-
*/
|
|
9205
|
-
serialize(serializer: Serializer): void;
|
|
8998
|
+
type DeserializableClass<T extends Serializable> = {
|
|
9206
8999
|
/**
|
|
9207
|
-
*
|
|
9208
|
-
*
|
|
9209
|
-
* This process includes serializing the length prefix of the byte vector.
|
|
9000
|
+
* Deserializes a serialized object using the provided deserializer.
|
|
9001
|
+
* This function allows you to reconstruct an object from its serialized form.
|
|
9210
9002
|
*
|
|
9211
|
-
* @param
|
|
9212
|
-
* @group Implementation
|
|
9213
|
-
* @category BCS
|
|
9214
|
-
*/
|
|
9215
|
-
serializeForEntryFunction(serializer: Serializer): void;
|
|
9216
|
-
/**
|
|
9217
|
-
* The only way to create an instance of this class is to use this static method.
|
|
9218
|
-
* This function should only be used when deserializing a sequence of EntryFunctionPayload arguments.
|
|
9219
|
-
* @param deserializer - The deserializer instance with the buffered bytes.
|
|
9220
|
-
* @param length - The length of the bytes to deserialize.
|
|
9221
|
-
* @returns An instance of this class, which will now only be usable as an EntryFunctionArgument.
|
|
9003
|
+
* @param deserializer - An instance of the Deserializer used to read the serialized data.
|
|
9222
9004
|
* @group Implementation
|
|
9223
|
-
* @category
|
|
9005
|
+
* @category Utils
|
|
9224
9006
|
*/
|
|
9225
|
-
|
|
9226
|
-
}
|
|
9227
|
-
|
|
9007
|
+
deserialize(deserializer: Deserializer): T;
|
|
9008
|
+
};
|
|
9228
9009
|
/**
|
|
9229
|
-
*
|
|
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.
|
|
9230
9012
|
*
|
|
9231
|
-
* @param
|
|
9232
|
-
* @param
|
|
9013
|
+
* @param cls - The class of the object to normalize.
|
|
9014
|
+
* @param value - The instance to normalize.
|
|
9233
9015
|
* @group Implementation
|
|
9234
|
-
* @category
|
|
9016
|
+
* @category Utils
|
|
9235
9017
|
*/
|
|
9236
|
-
|
|
9237
|
-
|
|
9238
|
-
address?: AccountAddressInput;
|
|
9239
|
-
}
|
|
9018
|
+
declare function normalizeBundle<T extends Serializable>(cls: DeserializableClass<T>, value: T): T;
|
|
9019
|
+
|
|
9240
9020
|
/**
|
|
9241
|
-
*
|
|
9021
|
+
* Sleep for the specified amount of time in milliseconds.
|
|
9022
|
+
* This function can be used to introduce delays in asynchronous operations.
|
|
9242
9023
|
*
|
|
9243
|
-
* @param
|
|
9244
|
-
* @param mnemonic - The mnemonic phrase used to generate the key.
|
|
9024
|
+
* @param timeMs - The time in milliseconds to sleep.
|
|
9245
9025
|
* @group Implementation
|
|
9246
|
-
* @category
|
|
9026
|
+
* @category Utils
|
|
9247
9027
|
*/
|
|
9248
|
-
|
|
9249
|
-
path: string;
|
|
9250
|
-
mnemonic: string;
|
|
9251
|
-
}
|
|
9028
|
+
declare function sleep(timeMs: number): Promise<null>;
|
|
9252
9029
|
/**
|
|
9253
|
-
*
|
|
9030
|
+
* Get the error message from an unknown error.
|
|
9254
9031
|
*
|
|
9255
|
-
* @param
|
|
9256
|
-
* @
|
|
9032
|
+
* @param error The error to get the message from
|
|
9033
|
+
* @returns The error message
|
|
9257
9034
|
* @group Implementation
|
|
9258
|
-
* @category
|
|
9035
|
+
* @category Utils
|
|
9259
9036
|
*/
|
|
9260
|
-
|
|
9261
|
-
message: HexInput;
|
|
9262
|
-
signature: Ed25519Signature;
|
|
9263
|
-
}
|
|
9037
|
+
declare function getErrorMessage(error: unknown): string;
|
|
9264
9038
|
/**
|
|
9265
|
-
* Represents an Ed25519 account that provides signing capabilities through an Ed25519 private key.
|
|
9266
|
-
* This class allows for the creation of accounts, signing messages and transactions, and verifying signatures.
|
|
9267
|
-
*
|
|
9268
|
-
* Note: Generating an instance of this class does not create the account on-chain.
|
|
9269
9039
|
* @group Implementation
|
|
9270
|
-
* @category
|
|
9040
|
+
* @category Utils
|
|
9271
9041
|
*/
|
|
9272
|
-
declare
|
|
9273
|
-
|
|
9274
|
-
|
|
9275
|
-
|
|
9276
|
-
|
|
9277
|
-
|
|
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
|
+
/**
|
|
9451
|
+
* This class exists solely to represent a sequence of fixed bytes as a serialized entry function, because
|
|
9452
|
+
* serializing an entry function appends a prefix that's *only* used for entry function arguments.
|
|
9453
|
+
*
|
|
9454
|
+
* NOTE: Using this class for serialized script functions will lead to erroneous and unexpected behavior.
|
|
9455
|
+
*
|
|
9456
|
+
* If you wish to convert this class back to a TransactionArgument, you must know the type
|
|
9457
|
+
* of the argument beforehand, and use the appropriate class to deserialize the bytes within
|
|
9458
|
+
* an instance of this class.
|
|
9459
|
+
* @group Implementation
|
|
9460
|
+
* @category BCS
|
|
9461
|
+
*/
|
|
9462
|
+
declare class EntryFunctionBytes extends Serializable implements EntryFunctionArgument {
|
|
9463
|
+
readonly value: FixedBytes;
|
|
9464
|
+
/**
|
|
9465
|
+
* Creates an instance of the class with a specified hexadecimal input value.
|
|
9466
|
+
*
|
|
9467
|
+
* @param value - The hexadecimal input to be converted into FixedBytes.
|
|
9468
|
+
* @group Implementation
|
|
9469
|
+
* @category BCS
|
|
9470
|
+
*/
|
|
9471
|
+
private constructor();
|
|
9472
|
+
/**
|
|
9473
|
+
* Serializes the value using the provided serializer.
|
|
9474
|
+
* This function is essential for accurately representing a sequence of bytes that are already BCS-serialized as a type.
|
|
9475
|
+
*
|
|
9476
|
+
* Note that to see the Move, BCS-serialized representation of the underlying fixed byte vector,
|
|
9477
|
+
* we must not serialize the length prefix.
|
|
9478
|
+
*
|
|
9479
|
+
* @param serializer - The serializer instance used to perform the serialization.
|
|
9480
|
+
* @group Implementation
|
|
9481
|
+
* @category BCS
|
|
9482
|
+
*/
|
|
9483
|
+
serialize(serializer: Serializer): void;
|
|
9484
|
+
/**
|
|
9485
|
+
* Serializes the current instance for use as an entry function argument by converting the underlying fixed byte vector to a
|
|
9486
|
+
* type-agnostic byte vector.
|
|
9487
|
+
* This process includes serializing the length prefix of the byte vector.
|
|
9488
|
+
*
|
|
9489
|
+
* @param serializer - The serializer instance used to perform the serialization.
|
|
9490
|
+
* @group Implementation
|
|
9491
|
+
* @category BCS
|
|
9492
|
+
*/
|
|
9493
|
+
serializeForEntryFunction(serializer: Serializer): void;
|
|
9494
|
+
/**
|
|
9495
|
+
* The only way to create an instance of this class is to use this static method.
|
|
9496
|
+
* This function should only be used when deserializing a sequence of EntryFunctionPayload arguments.
|
|
9497
|
+
* @param deserializer - The deserializer instance with the buffered bytes.
|
|
9498
|
+
* @param length - The length of the bytes to deserialize.
|
|
9499
|
+
* @returns An instance of this class, which will now only be usable as an EntryFunctionArgument.
|
|
9500
|
+
* @group Implementation
|
|
9501
|
+
* @category BCS
|
|
9502
|
+
*/
|
|
9503
|
+
static deserialize(deserializer: Deserializer, length: number): EntryFunctionBytes;
|
|
9504
|
+
}
|
|
9505
|
+
|
|
9506
|
+
/**
|
|
9507
|
+
* Arguments required to create an instance of an Ed25519 signer.
|
|
9508
|
+
*
|
|
9509
|
+
* @param privateKey - The private key used for signing.
|
|
9510
|
+
* @param address - Optional account address associated with the signer.
|
|
9511
|
+
* @group Implementation
|
|
9512
|
+
* @category Account (On-Chain Model)
|
|
9513
|
+
*/
|
|
9514
|
+
interface Ed25519SignerConstructorArgs {
|
|
9515
|
+
privateKey: Ed25519PrivateKey;
|
|
9516
|
+
address?: AccountAddressInput;
|
|
9517
|
+
}
|
|
9518
|
+
/**
|
|
9519
|
+
* Arguments for creating an Ed25519 signer from a derivation path.
|
|
9520
|
+
*
|
|
9521
|
+
* @param path - The derivation path for the Ed25519 key.
|
|
9522
|
+
* @param mnemonic - The mnemonic phrase used to generate the key.
|
|
9523
|
+
* @group Implementation
|
|
9524
|
+
* @category Account (On-Chain Model)
|
|
9525
|
+
*/
|
|
9526
|
+
interface Ed25519SignerFromDerivationPathArgs {
|
|
9527
|
+
path: string;
|
|
9528
|
+
mnemonic: string;
|
|
9529
|
+
}
|
|
9530
|
+
/**
|
|
9531
|
+
* Arguments required to verify an Ed25519 signature against a given message.
|
|
9532
|
+
*
|
|
9533
|
+
* @param message - The message to be verified, represented in hexadecimal format.
|
|
9534
|
+
* @param signature - The Ed25519 signature to validate.
|
|
9535
|
+
* @group Implementation
|
|
9536
|
+
* @category Account (On-Chain Model)
|
|
9537
|
+
*/
|
|
9538
|
+
interface VerifyEd25519SignatureArgs {
|
|
9539
|
+
message: HexInput;
|
|
9540
|
+
signature: Ed25519Signature;
|
|
9541
|
+
}
|
|
9542
|
+
/**
|
|
9543
|
+
* Represents an Ed25519 account that provides signing capabilities through an Ed25519 private key.
|
|
9544
|
+
* This class allows for the creation of accounts, signing messages and transactions, and verifying signatures.
|
|
9545
|
+
*
|
|
9546
|
+
* Note: Generating an instance of this class does not create the account on-chain.
|
|
9547
|
+
* @group Implementation
|
|
9548
|
+
* @category Account (On-Chain Model)
|
|
9549
|
+
*/
|
|
9550
|
+
declare class Ed25519Account implements Account {
|
|
9551
|
+
/**
|
|
9552
|
+
* Private key associated with the account
|
|
9553
|
+
* @group Implementation
|
|
9554
|
+
* @category Account (On-Chain Model)
|
|
9555
|
+
*/
|
|
9278
9556
|
readonly privateKey: Ed25519PrivateKey;
|
|
9279
9557
|
readonly publicKey: Ed25519PublicKey;
|
|
9280
9558
|
readonly accountAddress: AccountAddress;
|
|
@@ -9881,197 +10159,6 @@ declare class DerivableAbstractedAccount extends AbstractedAccount {
|
|
|
9881
10159
|
signWithAuthenticator(message: HexInput): AccountAuthenticatorAbstraction;
|
|
9882
10160
|
}
|
|
9883
10161
|
|
|
9884
|
-
/**
|
|
9885
|
-
* @group Implementation
|
|
9886
|
-
* @category Utils
|
|
9887
|
-
*/
|
|
9888
|
-
type DeserializableClass<T extends Serializable> = {
|
|
9889
|
-
/**
|
|
9890
|
-
* Deserializes a serialized object using the provided deserializer.
|
|
9891
|
-
* This function allows you to reconstruct an object from its serialized form.
|
|
9892
|
-
*
|
|
9893
|
-
* @param deserializer - An instance of the Deserializer used to read the serialized data.
|
|
9894
|
-
* @group Implementation
|
|
9895
|
-
* @category Utils
|
|
9896
|
-
*/
|
|
9897
|
-
deserialize(deserializer: Deserializer): T;
|
|
9898
|
-
};
|
|
9899
|
-
/**
|
|
9900
|
-
* Normalizes an instance of a class by deserializing it from its byte representation.
|
|
9901
|
-
* This function allows the `instanceof` operator to work correctly when the input objects originate from a different bundle.
|
|
9902
|
-
*
|
|
9903
|
-
* @param cls - The class of the object to normalize.
|
|
9904
|
-
* @param value - The instance to normalize.
|
|
9905
|
-
* @group Implementation
|
|
9906
|
-
* @category Utils
|
|
9907
|
-
*/
|
|
9908
|
-
declare function normalizeBundle<T extends Serializable>(cls: DeserializableClass<T>, value: T): T;
|
|
9909
|
-
|
|
9910
|
-
/**
|
|
9911
|
-
* Sleep for the specified amount of time in milliseconds.
|
|
9912
|
-
* This function can be used to introduce delays in asynchronous operations.
|
|
9913
|
-
*
|
|
9914
|
-
* @param timeMs - The time in milliseconds to sleep.
|
|
9915
|
-
* @group Implementation
|
|
9916
|
-
* @category Utils
|
|
9917
|
-
*/
|
|
9918
|
-
declare function sleep(timeMs: number): Promise<null>;
|
|
9919
|
-
/**
|
|
9920
|
-
* Get the error message from an unknown error.
|
|
9921
|
-
*
|
|
9922
|
-
* @param error The error to get the message from
|
|
9923
|
-
* @returns The error message
|
|
9924
|
-
* @group Implementation
|
|
9925
|
-
* @category Utils
|
|
9926
|
-
*/
|
|
9927
|
-
declare function getErrorMessage(error: unknown): string;
|
|
9928
|
-
/**
|
|
9929
|
-
* @group Implementation
|
|
9930
|
-
* @category Utils
|
|
9931
|
-
*/
|
|
9932
|
-
declare const nowInSeconds: () => number;
|
|
9933
|
-
/**
|
|
9934
|
-
* Floors the given timestamp to the nearest whole hour.
|
|
9935
|
-
* This function is useful for normalizing timestamps to hourly intervals.
|
|
9936
|
-
*
|
|
9937
|
-
* @param timestampInSeconds - The timestamp in seconds to be floored.
|
|
9938
|
-
* @group Implementation
|
|
9939
|
-
* @category Utils
|
|
9940
|
-
*/
|
|
9941
|
-
declare function floorToWholeHour(timestampInSeconds: number): number;
|
|
9942
|
-
/**
|
|
9943
|
-
* Decodes a base64 URL-encoded string into its original form.
|
|
9944
|
-
* This function is useful for converting base64 URL-encoded data back to a readable format.
|
|
9945
|
-
*
|
|
9946
|
-
* @param base64Url - The base64 URL-encoded string to decode.
|
|
9947
|
-
* @returns The decoded string.
|
|
9948
|
-
* @group Implementation
|
|
9949
|
-
* @category Utils
|
|
9950
|
-
*/
|
|
9951
|
-
declare function base64UrlDecode(base64Url: string): string;
|
|
9952
|
-
declare function base64UrlToBytes(base64Url: string): Uint8Array;
|
|
9953
|
-
/**
|
|
9954
|
-
* Amount is represented in the smallest unit format on chain, this function converts
|
|
9955
|
-
* a human-readable amount format to the smallest unit format
|
|
9956
|
-
* @example
|
|
9957
|
-
* human-readable amount format: 500
|
|
9958
|
-
* on chain amount format when decimal is 8: 50000000000
|
|
9959
|
-
*
|
|
9960
|
-
* @param value The value in human-readable format
|
|
9961
|
-
* @param decimal The token decimal
|
|
9962
|
-
* @returns The value in the smallest units
|
|
9963
|
-
* @group Implementation
|
|
9964
|
-
* @category Utils
|
|
9965
|
-
*/
|
|
9966
|
-
declare const convertAmountFromHumanReadableToOnChain: (value: number, decimal: number) => number;
|
|
9967
|
-
/**
|
|
9968
|
-
* Amount is represented in the smallest unit format on chain, this function converts
|
|
9969
|
-
* the smallest unit format to a human-readable amount format
|
|
9970
|
-
* @example
|
|
9971
|
-
* human-readable amount format: 500
|
|
9972
|
-
* on chain amount format when decimal is 8: 50000000000
|
|
9973
|
-
*
|
|
9974
|
-
* @param value The value in human-readable format
|
|
9975
|
-
* @param decimal The token decimal
|
|
9976
|
-
* @returns The value in the smallest units
|
|
9977
|
-
* @group Implementation
|
|
9978
|
-
* @category Utils
|
|
9979
|
-
*/
|
|
9980
|
-
declare const convertAmountFromOnChainToHumanReadable: (value: number, decimal: number) => number;
|
|
9981
|
-
/**
|
|
9982
|
-
* Convert an encoded struct to a MoveStructId.
|
|
9983
|
-
*
|
|
9984
|
-
* @example
|
|
9985
|
-
* const structObj = {
|
|
9986
|
-
* account_address: "0x1",
|
|
9987
|
-
* module_name: "0x6170746f735f636f696e",
|
|
9988
|
-
* struct_name: "0x4170746f73436f696e",
|
|
9989
|
-
* };
|
|
9990
|
-
* // structId is "0x1::aptos_coin::AptosCoin"
|
|
9991
|
-
* const structId = parseEncodedStruct(structObj);
|
|
9992
|
-
*
|
|
9993
|
-
* @param structObj The struct with account_address, module_name, and struct_name properties
|
|
9994
|
-
* @returns The MoveStructId
|
|
9995
|
-
* @group Implementation
|
|
9996
|
-
* @category Utils
|
|
9997
|
-
*/
|
|
9998
|
-
declare const parseEncodedStruct: (structObj: {
|
|
9999
|
-
account_address: string;
|
|
10000
|
-
module_name: string;
|
|
10001
|
-
struct_name: string;
|
|
10002
|
-
}) => MoveStructId;
|
|
10003
|
-
/**
|
|
10004
|
-
* Determines whether the given object is an encoded struct type with the following properties:
|
|
10005
|
-
* - account_address: string
|
|
10006
|
-
* - module_name: string
|
|
10007
|
-
* - struct_name: string
|
|
10008
|
-
*
|
|
10009
|
-
* @param structObj The object to check
|
|
10010
|
-
* @returns Whether the object is an encoded struct type
|
|
10011
|
-
* @group Implementation
|
|
10012
|
-
* @category Utils
|
|
10013
|
-
*/
|
|
10014
|
-
declare const isEncodedStruct: (structObj: any) => structObj is {
|
|
10015
|
-
account_address: string;
|
|
10016
|
-
module_name: string;
|
|
10017
|
-
struct_name: string;
|
|
10018
|
-
};
|
|
10019
|
-
/**
|
|
10020
|
-
* Splits a function identifier into its constituent parts: module address, module name, and function name.
|
|
10021
|
-
* This function helps in validating and extracting details from a function identifier string.
|
|
10022
|
-
*
|
|
10023
|
-
* @param functionArg - The function identifier string in the format "moduleAddress::moduleName::functionName".
|
|
10024
|
-
* @returns An object containing the module address, module name, and function name.
|
|
10025
|
-
* @throws Error if the function identifier does not contain exactly three parts.
|
|
10026
|
-
* @group Implementation
|
|
10027
|
-
* @category Transactions
|
|
10028
|
-
*/
|
|
10029
|
-
declare function getFunctionParts(functionArg: MoveFunctionId): {
|
|
10030
|
-
moduleAddress: string;
|
|
10031
|
-
moduleName: string;
|
|
10032
|
-
functionName: string;
|
|
10033
|
-
};
|
|
10034
|
-
/**
|
|
10035
|
-
* Validates the provided function information.
|
|
10036
|
-
*
|
|
10037
|
-
* @param functionInfo - The function information to validate.
|
|
10038
|
-
* @returns Whether the function information is valid.
|
|
10039
|
-
* @group Implementation
|
|
10040
|
-
* @category Utils
|
|
10041
|
-
*/
|
|
10042
|
-
declare function isValidFunctionInfo(functionInfo: string): boolean;
|
|
10043
|
-
/**
|
|
10044
|
-
* Truncates the provided wallet address at the middle with an ellipsis.
|
|
10045
|
-
*
|
|
10046
|
-
* @param address - The wallet address to truncate.
|
|
10047
|
-
* @param start - The number of characters to show at the beginning of the address.
|
|
10048
|
-
* @param end - The number of characters to show at the end of the address.
|
|
10049
|
-
* @returns The truncated address.
|
|
10050
|
-
* @group Implementation
|
|
10051
|
-
* @category Utils
|
|
10052
|
-
*/
|
|
10053
|
-
declare function truncateAddress(address: string, start?: number, end?: number): string;
|
|
10054
|
-
/**
|
|
10055
|
-
* Calculates the paired FA metadata address for a given coin type.
|
|
10056
|
-
* This function is tolerant of various address formats in the coin type string,
|
|
10057
|
-
* including complex nested types.
|
|
10058
|
-
*
|
|
10059
|
-
* @example
|
|
10060
|
-
* // All these formats are valid and will produce the same result:
|
|
10061
|
-
* pairedFaMetadataAddress("0x1::aptos_coin::AptosCoin") // simple form
|
|
10062
|
-
* pairedFaMetadataAddress("0x0000000000000000000000000000000000000000000000000000000000000001::aptos_coin::AptosCoin") // long form
|
|
10063
|
-
* pairedFaMetadataAddress("0x00001::aptos_coin::AptosCoin") // with leading zeros
|
|
10064
|
-
* pairedFaMetadataAddress("0x1::coin::Coin<0x1412::a::struct<0x0001::aptos_coin::AptosCoin>>") // nested type parameters
|
|
10065
|
-
*
|
|
10066
|
-
* @param coinType - The coin type string in any of these formats:
|
|
10067
|
-
* - Short form address: "0x1::aptos_coin::AptosCoin"
|
|
10068
|
-
* - Long form address: "0x0000000000000000000000000000000000000000000000000000000000000001::aptos_coin::AptosCoin"
|
|
10069
|
-
* - With leading zeros: "0x00001::aptos_coin::AptosCoin"
|
|
10070
|
-
* - With nested types: "0x1::coin::Coin<0x1412::a::struct<0x0001::aptos_coin::AptosCoin>>"
|
|
10071
|
-
* @returns The calculated metadata address as an AccountAddress instance
|
|
10072
|
-
*/
|
|
10073
|
-
declare function pairedFaMetadataAddress(coinType: `0x${string}::${string}::${string}`): AccountAddress;
|
|
10074
|
-
|
|
10075
10162
|
/**
|
|
10076
10163
|
* Sends a request using the specified options and returns the response.
|
|
10077
10164
|
*
|
|
@@ -10495,4 +10582,4 @@ declare class AptosApiError extends Error {
|
|
|
10495
10582
|
constructor({ apiType, aptosRequest, aptosResponse }: AptosApiErrorOpts);
|
|
10496
10583
|
}
|
|
10497
10584
|
|
|
10498
|
-
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,
|
|
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, Network, 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, TransactionManager, TransactionPayloadEntryFunction, TransactionPayloadMultiSig, TransactionPayloadScript, TransactionResponse, TransactionSubmitter, 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 };
|