@aptos-labs/ts-sdk 5.2.0 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -0
- package/dist/common/{account-DvGDel4s.d.ts → account-Dpz_N9h-.d.ts} +225 -7
- package/dist/common/chunk-4RHBBU7C.js +4 -0
- package/dist/common/chunk-4RHBBU7C.js.map +1 -0
- package/dist/common/cli/index.d.ts +1 -1
- package/dist/common/cli/index.js +1 -1
- package/dist/common/cli/index.js.map +1 -1
- package/dist/common/index.d.ts +228 -28
- package/dist/common/index.js +39 -34
- package/dist/common/index.js.map +1 -1
- package/dist/esm/{Ed25519Account-C25CwEJi.d.mts → Ed25519Account-BW_kXHC2.d.mts} +1 -1
- package/dist/esm/account/AbstractKeylessAccount.d.mts +3 -3
- package/dist/esm/account/AbstractKeylessAccount.mjs +1 -1
- package/dist/esm/account/AbstractedAccount.d.mts +2 -2
- package/dist/esm/account/AbstractedAccount.mjs +1 -1
- package/dist/esm/account/Account.d.mts +2 -2
- package/dist/esm/account/Account.mjs +1 -1
- package/dist/esm/account/AccountUtils.d.mts +3 -3
- package/dist/esm/account/AccountUtils.mjs +1 -1
- package/dist/esm/account/DerivableAbstractedAccount.d.mts +2 -2
- package/dist/esm/account/DerivableAbstractedAccount.mjs +1 -1
- package/dist/esm/account/Ed25519Account.d.mts +2 -2
- package/dist/esm/account/Ed25519Account.mjs +1 -1
- package/dist/esm/account/EphemeralKeyPair.d.mts +1 -1
- package/dist/esm/account/EphemeralKeyPair.mjs +1 -1
- package/dist/esm/account/FederatedKeylessAccount.d.mts +3 -3
- package/dist/esm/account/FederatedKeylessAccount.mjs +1 -1
- package/dist/esm/account/KeylessAccount.d.mts +3 -3
- package/dist/esm/account/KeylessAccount.mjs +1 -1
- package/dist/esm/account/MultiEd25519Account.d.mts +2 -2
- package/dist/esm/account/MultiEd25519Account.mjs +1 -1
- package/dist/esm/account/MultiKeyAccount.d.mts +3 -3
- package/dist/esm/account/MultiKeyAccount.mjs +1 -1
- package/dist/esm/account/SingleKeyAccount.d.mts +2 -2
- package/dist/esm/account/SingleKeyAccount.mjs +1 -1
- package/dist/esm/account/index.d.mts +3 -3
- package/dist/esm/account/index.mjs +1 -1
- package/dist/esm/account/utils.d.mts +1 -1
- package/dist/esm/account/utils.mjs +1 -1
- package/dist/esm/{account-Bwu9vUe3.d.mts → account-CcxnCdYZ.d.mts} +220 -7
- package/dist/esm/api/account/abstraction.d.mts +1 -1
- package/dist/esm/api/account/abstraction.mjs +1 -1
- package/dist/esm/api/account.d.mts +2 -2
- package/dist/esm/api/account.mjs +1 -1
- package/dist/esm/api/ans.d.mts +92 -26
- package/dist/esm/api/ans.mjs +1 -1
- package/dist/esm/api/aptos.d.mts +4 -3
- package/dist/esm/api/aptos.mjs +1 -1
- package/dist/esm/api/aptosConfig.d.mts +1 -1
- package/dist/esm/api/coin.d.mts +1 -1
- package/dist/esm/api/coin.mjs +1 -1
- package/dist/esm/api/digitalAsset.d.mts +2 -2
- package/dist/esm/api/digitalAsset.mjs +1 -1
- package/dist/esm/api/faucet.d.mts +1 -1
- package/dist/esm/api/faucet.mjs +1 -1
- package/dist/esm/api/fungibleAsset.d.mts +2 -2
- package/dist/esm/api/fungibleAsset.mjs +1 -1
- package/dist/esm/api/general.d.mts +1 -1
- package/dist/esm/api/general.mjs +1 -1
- package/dist/esm/api/index.d.mts +4 -3
- package/dist/esm/api/index.mjs +1 -1
- package/dist/esm/api/keyless.d.mts +3 -3
- package/dist/esm/api/keyless.mjs +1 -1
- package/dist/esm/api/object.d.mts +1 -1
- package/dist/esm/api/object.mjs +1 -1
- package/dist/esm/api/staking.d.mts +1 -1
- package/dist/esm/api/staking.mjs +1 -1
- package/dist/esm/api/table.d.mts +1 -1
- package/dist/esm/api/table.mjs +1 -1
- package/dist/esm/api/transaction.d.mts +2 -2
- package/dist/esm/api/transaction.mjs +1 -1
- package/dist/esm/api/transactionSubmission/build.d.mts +1 -1
- package/dist/esm/api/transactionSubmission/build.mjs +1 -1
- package/dist/esm/api/transactionSubmission/helpers.d.mts +1 -1
- package/dist/esm/api/transactionSubmission/management.d.mts +2 -2
- package/dist/esm/api/transactionSubmission/management.mjs +1 -1
- package/dist/esm/api/transactionSubmission/sign.d.mts +2 -2
- package/dist/esm/api/transactionSubmission/sign.mjs +1 -1
- package/dist/esm/api/transactionSubmission/sign.mjs.map +1 -1
- package/dist/esm/api/transactionSubmission/simulate.d.mts +1 -1
- package/dist/esm/api/transactionSubmission/simulate.mjs +1 -1
- package/dist/esm/api/transactionSubmission/submit.d.mts +1 -1
- package/dist/esm/api/transactionSubmission/submit.mjs +1 -1
- package/dist/esm/api/utils.d.mts +1 -1
- package/dist/esm/api/utils.mjs +1 -1
- package/dist/esm/bcs/consts.d.mts +1 -1
- package/dist/esm/bcs/deserializer.d.mts +1 -1
- package/dist/esm/bcs/index.d.mts +1 -1
- package/dist/esm/bcs/index.mjs +1 -1
- package/dist/esm/bcs/serializable/entryFunctionBytes.d.mts +1 -1
- package/dist/esm/bcs/serializable/fixedBytes.d.mts +1 -1
- package/dist/esm/bcs/serializable/movePrimitives.d.mts +1 -1
- package/dist/esm/bcs/serializable/movePrimitives.mjs +1 -1
- package/dist/esm/bcs/serializable/moveStructs.d.mts +1 -1
- package/dist/esm/bcs/serializable/moveStructs.mjs +1 -1
- package/dist/esm/bcs/serializer.d.mts +1 -1
- package/dist/esm/chunk-2DPQMXUG.mjs +4 -0
- package/dist/esm/chunk-2DPQMXUG.mjs.map +1 -0
- package/dist/esm/chunk-54C2P534.mjs +2 -0
- package/dist/esm/chunk-54C2P534.mjs.map +1 -0
- package/dist/esm/{chunk-IKTH33UN.mjs → chunk-56IXVVXX.mjs} +2 -2
- package/dist/esm/{chunk-K2TQQFRV.mjs → chunk-76SVQZDX.mjs} +2 -2
- package/dist/esm/{chunk-A2G3V23K.mjs → chunk-BGZDJ5SM.mjs} +2 -2
- package/dist/esm/{chunk-TRIYATBI.mjs → chunk-CUXCVNES.mjs} +2 -2
- package/dist/esm/chunk-DE5K76I2.mjs +1 -0
- package/dist/esm/{chunk-UXUMXAUZ.mjs → chunk-F3NI6N7R.mjs} +2 -2
- package/dist/esm/chunk-FW6UHAQV.mjs +2 -0
- package/dist/esm/{chunk-VS5NYRHW.mjs.map → chunk-FW6UHAQV.mjs.map} +1 -1
- package/dist/esm/{chunk-J426EZGD.mjs → chunk-JN65XG2P.mjs} +2 -2
- package/dist/esm/{chunk-UL777LTI.mjs → chunk-LS2HRAVW.mjs} +24 -19
- package/dist/esm/chunk-LS2HRAVW.mjs.map +1 -0
- package/dist/esm/chunk-NK3Y3PV3.mjs +2 -0
- package/dist/esm/{chunk-5ABS6RDR.mjs.map → chunk-NK3Y3PV3.mjs.map} +1 -1
- package/dist/esm/chunk-NP2IAUME.mjs +2 -0
- package/dist/esm/chunk-NP2IAUME.mjs.map +1 -0
- package/dist/esm/{chunk-G2VFBYHG.mjs → chunk-NTLOKAPD.mjs} +2 -2
- package/dist/esm/{chunk-IFWE34P5.mjs → chunk-PXJEKGEG.mjs} +2 -2
- package/dist/esm/chunk-QEHKRR3I.mjs +2 -0
- package/dist/esm/chunk-QEHKRR3I.mjs.map +1 -0
- package/dist/esm/chunk-RQN6LA7E.mjs +2 -0
- package/dist/esm/{chunk-AEXYYFIZ.mjs.map → chunk-RQN6LA7E.mjs.map} +1 -1
- package/dist/esm/{chunk-HIAEKFG6.mjs → chunk-WZ6FL7CH.mjs} +2 -2
- package/dist/esm/{chunk-LND3GTJ3.mjs → chunk-X674XJNJ.mjs} +2 -2
- package/dist/esm/cli/index.d.mts +1 -1
- package/dist/esm/cli/index.mjs +1 -1
- package/dist/esm/cli/localNode.mjs +1 -1
- package/dist/esm/cli/move.d.mts +1 -1
- package/dist/esm/client/core.d.mts +1 -1
- package/dist/esm/client/core.mjs +1 -1
- package/dist/esm/client/get.d.mts +1 -1
- package/dist/esm/client/get.mjs +1 -1
- package/dist/esm/client/index.d.mts +1 -1
- package/dist/esm/client/index.mjs +1 -1
- package/dist/esm/client/post.d.mts +1 -1
- package/dist/esm/client/post.mjs +1 -1
- package/dist/esm/core/account/index.d.mts +1 -1
- package/dist/esm/core/account/index.mjs +1 -1
- package/dist/esm/core/account/utils/address.d.mts +1 -1
- package/dist/esm/core/account/utils/address.mjs +1 -1
- package/dist/esm/core/account/utils/index.d.mts +1 -1
- package/dist/esm/core/account/utils/index.mjs +1 -1
- package/dist/esm/core/accountAddress.d.mts +1 -1
- package/dist/esm/core/accountAddress.mjs +1 -1
- package/dist/esm/core/authenticationKey.d.mts +1 -1
- package/dist/esm/core/authenticationKey.mjs +1 -1
- package/dist/esm/core/crypto/abstraction.d.mts +1 -1
- package/dist/esm/core/crypto/abstraction.mjs +1 -1
- package/dist/esm/core/crypto/deserializationUtils.d.mts +1 -1
- package/dist/esm/core/crypto/deserializationUtils.mjs +1 -1
- package/dist/esm/core/crypto/ed25519.d.mts +1 -1
- package/dist/esm/core/crypto/ed25519.mjs +1 -1
- package/dist/esm/core/crypto/ephemeral.d.mts +1 -1
- package/dist/esm/core/crypto/ephemeral.mjs +1 -1
- package/dist/esm/core/crypto/federatedKeyless.d.mts +2 -2
- package/dist/esm/core/crypto/federatedKeyless.mjs +1 -1
- package/dist/esm/core/crypto/index.d.mts +2 -2
- package/dist/esm/core/crypto/index.mjs +1 -1
- package/dist/esm/core/crypto/keyless.d.mts +2 -2
- package/dist/esm/core/crypto/keyless.mjs +1 -1
- package/dist/esm/core/crypto/multiEd25519.d.mts +1 -1
- package/dist/esm/core/crypto/multiEd25519.mjs +1 -1
- package/dist/esm/core/crypto/multiKey.d.mts +1 -1
- package/dist/esm/core/crypto/multiKey.mjs +1 -1
- package/dist/esm/core/crypto/privateKey.d.mts +1 -1
- package/dist/esm/core/crypto/privateKey.mjs +1 -1
- package/dist/esm/core/crypto/proof.d.mts +1 -1
- package/dist/esm/core/crypto/proof.mjs +1 -1
- package/dist/esm/core/crypto/publicKey.d.mts +1 -1
- package/dist/esm/core/crypto/publicKey.mjs +1 -1
- package/dist/esm/core/crypto/secp256k1.d.mts +1 -1
- package/dist/esm/core/crypto/secp256k1.mjs +1 -1
- package/dist/esm/core/crypto/secp256r1.d.mts +1 -1
- package/dist/esm/core/crypto/secp256r1.mjs +1 -1
- package/dist/esm/core/crypto/signature.d.mts +1 -1
- package/dist/esm/core/crypto/signature.mjs +1 -1
- package/dist/esm/core/crypto/singleKey.d.mts +1 -1
- package/dist/esm/core/crypto/singleKey.mjs +1 -1
- package/dist/esm/core/crypto/types.d.mts +1 -1
- package/dist/esm/core/crypto/utils.d.mts +1 -1
- package/dist/esm/core/crypto/utils.mjs +1 -1
- package/dist/esm/core/hex.d.mts +1 -1
- package/dist/esm/core/index.d.mts +2 -2
- package/dist/esm/core/index.mjs +1 -1
- package/dist/esm/errors/index.d.mts +1 -1
- package/dist/esm/errors/index.mjs +1 -1
- package/dist/esm/{federatedKeyless-BfOrG2BM.d.mts → federatedKeyless-BzaYmP03.d.mts} +1 -1
- package/dist/esm/index.d.mts +5 -4
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/internal/abstraction.d.mts +1 -1
- package/dist/esm/internal/abstraction.mjs +1 -1
- package/dist/esm/internal/account.d.mts +2 -2
- package/dist/esm/internal/account.mjs +1 -1
- package/dist/esm/internal/ans.d.mts +85 -33
- package/dist/esm/internal/ans.mjs +1 -1
- package/dist/esm/internal/coin.d.mts +1 -1
- package/dist/esm/internal/coin.mjs +1 -1
- package/dist/esm/internal/digitalAsset.d.mts +2 -2
- package/dist/esm/internal/digitalAsset.mjs +1 -1
- package/dist/esm/internal/faucet.d.mts +1 -1
- package/dist/esm/internal/faucet.mjs +1 -1
- package/dist/esm/internal/fungibleAsset.d.mts +2 -2
- package/dist/esm/internal/fungibleAsset.mjs +1 -1
- package/dist/esm/internal/general.d.mts +1 -1
- package/dist/esm/internal/general.mjs +1 -1
- package/dist/esm/internal/keyless.d.mts +3 -3
- package/dist/esm/internal/keyless.mjs +1 -1
- package/dist/esm/internal/object.d.mts +1 -1
- package/dist/esm/internal/object.mjs +1 -1
- package/dist/esm/internal/staking.d.mts +1 -1
- package/dist/esm/internal/staking.mjs +1 -1
- package/dist/esm/internal/table.d.mts +1 -1
- package/dist/esm/internal/table.mjs +1 -1
- package/dist/esm/internal/transaction.d.mts +1 -1
- package/dist/esm/internal/transaction.mjs +1 -1
- package/dist/esm/internal/transactionSubmission.d.mts +2 -2
- package/dist/esm/internal/transactionSubmission.mjs +1 -1
- package/dist/esm/internal/utils/index.d.mts +1 -1
- package/dist/esm/internal/utils/index.mjs +1 -1
- package/dist/esm/internal/utils/utils.d.mts +1 -1
- package/dist/esm/internal/utils/utils.mjs +1 -1
- package/dist/esm/internal/view.d.mts +1 -1
- package/dist/esm/internal/view.mjs +1 -1
- package/dist/esm/transactions/authenticator/account.d.mts +1 -1
- package/dist/esm/transactions/authenticator/account.mjs +1 -1
- package/dist/esm/transactions/authenticator/index.d.mts +1 -1
- package/dist/esm/transactions/authenticator/index.mjs +1 -1
- package/dist/esm/transactions/authenticator/transaction.d.mts +1 -1
- package/dist/esm/transactions/authenticator/transaction.mjs +1 -1
- package/dist/esm/transactions/index.d.mts +2 -2
- package/dist/esm/transactions/index.mjs +1 -1
- package/dist/esm/transactions/instances/chainId.d.mts +1 -1
- package/dist/esm/transactions/instances/identifier.d.mts +1 -1
- package/dist/esm/transactions/instances/index.d.mts +1 -1
- package/dist/esm/transactions/instances/index.mjs +1 -1
- package/dist/esm/transactions/instances/moduleId.d.mts +1 -1
- package/dist/esm/transactions/instances/moduleId.mjs +1 -1
- package/dist/esm/transactions/instances/multiAgentTransaction.d.mts +1 -1
- package/dist/esm/transactions/instances/multiAgentTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/rawTransaction.d.mts +1 -1
- package/dist/esm/transactions/instances/rawTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/rotationProofChallenge.d.mts +1 -1
- package/dist/esm/transactions/instances/rotationProofChallenge.mjs +1 -1
- package/dist/esm/transactions/instances/signedTransaction.d.mts +1 -1
- package/dist/esm/transactions/instances/signedTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/simpleTransaction.d.mts +1 -1
- package/dist/esm/transactions/instances/simpleTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/transactionArgument.d.mts +1 -1
- package/dist/esm/transactions/instances/transactionPayload.d.mts +1 -1
- package/dist/esm/transactions/instances/transactionPayload.mjs +1 -1
- package/dist/esm/transactions/management/accountSequenceNumber.d.mts +2 -2
- package/dist/esm/transactions/management/accountSequenceNumber.mjs +1 -1
- package/dist/esm/transactions/management/index.d.mts +2 -2
- package/dist/esm/transactions/management/index.mjs +1 -1
- package/dist/esm/transactions/management/transactionWorker.d.mts +2 -2
- package/dist/esm/transactions/management/transactionWorker.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/helpers.d.mts +32 -2
- package/dist/esm/transactions/transactionBuilder/helpers.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/index.d.mts +2 -2
- package/dist/esm/transactions/transactionBuilder/index.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/remoteAbi.d.mts +1 -1
- package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/signingMessage.d.mts +1 -1
- package/dist/esm/transactions/transactionBuilder/signingMessage.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/transactionBuilder.d.mts +1 -1
- package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs +1 -1
- package/dist/esm/transactions/typeTag/index.d.mts +1 -1
- package/dist/esm/transactions/typeTag/index.mjs +1 -1
- package/dist/esm/transactions/typeTag/parser.d.mts +1 -1
- package/dist/esm/transactions/typeTag/parser.mjs +1 -1
- package/dist/esm/transactions/types.d.mts +1 -1
- package/dist/esm/types/ans.d.mts +109 -0
- package/dist/esm/types/ans.mjs +2 -0
- package/dist/esm/types/ans.mjs.map +1 -0
- package/dist/esm/types/generated/operations.d.mts +5 -0
- package/dist/esm/types/generated/queries.d.mts +27 -27
- package/dist/esm/types/generated/queries.mjs +1 -1
- package/dist/esm/types/generated/types.d.mts +191 -7
- package/dist/esm/types/generated/types.mjs +1 -1
- package/dist/esm/types/generated/types.mjs.map +1 -1
- package/dist/esm/types/index.d.mts +2 -1
- package/dist/esm/types/index.mjs +1 -1
- package/dist/esm/types/types.d.mts +1 -1
- package/dist/esm/types/types.mjs +1 -1
- package/dist/esm/utils/helpers.d.mts +1 -1
- package/dist/esm/utils/helpers.mjs +1 -1
- package/dist/esm/utils/index.d.mts +1 -1
- package/dist/esm/utils/index.mjs +1 -1
- package/dist/esm/utils/normalizeBundle.d.mts +1 -1
- package/dist/esm/utils/normalizeBundle.mjs +1 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +2 -2
- package/src/api/ans.ts +70 -25
- package/src/bcs/serializable/movePrimitives.ts +12 -14
- package/src/bcs/serializable/moveStructs.ts +205 -1
- package/src/internal/ans.ts +279 -109
- package/src/internal/queries/getNames.graphql +5 -0
- package/src/transactions/instances/transactionPayload.ts +27 -1
- package/src/transactions/transactionBuilder/helpers.ts +67 -1
- package/src/transactions/transactionBuilder/remoteAbi.ts +124 -1
- package/src/transactions/transactionBuilder/transactionBuilder.ts +4 -4
- package/src/transactions/types.ts +20 -2
- package/src/types/ans.ts +110 -0
- package/src/types/generated/operations.ts +1 -0
- package/src/types/generated/queries.ts +163 -76
- package/src/types/generated/types.ts +216 -6
- package/src/types/index.ts +1 -0
- package/src/types/types.ts +58 -0
- package/src/version.ts +1 -1
- package/dist/common/chunk-JQCMXTY7.js +0 -4
- package/dist/common/chunk-JQCMXTY7.js.map +0 -1
- package/dist/esm/chunk-5ABS6RDR.mjs +0 -2
- package/dist/esm/chunk-6XLLQB5P.mjs +0 -2
- package/dist/esm/chunk-6XLLQB5P.mjs.map +0 -1
- package/dist/esm/chunk-76PXED26.mjs +0 -4
- package/dist/esm/chunk-76PXED26.mjs.map +0 -1
- package/dist/esm/chunk-AEXYYFIZ.mjs +0 -2
- package/dist/esm/chunk-BIQOJ3OK.mjs +0 -2
- package/dist/esm/chunk-BIQOJ3OK.mjs.map +0 -1
- package/dist/esm/chunk-FD6FGKYY.mjs +0 -1
- package/dist/esm/chunk-UL777LTI.mjs.map +0 -1
- package/dist/esm/chunk-VS5NYRHW.mjs +0 -2
- /package/dist/esm/{chunk-IKTH33UN.mjs.map → chunk-56IXVVXX.mjs.map} +0 -0
- /package/dist/esm/{chunk-K2TQQFRV.mjs.map → chunk-76SVQZDX.mjs.map} +0 -0
- /package/dist/esm/{chunk-A2G3V23K.mjs.map → chunk-BGZDJ5SM.mjs.map} +0 -0
- /package/dist/esm/{chunk-TRIYATBI.mjs.map → chunk-CUXCVNES.mjs.map} +0 -0
- /package/dist/esm/{chunk-FD6FGKYY.mjs.map → chunk-DE5K76I2.mjs.map} +0 -0
- /package/dist/esm/{chunk-UXUMXAUZ.mjs.map → chunk-F3NI6N7R.mjs.map} +0 -0
- /package/dist/esm/{chunk-J426EZGD.mjs.map → chunk-JN65XG2P.mjs.map} +0 -0
- /package/dist/esm/{chunk-G2VFBYHG.mjs.map → chunk-NTLOKAPD.mjs.map} +0 -0
- /package/dist/esm/{chunk-IFWE34P5.mjs.map → chunk-PXJEKGEG.mjs.map} +0 -0
- /package/dist/esm/{chunk-HIAEKFG6.mjs.map → chunk-WZ6FL7CH.mjs.map} +0 -0
- /package/dist/esm/{chunk-LND3GTJ3.mjs.map → chunk-X674XJNJ.mjs.map} +0 -0
|
@@ -6,7 +6,21 @@
|
|
|
6
6
|
import { Deserializer } from "../../bcs/deserializer";
|
|
7
7
|
import { Serializable, Serializer } from "../../bcs/serializer";
|
|
8
8
|
import { EntryFunctionBytes } from "../../bcs/serializable/entryFunctionBytes";
|
|
9
|
-
import {
|
|
9
|
+
import {
|
|
10
|
+
Bool,
|
|
11
|
+
U128,
|
|
12
|
+
U16,
|
|
13
|
+
U256,
|
|
14
|
+
U32,
|
|
15
|
+
U64,
|
|
16
|
+
U8,
|
|
17
|
+
I8,
|
|
18
|
+
I16,
|
|
19
|
+
I32,
|
|
20
|
+
I64,
|
|
21
|
+
I128,
|
|
22
|
+
I256,
|
|
23
|
+
} from "../../bcs/serializable/movePrimitives";
|
|
10
24
|
import { MoveVector, Serialized } from "../../bcs/serializable/moveStructs";
|
|
11
25
|
import { AccountAddress, Hex } from "../../core";
|
|
12
26
|
import { Identifier } from "./identifier";
|
|
@@ -57,6 +71,18 @@ export function deserializeFromScriptArgument(deserializer: Deserializer): Trans
|
|
|
57
71
|
return U256.deserialize(deserializer);
|
|
58
72
|
case ScriptTransactionArgumentVariants.Serialized:
|
|
59
73
|
return Serialized.deserialize(deserializer);
|
|
74
|
+
case ScriptTransactionArgumentVariants.I8:
|
|
75
|
+
return I8.deserialize(deserializer);
|
|
76
|
+
case ScriptTransactionArgumentVariants.I16:
|
|
77
|
+
return I16.deserialize(deserializer);
|
|
78
|
+
case ScriptTransactionArgumentVariants.I32:
|
|
79
|
+
return I32.deserialize(deserializer);
|
|
80
|
+
case ScriptTransactionArgumentVariants.I64:
|
|
81
|
+
return I64.deserialize(deserializer);
|
|
82
|
+
case ScriptTransactionArgumentVariants.I128:
|
|
83
|
+
return I128.deserialize(deserializer);
|
|
84
|
+
case ScriptTransactionArgumentVariants.I256:
|
|
85
|
+
return I256.deserialize(deserializer);
|
|
60
86
|
default:
|
|
61
87
|
throw new Error(`Unknown variant index for ScriptTransactionArgument: ${index}`);
|
|
62
88
|
}
|
|
@@ -8,7 +8,25 @@ import {
|
|
|
8
8
|
InputScriptData,
|
|
9
9
|
SimpleEntryFunctionArgumentTypes,
|
|
10
10
|
} from "../types";
|
|
11
|
-
import {
|
|
11
|
+
import {
|
|
12
|
+
Bool,
|
|
13
|
+
FixedBytes,
|
|
14
|
+
I128,
|
|
15
|
+
I16,
|
|
16
|
+
I256,
|
|
17
|
+
I32,
|
|
18
|
+
I64,
|
|
19
|
+
I8,
|
|
20
|
+
MoveOption,
|
|
21
|
+
MoveString,
|
|
22
|
+
MoveVector,
|
|
23
|
+
U128,
|
|
24
|
+
U16,
|
|
25
|
+
U256,
|
|
26
|
+
U32,
|
|
27
|
+
U64,
|
|
28
|
+
U8,
|
|
29
|
+
} from "../../bcs";
|
|
12
30
|
import { AccountAddress } from "../../core";
|
|
13
31
|
import { MoveFunction } from "../../types";
|
|
14
32
|
|
|
@@ -192,6 +210,12 @@ export function isEncodedEntryFunctionArgument(
|
|
|
192
210
|
* @category Transactions
|
|
193
211
|
*/
|
|
194
212
|
isBcsFixedBytes(arg) ||
|
|
213
|
+
isBcsI8(arg) ||
|
|
214
|
+
isBcsI16(arg) ||
|
|
215
|
+
isBcsI32(arg) ||
|
|
216
|
+
isBcsI64(arg) ||
|
|
217
|
+
isBcsI128(arg) ||
|
|
218
|
+
isBcsI256(arg) ||
|
|
195
219
|
arg instanceof MoveVector ||
|
|
196
220
|
arg instanceof MoveOption
|
|
197
221
|
);
|
|
@@ -268,6 +292,48 @@ export function isBcsU128(arg: EntryFunctionArgumentTypes | SimpleEntryFunctionA
|
|
|
268
292
|
export function isBcsU256(arg: EntryFunctionArgumentTypes | SimpleEntryFunctionArgumentTypes): arg is U256 {
|
|
269
293
|
return arg instanceof U256;
|
|
270
294
|
}
|
|
295
|
+
/**
|
|
296
|
+
* @group Implementation
|
|
297
|
+
* @category Transactions
|
|
298
|
+
*/
|
|
299
|
+
export function isBcsI8(arg: EntryFunctionArgumentTypes | SimpleEntryFunctionArgumentTypes): arg is I8 {
|
|
300
|
+
return arg instanceof I8;
|
|
301
|
+
}
|
|
302
|
+
/**
|
|
303
|
+
* @group Implementation
|
|
304
|
+
* @category Transactions
|
|
305
|
+
*/
|
|
306
|
+
export function isBcsI16(arg: EntryFunctionArgumentTypes | SimpleEntryFunctionArgumentTypes): arg is I16 {
|
|
307
|
+
return arg instanceof I16;
|
|
308
|
+
}
|
|
309
|
+
/**
|
|
310
|
+
* @group Implementation
|
|
311
|
+
* @category Transactions
|
|
312
|
+
*/
|
|
313
|
+
export function isBcsI32(arg: EntryFunctionArgumentTypes | SimpleEntryFunctionArgumentTypes): arg is I32 {
|
|
314
|
+
return arg instanceof I32;
|
|
315
|
+
}
|
|
316
|
+
/**
|
|
317
|
+
* @group Implementation
|
|
318
|
+
* @category Transactions
|
|
319
|
+
*/
|
|
320
|
+
export function isBcsI64(arg: EntryFunctionArgumentTypes | SimpleEntryFunctionArgumentTypes): arg is I64 {
|
|
321
|
+
return arg instanceof I64;
|
|
322
|
+
}
|
|
323
|
+
/**
|
|
324
|
+
* @group Implementation
|
|
325
|
+
* @category Transactions
|
|
326
|
+
*/
|
|
327
|
+
export function isBcsI128(arg: EntryFunctionArgumentTypes | SimpleEntryFunctionArgumentTypes): arg is I128 {
|
|
328
|
+
return arg instanceof I128;
|
|
329
|
+
}
|
|
330
|
+
/**
|
|
331
|
+
* @group Implementation
|
|
332
|
+
* @category Transactions
|
|
333
|
+
*/
|
|
334
|
+
export function isBcsI256(arg: EntryFunctionArgumentTypes | SimpleEntryFunctionArgumentTypes): arg is I256 {
|
|
335
|
+
return arg instanceof I256;
|
|
336
|
+
}
|
|
271
337
|
|
|
272
338
|
/**
|
|
273
339
|
* Determines if the provided argument contains script data input by checking for the presence of bytecode.
|
|
@@ -6,6 +6,12 @@ import {
|
|
|
6
6
|
TypeTag,
|
|
7
7
|
TypeTagAddress,
|
|
8
8
|
TypeTagBool,
|
|
9
|
+
TypeTagI128,
|
|
10
|
+
TypeTagI16,
|
|
11
|
+
TypeTagI256,
|
|
12
|
+
TypeTagI32,
|
|
13
|
+
TypeTagI64,
|
|
14
|
+
TypeTagI8,
|
|
9
15
|
TypeTagStruct,
|
|
10
16
|
TypeTagU128,
|
|
11
17
|
TypeTagU16,
|
|
@@ -23,7 +29,25 @@ import {
|
|
|
23
29
|
FunctionABI,
|
|
24
30
|
TypeArgument,
|
|
25
31
|
} from "../types";
|
|
26
|
-
import {
|
|
32
|
+
import {
|
|
33
|
+
Bool,
|
|
34
|
+
FixedBytes,
|
|
35
|
+
I128,
|
|
36
|
+
I16,
|
|
37
|
+
I256,
|
|
38
|
+
I32,
|
|
39
|
+
I64,
|
|
40
|
+
I8,
|
|
41
|
+
MoveOption,
|
|
42
|
+
MoveString,
|
|
43
|
+
MoveVector,
|
|
44
|
+
U128,
|
|
45
|
+
U16,
|
|
46
|
+
U256,
|
|
47
|
+
U32,
|
|
48
|
+
U64,
|
|
49
|
+
U8,
|
|
50
|
+
} from "../../bcs";
|
|
27
51
|
import { AccountAddress } from "../../core";
|
|
28
52
|
import { getModule } from "../../internal/account";
|
|
29
53
|
import {
|
|
@@ -44,6 +68,12 @@ import {
|
|
|
44
68
|
isString,
|
|
45
69
|
throwTypeMismatch,
|
|
46
70
|
convertNumber,
|
|
71
|
+
isBcsI8,
|
|
72
|
+
isBcsI16,
|
|
73
|
+
isBcsI32,
|
|
74
|
+
isBcsI64,
|
|
75
|
+
isBcsI128,
|
|
76
|
+
isBcsI256,
|
|
47
77
|
} from "./helpers";
|
|
48
78
|
import { MoveFunction, MoveModule } from "../../types";
|
|
49
79
|
|
|
@@ -420,6 +450,45 @@ function parseArg(
|
|
|
420
450
|
}
|
|
421
451
|
throwTypeMismatch("bigint | number | string", position);
|
|
422
452
|
}
|
|
453
|
+
if (param.isI8()) {
|
|
454
|
+
const num = convertNumber(arg);
|
|
455
|
+
if (num !== undefined) {
|
|
456
|
+
return new I8(num);
|
|
457
|
+
}
|
|
458
|
+
throwTypeMismatch("number | string", position);
|
|
459
|
+
}
|
|
460
|
+
if (param.isI16()) {
|
|
461
|
+
const num = convertNumber(arg);
|
|
462
|
+
if (num !== undefined) {
|
|
463
|
+
return new I16(num);
|
|
464
|
+
}
|
|
465
|
+
throwTypeMismatch("number | string", position);
|
|
466
|
+
}
|
|
467
|
+
if (param.isI32()) {
|
|
468
|
+
const num = convertNumber(arg);
|
|
469
|
+
if (num !== undefined) {
|
|
470
|
+
return new I32(num);
|
|
471
|
+
}
|
|
472
|
+
throwTypeMismatch("number | string", position);
|
|
473
|
+
}
|
|
474
|
+
if (param.isI64()) {
|
|
475
|
+
if (isLargeNumber(arg)) {
|
|
476
|
+
return new I64(BigInt(arg));
|
|
477
|
+
}
|
|
478
|
+
throwTypeMismatch("bigint | number | string", position);
|
|
479
|
+
}
|
|
480
|
+
if (param.isI128()) {
|
|
481
|
+
if (isLargeNumber(arg)) {
|
|
482
|
+
return new I128(BigInt(arg));
|
|
483
|
+
}
|
|
484
|
+
throwTypeMismatch("bigint | number | string", position);
|
|
485
|
+
}
|
|
486
|
+
if (param.isI256()) {
|
|
487
|
+
if (isLargeNumber(arg)) {
|
|
488
|
+
return new I256(BigInt(arg));
|
|
489
|
+
}
|
|
490
|
+
throwTypeMismatch("bigint | number | string", position);
|
|
491
|
+
}
|
|
423
492
|
|
|
424
493
|
// Generic needs to use the subtype
|
|
425
494
|
if (param.isGeneric()) {
|
|
@@ -522,6 +591,24 @@ function parseArg(
|
|
|
522
591
|
if (innerParam instanceof TypeTagU256) {
|
|
523
592
|
return new MoveOption<U256>(null);
|
|
524
593
|
}
|
|
594
|
+
if (innerParam instanceof TypeTagI8) {
|
|
595
|
+
return new MoveOption<I8>(null);
|
|
596
|
+
}
|
|
597
|
+
if (innerParam instanceof TypeTagI16) {
|
|
598
|
+
return new MoveOption<I16>(null);
|
|
599
|
+
}
|
|
600
|
+
if (innerParam instanceof TypeTagI32) {
|
|
601
|
+
return new MoveOption<I32>(null);
|
|
602
|
+
}
|
|
603
|
+
if (innerParam instanceof TypeTagI64) {
|
|
604
|
+
return new MoveOption<I64>(null);
|
|
605
|
+
}
|
|
606
|
+
if (innerParam instanceof TypeTagI128) {
|
|
607
|
+
return new MoveOption<I128>(null);
|
|
608
|
+
}
|
|
609
|
+
if (innerParam instanceof TypeTagI256) {
|
|
610
|
+
return new MoveOption<I256>(null);
|
|
611
|
+
}
|
|
525
612
|
|
|
526
613
|
// In all other cases, we will use a placeholder, it doesn't actually matter what the type is, but it will be obvious
|
|
527
614
|
// Note: This is a placeholder U8 type, and does not match the actual type, as that can't be dynamically grabbed
|
|
@@ -612,6 +699,42 @@ function checkType(param: TypeTag, arg: EntryFunctionArgumentTypes, position: nu
|
|
|
612
699
|
}
|
|
613
700
|
throwTypeMismatch("U256", position);
|
|
614
701
|
}
|
|
702
|
+
if (param.isI8()) {
|
|
703
|
+
if (isBcsI8(arg)) {
|
|
704
|
+
return;
|
|
705
|
+
}
|
|
706
|
+
throwTypeMismatch("I8", position);
|
|
707
|
+
}
|
|
708
|
+
if (param.isI16()) {
|
|
709
|
+
if (isBcsI16(arg)) {
|
|
710
|
+
return;
|
|
711
|
+
}
|
|
712
|
+
throwTypeMismatch("I16", position);
|
|
713
|
+
}
|
|
714
|
+
if (param.isI32()) {
|
|
715
|
+
if (isBcsI32(arg)) {
|
|
716
|
+
return;
|
|
717
|
+
}
|
|
718
|
+
throwTypeMismatch("I32", position);
|
|
719
|
+
}
|
|
720
|
+
if (param.isI64()) {
|
|
721
|
+
if (isBcsI64(arg)) {
|
|
722
|
+
return;
|
|
723
|
+
}
|
|
724
|
+
throwTypeMismatch("I64", position);
|
|
725
|
+
}
|
|
726
|
+
if (param.isI128()) {
|
|
727
|
+
if (isBcsI128(arg)) {
|
|
728
|
+
return;
|
|
729
|
+
}
|
|
730
|
+
throwTypeMismatch("I128", position);
|
|
731
|
+
}
|
|
732
|
+
if (param.isI256()) {
|
|
733
|
+
if (isBcsI256(arg)) {
|
|
734
|
+
return;
|
|
735
|
+
}
|
|
736
|
+
throwTypeMismatch("I256", position);
|
|
737
|
+
}
|
|
615
738
|
if (param.isVector()) {
|
|
616
739
|
if (arg instanceof MoveVector) {
|
|
617
740
|
// If there's anything in it, check that the inner types match
|
|
@@ -201,7 +201,7 @@ export function generateTransactionPayloadWithABI(
|
|
|
201
201
|
}
|
|
202
202
|
|
|
203
203
|
// Check all BCS types, and convert any non-BCS types
|
|
204
|
-
const functionArguments: Array<EntryFunctionArgumentTypes> = args.functionArguments
|
|
204
|
+
const functionArguments: Array<EntryFunctionArgumentTypes> | undefined = args.functionArguments?.map((arg, i) =>
|
|
205
205
|
/**
|
|
206
206
|
* Converts the argument for a specified function using its ABI and type arguments.
|
|
207
207
|
* This function helps ensure that the correct number of arguments is provided for the function call.
|
|
@@ -220,10 +220,10 @@ export function generateTransactionPayloadWithABI(
|
|
|
220
220
|
);
|
|
221
221
|
|
|
222
222
|
// Check that all arguments are accounted for
|
|
223
|
-
if (functionArguments
|
|
223
|
+
if ((functionArguments?.length ?? 0) !== functionAbi.parameters.length) {
|
|
224
224
|
throw new Error(
|
|
225
225
|
// eslint-disable-next-line max-len
|
|
226
|
-
`Too few arguments for '${moduleAddress}::${moduleName}::${functionName}', expected ${functionAbi.parameters.length} but got ${functionArguments
|
|
226
|
+
`Too few arguments for '${moduleAddress}::${moduleName}::${functionName}', expected ${functionAbi.parameters.length} but got ${functionArguments?.length ?? 0}`,
|
|
227
227
|
);
|
|
228
228
|
}
|
|
229
229
|
|
|
@@ -232,7 +232,7 @@ export function generateTransactionPayloadWithABI(
|
|
|
232
232
|
`${moduleAddress}::${moduleName}`,
|
|
233
233
|
functionName,
|
|
234
234
|
typeArguments,
|
|
235
|
-
functionArguments,
|
|
235
|
+
functionArguments ?? [],
|
|
236
236
|
);
|
|
237
237
|
|
|
238
238
|
// Send it as multi sig if it's a multisig payload
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
import { AptosConfig } from "../api/aptosConfig";
|
|
5
5
|
import { MoveOption, MoveString, MoveVector } from "../bcs/serializable/moveStructs";
|
|
6
|
-
import { Bool, U128, U16, U256, U32, U64, U8 } from "../bcs/serializable/movePrimitives";
|
|
6
|
+
import { Bool, I128, I16, I256, I32, I64, I8, U128, U16, U256, U32, U64, U8 } from "../bcs/serializable/movePrimitives";
|
|
7
7
|
import { FixedBytes } from "../bcs/serializable/fixedBytes";
|
|
8
8
|
import { AccountAddress, AccountAddressInput } from "../core";
|
|
9
9
|
import { PublicKey } from "../core/crypto";
|
|
@@ -60,6 +60,12 @@ export type EntryFunctionArgumentTypes =
|
|
|
60
60
|
| U64
|
|
61
61
|
| U128
|
|
62
62
|
| U256
|
|
63
|
+
| I8
|
|
64
|
+
| I16
|
|
65
|
+
| I32
|
|
66
|
+
| I64
|
|
67
|
+
| I128
|
|
68
|
+
| I256
|
|
63
69
|
| AccountAddress
|
|
64
70
|
| MoveVector<EntryFunctionArgumentTypes>
|
|
65
71
|
| MoveOption<EntryFunctionArgumentTypes>
|
|
@@ -79,6 +85,12 @@ export type ScriptFunctionArgumentTypes =
|
|
|
79
85
|
| U64
|
|
80
86
|
| U128
|
|
81
87
|
| U256
|
|
88
|
+
| I8
|
|
89
|
+
| I16
|
|
90
|
+
| I32
|
|
91
|
+
| I64
|
|
92
|
+
| I128
|
|
93
|
+
| I256
|
|
82
94
|
| AccountAddress
|
|
83
95
|
| MoveVector<ScriptFunctionArgumentTypes>
|
|
84
96
|
| MoveString
|
|
@@ -97,6 +109,12 @@ export type ScriptFunctionArgumentTypes =
|
|
|
97
109
|
* - u64
|
|
98
110
|
* - u128
|
|
99
111
|
* - u256
|
|
112
|
+
* - i8
|
|
113
|
+
* - i16
|
|
114
|
+
* - i32
|
|
115
|
+
* - i64
|
|
116
|
+
* - i128
|
|
117
|
+
* - i256
|
|
100
118
|
* - bool
|
|
101
119
|
* - address
|
|
102
120
|
* - signer
|
|
@@ -186,7 +204,7 @@ export type InputGenerateTransactionPayloadDataWithRemoteABI =
|
|
|
186
204
|
export type InputEntryFunctionData = {
|
|
187
205
|
function: MoveFunctionId;
|
|
188
206
|
typeArguments?: Array<TypeArgument>;
|
|
189
|
-
functionArguments
|
|
207
|
+
functionArguments?: Array<EntryFunctionArgumentTypes | SimpleEntryFunctionArgumentTypes>;
|
|
190
208
|
abi?: EntryFunctionABI;
|
|
191
209
|
};
|
|
192
210
|
|
package/src/types/ans.ts
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { type GetANSNameResponse } from "./indexer";
|
|
2
|
+
|
|
3
|
+
export type RawANSName = GetANSNameResponse[0];
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* The token standard for the ANS name. v1 is the original token standard, v2 is
|
|
7
|
+
* the new token standard. v1 has been deprecated.
|
|
8
|
+
*/
|
|
9
|
+
export type AnsTokenStandard = "v1" | "v2";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Policy for determining how subdomains expire in relation to their parent domain.
|
|
13
|
+
*/
|
|
14
|
+
export enum SubdomainExpirationPolicy {
|
|
15
|
+
/**
|
|
16
|
+
* The subdomain will expire independently of the domain. The owner of the
|
|
17
|
+
* domain can manually set when the subdomain expires.
|
|
18
|
+
*/
|
|
19
|
+
Independent = 0,
|
|
20
|
+
/**
|
|
21
|
+
* The subdomain will expire at the same time as the domain.
|
|
22
|
+
*/
|
|
23
|
+
FollowsDomain = 1,
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* The status of the name.
|
|
28
|
+
*/
|
|
29
|
+
export enum ExpirationStatus {
|
|
30
|
+
/**
|
|
31
|
+
* The name no longer functions as a primary or target name. It is open to
|
|
32
|
+
* being claimed by the public.
|
|
33
|
+
*/
|
|
34
|
+
Expired = "expired",
|
|
35
|
+
/**
|
|
36
|
+
* The name is past it's expiration date, but only claimable by the current
|
|
37
|
+
* owner of the name. It does not function as a primary or target name.
|
|
38
|
+
*/
|
|
39
|
+
InGracePeriod = "in_grace_period",
|
|
40
|
+
/**
|
|
41
|
+
* The name is in good standing.
|
|
42
|
+
*/
|
|
43
|
+
Active = "active",
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export interface AnsName extends RawANSName {
|
|
47
|
+
/**
|
|
48
|
+
* The domain name. ie "aptos.apt" would have a domain of "aptos"
|
|
49
|
+
*/
|
|
50
|
+
domain: string;
|
|
51
|
+
/**
|
|
52
|
+
* The subdomain name, if the name is a subdomain. ie "name.aptos.apt" would have a subdomain of "name"
|
|
53
|
+
*/
|
|
54
|
+
subdomain?: string;
|
|
55
|
+
/**
|
|
56
|
+
* The expiration timestamp of the name in milliseconds since epoch. Note, if
|
|
57
|
+
* the name is not a subdomain, this will be the same as the domain expiration
|
|
58
|
+
* timestamp.
|
|
59
|
+
*/
|
|
60
|
+
expiration_timestamp: string;
|
|
61
|
+
/**
|
|
62
|
+
* The expiration timestamp of the domain in milliseconds since epoch.
|
|
63
|
+
*/
|
|
64
|
+
domain_expiration_timestamp: string;
|
|
65
|
+
/**
|
|
66
|
+
* This is a derived date value. It takes into consideration if the name is a
|
|
67
|
+
* subdomain and its expiration policy.
|
|
68
|
+
*/
|
|
69
|
+
expiration: Date;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* The status of the name's expiration.
|
|
73
|
+
*
|
|
74
|
+
* 1. Expired: The name has expired and is no longer resolvable.
|
|
75
|
+
* 2. InGracePeriod: The name is within the grace period and is still
|
|
76
|
+
* resolvable if it is renewed.
|
|
77
|
+
* 3. Active: The name is active and is resolvable.
|
|
78
|
+
*
|
|
79
|
+
* @see {@link ExpirationStatus}
|
|
80
|
+
*/
|
|
81
|
+
expiration_status: ExpirationStatus;
|
|
82
|
+
/**
|
|
83
|
+
* The address that the name points to. For example, if you send a transaction
|
|
84
|
+
* to "aptos.apt" with a target address of "0x1", the registered_address will
|
|
85
|
+
* be "0x1".
|
|
86
|
+
*/
|
|
87
|
+
registered_address?: string;
|
|
88
|
+
/**
|
|
89
|
+
* The token standard for the name. See {@link AnsTokenStandard} for more details.
|
|
90
|
+
*/
|
|
91
|
+
token_standard: AnsTokenStandard;
|
|
92
|
+
/**
|
|
93
|
+
* If the name is registered as a primary name for _any_ account. It is
|
|
94
|
+
* possible to have multiple primary names returned in a single query.
|
|
95
|
+
*/
|
|
96
|
+
is_primary: boolean;
|
|
97
|
+
/**
|
|
98
|
+
* The address of the wallet that owns the name.
|
|
99
|
+
*/
|
|
100
|
+
owner_address?: string;
|
|
101
|
+
/**
|
|
102
|
+
* The expiration policy for the subdomain. See {@link SubdomainExpirationPolicy} for more details.
|
|
103
|
+
*/
|
|
104
|
+
subdomain_expiration_policy: SubdomainExpirationPolicy;
|
|
105
|
+
/**
|
|
106
|
+
* Whether the name is in the renewable period. This incorporates leading time
|
|
107
|
+
* before the name expires and the grace period after the name expires.
|
|
108
|
+
*/
|
|
109
|
+
isInRenewablePeriod: boolean;
|
|
110
|
+
}
|
|
@@ -545,6 +545,7 @@ export type GetNamesQuery = {
|
|
|
545
545
|
subdomain_expiration_policy?: any | null;
|
|
546
546
|
domain_expiration_timestamp?: any | null;
|
|
547
547
|
}>;
|
|
548
|
+
current_aptos_names_aggregate: { aggregate?: { count: number } | null };
|
|
548
549
|
};
|
|
549
550
|
|
|
550
551
|
export type GetNumberOfDelegatorsQueryVariables = Types.Exact<{
|