@moveindustries/ts-sdk 5.1.4
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/LICENSE +201 -0
- package/README.md +66 -0
- package/dist/common/accountAddress-DoqkxUqw.d.ts +7769 -0
- package/dist/common/chunk-56DGDNEY.js +4 -0
- package/dist/common/chunk-56DGDNEY.js.map +1 -0
- package/dist/common/cli/index.d.ts +316 -0
- package/dist/common/cli/index.js +2 -0
- package/dist/common/cli/index.js.map +1 -0
- package/dist/common/index.d.ts +10643 -0
- package/dist/common/index.js +482 -0
- package/dist/common/index.js.map +1 -0
- package/dist/esm/Ed25519Account-DsqenvLJ.d.mts +628 -0
- package/dist/esm/account/AbstractKeylessAccount.d.mts +336 -0
- package/dist/esm/account/AbstractKeylessAccount.mjs +2 -0
- package/dist/esm/account/AbstractKeylessAccount.mjs.map +1 -0
- package/dist/esm/account/AbstractedAccount.d.mts +64 -0
- package/dist/esm/account/AbstractedAccount.mjs +2 -0
- package/dist/esm/account/AbstractedAccount.mjs.map +1 -0
- package/dist/esm/account/Account.d.mts +8 -0
- package/dist/esm/account/Account.mjs +2 -0
- package/dist/esm/account/Account.mjs.map +1 -0
- package/dist/esm/account/AccountUtils.d.mts +38 -0
- package/dist/esm/account/AccountUtils.mjs +2 -0
- package/dist/esm/account/AccountUtils.mjs.map +1 -0
- package/dist/esm/account/DerivableAbstractedAccount.d.mts +59 -0
- package/dist/esm/account/DerivableAbstractedAccount.mjs +2 -0
- package/dist/esm/account/DerivableAbstractedAccount.mjs.map +1 -0
- package/dist/esm/account/Ed25519Account.d.mts +8 -0
- package/dist/esm/account/Ed25519Account.mjs +2 -0
- package/dist/esm/account/Ed25519Account.mjs.map +1 -0
- package/dist/esm/account/EphemeralKeyPair.d.mts +141 -0
- package/dist/esm/account/EphemeralKeyPair.mjs +2 -0
- package/dist/esm/account/EphemeralKeyPair.mjs.map +1 -0
- package/dist/esm/account/FederatedKeylessAccount.d.mts +118 -0
- package/dist/esm/account/FederatedKeylessAccount.mjs +2 -0
- package/dist/esm/account/FederatedKeylessAccount.mjs.map +1 -0
- package/dist/esm/account/KeylessAccount.d.mts +124 -0
- package/dist/esm/account/KeylessAccount.mjs +2 -0
- package/dist/esm/account/KeylessAccount.mjs.map +1 -0
- package/dist/esm/account/MultiEd25519Account.d.mts +102 -0
- package/dist/esm/account/MultiEd25519Account.mjs +2 -0
- package/dist/esm/account/MultiEd25519Account.mjs.map +1 -0
- package/dist/esm/account/MultiKeyAccount.d.mts +206 -0
- package/dist/esm/account/MultiKeyAccount.mjs +2 -0
- package/dist/esm/account/MultiKeyAccount.mjs.map +1 -0
- package/dist/esm/account/SingleKeyAccount.d.mts +8 -0
- package/dist/esm/account/SingleKeyAccount.mjs +2 -0
- package/dist/esm/account/SingleKeyAccount.mjs.map +1 -0
- package/dist/esm/account/index.d.mts +24 -0
- package/dist/esm/account/index.mjs +2 -0
- package/dist/esm/account/index.mjs.map +1 -0
- package/dist/esm/account/utils.d.mts +14 -0
- package/dist/esm/account/utils.mjs +2 -0
- package/dist/esm/account/utils.mjs.map +1 -0
- package/dist/esm/accountAddress-CNXtapt1.d.mts +6979 -0
- package/dist/esm/api/account/abstraction.d.mts +181 -0
- package/dist/esm/api/account/abstraction.mjs +2 -0
- package/dist/esm/api/account/abstraction.mjs.map +1 -0
- package/dist/esm/api/account.d.mts +852 -0
- package/dist/esm/api/account.mjs +2 -0
- package/dist/esm/api/account.mjs.map +1 -0
- package/dist/esm/api/ans.d.mts +504 -0
- package/dist/esm/api/ans.mjs +2 -0
- package/dist/esm/api/ans.mjs.map +1 -0
- package/dist/esm/api/coin.d.mts +81 -0
- package/dist/esm/api/coin.mjs +2 -0
- package/dist/esm/api/coin.mjs.map +1 -0
- package/dist/esm/api/digitalAsset.d.mts +1030 -0
- package/dist/esm/api/digitalAsset.mjs +2 -0
- package/dist/esm/api/digitalAsset.mjs.map +1 -0
- package/dist/esm/api/faucet.d.mts +80 -0
- package/dist/esm/api/faucet.mjs +2 -0
- package/dist/esm/api/faucet.mjs.map +1 -0
- package/dist/esm/api/fungibleAsset.d.mts +288 -0
- package/dist/esm/api/fungibleAsset.mjs +2 -0
- package/dist/esm/api/fungibleAsset.mjs.map +1 -0
- package/dist/esm/api/general.d.mts +303 -0
- package/dist/esm/api/general.mjs +2 -0
- package/dist/esm/api/general.mjs.map +1 -0
- package/dist/esm/api/index.d.mts +46 -0
- package/dist/esm/api/index.mjs +2 -0
- package/dist/esm/api/index.mjs.map +1 -0
- package/dist/esm/api/keyless.d.mts +170 -0
- package/dist/esm/api/keyless.mjs +2 -0
- package/dist/esm/api/keyless.mjs.map +1 -0
- package/dist/esm/api/movement.d.mts +113 -0
- package/dist/esm/api/movement.mjs +2 -0
- package/dist/esm/api/movement.mjs.map +1 -0
- package/dist/esm/api/movementConfig.d.mts +7 -0
- package/dist/esm/api/movementConfig.mjs +2 -0
- package/dist/esm/api/movementConfig.mjs.map +1 -0
- package/dist/esm/api/object.d.mts +80 -0
- package/dist/esm/api/object.mjs +2 -0
- package/dist/esm/api/object.mjs.map +1 -0
- package/dist/esm/api/staking.d.mts +134 -0
- package/dist/esm/api/staking.mjs +2 -0
- package/dist/esm/api/staking.mjs.map +1 -0
- package/dist/esm/api/table.d.mts +169 -0
- package/dist/esm/api/table.mjs +2 -0
- package/dist/esm/api/table.mjs.map +1 -0
- package/dist/esm/api/transaction.d.mts +679 -0
- package/dist/esm/api/transaction.mjs +2 -0
- package/dist/esm/api/transaction.mjs.map +1 -0
- package/dist/esm/api/transactionSubmission/build.d.mts +141 -0
- package/dist/esm/api/transactionSubmission/build.mjs +2 -0
- package/dist/esm/api/transactionSubmission/build.mjs.map +1 -0
- package/dist/esm/api/transactionSubmission/helpers.d.mts +98 -0
- package/dist/esm/api/transactionSubmission/helpers.mjs +2 -0
- package/dist/esm/api/transactionSubmission/helpers.mjs.map +1 -0
- package/dist/esm/api/transactionSubmission/management.d.mts +168 -0
- package/dist/esm/api/transactionSubmission/management.mjs +2 -0
- package/dist/esm/api/transactionSubmission/management.mjs.map +1 -0
- package/dist/esm/api/transactionSubmission/sign.d.mts +124 -0
- package/dist/esm/api/transactionSubmission/sign.mjs +2 -0
- package/dist/esm/api/transactionSubmission/sign.mjs.map +1 -0
- package/dist/esm/api/transactionSubmission/simulate.d.mts +181 -0
- package/dist/esm/api/transactionSubmission/simulate.mjs +2 -0
- package/dist/esm/api/transactionSubmission/simulate.mjs.map +1 -0
- package/dist/esm/api/transactionSubmission/submit.d.mts +142 -0
- package/dist/esm/api/transactionSubmission/submit.mjs +2 -0
- package/dist/esm/api/transactionSubmission/submit.mjs.map +1 -0
- package/dist/esm/api/utils.d.mts +45 -0
- package/dist/esm/api/utils.mjs +2 -0
- package/dist/esm/api/utils.mjs.map +1 -0
- package/dist/esm/bcs/consts.d.mts +28 -0
- package/dist/esm/bcs/consts.mjs +2 -0
- package/dist/esm/bcs/consts.mjs.map +1 -0
- package/dist/esm/bcs/deserializer.d.mts +7 -0
- package/dist/esm/bcs/deserializer.mjs +2 -0
- package/dist/esm/bcs/deserializer.mjs.map +1 -0
- package/dist/esm/bcs/index.d.mts +8 -0
- package/dist/esm/bcs/index.mjs +2 -0
- package/dist/esm/bcs/index.mjs.map +1 -0
- package/dist/esm/bcs/serializable/entryFunctionBytes.d.mts +65 -0
- package/dist/esm/bcs/serializable/entryFunctionBytes.mjs +2 -0
- package/dist/esm/bcs/serializable/entryFunctionBytes.mjs.map +1 -0
- package/dist/esm/bcs/serializable/fixedBytes.d.mts +7 -0
- package/dist/esm/bcs/serializable/fixedBytes.mjs +2 -0
- package/dist/esm/bcs/serializable/fixedBytes.mjs.map +1 -0
- package/dist/esm/bcs/serializable/movePrimitives.d.mts +7 -0
- package/dist/esm/bcs/serializable/movePrimitives.mjs +2 -0
- package/dist/esm/bcs/serializable/movePrimitives.mjs.map +1 -0
- package/dist/esm/bcs/serializable/moveStructs.d.mts +7 -0
- package/dist/esm/bcs/serializable/moveStructs.mjs +2 -0
- package/dist/esm/bcs/serializable/moveStructs.mjs.map +1 -0
- package/dist/esm/bcs/serializer.d.mts +7 -0
- package/dist/esm/bcs/serializer.mjs +2 -0
- package/dist/esm/bcs/serializer.mjs.map +1 -0
- package/dist/esm/chunk-2KDUIZKB.mjs +2 -0
- package/dist/esm/chunk-2KDUIZKB.mjs.map +1 -0
- package/dist/esm/chunk-2QTV4AOE.mjs +2 -0
- package/dist/esm/chunk-2QTV4AOE.mjs.map +1 -0
- package/dist/esm/chunk-47V7UGV5.mjs +4 -0
- package/dist/esm/chunk-47V7UGV5.mjs.map +1 -0
- package/dist/esm/chunk-4QMXOWHP.mjs +1 -0
- package/dist/esm/chunk-4QMXOWHP.mjs.map +1 -0
- package/dist/esm/chunk-4WPQQPUF.mjs +1 -0
- package/dist/esm/chunk-4WPQQPUF.mjs.map +1 -0
- package/dist/esm/chunk-5HXLZHDW.mjs +1 -0
- package/dist/esm/chunk-5HXLZHDW.mjs.map +1 -0
- package/dist/esm/chunk-5IMQPJ6J.mjs +2 -0
- package/dist/esm/chunk-5IMQPJ6J.mjs.map +1 -0
- package/dist/esm/chunk-5ZKA765G.mjs +2 -0
- package/dist/esm/chunk-5ZKA765G.mjs.map +1 -0
- package/dist/esm/chunk-6NO4QKAO.mjs +2 -0
- package/dist/esm/chunk-6NO4QKAO.mjs.map +1 -0
- package/dist/esm/chunk-7ECCT6PK.mjs +1 -0
- package/dist/esm/chunk-7ECCT6PK.mjs.map +1 -0
- package/dist/esm/chunk-7TTTMBAK.mjs +2 -0
- package/dist/esm/chunk-7TTTMBAK.mjs.map +1 -0
- package/dist/esm/chunk-A5L76YP7.mjs +2 -0
- package/dist/esm/chunk-A5L76YP7.mjs.map +1 -0
- package/dist/esm/chunk-ANTEUWH6.mjs +2 -0
- package/dist/esm/chunk-ANTEUWH6.mjs.map +1 -0
- package/dist/esm/chunk-CHWDP6AR.mjs +2 -0
- package/dist/esm/chunk-CHWDP6AR.mjs.map +1 -0
- package/dist/esm/chunk-CRCE7R4D.mjs +2 -0
- package/dist/esm/chunk-CRCE7R4D.mjs.map +1 -0
- package/dist/esm/chunk-D6HPXGEP.mjs +2 -0
- package/dist/esm/chunk-D6HPXGEP.mjs.map +1 -0
- package/dist/esm/chunk-DS6QB6HG.mjs +4 -0
- package/dist/esm/chunk-DS6QB6HG.mjs.map +1 -0
- package/dist/esm/chunk-FD6FGKYY.mjs +1 -0
- package/dist/esm/chunk-FD6FGKYY.mjs.map +1 -0
- package/dist/esm/chunk-FJRPU2NH.mjs +2 -0
- package/dist/esm/chunk-FJRPU2NH.mjs.map +1 -0
- package/dist/esm/chunk-FS5ZJKO7.mjs +2 -0
- package/dist/esm/chunk-FS5ZJKO7.mjs.map +1 -0
- package/dist/esm/chunk-FZY4PMEE.mjs +1 -0
- package/dist/esm/chunk-FZY4PMEE.mjs.map +1 -0
- package/dist/esm/chunk-G3MHXDYA.mjs +1 -0
- package/dist/esm/chunk-G3MHXDYA.mjs.map +1 -0
- package/dist/esm/chunk-GOXRBEIJ.mjs +2 -0
- package/dist/esm/chunk-GOXRBEIJ.mjs.map +1 -0
- package/dist/esm/chunk-HGLO5LDS.mjs +1 -0
- package/dist/esm/chunk-HGLO5LDS.mjs.map +1 -0
- package/dist/esm/chunk-HL2JMZ7N.mjs +2 -0
- package/dist/esm/chunk-HL2JMZ7N.mjs.map +1 -0
- package/dist/esm/chunk-I6YGBK5S.mjs +2 -0
- package/dist/esm/chunk-I6YGBK5S.mjs.map +1 -0
- package/dist/esm/chunk-K4NT6TTN.mjs +2 -0
- package/dist/esm/chunk-K4NT6TTN.mjs.map +1 -0
- package/dist/esm/chunk-KDMSOCZY.mjs +2 -0
- package/dist/esm/chunk-KDMSOCZY.mjs.map +1 -0
- package/dist/esm/chunk-KPJGWDSQ.mjs +7 -0
- package/dist/esm/chunk-KPJGWDSQ.mjs.map +1 -0
- package/dist/esm/chunk-MEWW7VTQ.mjs +2 -0
- package/dist/esm/chunk-MEWW7VTQ.mjs.map +1 -0
- package/dist/esm/chunk-NECL5FCQ.mjs +1 -0
- package/dist/esm/chunk-NECL5FCQ.mjs.map +1 -0
- package/dist/esm/chunk-NMFJJOGW.mjs +2 -0
- package/dist/esm/chunk-NMFJJOGW.mjs.map +1 -0
- package/dist/esm/chunk-NQUZ4UHR.mjs +2 -0
- package/dist/esm/chunk-NQUZ4UHR.mjs.map +1 -0
- package/dist/esm/chunk-NUB6KE73.mjs +2 -0
- package/dist/esm/chunk-NUB6KE73.mjs.map +1 -0
- package/dist/esm/chunk-OOOAVIMQ.mjs +2 -0
- package/dist/esm/chunk-OOOAVIMQ.mjs.map +1 -0
- package/dist/esm/chunk-PCESRJYO.mjs +2 -0
- package/dist/esm/chunk-PCESRJYO.mjs.map +1 -0
- package/dist/esm/chunk-PHRRBT44.mjs +2 -0
- package/dist/esm/chunk-PHRRBT44.mjs.map +1 -0
- package/dist/esm/chunk-PZ233FIY.mjs +2 -0
- package/dist/esm/chunk-PZ233FIY.mjs.map +1 -0
- package/dist/esm/chunk-R2G23RIY.mjs +2 -0
- package/dist/esm/chunk-R2G23RIY.mjs.map +1 -0
- package/dist/esm/chunk-RL4YPMN4.mjs +2 -0
- package/dist/esm/chunk-RL4YPMN4.mjs.map +1 -0
- package/dist/esm/chunk-RUIFVDWM.mjs +2 -0
- package/dist/esm/chunk-RUIFVDWM.mjs.map +1 -0
- package/dist/esm/chunk-RXHPS4IU.mjs +2 -0
- package/dist/esm/chunk-RXHPS4IU.mjs.map +1 -0
- package/dist/esm/chunk-S4D2KBYN.mjs +2 -0
- package/dist/esm/chunk-S4D2KBYN.mjs.map +1 -0
- package/dist/esm/chunk-SRXFRTHK.mjs +2 -0
- package/dist/esm/chunk-SRXFRTHK.mjs.map +1 -0
- package/dist/esm/chunk-SYXDZA4K.mjs +2 -0
- package/dist/esm/chunk-SYXDZA4K.mjs.map +1 -0
- package/dist/esm/chunk-UI4OF6CP.mjs +2 -0
- package/dist/esm/chunk-UI4OF6CP.mjs.map +1 -0
- package/dist/esm/chunk-UL777LTI.mjs +494 -0
- package/dist/esm/chunk-UL777LTI.mjs.map +1 -0
- package/dist/esm/chunk-UVP74ONT.mjs +2 -0
- package/dist/esm/chunk-UVP74ONT.mjs.map +1 -0
- package/dist/esm/chunk-UYVPNUH3.mjs +1 -0
- package/dist/esm/chunk-UYVPNUH3.mjs.map +1 -0
- package/dist/esm/chunk-V3MBJJTL.mjs +1 -0
- package/dist/esm/chunk-V3MBJJTL.mjs.map +1 -0
- package/dist/esm/chunk-V3O2SBO4.mjs +2 -0
- package/dist/esm/chunk-V3O2SBO4.mjs.map +1 -0
- package/dist/esm/chunk-VEZCMPUG.mjs +2 -0
- package/dist/esm/chunk-VEZCMPUG.mjs.map +1 -0
- package/dist/esm/chunk-VW3WBAAD.mjs +2 -0
- package/dist/esm/chunk-VW3WBAAD.mjs.map +1 -0
- package/dist/esm/chunk-WFAH73WN.mjs +2 -0
- package/dist/esm/chunk-WFAH73WN.mjs.map +1 -0
- package/dist/esm/chunk-WVDICMU4.mjs +2 -0
- package/dist/esm/chunk-WVDICMU4.mjs.map +1 -0
- package/dist/esm/chunk-XCURF77K.mjs +2 -0
- package/dist/esm/chunk-XCURF77K.mjs.map +1 -0
- package/dist/esm/chunk-Y6YW4BAZ.mjs +2 -0
- package/dist/esm/chunk-Y6YW4BAZ.mjs.map +1 -0
- package/dist/esm/chunk-YFFYA5U3.mjs +2 -0
- package/dist/esm/chunk-YFFYA5U3.mjs.map +1 -0
- package/dist/esm/chunk-YOHEYPDP.mjs +2 -0
- package/dist/esm/chunk-YOHEYPDP.mjs.map +1 -0
- package/dist/esm/chunk-ZP4DWSQA.mjs +2 -0
- package/dist/esm/chunk-ZP4DWSQA.mjs.map +1 -0
- package/dist/esm/cli/index.d.mts +10 -0
- package/dist/esm/cli/index.mjs +2 -0
- package/dist/esm/cli/index.mjs.map +1 -0
- package/dist/esm/cli/localNode.d.mts +67 -0
- package/dist/esm/cli/localNode.mjs +2 -0
- package/dist/esm/cli/localNode.mjs.map +1 -0
- package/dist/esm/cli/move.d.mts +257 -0
- package/dist/esm/cli/move.mjs +2 -0
- package/dist/esm/cli/move.mjs.map +1 -0
- package/dist/esm/client/core.d.mts +42 -0
- package/dist/esm/client/core.mjs +2 -0
- package/dist/esm/client/core.mjs.map +1 -0
- package/dist/esm/client/get.d.mts +125 -0
- package/dist/esm/client/get.mjs +2 -0
- package/dist/esm/client/get.mjs.map +1 -0
- package/dist/esm/client/index.d.mts +10 -0
- package/dist/esm/client/index.mjs +2 -0
- package/dist/esm/client/index.mjs.map +1 -0
- package/dist/esm/client/post.d.mts +158 -0
- package/dist/esm/client/post.mjs +2 -0
- package/dist/esm/client/post.mjs.map +1 -0
- package/dist/esm/core/account/index.d.mts +8 -0
- package/dist/esm/core/account/index.mjs +2 -0
- package/dist/esm/core/account/index.mjs.map +1 -0
- package/dist/esm/core/account/utils/address.d.mts +55 -0
- package/dist/esm/core/account/utils/address.mjs +2 -0
- package/dist/esm/core/account/utils/address.mjs.map +1 -0
- package/dist/esm/core/account/utils/index.d.mts +8 -0
- package/dist/esm/core/account/utils/index.mjs +2 -0
- package/dist/esm/core/account/utils/index.mjs.map +1 -0
- package/dist/esm/core/accountAddress.d.mts +7 -0
- package/dist/esm/core/accountAddress.mjs +2 -0
- package/dist/esm/core/accountAddress.mjs.map +1 -0
- package/dist/esm/core/authenticationKey.d.mts +7 -0
- package/dist/esm/core/authenticationKey.mjs +2 -0
- package/dist/esm/core/authenticationKey.mjs.map +1 -0
- package/dist/esm/core/common.d.mts +52 -0
- package/dist/esm/core/common.mjs +2 -0
- package/dist/esm/core/common.mjs.map +1 -0
- package/dist/esm/core/crypto/abstraction.d.mts +24 -0
- package/dist/esm/core/crypto/abstraction.mjs +2 -0
- package/dist/esm/core/crypto/abstraction.mjs.map +1 -0
- package/dist/esm/core/crypto/deserializationUtils.d.mts +28 -0
- package/dist/esm/core/crypto/deserializationUtils.mjs +2 -0
- package/dist/esm/core/crypto/deserializationUtils.mjs.map +1 -0
- package/dist/esm/core/crypto/ed25519.d.mts +7 -0
- package/dist/esm/core/crypto/ed25519.mjs +2 -0
- package/dist/esm/core/crypto/ed25519.mjs.map +1 -0
- package/dist/esm/core/crypto/ephemeral.d.mts +116 -0
- package/dist/esm/core/crypto/ephemeral.mjs +2 -0
- package/dist/esm/core/crypto/ephemeral.mjs.map +1 -0
- package/dist/esm/core/crypto/federatedKeyless.d.mts +13 -0
- package/dist/esm/core/crypto/federatedKeyless.mjs +2 -0
- package/dist/esm/core/crypto/federatedKeyless.mjs.map +1 -0
- package/dist/esm/core/crypto/hdKey.d.mts +95 -0
- package/dist/esm/core/crypto/hdKey.mjs +2 -0
- package/dist/esm/core/crypto/hdKey.mjs.map +1 -0
- package/dist/esm/core/crypto/index.d.mts +19 -0
- package/dist/esm/core/crypto/index.mjs +2 -0
- package/dist/esm/core/crypto/index.mjs.map +1 -0
- package/dist/esm/core/crypto/keyless.d.mts +13 -0
- package/dist/esm/core/crypto/keyless.mjs +2 -0
- package/dist/esm/core/crypto/keyless.mjs.map +1 -0
- package/dist/esm/core/crypto/multiEd25519.d.mts +7 -0
- package/dist/esm/core/crypto/multiEd25519.mjs +2 -0
- package/dist/esm/core/crypto/multiEd25519.mjs.map +1 -0
- package/dist/esm/core/crypto/multiKey.d.mts +7 -0
- package/dist/esm/core/crypto/multiKey.mjs +2 -0
- package/dist/esm/core/crypto/multiKey.mjs.map +1 -0
- package/dist/esm/core/crypto/poseidon.d.mts +59 -0
- package/dist/esm/core/crypto/poseidon.mjs +2 -0
- package/dist/esm/core/crypto/poseidon.mjs.map +1 -0
- package/dist/esm/core/crypto/privateKey.d.mts +7 -0
- package/dist/esm/core/crypto/privateKey.mjs +2 -0
- package/dist/esm/core/crypto/privateKey.mjs.map +1 -0
- package/dist/esm/core/crypto/proof.d.mts +18 -0
- package/dist/esm/core/crypto/proof.mjs +2 -0
- package/dist/esm/core/crypto/proof.mjs.map +1 -0
- package/dist/esm/core/crypto/publicKey.d.mts +7 -0
- package/dist/esm/core/crypto/publicKey.mjs +2 -0
- package/dist/esm/core/crypto/publicKey.mjs.map +1 -0
- package/dist/esm/core/crypto/secp256k1.d.mts +7 -0
- package/dist/esm/core/crypto/secp256k1.mjs +2 -0
- package/dist/esm/core/crypto/secp256k1.mjs.map +1 -0
- package/dist/esm/core/crypto/secp256r1.d.mts +306 -0
- package/dist/esm/core/crypto/secp256r1.mjs +2 -0
- package/dist/esm/core/crypto/secp256r1.mjs.map +1 -0
- package/dist/esm/core/crypto/signature.d.mts +7 -0
- package/dist/esm/core/crypto/signature.mjs +2 -0
- package/dist/esm/core/crypto/signature.mjs.map +1 -0
- package/dist/esm/core/crypto/singleKey.d.mts +7 -0
- package/dist/esm/core/crypto/singleKey.mjs +2 -0
- package/dist/esm/core/crypto/singleKey.mjs.map +1 -0
- package/dist/esm/core/crypto/types.d.mts +11 -0
- package/dist/esm/core/crypto/types.mjs +2 -0
- package/dist/esm/core/crypto/types.mjs.map +1 -0
- package/dist/esm/core/crypto/utils.d.mts +23 -0
- package/dist/esm/core/crypto/utils.mjs +2 -0
- package/dist/esm/core/crypto/utils.mjs.map +1 -0
- package/dist/esm/core/hex.d.mts +7 -0
- package/dist/esm/core/hex.mjs +2 -0
- package/dist/esm/core/hex.mjs.map +1 -0
- package/dist/esm/core/index.d.mts +20 -0
- package/dist/esm/core/index.mjs +2 -0
- package/dist/esm/core/index.mjs.map +1 -0
- package/dist/esm/errors/index.d.mts +131 -0
- package/dist/esm/errors/index.mjs +2 -0
- package/dist/esm/errors/index.mjs.map +1 -0
- package/dist/esm/federatedKeyless-D-d9d5aC.d.mts +869 -0
- package/dist/esm/index.d.mts +71 -0
- package/dist/esm/index.mjs +2 -0
- package/dist/esm/index.mjs.map +1 -0
- package/dist/esm/internal/abstraction.d.mts +27 -0
- package/dist/esm/internal/abstraction.mjs +2 -0
- package/dist/esm/internal/abstraction.mjs.map +1 -0
- package/dist/esm/internal/account.d.mts +453 -0
- package/dist/esm/internal/account.mjs +2 -0
- package/dist/esm/internal/account.mjs.map +1 -0
- package/dist/esm/internal/ans.d.mts +365 -0
- package/dist/esm/internal/ans.mjs +2 -0
- package/dist/esm/internal/ans.mjs.map +1 -0
- package/dist/esm/internal/coin.d.mts +31 -0
- package/dist/esm/internal/coin.mjs +2 -0
- package/dist/esm/internal/coin.mjs.map +1 -0
- package/dist/esm/internal/digitalAsset.d.mts +580 -0
- package/dist/esm/internal/digitalAsset.mjs +2 -0
- package/dist/esm/internal/digitalAsset.mjs.map +1 -0
- package/dist/esm/internal/faucet.d.mts +39 -0
- package/dist/esm/internal/faucet.mjs +2 -0
- package/dist/esm/internal/faucet.mjs.map +1 -0
- package/dist/esm/internal/fungibleAsset.d.mts +112 -0
- package/dist/esm/internal/fungibleAsset.mjs +2 -0
- package/dist/esm/internal/fungibleAsset.mjs.map +1 -0
- package/dist/esm/internal/general.d.mts +92 -0
- package/dist/esm/internal/general.mjs +2 -0
- package/dist/esm/internal/general.mjs.map +1 -0
- package/dist/esm/internal/keyless.d.mts +111 -0
- package/dist/esm/internal/keyless.mjs +2 -0
- package/dist/esm/internal/keyless.mjs.map +1 -0
- package/dist/esm/internal/object.d.mts +42 -0
- package/dist/esm/internal/object.mjs +2 -0
- package/dist/esm/internal/object.mjs.map +1 -0
- package/dist/esm/internal/staking.d.mts +60 -0
- package/dist/esm/internal/staking.mjs +2 -0
- package/dist/esm/internal/staking.mjs.map +1 -0
- package/dist/esm/internal/table.d.mts +66 -0
- package/dist/esm/internal/table.mjs +2 -0
- package/dist/esm/internal/table.mjs.map +1 -0
- package/dist/esm/internal/transaction.d.mts +199 -0
- package/dist/esm/internal/transaction.mjs +2 -0
- package/dist/esm/internal/transaction.mjs.map +1 -0
- package/dist/esm/internal/transactionSubmission.d.mts +165 -0
- package/dist/esm/internal/transactionSubmission.mjs +2 -0
- package/dist/esm/internal/transactionSubmission.mjs.map +1 -0
- package/dist/esm/internal/utils/index.d.mts +8 -0
- package/dist/esm/internal/utils/index.mjs +2 -0
- package/dist/esm/internal/utils/index.mjs.map +1 -0
- package/dist/esm/internal/utils/utils.d.mts +41 -0
- package/dist/esm/internal/utils/utils.mjs +2 -0
- package/dist/esm/internal/utils/utils.mjs.map +1 -0
- package/dist/esm/internal/view.d.mts +20 -0
- package/dist/esm/internal/view.mjs +2 -0
- package/dist/esm/internal/view.mjs.map +1 -0
- package/dist/esm/transactions/authenticator/account.d.mts +7 -0
- package/dist/esm/transactions/authenticator/account.mjs +2 -0
- package/dist/esm/transactions/authenticator/account.mjs.map +1 -0
- package/dist/esm/transactions/authenticator/index.d.mts +8 -0
- package/dist/esm/transactions/authenticator/index.mjs +2 -0
- package/dist/esm/transactions/authenticator/index.mjs.map +1 -0
- package/dist/esm/transactions/authenticator/transaction.d.mts +152 -0
- package/dist/esm/transactions/authenticator/transaction.mjs +2 -0
- package/dist/esm/transactions/authenticator/transaction.mjs.map +1 -0
- package/dist/esm/transactions/index.d.mts +15 -0
- package/dist/esm/transactions/index.mjs +2 -0
- package/dist/esm/transactions/index.mjs.map +1 -0
- package/dist/esm/transactions/instances/chainId.d.mts +7 -0
- package/dist/esm/transactions/instances/chainId.mjs +2 -0
- package/dist/esm/transactions/instances/chainId.mjs.map +1 -0
- package/dist/esm/transactions/instances/identifier.d.mts +7 -0
- package/dist/esm/transactions/instances/identifier.mjs +2 -0
- package/dist/esm/transactions/instances/identifier.mjs.map +1 -0
- package/dist/esm/transactions/instances/index.d.mts +10 -0
- package/dist/esm/transactions/instances/index.mjs +2 -0
- package/dist/esm/transactions/instances/index.mjs.map +1 -0
- package/dist/esm/transactions/instances/moduleId.d.mts +7 -0
- package/dist/esm/transactions/instances/moduleId.mjs +2 -0
- package/dist/esm/transactions/instances/moduleId.mjs.map +1 -0
- package/dist/esm/transactions/instances/multiAgentTransaction.d.mts +7 -0
- package/dist/esm/transactions/instances/multiAgentTransaction.mjs +2 -0
- package/dist/esm/transactions/instances/multiAgentTransaction.mjs.map +1 -0
- package/dist/esm/transactions/instances/rawTransaction.d.mts +7 -0
- package/dist/esm/transactions/instances/rawTransaction.mjs +2 -0
- package/dist/esm/transactions/instances/rawTransaction.mjs.map +1 -0
- package/dist/esm/transactions/instances/rotationProofChallenge.d.mts +58 -0
- package/dist/esm/transactions/instances/rotationProofChallenge.mjs +2 -0
- package/dist/esm/transactions/instances/rotationProofChallenge.mjs.map +1 -0
- package/dist/esm/transactions/instances/signedTransaction.d.mts +59 -0
- package/dist/esm/transactions/instances/signedTransaction.mjs +2 -0
- package/dist/esm/transactions/instances/signedTransaction.mjs.map +1 -0
- package/dist/esm/transactions/instances/simpleTransaction.d.mts +7 -0
- package/dist/esm/transactions/instances/simpleTransaction.mjs +2 -0
- package/dist/esm/transactions/instances/simpleTransaction.mjs.map +1 -0
- package/dist/esm/transactions/instances/transactionArgument.d.mts +7 -0
- package/dist/esm/transactions/instances/transactionArgument.mjs +2 -0
- package/dist/esm/transactions/instances/transactionArgument.mjs.map +1 -0
- package/dist/esm/transactions/instances/transactionPayload.d.mts +7 -0
- package/dist/esm/transactions/instances/transactionPayload.mjs +2 -0
- package/dist/esm/transactions/instances/transactionPayload.mjs.map +1 -0
- package/dist/esm/transactions/management/accountSequenceNumber.d.mts +123 -0
- package/dist/esm/transactions/management/accountSequenceNumber.mjs +2 -0
- package/dist/esm/transactions/management/accountSequenceNumber.mjs.map +1 -0
- package/dist/esm/transactions/management/asyncQueue.d.mts +77 -0
- package/dist/esm/transactions/management/asyncQueue.mjs +2 -0
- package/dist/esm/transactions/management/asyncQueue.mjs.map +1 -0
- package/dist/esm/transactions/management/index.d.mts +12 -0
- package/dist/esm/transactions/management/index.mjs +2 -0
- package/dist/esm/transactions/management/index.mjs.map +1 -0
- package/dist/esm/transactions/management/transactionWorker.d.mts +210 -0
- package/dist/esm/transactions/management/transactionWorker.mjs +2 -0
- package/dist/esm/transactions/management/transactionWorker.mjs.map +1 -0
- package/dist/esm/transactions/transactionBuilder/helpers.d.mts +159 -0
- package/dist/esm/transactions/transactionBuilder/helpers.mjs +2 -0
- package/dist/esm/transactions/transactionBuilder/helpers.mjs.map +1 -0
- package/dist/esm/transactions/transactionBuilder/index.d.mts +11 -0
- package/dist/esm/transactions/transactionBuilder/index.mjs +2 -0
- package/dist/esm/transactions/transactionBuilder/index.mjs.map +1 -0
- package/dist/esm/transactions/transactionBuilder/remoteAbi.d.mts +104 -0
- package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs +2 -0
- package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs.map +1 -0
- package/dist/esm/transactions/transactionBuilder/signingMessage.d.mts +62 -0
- package/dist/esm/transactions/transactionBuilder/signingMessage.mjs +2 -0
- package/dist/esm/transactions/transactionBuilder/signingMessage.mjs.map +1 -0
- package/dist/esm/transactions/transactionBuilder/transactionBuilder.d.mts +192 -0
- package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs +2 -0
- package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs.map +1 -0
- package/dist/esm/transactions/typeTag/index.d.mts +7 -0
- package/dist/esm/transactions/typeTag/index.mjs +2 -0
- package/dist/esm/transactions/typeTag/index.mjs.map +1 -0
- package/dist/esm/transactions/typeTag/parser.d.mts +81 -0
- package/dist/esm/transactions/typeTag/parser.mjs +2 -0
- package/dist/esm/transactions/typeTag/parser.mjs.map +1 -0
- package/dist/esm/transactions/types.d.mts +7 -0
- package/dist/esm/transactions/types.mjs +2 -0
- package/dist/esm/transactions/types.mjs.map +1 -0
- package/dist/esm/types/abstraction.d.mts +15 -0
- package/dist/esm/types/abstraction.mjs +2 -0
- package/dist/esm/types/abstraction.mjs.map +1 -0
- package/dist/esm/types/generated/operations.d.mts +709 -0
- package/dist/esm/types/generated/operations.mjs +1 -0
- package/dist/esm/types/generated/operations.mjs.map +1 -0
- package/dist/esm/types/generated/queries.d.mts +66 -0
- package/dist/esm/types/generated/queries.mjs +2 -0
- package/dist/esm/types/generated/queries.mjs.map +1 -0
- package/dist/esm/types/generated/types.d.mts +9495 -0
- package/dist/esm/types/generated/types.mjs +2 -0
- package/dist/esm/types/generated/types.mjs.map +1 -0
- package/dist/esm/types/index.d.mts +7 -0
- package/dist/esm/types/index.mjs +2 -0
- package/dist/esm/types/index.mjs.map +1 -0
- package/dist/esm/types/indexer.d.mts +186 -0
- package/dist/esm/types/indexer.mjs +2 -0
- package/dist/esm/types/indexer.mjs.map +1 -0
- package/dist/esm/types/keyless.d.mts +102 -0
- package/dist/esm/types/keyless.mjs +1 -0
- package/dist/esm/types/keyless.mjs.map +1 -0
- package/dist/esm/types/types.d.mts +7 -0
- package/dist/esm/types/types.mjs +2 -0
- package/dist/esm/types/types.mjs.map +1 -0
- package/dist/esm/utils/apiEndpoints.d.mts +51 -0
- package/dist/esm/utils/apiEndpoints.mjs +2 -0
- package/dist/esm/utils/apiEndpoints.mjs.map +1 -0
- package/dist/esm/utils/const.d.mts +90 -0
- package/dist/esm/utils/const.mjs +2 -0
- package/dist/esm/utils/const.mjs.map +1 -0
- package/dist/esm/utils/helpers.d.mts +174 -0
- package/dist/esm/utils/helpers.mjs +2 -0
- package/dist/esm/utils/helpers.mjs.map +1 -0
- package/dist/esm/utils/index.d.mts +9 -0
- package/dist/esm/utils/index.mjs +2 -0
- package/dist/esm/utils/index.mjs.map +1 -0
- package/dist/esm/utils/memoize.d.mts +26 -0
- package/dist/esm/utils/memoize.mjs +2 -0
- package/dist/esm/utils/memoize.mjs.map +1 -0
- package/dist/esm/utils/normalizeBundle.d.mts +35 -0
- package/dist/esm/utils/normalizeBundle.mjs +2 -0
- package/dist/esm/utils/normalizeBundle.mjs.map +1 -0
- package/dist/esm/version.d.mts +8 -0
- package/dist/esm/version.mjs +2 -0
- package/dist/esm/version.mjs.map +1 -0
- package/package.json +98 -0
- package/src/account/AbstractKeylessAccount.ts +579 -0
- package/src/account/AbstractedAccount.ts +124 -0
- package/src/account/Account.ts +354 -0
- package/src/account/AccountUtils.ts +216 -0
- package/src/account/DerivableAbstractedAccount.ts +103 -0
- package/src/account/Ed25519Account.ts +210 -0
- package/src/account/EphemeralKeyPair.ts +222 -0
- package/src/account/FederatedKeylessAccount.ts +178 -0
- package/src/account/KeylessAccount.ts +179 -0
- package/src/account/MultiEd25519Account.ts +181 -0
- package/src/account/MultiKeyAccount.ts +296 -0
- package/src/account/SingleKeyAccount.ts +277 -0
- package/src/account/index.ts +12 -0
- package/src/account/utils.ts +16 -0
- package/src/api/account/abstraction.ts +239 -0
- package/src/api/account.ts +1128 -0
- package/src/api/ans.ts +550 -0
- package/src/api/coin.ts +83 -0
- package/src/api/digitalAsset.ts +1203 -0
- package/src/api/faucet.ts +94 -0
- package/src/api/fungibleAsset.ts +371 -0
- package/src/api/general.ts +351 -0
- package/src/api/index.ts +6 -0
- package/src/api/keyless.ts +227 -0
- package/src/api/movement.ts +171 -0
- package/src/api/movementConfig.ts +334 -0
- package/src/api/object.ts +90 -0
- package/src/api/staking.ts +161 -0
- package/src/api/table.ts +193 -0
- package/src/api/transaction.ts +784 -0
- package/src/api/transactionSubmission/build.ts +153 -0
- package/src/api/transactionSubmission/helpers.ts +112 -0
- package/src/api/transactionSubmission/management.ts +211 -0
- package/src/api/transactionSubmission/sign.ts +142 -0
- package/src/api/transactionSubmission/simulate.ts +192 -0
- package/src/api/transactionSubmission/submit.ts +156 -0
- package/src/api/utils.ts +48 -0
- package/src/bcs/consts.ts +28 -0
- package/src/bcs/deserializer.ts +550 -0
- package/src/bcs/index.ts +10 -0
- package/src/bcs/serializable/entryFunctionBytes.ts +92 -0
- package/src/bcs/serializable/fixedBytes.ts +107 -0
- package/src/bcs/serializable/movePrimitives.ts +564 -0
- package/src/bcs/serializable/moveStructs.ts +619 -0
- package/src/bcs/serializer.ts +641 -0
- package/src/cli/index.ts +2 -0
- package/src/cli/localNode.ts +169 -0
- package/src/cli/move.ts +474 -0
- package/src/client/core.ts +120 -0
- package/src/client/get.ts +262 -0
- package/src/client/index.ts +7 -0
- package/src/client/post.ts +245 -0
- package/src/core/account/index.ts +1 -0
- package/src/core/account/utils/address.ts +85 -0
- package/src/core/account/utils/index.ts +1 -0
- package/src/core/accountAddress.ts +524 -0
- package/src/core/authenticationKey.ts +157 -0
- package/src/core/common.ts +60 -0
- package/src/core/crypto/abstraction.ts +52 -0
- package/src/core/crypto/deserializationUtils.ts +106 -0
- package/src/core/crypto/ed25519.ts +493 -0
- package/src/core/crypto/ephemeral.ts +185 -0
- package/src/core/crypto/federatedKeyless.ts +169 -0
- package/src/core/crypto/hdKey.ts +136 -0
- package/src/core/crypto/index.ts +21 -0
- package/src/core/crypto/keyless.ts +1700 -0
- package/src/core/crypto/multiEd25519.ts +434 -0
- package/src/core/crypto/multiKey.ts +498 -0
- package/src/core/crypto/poseidon.ts +231 -0
- package/src/core/crypto/privateKey.ts +115 -0
- package/src/core/crypto/proof.ts +9 -0
- package/src/core/crypto/publicKey.ts +106 -0
- package/src/core/crypto/secp256k1.ts +451 -0
- package/src/core/crypto/secp256r1.ts +495 -0
- package/src/core/crypto/signature.ts +57 -0
- package/src/core/crypto/singleKey.ts +351 -0
- package/src/core/crypto/types.ts +9 -0
- package/src/core/crypto/utils.ts +63 -0
- package/src/core/hex.ts +241 -0
- package/src/core/index.ts +10 -0
- package/src/errors/index.ts +457 -0
- package/src/index.ts +14 -0
- package/src/internal/abstraction.ts +79 -0
- package/src/internal/account.ts +1484 -0
- package/src/internal/ans.ts +853 -0
- package/src/internal/coin.ts +49 -0
- package/src/internal/digitalAsset.ts +1291 -0
- package/src/internal/faucet.ts +71 -0
- package/src/internal/fungibleAsset.ts +233 -0
- package/src/internal/general.ts +161 -0
- package/src/internal/keyless.ts +297 -0
- package/src/internal/object.ts +68 -0
- package/src/internal/queries/TokenActivitiesFieldsFragment.graphql +17 -0
- package/src/internal/queries/ansTokenFragment.graphql +11 -0
- package/src/internal/queries/currentTokenOwnershipFieldsFragment.graphql +46 -0
- package/src/internal/queries/getAccountAddressesForAuthKey.graphql +8 -0
- package/src/internal/queries/getAccountCoinCount.graphql +7 -0
- package/src/internal/queries/getAccountCoinsData.graphql +32 -0
- package/src/internal/queries/getAccountCollectionsWithOwnedTokens.graphql +33 -0
- package/src/internal/queries/getAccountOwnedTokens.graphql +11 -0
- package/src/internal/queries/getAccountOwnedTokensByTokenData.graphql +11 -0
- package/src/internal/queries/getAccountOwnedTokensFromCollectionAddress.graphql +11 -0
- package/src/internal/queries/getAccountTokensCount.graphql +7 -0
- package/src/internal/queries/getAccountTransactionsCount.graphql +7 -0
- package/src/internal/queries/getAuthKeysForPublicKey.graphql +11 -0
- package/src/internal/queries/getChainTopUserTransactions.graphql +5 -0
- package/src/internal/queries/getCollectionData.graphql +29 -0
- package/src/internal/queries/getCurrentFungibleAssetBalances.graphql +17 -0
- package/src/internal/queries/getDelegatedStakingActivities.graphql +12 -0
- package/src/internal/queries/getEvents.graphql +13 -0
- package/src/internal/queries/getFungibleAssetActivities.graphql +20 -0
- package/src/internal/queries/getFungibleAssetMetadata.graphql +18 -0
- package/src/internal/queries/getNames.graphql +11 -0
- package/src/internal/queries/getNumberOfDelegatorsQuery.graphql +9 -0
- package/src/internal/queries/getObjectData.graphql +16 -0
- package/src/internal/queries/getProcessorStatus.graphql +7 -0
- package/src/internal/queries/getTableItemsData.graphql +15 -0
- package/src/internal/queries/getTableItemsMetadata.graphql +12 -0
- package/src/internal/queries/getTokenActivity.graphql +11 -0
- package/src/internal/queries/getTokenCurrentOwner.graphql +11 -0
- package/src/internal/queries/getTokenData.graphql +39 -0
- package/src/internal/staking.ts +96 -0
- package/src/internal/table.ts +117 -0
- package/src/internal/transaction.ts +503 -0
- package/src/internal/transactionSubmission.ts +454 -0
- package/src/internal/utils/index.ts +4 -0
- package/src/internal/utils/utils.ts +86 -0
- package/src/internal/view.ts +61 -0
- package/src/transactions/authenticator/account.ts +405 -0
- package/src/transactions/authenticator/index.ts +6 -0
- package/src/transactions/authenticator/transaction.ts +288 -0
- package/src/transactions/index.ts +10 -0
- package/src/transactions/instances/chainId.ts +53 -0
- package/src/transactions/instances/identifier.ts +54 -0
- package/src/transactions/instances/index.ts +14 -0
- package/src/transactions/instances/moduleId.ts +77 -0
- package/src/transactions/instances/multiAgentTransaction.ts +92 -0
- package/src/transactions/instances/rawTransaction.ts +256 -0
- package/src/transactions/instances/rotationProofChallenge.ts +86 -0
- package/src/transactions/instances/signedTransaction.ts +73 -0
- package/src/transactions/instances/simpleTransaction.ts +83 -0
- package/src/transactions/instances/transactionArgument.ts +79 -0
- package/src/transactions/instances/transactionPayload.ts +676 -0
- package/src/transactions/management/accountSequenceNumber.ts +226 -0
- package/src/transactions/management/asyncQueue.ts +126 -0
- package/src/transactions/management/index.ts +2 -0
- package/src/transactions/management/transactionWorker.ts +396 -0
- package/src/transactions/transactionBuilder/helpers.ts +319 -0
- package/src/transactions/transactionBuilder/index.ts +8 -0
- package/src/transactions/transactionBuilder/remoteAbi.ts +655 -0
- package/src/transactions/transactionBuilder/signingMessage.ts +111 -0
- package/src/transactions/transactionBuilder/transactionBuilder.ts +863 -0
- package/src/transactions/typeTag/index.ts +926 -0
- package/src/transactions/typeTag/parser.ts +434 -0
- package/src/transactions/types.ts +518 -0
- package/src/types/abstraction.ts +14 -0
- package/src/types/codegen.yaml +33 -0
- package/src/types/generated/operations.ts +738 -0
- package/src/types/generated/queries.ts +926 -0
- package/src/types/generated/types.ts +10421 -0
- package/src/types/index.ts +2 -0
- package/src/types/indexer.ts +240 -0
- package/src/types/keyless.ts +94 -0
- package/src/types/types.ts +1713 -0
- package/src/utils/apiEndpoints.ts +107 -0
- package/src/utils/const.ts +100 -0
- package/src/utils/helpers.ts +287 -0
- package/src/utils/index.ts +4 -0
- package/src/utils/memoize.ts +76 -0
- package/src/utils/normalizeBundle.ts +34 -0
- package/src/version.ts +9 -0
|
@@ -0,0 +1,365 @@
|
|
|
1
|
+
import { M as MovementConfig, s as AccountAddressInput, aG as InputGenerateTransactionOptions, c5 as PaginationArgs, c8 as OrderByArg, c9 as WhereArg, t as AccountAddress, ag as SimpleTransaction } from '../accountAddress-CNXtapt1.mjs';
|
|
2
|
+
import { GetANSNameResponse } from '../types/indexer.mjs';
|
|
3
|
+
import { CurrentAptosNamesBoolExp } from '../types/generated/types.mjs';
|
|
4
|
+
import { A as Account } from '../Ed25519Account-DsqenvLJ.mjs';
|
|
5
|
+
import '../utils/apiEndpoints.mjs';
|
|
6
|
+
import '../utils/const.mjs';
|
|
7
|
+
import '../core/common.mjs';
|
|
8
|
+
import '../types/generated/operations.mjs';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* This file contains the underlying implementations for exposed API surface in
|
|
12
|
+
* the {@link api/name}. By moving the methods out into a separate file,
|
|
13
|
+
* other namespaces and processes can access these methods without depending on the entire
|
|
14
|
+
* name namespace and without having a dependency cycle error.
|
|
15
|
+
* @group Implementation
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
declare const VALIDATION_RULES_DESCRIPTION: string;
|
|
19
|
+
/**
|
|
20
|
+
* Validate if a given fragment is a valid ANS segment.
|
|
21
|
+
* This function checks the length and character constraints of the fragment to ensure it meets the ANS standards.
|
|
22
|
+
*
|
|
23
|
+
* @param fragment - A fragment of a name, either the domain or subdomain.
|
|
24
|
+
* @returns A boolean indicating if the fragment is a valid fragment.
|
|
25
|
+
* @group Implementation
|
|
26
|
+
*/
|
|
27
|
+
declare function isValidANSSegment(fragment: string): boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Checks if an ANS name is valid or not.
|
|
30
|
+
*
|
|
31
|
+
* @param name - A string of the domain name, which can include or exclude the .apt suffix.
|
|
32
|
+
* @group Implementation
|
|
33
|
+
*/
|
|
34
|
+
declare function isValidANSName(name: string): {
|
|
35
|
+
domainName: string;
|
|
36
|
+
subdomainName?: string;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Policy for determining how subdomains expire in relation to their parent domain.
|
|
40
|
+
* @group Implementation
|
|
41
|
+
*/
|
|
42
|
+
declare enum SubdomainExpirationPolicy {
|
|
43
|
+
Independent = 0,
|
|
44
|
+
FollowsDomain = 1
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Determine if a given ANS name is considered active based on its expiration dates.
|
|
48
|
+
* Domains are active if their expiration date is in the future, while subdomains may
|
|
49
|
+
* follow their parent's expiration policy (1) or expire independently (0).
|
|
50
|
+
* If the subdomain is expiring independently, it can expire before their parent, but not after.
|
|
51
|
+
*
|
|
52
|
+
* @param name - An ANS name returned from one of the functions of the SDK.
|
|
53
|
+
* @returns A boolean indicating whether the contract considers the name active or not.
|
|
54
|
+
* @group Implementation
|
|
55
|
+
*/
|
|
56
|
+
declare function isActiveANSName(name: GetANSNameResponse[0]): boolean;
|
|
57
|
+
declare const LOCAL_ANS_ACCOUNT_PK: string;
|
|
58
|
+
declare const LOCAL_ANS_ACCOUNT_ADDRESS: string;
|
|
59
|
+
/**
|
|
60
|
+
* Retrieve the owner address of a specified domain or subdomain.
|
|
61
|
+
*
|
|
62
|
+
* @param args - The arguments for retrieving the owner address.
|
|
63
|
+
* @param args.movementConfig - The Movement configuration object.
|
|
64
|
+
* @param args.name - The name of the domain or subdomain to query.
|
|
65
|
+
* @returns The account address of the owner, or undefined if not found.
|
|
66
|
+
* @group Implementation
|
|
67
|
+
*/
|
|
68
|
+
declare function getOwnerAddress(args: {
|
|
69
|
+
movementConfig: MovementConfig;
|
|
70
|
+
name: string;
|
|
71
|
+
}): Promise<AccountAddress | undefined>;
|
|
72
|
+
/**
|
|
73
|
+
* Parameters for registering a name in the Movement network.
|
|
74
|
+
*
|
|
75
|
+
* @param movementConfig - Configuration settings for the Movement network.
|
|
76
|
+
* @param sender - The account initiating the name registration.
|
|
77
|
+
* @param name - The name to be registered.
|
|
78
|
+
* @param expiration - The expiration policy for the name registration.
|
|
79
|
+
* @param transferable - Whether the name can be transferred to another owner.
|
|
80
|
+
* @param toAddress - The address that will be set as the owner_address of the name.
|
|
81
|
+
* @param targetAddress - The address that this name will resolve to.
|
|
82
|
+
* @group Implementation
|
|
83
|
+
*/
|
|
84
|
+
interface RegisterNameParameters {
|
|
85
|
+
movementConfig: MovementConfig;
|
|
86
|
+
sender: Account;
|
|
87
|
+
name: string;
|
|
88
|
+
expiration: {
|
|
89
|
+
policy: "domain";
|
|
90
|
+
years?: 1;
|
|
91
|
+
} | {
|
|
92
|
+
policy: "subdomain:follow-domain";
|
|
93
|
+
} | {
|
|
94
|
+
policy: "subdomain:independent";
|
|
95
|
+
expirationDate: number;
|
|
96
|
+
};
|
|
97
|
+
transferable?: boolean;
|
|
98
|
+
toAddress?: AccountAddressInput;
|
|
99
|
+
targetAddress?: AccountAddressInput;
|
|
100
|
+
options?: InputGenerateTransactionOptions;
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Registers a domain or subdomain with the specified parameters. This function ensures that the provided names and expiration
|
|
104
|
+
* policies are valid before proceeding with the registration process.
|
|
105
|
+
*
|
|
106
|
+
* @param args - The parameters required for registering a name.
|
|
107
|
+
* @param args.movementConfig - The configuration settings for Movement.
|
|
108
|
+
* @param args.expiration - The expiration details for the registration.
|
|
109
|
+
* @param args.name - The name to be registered, which can be a domain or subdomain.
|
|
110
|
+
* @param args.sender - The account details of the sender initiating the registration.
|
|
111
|
+
* @param args.targetAddress - The target address for the registration, which is the address the name will resolve to.
|
|
112
|
+
* @param args.toAddress - The address that will be set as the owner_address in records, defaults to sender if not provided.
|
|
113
|
+
* @param args.options - Additional options for the registration process.
|
|
114
|
+
* @param args.transferable - Indicates whether the registered name is transferable to another account.
|
|
115
|
+
*
|
|
116
|
+
* @throws Error if the provided expiration policy is invalid for subdomains.
|
|
117
|
+
* @throws Error if the domain does not exist.
|
|
118
|
+
* @throws Error if the subdomain expiration time exceeds the domain expiration time.
|
|
119
|
+
*
|
|
120
|
+
* @returns A transaction object representing the registration process.
|
|
121
|
+
* @group Implementation
|
|
122
|
+
*/
|
|
123
|
+
declare function registerName(args: RegisterNameParameters): Promise<SimpleTransaction>;
|
|
124
|
+
/**
|
|
125
|
+
* Retrieves the expiration time of a specified domain or subdomain in epoch milliseconds.
|
|
126
|
+
*
|
|
127
|
+
* @param args - The arguments for the function.
|
|
128
|
+
* @param args.movementConfig - The configuration object for Movement.
|
|
129
|
+
* @param args.name - The name of the domain or subdomain to check.
|
|
130
|
+
* @returns The expiration time in epoch milliseconds, or undefined if an error occurs.
|
|
131
|
+
* @group Implementation
|
|
132
|
+
*/
|
|
133
|
+
declare function getExpiration(args: {
|
|
134
|
+
movementConfig: MovementConfig;
|
|
135
|
+
name: string;
|
|
136
|
+
}): Promise<number | undefined>;
|
|
137
|
+
/**
|
|
138
|
+
* Retrieves the primary name associated with a given account address.
|
|
139
|
+
* This function helps in obtaining the complete domain name by combining the subdomain and domain names.
|
|
140
|
+
*
|
|
141
|
+
* @param args - The arguments for retrieving the primary name.
|
|
142
|
+
* @param args.movementConfig - The Movement configuration object.
|
|
143
|
+
* @param args.address - The account address for which to retrieve the primary name.
|
|
144
|
+
* @returns The primary name as a string, or undefined if no domain name exists.
|
|
145
|
+
* @group Implementation
|
|
146
|
+
*/
|
|
147
|
+
declare function getPrimaryName(args: {
|
|
148
|
+
movementConfig: MovementConfig;
|
|
149
|
+
address: AccountAddressInput;
|
|
150
|
+
}): Promise<string | undefined>;
|
|
151
|
+
/**
|
|
152
|
+
* Sets the primary name for the specified account, allowing for the association of a domain or subdomain with the account.
|
|
153
|
+
* If no name is provided, it clears the existing primary name.
|
|
154
|
+
*
|
|
155
|
+
* @param args - The arguments for setting the primary name.
|
|
156
|
+
* @param args.movementConfig - The Movement configuration object.
|
|
157
|
+
* @param args.sender - The account that is sending the transaction.
|
|
158
|
+
* @param args.name - The name to set as the primary name. If omitted, the function will clear the primary name.
|
|
159
|
+
* @param args.options - Optional transaction generation options.
|
|
160
|
+
* @returns A transaction object representing the operation.
|
|
161
|
+
* @group Implementation
|
|
162
|
+
*/
|
|
163
|
+
declare function setPrimaryName(args: {
|
|
164
|
+
movementConfig: MovementConfig;
|
|
165
|
+
sender: Account;
|
|
166
|
+
name?: string;
|
|
167
|
+
options?: InputGenerateTransactionOptions;
|
|
168
|
+
}): Promise<SimpleTransaction>;
|
|
169
|
+
/**
|
|
170
|
+
* Retrieves the target address associated with a given domain name and subdomain name.
|
|
171
|
+
* The target address is different from the owner address - it's the address this name
|
|
172
|
+
* resolves to, which may be different from who owns the name.
|
|
173
|
+
*
|
|
174
|
+
* @param args - The arguments for retrieving the target address.
|
|
175
|
+
* @param args.movementConfig - The Movement configuration object.
|
|
176
|
+
* @param args.name - The name of the domain, which may include a subdomain.
|
|
177
|
+
* @returns The target address as an AccountAddress, or undefined if not found.
|
|
178
|
+
* @group Implementation
|
|
179
|
+
*/
|
|
180
|
+
declare function getTargetAddress(args: {
|
|
181
|
+
movementConfig: MovementConfig;
|
|
182
|
+
name: string;
|
|
183
|
+
}): Promise<AccountAddress | undefined>;
|
|
184
|
+
/**
|
|
185
|
+
* Sets the target address for a specified domain and subdomain in the Movement network.
|
|
186
|
+
* This function helps to associate a given address with a domain name, allowing for easier access and management of resources.
|
|
187
|
+
*
|
|
188
|
+
* @param args - The arguments for setting the target address.
|
|
189
|
+
* @param args.movementConfig - The configuration settings for the Movement network.
|
|
190
|
+
* @param args.sender - The account that is sending the transaction.
|
|
191
|
+
* @param args.name - The name of the domain or subdomain to be set.
|
|
192
|
+
* @param args.address - The address to be associated with the domain or subdomain.
|
|
193
|
+
* @param args.options - Optional parameters for generating the transaction.
|
|
194
|
+
*
|
|
195
|
+
* @returns A transaction object representing the set target address operation.
|
|
196
|
+
* @group Implementation
|
|
197
|
+
*/
|
|
198
|
+
declare function setTargetAddress(args: {
|
|
199
|
+
movementConfig: MovementConfig;
|
|
200
|
+
sender: Account;
|
|
201
|
+
name: string;
|
|
202
|
+
address: AccountAddressInput;
|
|
203
|
+
options?: InputGenerateTransactionOptions;
|
|
204
|
+
}): Promise<SimpleTransaction>;
|
|
205
|
+
/**
|
|
206
|
+
* Retrieves the active Movement name associated with the specified domain and subdomain.
|
|
207
|
+
*
|
|
208
|
+
* @param args - The parameters for the function.
|
|
209
|
+
* @param args.movementConfig - The configuration object for Movement.
|
|
210
|
+
* @param args.name - The name to look up, which includes the domain and optional subdomain.
|
|
211
|
+
* @returns The active Movement name if it exists; otherwise, returns undefined.
|
|
212
|
+
* @group Implementation
|
|
213
|
+
*/
|
|
214
|
+
declare function getName(args: {
|
|
215
|
+
movementConfig: MovementConfig;
|
|
216
|
+
name: string;
|
|
217
|
+
}): Promise<GetANSNameResponse[0] | undefined>;
|
|
218
|
+
/**
|
|
219
|
+
* Options for querying names, including pagination, ordering, and filtering criteria.
|
|
220
|
+
*
|
|
221
|
+
* @param options - Pagination and filtering options for the query.
|
|
222
|
+
* @group Implementation
|
|
223
|
+
*/
|
|
224
|
+
interface QueryNamesOptions {
|
|
225
|
+
options?: PaginationArgs & OrderByArg<GetANSNameResponse[0]> & WhereArg<CurrentAptosNamesBoolExp>;
|
|
226
|
+
}
|
|
227
|
+
/**
|
|
228
|
+
* Arguments for retrieving account names based on the specified account address.
|
|
229
|
+
*
|
|
230
|
+
* @param accountAddress - The address of the account for which names are to be retrieved.
|
|
231
|
+
* @group Implementation
|
|
232
|
+
*/
|
|
233
|
+
interface GetAccountNamesArgs extends QueryNamesOptions {
|
|
234
|
+
accountAddress: AccountAddressInput;
|
|
235
|
+
}
|
|
236
|
+
/**
|
|
237
|
+
* Retrieves all the current Movement names owned by an account. This uses the
|
|
238
|
+
* owner_address field, not the registered_address field.
|
|
239
|
+
*
|
|
240
|
+
* @param args - The arguments for retrieving account names.
|
|
241
|
+
* @param args.movementConfig - The configuration object for Movement.
|
|
242
|
+
* @param args.options - Optional parameters for querying account names.
|
|
243
|
+
* @param args.options.limit - The maximum number of names to retrieve.
|
|
244
|
+
* @param args.options.offset - The number of names to skip before starting to collect the result set.
|
|
245
|
+
* @param args.options.orderBy - The field by which to order the results.
|
|
246
|
+
* @param args.options.where - Additional conditions to filter the results.
|
|
247
|
+
* @param args.accountAddress - The address of the account for which to retrieve names.
|
|
248
|
+
*
|
|
249
|
+
* @returns An array of sanitized Movement names associated with the specified account address.
|
|
250
|
+
* @group Implementation
|
|
251
|
+
*/
|
|
252
|
+
declare function getAccountNames(args: {
|
|
253
|
+
movementConfig: MovementConfig;
|
|
254
|
+
} & GetAccountNamesArgs): Promise<GetANSNameResponse>;
|
|
255
|
+
/**
|
|
256
|
+
* Arguments for retrieving the domains associated with a specific account.
|
|
257
|
+
*
|
|
258
|
+
* @param accountAddress - The address of the account for which to fetch domains.
|
|
259
|
+
* @group Implementation
|
|
260
|
+
*/
|
|
261
|
+
interface GetAccountDomainsArgs extends QueryNamesOptions {
|
|
262
|
+
accountAddress: AccountAddressInput;
|
|
263
|
+
}
|
|
264
|
+
/**
|
|
265
|
+
* Retrieves the list of top-level domains owned by a specified account,
|
|
266
|
+
* using the owner_address field.
|
|
267
|
+
*
|
|
268
|
+
* @param args - The arguments for retrieving account domains.
|
|
269
|
+
* @param args.movementConfig - The Movement configuration object.
|
|
270
|
+
* @param args.options - Optional parameters for the query.
|
|
271
|
+
* @param args.options.limit - The maximum number of results to return.
|
|
272
|
+
* @param args.options.offset - The number of results to skip before starting to collect the result set.
|
|
273
|
+
* @param args.options.orderBy - The field by which to order the results.
|
|
274
|
+
* @param args.options.where - Additional conditions to filter the results.
|
|
275
|
+
* @param args.options.where.owner_address - The address of the account whose domains are being queried.
|
|
276
|
+
* @param args.options.where.expiration_timestamp - The minimum expiration timestamp for the domains.
|
|
277
|
+
* @param args.options.where.subdomain - The specific subdomain to filter by.
|
|
278
|
+
*
|
|
279
|
+
* @returns An array of sanitized domain names owned by the specified account.
|
|
280
|
+
* @group Implementation
|
|
281
|
+
*/
|
|
282
|
+
declare function getAccountDomains(args: {
|
|
283
|
+
movementConfig: MovementConfig;
|
|
284
|
+
} & GetAccountDomainsArgs): Promise<GetANSNameResponse>;
|
|
285
|
+
/**
|
|
286
|
+
* Arguments for retrieving subdomains associated with a specific account.
|
|
287
|
+
*
|
|
288
|
+
* @param accountAddress - The address of the account for which to fetch subdomains.
|
|
289
|
+
* @group Implementation
|
|
290
|
+
*/
|
|
291
|
+
interface GetAccountSubdomainsArgs extends QueryNamesOptions {
|
|
292
|
+
accountAddress: AccountAddressInput;
|
|
293
|
+
}
|
|
294
|
+
/**
|
|
295
|
+
* Retrieves a list of subdomains owned by a specified account address, determined
|
|
296
|
+
* by the owner_address field.
|
|
297
|
+
*
|
|
298
|
+
* @param args - The arguments for retrieving account subdomains.
|
|
299
|
+
* @param args.movementConfig - The configuration object for Movement.
|
|
300
|
+
* @param args.options - Optional parameters for the query.
|
|
301
|
+
* @param args.options.limit - The maximum number of results to return.
|
|
302
|
+
* @param args.options.offset - The number of results to skip before starting to collect the result set.
|
|
303
|
+
* @param args.options.orderBy - The field by which to order the results.
|
|
304
|
+
* @param args.options.where - Additional conditions to filter the results.
|
|
305
|
+
* @param args.options.where.owner_address - The address of the account to filter by.
|
|
306
|
+
* @param args.options.where.expiration_timestamp - The expiration timestamp to filter by.
|
|
307
|
+
* @param args.options.where.subdomain - The subdomain condition to filter by.
|
|
308
|
+
* @param args.accountAddress - The address of the account whose subdomains are being queried.
|
|
309
|
+
* @group Implementation
|
|
310
|
+
*/
|
|
311
|
+
declare function getAccountSubdomains(args: {
|
|
312
|
+
movementConfig: MovementConfig;
|
|
313
|
+
} & GetAccountSubdomainsArgs): Promise<GetANSNameResponse>;
|
|
314
|
+
/**
|
|
315
|
+
* Arguments for retrieving subdomains associated with a specific domain.
|
|
316
|
+
*
|
|
317
|
+
* @param domain - The domain for which to fetch subdomains.
|
|
318
|
+
* @group Implementation
|
|
319
|
+
*/
|
|
320
|
+
interface GetDomainSubdomainsArgs extends QueryNamesOptions {
|
|
321
|
+
domain: string;
|
|
322
|
+
}
|
|
323
|
+
/**
|
|
324
|
+
* Retrieve the active subdomains associated with a specified domain,
|
|
325
|
+
* regardless of who is in possession of the domain.
|
|
326
|
+
*
|
|
327
|
+
* This function queries by domain name only, not by owner, so it will return
|
|
328
|
+
* all subdomains of a domain even if they're owned by different accounts.
|
|
329
|
+
*
|
|
330
|
+
* @param args - The arguments for retrieving subdomains.
|
|
331
|
+
* @param args.movementConfig - The configuration settings for Movement.
|
|
332
|
+
* @param args.options - Optional parameters for the query.
|
|
333
|
+
* @param args.options.limit - The maximum number of results to return.
|
|
334
|
+
* @param args.options.offset - The number of results to skip before starting to collect the results.
|
|
335
|
+
* @param args.options.orderBy - The field by which to order the results.
|
|
336
|
+
* @param args.options.where - Additional conditions to filter the results.
|
|
337
|
+
* @param args.domain - The domain for which to retrieve subdomains.
|
|
338
|
+
*
|
|
339
|
+
* @returns An array of active subdomain names.
|
|
340
|
+
* @group Implementation
|
|
341
|
+
*/
|
|
342
|
+
declare function getDomainSubdomains(args: {
|
|
343
|
+
movementConfig: MovementConfig;
|
|
344
|
+
} & GetDomainSubdomainsArgs): Promise<GetANSNameResponse>;
|
|
345
|
+
/**
|
|
346
|
+
* Renews a domain for a specified duration. This function allows you to extend the registration of a domain for one year.
|
|
347
|
+
*
|
|
348
|
+
* @param args - The parameters required to renew the domain.
|
|
349
|
+
* @param args.movementConfig - The configuration settings for Movement.
|
|
350
|
+
* @param args.sender - The account that is sending the renewal transaction.
|
|
351
|
+
* @param args.name - The name of the domain to renew.
|
|
352
|
+
* @param args.years - The number of years to renew the domain for. Currently, only 1 year renewals are supported. (optional, default is 1)
|
|
353
|
+
* @param args.options - Additional options for generating the transaction. (optional)
|
|
354
|
+
* @throws Error if the name contains a subdomain or if the years parameter is not equal to 1.
|
|
355
|
+
* @group Implementation
|
|
356
|
+
*/
|
|
357
|
+
declare function renewDomain(args: {
|
|
358
|
+
movementConfig: MovementConfig;
|
|
359
|
+
sender: Account;
|
|
360
|
+
name: string;
|
|
361
|
+
years?: 1;
|
|
362
|
+
options?: InputGenerateTransactionOptions;
|
|
363
|
+
}): Promise<SimpleTransaction>;
|
|
364
|
+
|
|
365
|
+
export { type GetAccountDomainsArgs, type GetAccountNamesArgs, type GetAccountSubdomainsArgs, type GetDomainSubdomainsArgs, LOCAL_ANS_ACCOUNT_ADDRESS, LOCAL_ANS_ACCOUNT_PK, type RegisterNameParameters, SubdomainExpirationPolicy, VALIDATION_RULES_DESCRIPTION, getAccountDomains, getAccountNames, getAccountSubdomains, getDomainSubdomains, getExpiration, getName, getOwnerAddress, getPrimaryName, getTargetAddress, isActiveANSName, isValidANSName, isValidANSSegment, registerName, renewDomain, setPrimaryName, setTargetAddress };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{bd as a,cd as b,dd as c,ed as d,fd as e,gd as f,hd as g,id as h,jd as i,kd as j,ld as k,md as l,nd as m,od as n,pd as o,qd as p,rd as q,sd as r,td as s,ud as t}from"../chunk-47V7UGV5.mjs";import"../chunk-A5L76YP7.mjs";import"../chunk-YFFYA5U3.mjs";import"../chunk-UYVPNUH3.mjs";import"../chunk-G3MHXDYA.mjs";import"../chunk-RUIFVDWM.mjs";import"../chunk-WVDICMU4.mjs";import"../chunk-2KDUIZKB.mjs";import"../chunk-OOOAVIMQ.mjs";import"../chunk-V3O2SBO4.mjs";import"../chunk-D6HPXGEP.mjs";import"../chunk-5HXLZHDW.mjs";import"../chunk-7TTTMBAK.mjs";import"../chunk-GOXRBEIJ.mjs";import"../chunk-2QTV4AOE.mjs";import"../chunk-PHRRBT44.mjs";import"../chunk-VEZCMPUG.mjs";import"../chunk-CHWDP6AR.mjs";import"../chunk-V3MBJJTL.mjs";import"../chunk-NECL5FCQ.mjs";import"../chunk-4QMXOWHP.mjs";import"../chunk-ZP4DWSQA.mjs";import"../chunk-NUB6KE73.mjs";import"../chunk-I6YGBK5S.mjs";import"../chunk-S4D2KBYN.mjs";import"../chunk-CRCE7R4D.mjs";import"../chunk-NQUZ4UHR.mjs";import"../chunk-NMFJJOGW.mjs";import"../chunk-5ZKA765G.mjs";import"../chunk-FJRPU2NH.mjs";import"../chunk-UL777LTI.mjs";import"../chunk-7ECCT6PK.mjs";import"../chunk-SYXDZA4K.mjs";import"../chunk-R2G23RIY.mjs";import"../chunk-MEWW7VTQ.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-ANTEUWH6.mjs";import"../chunk-KPJGWDSQ.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-6NO4QKAO.mjs";import"../chunk-FS5ZJKO7.mjs";import"../chunk-UVP74ONT.mjs";import"../chunk-XCURF77K.mjs";import"../chunk-RXHPS4IU.mjs";import"../chunk-WFAH73WN.mjs";import"../chunk-Y6YW4BAZ.mjs";import"../chunk-DS6QB6HG.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-YOHEYPDP.mjs";import"../chunk-SRXFRTHK.mjs";import"../chunk-5IMQPJ6J.mjs";import"../chunk-RL4YPMN4.mjs";import"../chunk-UI4OF6CP.mjs";import"../chunk-PZ233FIY.mjs";import"../chunk-VW3WBAAD.mjs";import"../chunk-PCESRJYO.mjs";import"../chunk-KDMSOCZY.mjs";export{g as LOCAL_ANS_ACCOUNT_ADDRESS,f as LOCAL_ANS_ACCOUNT_PK,d as SubdomainExpirationPolicy,a as VALIDATION_RULES_DESCRIPTION,q as getAccountDomains,p as getAccountNames,r as getAccountSubdomains,s as getDomainSubdomains,j as getExpiration,o as getName,h as getOwnerAddress,k as getPrimaryName,m as getTargetAddress,e as isActiveANSName,c as isValidANSName,b as isValidANSSegment,i as registerName,t as renewDomain,l as setPrimaryName,n as setTargetAddress};
|
|
2
|
+
//# sourceMappingURL=ans.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { M as MovementConfig, s as AccountAddressInput, c3 as AnyNumber, dr as MoveStructId, aG as InputGenerateTransactionOptions, ag as SimpleTransaction } from '../accountAddress-CNXtapt1.mjs';
|
|
2
|
+
import '../types/indexer.mjs';
|
|
3
|
+
import '../types/generated/operations.mjs';
|
|
4
|
+
import '../types/generated/types.mjs';
|
|
5
|
+
import '../utils/apiEndpoints.mjs';
|
|
6
|
+
import '../utils/const.mjs';
|
|
7
|
+
import '../core/common.mjs';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Generates a transaction to transfer coins from one account to another.
|
|
11
|
+
* This function allows you to specify the sender, recipient, amount, and coin type for the transaction.
|
|
12
|
+
*
|
|
13
|
+
* @param args - The parameters for the transaction.
|
|
14
|
+
* @param args.movementConfig - The Movement configuration object.
|
|
15
|
+
* @param args.sender - The address of the account sending the coins.
|
|
16
|
+
* @param args.recipient - The address of the account receiving the coins.
|
|
17
|
+
* @param args.amount - The amount of coins to transfer.
|
|
18
|
+
* @param args.coinType - (Optional) The type of coin to transfer, defaults to Movement Coin if not specified.
|
|
19
|
+
* @param args.options - (Optional) Options for generating the transaction.
|
|
20
|
+
* @group Implementation
|
|
21
|
+
*/
|
|
22
|
+
declare function transferCoinTransaction(args: {
|
|
23
|
+
movementConfig: MovementConfig;
|
|
24
|
+
sender: AccountAddressInput;
|
|
25
|
+
recipient: AccountAddressInput;
|
|
26
|
+
amount: AnyNumber;
|
|
27
|
+
coinType?: MoveStructId;
|
|
28
|
+
options?: InputGenerateTransactionOptions;
|
|
29
|
+
}): Promise<SimpleTransaction>;
|
|
30
|
+
|
|
31
|
+
export { transferCoinTransaction };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{wd as a}from"../chunk-47V7UGV5.mjs";import"../chunk-A5L76YP7.mjs";import"../chunk-YFFYA5U3.mjs";import"../chunk-UYVPNUH3.mjs";import"../chunk-G3MHXDYA.mjs";import"../chunk-RUIFVDWM.mjs";import"../chunk-WVDICMU4.mjs";import"../chunk-2KDUIZKB.mjs";import"../chunk-OOOAVIMQ.mjs";import"../chunk-V3O2SBO4.mjs";import"../chunk-D6HPXGEP.mjs";import"../chunk-5HXLZHDW.mjs";import"../chunk-7TTTMBAK.mjs";import"../chunk-GOXRBEIJ.mjs";import"../chunk-2QTV4AOE.mjs";import"../chunk-PHRRBT44.mjs";import"../chunk-VEZCMPUG.mjs";import"../chunk-CHWDP6AR.mjs";import"../chunk-V3MBJJTL.mjs";import"../chunk-NECL5FCQ.mjs";import"../chunk-4QMXOWHP.mjs";import"../chunk-ZP4DWSQA.mjs";import"../chunk-NUB6KE73.mjs";import"../chunk-I6YGBK5S.mjs";import"../chunk-S4D2KBYN.mjs";import"../chunk-CRCE7R4D.mjs";import"../chunk-NQUZ4UHR.mjs";import"../chunk-NMFJJOGW.mjs";import"../chunk-5ZKA765G.mjs";import"../chunk-FJRPU2NH.mjs";import"../chunk-UL777LTI.mjs";import"../chunk-7ECCT6PK.mjs";import"../chunk-SYXDZA4K.mjs";import"../chunk-R2G23RIY.mjs";import"../chunk-MEWW7VTQ.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-ANTEUWH6.mjs";import"../chunk-KPJGWDSQ.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-6NO4QKAO.mjs";import"../chunk-FS5ZJKO7.mjs";import"../chunk-UVP74ONT.mjs";import"../chunk-XCURF77K.mjs";import"../chunk-RXHPS4IU.mjs";import"../chunk-WFAH73WN.mjs";import"../chunk-Y6YW4BAZ.mjs";import"../chunk-DS6QB6HG.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-YOHEYPDP.mjs";import"../chunk-SRXFRTHK.mjs";import"../chunk-5IMQPJ6J.mjs";import"../chunk-RL4YPMN4.mjs";import"../chunk-UI4OF6CP.mjs";import"../chunk-PZ233FIY.mjs";import"../chunk-VW3WBAAD.mjs";import"../chunk-PCESRJYO.mjs";import"../chunk-KDMSOCZY.mjs";export{a as transferCoinTransaction};
|
|
2
|
+
//# sourceMappingURL=coin.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|