@totochain/client 0.0.0-stage → 0.1.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 +283 -2
- package/_cjs/accounts/index.d.cts +7 -0
- package/_cjs/accounts/index.js +29 -0
- package/_cjs/accounts/keyring.d.cts +28 -0
- package/_cjs/accounts/keyring.js +102 -0
- package/_cjs/accounts/substrateSigner.d.cts +5 -0
- package/_cjs/accounts/substrateSigner.js +46 -0
- package/_cjs/accounts/types.d.cts +6 -0
- package/_cjs/accounts/types.js +2 -0
- package/_cjs/accounts/wellKnown.d.cts +24 -0
- package/_cjs/accounts/wellKnown.js +322 -0
- package/_cjs/actions/activityTracker/calculateActivityReputationAtBlock.d.cts +9 -0
- package/_cjs/actions/activityTracker/calculateActivityReputationAtBlock.js +8 -0
- package/_cjs/actions/activityTracker/decodeReputationPage.d.cts +4 -0
- package/_cjs/actions/activityTracker/decodeReputationPage.js +13 -0
- package/_cjs/actions/activityTracker/getActivityReputation.d.cts +8 -0
- package/_cjs/actions/activityTracker/getActivityReputation.js +8 -0
- package/_cjs/actions/activityTracker/getActivityReputationInfo.d.cts +9 -0
- package/_cjs/actions/activityTracker/getActivityReputationInfo.js +14 -0
- package/_cjs/actions/activityTracker/getActivityTrackerConfig.d.cts +8 -0
- package/_cjs/actions/activityTracker/getActivityTrackerConfig.js +13 -0
- package/_cjs/actions/activityTracker/getAllActivityReputations.d.cts +8 -0
- package/_cjs/actions/activityTracker/getAllActivityReputations.js +9 -0
- package/_cjs/actions/activityTracker/getAllRawActivityReputations.d.cts +8 -0
- package/_cjs/actions/activityTracker/getAllRawActivityReputations.js +9 -0
- package/_cjs/actions/activityTracker/getMaxActivityReputation.d.cts +7 -0
- package/_cjs/actions/activityTracker/getMaxActivityReputation.js +8 -0
- package/_cjs/actions/activityTracker/getRawActivityReputation.d.cts +8 -0
- package/_cjs/actions/activityTracker/getRawActivityReputation.js +8 -0
- package/_cjs/actions/activityTracker/index.d.cts +18 -0
- package/_cjs/actions/activityTracker/index.js +19 -0
- package/_cjs/actions/activityTracker/types.d.cts +20 -0
- package/_cjs/actions/activityTracker/types.js +2 -0
- package/_cjs/actions/attestation/attest.d.cts +16 -0
- package/_cjs/actions/attestation/attest.js +14 -0
- package/_cjs/actions/attestation/index.d.cts +3 -0
- package/_cjs/actions/attestation/index.js +7 -0
- package/_cjs/actions/did/createDid.d.cts +10 -0
- package/_cjs/actions/did/createDid.js +10 -0
- package/_cjs/actions/did/index.d.cts +3 -0
- package/_cjs/actions/did/index.js +6 -0
- package/_cjs/actions/fractionalNft/getCollectionsCount.d.cts +7 -0
- package/_cjs/actions/fractionalNft/getCollectionsCount.js +8 -0
- package/_cjs/actions/fractionalNft/getItemsCount.d.cts +8 -0
- package/_cjs/actions/fractionalNft/getItemsCount.js +8 -0
- package/_cjs/actions/fractionalNft/getNftInfo.d.cts +9 -0
- package/_cjs/actions/fractionalNft/getNftInfo.js +12 -0
- package/_cjs/actions/fractionalNft/getOwner.d.cts +9 -0
- package/_cjs/actions/fractionalNft/getOwner.js +8 -0
- package/_cjs/actions/fractionalNft/getTotalFnftsMinted.d.cts +7 -0
- package/_cjs/actions/fractionalNft/getTotalFnftsMinted.js +8 -0
- package/_cjs/actions/fractionalNft/getWildcardCollectionId.d.cts +7 -0
- package/_cjs/actions/fractionalNft/getWildcardCollectionId.js +8 -0
- package/_cjs/actions/fractionalNft/getWildcardDistributionMap.d.cts +8 -0
- package/_cjs/actions/fractionalNft/getWildcardDistributionMap.js +9 -0
- package/_cjs/actions/fractionalNft/getWildcardThreshold.d.cts +7 -0
- package/_cjs/actions/fractionalNft/getWildcardThreshold.js +8 -0
- package/_cjs/actions/fractionalNft/index.d.cts +18 -0
- package/_cjs/actions/fractionalNft/index.js +19 -0
- package/_cjs/actions/fractionalNft/types.d.cts +10 -0
- package/_cjs/actions/fractionalNft/types.js +2 -0
- package/_cjs/actions/handshake/getCompletedHandshakes.d.cts +8 -0
- package/_cjs/actions/handshake/getCompletedHandshakes.js +8 -0
- package/_cjs/actions/handshake/getHandshakeCount.d.cts +8 -0
- package/_cjs/actions/handshake/getHandshakeCount.js +8 -0
- package/_cjs/actions/handshake/getHandshakeStatus.d.cts +10 -0
- package/_cjs/actions/handshake/getHandshakeStatus.js +8 -0
- package/_cjs/actions/handshake/handshakeExists.d.cts +9 -0
- package/_cjs/actions/handshake/handshakeExists.js +8 -0
- package/_cjs/actions/handshake/hasHandshakeCompleted.d.cts +9 -0
- package/_cjs/actions/handshake/hasHandshakeCompleted.js +8 -0
- package/_cjs/actions/handshake/index.d.cts +12 -0
- package/_cjs/actions/handshake/index.js +13 -0
- package/_cjs/actions/handshake/types.d.cts +2 -0
- package/_cjs/actions/handshake/types.js +2 -0
- package/_cjs/actions/index.d.cts +14 -0
- package/_cjs/actions/index.js +35 -0
- package/_cjs/actions/potential/getActiveReferralShare.d.cts +8 -0
- package/_cjs/actions/potential/getActiveReferralShare.js +8 -0
- package/_cjs/actions/potential/getCycleNumber.d.cts +7 -0
- package/_cjs/actions/potential/getCycleNumber.js +8 -0
- package/_cjs/actions/potential/getCyclePotentialMinted.d.cts +7 -0
- package/_cjs/actions/potential/getCyclePotentialMinted.js +8 -0
- package/_cjs/actions/potential/getCycleSupply.d.cts +7 -0
- package/_cjs/actions/potential/getCycleSupply.js +8 -0
- package/_cjs/actions/potential/getDefaultActiveReferralShare.d.cts +7 -0
- package/_cjs/actions/potential/getDefaultActiveReferralShare.js +8 -0
- package/_cjs/actions/potential/getMaxSupply.d.cts +7 -0
- package/_cjs/actions/potential/getMaxSupply.js +8 -0
- package/_cjs/actions/potential/getMonthNumber.d.cts +7 -0
- package/_cjs/actions/potential/getMonthNumber.js +8 -0
- package/_cjs/actions/potential/getMonthPotentialMinted.d.cts +7 -0
- package/_cjs/actions/potential/getMonthPotentialMinted.js +8 -0
- package/_cjs/actions/potential/getMonthSupply.d.cts +7 -0
- package/_cjs/actions/potential/getMonthSupply.js +8 -0
- package/_cjs/actions/potential/getPotential.d.cts +8 -0
- package/_cjs/actions/potential/getPotential.js +8 -0
- package/_cjs/actions/potential/getTotalPotentialMinted.d.cts +7 -0
- package/_cjs/actions/potential/getTotalPotentialMinted.js +8 -0
- package/_cjs/actions/potential/index.d.cts +23 -0
- package/_cjs/actions/potential/index.js +25 -0
- package/_cjs/actions/referral/decodePage.d.cts +4 -0
- package/_cjs/actions/referral/decodePage.js +13 -0
- package/_cjs/actions/referral/getActiveReferrals.d.cts +9 -0
- package/_cjs/actions/referral/getActiveReferrals.js +14 -0
- package/_cjs/actions/referral/getActiveReferralsCount.d.cts +8 -0
- package/_cjs/actions/referral/getActiveReferralsCount.js +8 -0
- package/_cjs/actions/referral/getBlockProducers.d.cts +7 -0
- package/_cjs/actions/referral/getBlockProducers.js +8 -0
- package/_cjs/actions/referral/getBlockProducersPage.d.cts +8 -0
- package/_cjs/actions/referral/getBlockProducersPage.js +9 -0
- package/_cjs/actions/referral/getPendingReferrals.d.cts +8 -0
- package/_cjs/actions/referral/getPendingReferrals.js +8 -0
- package/_cjs/actions/referral/getPendingReferralsPage.d.cts +9 -0
- package/_cjs/actions/referral/getPendingReferralsPage.js +9 -0
- package/_cjs/actions/referral/getReferrer.d.cts +8 -0
- package/_cjs/actions/referral/getReferrer.js +8 -0
- package/_cjs/actions/referral/index.d.cts +16 -0
- package/_cjs/actions/referral/index.js +17 -0
- package/_cjs/actions/referral/types.d.cts +6 -0
- package/_cjs/actions/referral/types.js +2 -0
- package/_cjs/actions/reputationVoting/getTally.d.cts +9 -0
- package/_cjs/actions/reputationVoting/getTally.js +14 -0
- package/_cjs/actions/reputationVoting/getVotesForAccount.d.cts +9 -0
- package/_cjs/actions/reputationVoting/getVotesForAccount.js +16 -0
- package/_cjs/actions/reputationVoting/getVotingReputation.d.cts +8 -0
- package/_cjs/actions/reputationVoting/getVotingReputation.js +8 -0
- package/_cjs/actions/reputationVoting/index.d.cts +10 -0
- package/_cjs/actions/reputationVoting/index.js +11 -0
- package/_cjs/actions/reputationVoting/isPassing.d.cts +8 -0
- package/_cjs/actions/reputationVoting/isPassing.js +8 -0
- package/_cjs/actions/reputationVoting/types.d.cts +17 -0
- package/_cjs/actions/reputationVoting/types.js +2 -0
- package/_cjs/actions/rewardPool/getCollectionIds.d.cts +7 -0
- package/_cjs/actions/rewardPool/getCollectionIds.js +8 -0
- package/_cjs/actions/rewardPool/getItemIds.d.cts +8 -0
- package/_cjs/actions/rewardPool/getItemIds.js +8 -0
- package/_cjs/actions/rewardPool/getRewardPoolAccount.d.cts +7 -0
- package/_cjs/actions/rewardPool/getRewardPoolAccount.js +8 -0
- package/_cjs/actions/rewardPool/getRewardPoolBalance.d.cts +7 -0
- package/_cjs/actions/rewardPool/getRewardPoolBalance.js +8 -0
- package/_cjs/actions/rewardPool/index.d.cts +9 -0
- package/_cjs/actions/rewardPool/index.js +11 -0
- package/_cjs/actions/submitAndWait.d.cts +65 -0
- package/_cjs/actions/submitAndWait.js +141 -0
- package/_cjs/actions/techCommitteeManager/getSelectedTechCommittee.d.cts +7 -0
- package/_cjs/actions/techCommitteeManager/getSelectedTechCommittee.js +8 -0
- package/_cjs/actions/techCommitteeManager/getTechCommitteeCandidates.d.cts +7 -0
- package/_cjs/actions/techCommitteeManager/getTechCommitteeCandidates.js +8 -0
- package/_cjs/actions/techCommitteeManager/index.d.cts +5 -0
- package/_cjs/actions/techCommitteeManager/index.js +7 -0
- package/_cjs/actions/validatorManager/decodePairs.d.cts +8 -0
- package/_cjs/actions/validatorManager/decodePairs.js +7 -0
- package/_cjs/actions/validatorManager/getActiveValidators.d.cts +7 -0
- package/_cjs/actions/validatorManager/getActiveValidators.js +8 -0
- package/_cjs/actions/validatorManager/getOffenceValidators.d.cts +8 -0
- package/_cjs/actions/validatorManager/getOffenceValidators.js +9 -0
- package/_cjs/actions/validatorManager/getOfflineValidators.d.cts +8 -0
- package/_cjs/actions/validatorManager/getOfflineValidators.js +9 -0
- package/_cjs/actions/validatorManager/getReputationForAccount.d.cts +8 -0
- package/_cjs/actions/validatorManager/getReputationForAccount.js +8 -0
- package/_cjs/actions/validatorManager/getReputationPenaltyFor.d.cts +8 -0
- package/_cjs/actions/validatorManager/getReputationPenaltyFor.js +8 -0
- package/_cjs/actions/validatorManager/getReputations.d.cts +9 -0
- package/_cjs/actions/validatorManager/getReputations.js +9 -0
- package/_cjs/actions/validatorManager/getSelectedValidators.d.cts +7 -0
- package/_cjs/actions/validatorManager/getSelectedValidators.js +8 -0
- package/_cjs/actions/validatorManager/getValidatorCandidates.d.cts +7 -0
- package/_cjs/actions/validatorManager/getValidatorCandidates.js +8 -0
- package/_cjs/actions/validatorManager/index.d.cts +18 -0
- package/_cjs/actions/validatorManager/index.js +19 -0
- package/_cjs/actions/validatorManager/types.d.cts +10 -0
- package/_cjs/actions/validatorManager/types.js +2 -0
- package/_cjs/chains/defineChain.d.cts +18 -0
- package/_cjs/chains/defineChain.js +6 -0
- package/_cjs/chains/definitions.d.cts +65 -0
- package/_cjs/chains/definitions.js +52 -0
- package/_cjs/chains/index.d.cts +4 -0
- package/_cjs/chains/index.js +10 -0
- package/_cjs/client/createClient.d.cts +10 -0
- package/_cjs/client/createClient.js +25 -0
- package/_cjs/client/types.d.cts +7 -0
- package/_cjs/client/types.js +2 -0
- package/_cjs/crypto/claimHash.d.cts +23 -0
- package/_cjs/crypto/claimHash.js +38 -0
- package/_cjs/crypto/ctypeHash.d.cts +16 -0
- package/_cjs/crypto/ctypeHash.js +24 -0
- package/_cjs/crypto/index.d.cts +5 -0
- package/_cjs/crypto/index.js +9 -0
- package/_cjs/ctypes/definitions.d.cts +21 -0
- package/_cjs/ctypes/definitions.js +210 -0
- package/_cjs/ctypes/index.d.cts +4 -0
- package/_cjs/ctypes/index.js +21 -0
- package/_cjs/index.d.cts +22 -0
- package/_cjs/index.js +62 -0
- package/_cjs/package.json +1 -0
- package/_cjs/plugins/activityTracker.d.cts +34 -0
- package/_cjs/plugins/activityTracker.js +18 -0
- package/_cjs/plugins/fractionalNft.d.cts +31 -0
- package/_cjs/plugins/fractionalNft.js +18 -0
- package/_cjs/plugins/handshake.d.cts +32 -0
- package/_cjs/plugins/handshake.js +15 -0
- package/_cjs/plugins/index.d.cts +19 -0
- package/_cjs/plugins/index.js +21 -0
- package/_cjs/plugins/potential.d.cts +29 -0
- package/_cjs/plugins/potential.js +21 -0
- package/_cjs/plugins/referral.d.cts +17 -0
- package/_cjs/plugins/referral.js +17 -0
- package/_cjs/plugins/reputationVoting.d.cts +25 -0
- package/_cjs/plugins/reputationVoting.js +14 -0
- package/_cjs/plugins/rewardPool.d.cts +19 -0
- package/_cjs/plugins/rewardPool.js +14 -0
- package/_cjs/plugins/techCommitteeManager.d.cts +14 -0
- package/_cjs/plugins/techCommitteeManager.js +12 -0
- package/_cjs/plugins/validatorManager.d.cts +30 -0
- package/_cjs/plugins/validatorManager.js +18 -0
- package/_cjs/rpc/bundle.d.cts +4 -0
- package/_cjs/rpc/bundle.js +24 -0
- package/_cjs/rpc/call.d.cts +4 -0
- package/_cjs/rpc/call.js +12 -0
- package/_cjs/rpc/definitions.d.cts +3 -0
- package/_cjs/rpc/definitions.js +398 -0
- package/_cjs/rpc/index.d.cts +4 -0
- package/_cjs/rpc/index.js +10 -0
- package/_cjs/rpc/types.d.cts +3 -0
- package/_cjs/rpc/types.js +48 -0
- package/_cjs/types/index.d.cts +17 -0
- package/_cjs/types/index.js +5 -0
- package/_esm/accounts/index.js +3 -0
- package/_esm/accounts/keyring.js +83 -0
- package/_esm/accounts/substrateSigner.js +43 -0
- package/_esm/accounts/types.js +1 -0
- package/_esm/accounts/wellKnown.js +317 -0
- package/_esm/actions/activityTracker/calculateActivityReputationAtBlock.js +5 -0
- package/_esm/actions/activityTracker/decodeReputationPage.js +10 -0
- package/_esm/actions/activityTracker/getActivityReputation.js +5 -0
- package/_esm/actions/activityTracker/getActivityReputationInfo.js +11 -0
- package/_esm/actions/activityTracker/getActivityTrackerConfig.js +10 -0
- package/_esm/actions/activityTracker/getAllActivityReputations.js +6 -0
- package/_esm/actions/activityTracker/getAllRawActivityReputations.js +6 -0
- package/_esm/actions/activityTracker/getMaxActivityReputation.js +5 -0
- package/_esm/actions/activityTracker/getRawActivityReputation.js +5 -0
- package/_esm/actions/activityTracker/index.js +8 -0
- package/_esm/actions/activityTracker/types.js +1 -0
- package/_esm/actions/attestation/attest.js +9 -0
- package/_esm/actions/attestation/index.js +1 -0
- package/_esm/actions/did/createDid.js +6 -0
- package/_esm/actions/did/index.js +1 -0
- package/_esm/actions/fractionalNft/getCollectionsCount.js +5 -0
- package/_esm/actions/fractionalNft/getItemsCount.js +5 -0
- package/_esm/actions/fractionalNft/getNftInfo.js +9 -0
- package/_esm/actions/fractionalNft/getOwner.js +5 -0
- package/_esm/actions/fractionalNft/getTotalFnftsMinted.js +5 -0
- package/_esm/actions/fractionalNft/getWildcardCollectionId.js +5 -0
- package/_esm/actions/fractionalNft/getWildcardDistributionMap.js +6 -0
- package/_esm/actions/fractionalNft/getWildcardThreshold.js +5 -0
- package/_esm/actions/fractionalNft/index.js +8 -0
- package/_esm/actions/fractionalNft/types.js +1 -0
- package/_esm/actions/handshake/getCompletedHandshakes.js +5 -0
- package/_esm/actions/handshake/getHandshakeCount.js +5 -0
- package/_esm/actions/handshake/getHandshakeStatus.js +5 -0
- package/_esm/actions/handshake/handshakeExists.js +5 -0
- package/_esm/actions/handshake/hasHandshakeCompleted.js +5 -0
- package/_esm/actions/handshake/index.js +5 -0
- package/_esm/actions/handshake/types.js +1 -0
- package/_esm/actions/index.js +12 -0
- package/_esm/actions/potential/getActiveReferralShare.js +5 -0
- package/_esm/actions/potential/getCycleNumber.js +5 -0
- package/_esm/actions/potential/getCyclePotentialMinted.js +5 -0
- package/_esm/actions/potential/getCycleSupply.js +5 -0
- package/_esm/actions/potential/getDefaultActiveReferralShare.js +5 -0
- package/_esm/actions/potential/getMaxSupply.js +5 -0
- package/_esm/actions/potential/getMonthNumber.js +5 -0
- package/_esm/actions/potential/getMonthPotentialMinted.js +5 -0
- package/_esm/actions/potential/getMonthSupply.js +5 -0
- package/_esm/actions/potential/getPotential.js +5 -0
- package/_esm/actions/potential/getTotalPotentialMinted.js +5 -0
- package/_esm/actions/potential/index.js +11 -0
- package/_esm/actions/referral/decodePage.js +10 -0
- package/_esm/actions/referral/getActiveReferrals.js +11 -0
- package/_esm/actions/referral/getActiveReferralsCount.js +5 -0
- package/_esm/actions/referral/getBlockProducers.js +5 -0
- package/_esm/actions/referral/getBlockProducersPage.js +6 -0
- package/_esm/actions/referral/getPendingReferrals.js +5 -0
- package/_esm/actions/referral/getPendingReferralsPage.js +6 -0
- package/_esm/actions/referral/getReferrer.js +5 -0
- package/_esm/actions/referral/index.js +7 -0
- package/_esm/actions/referral/types.js +1 -0
- package/_esm/actions/reputationVoting/getTally.js +11 -0
- package/_esm/actions/reputationVoting/getVotesForAccount.js +13 -0
- package/_esm/actions/reputationVoting/getVotingReputation.js +5 -0
- package/_esm/actions/reputationVoting/index.js +4 -0
- package/_esm/actions/reputationVoting/isPassing.js +5 -0
- package/_esm/actions/reputationVoting/types.js +1 -0
- package/_esm/actions/rewardPool/getCollectionIds.js +5 -0
- package/_esm/actions/rewardPool/getItemIds.js +5 -0
- package/_esm/actions/rewardPool/getRewardPoolAccount.js +5 -0
- package/_esm/actions/rewardPool/getRewardPoolBalance.js +5 -0
- package/_esm/actions/rewardPool/index.js +4 -0
- package/_esm/actions/submitAndWait.js +132 -0
- package/_esm/actions/techCommitteeManager/getSelectedTechCommittee.js +5 -0
- package/_esm/actions/techCommitteeManager/getTechCommitteeCandidates.js +5 -0
- package/_esm/actions/techCommitteeManager/index.js +2 -0
- package/_esm/actions/validatorManager/decodePairs.js +4 -0
- package/_esm/actions/validatorManager/getActiveValidators.js +5 -0
- package/_esm/actions/validatorManager/getOffenceValidators.js +6 -0
- package/_esm/actions/validatorManager/getOfflineValidators.js +6 -0
- package/_esm/actions/validatorManager/getReputationForAccount.js +5 -0
- package/_esm/actions/validatorManager/getReputationPenaltyFor.js +5 -0
- package/_esm/actions/validatorManager/getReputations.js +6 -0
- package/_esm/actions/validatorManager/getSelectedValidators.js +5 -0
- package/_esm/actions/validatorManager/getValidatorCandidates.js +5 -0
- package/_esm/actions/validatorManager/index.js +8 -0
- package/_esm/actions/validatorManager/types.js +1 -0
- package/_esm/chains/defineChain.js +3 -0
- package/_esm/chains/definitions.js +49 -0
- package/_esm/chains/index.js +2 -0
- package/_esm/client/createClient.js +21 -0
- package/_esm/client/types.js +1 -0
- package/_esm/crypto/claimHash.js +34 -0
- package/_esm/crypto/ctypeHash.js +20 -0
- package/_esm/crypto/index.js +2 -0
- package/_esm/ctypes/definitions.js +207 -0
- package/_esm/ctypes/index.js +2 -0
- package/_esm/index.js +12 -0
- package/_esm/package.json +1 -0
- package/_esm/plugins/activityTracker.js +15 -0
- package/_esm/plugins/fractionalNft.js +15 -0
- package/_esm/plugins/handshake.js +12 -0
- package/_esm/plugins/index.js +9 -0
- package/_esm/plugins/potential.js +18 -0
- package/_esm/plugins/referral.js +14 -0
- package/_esm/plugins/reputationVoting.js +11 -0
- package/_esm/plugins/rewardPool.js +11 -0
- package/_esm/plugins/techCommitteeManager.js +9 -0
- package/_esm/plugins/validatorManager.js +15 -0
- package/_esm/rpc/bundle.js +21 -0
- package/_esm/rpc/call.js +9 -0
- package/_esm/rpc/definitions.js +395 -0
- package/_esm/rpc/index.js +3 -0
- package/_esm/rpc/types.js +45 -0
- package/_esm/types/index.js +2 -0
- package/_types/accounts/index.d.ts +7 -0
- package/_types/accounts/index.d.ts.map +1 -0
- package/_types/accounts/keyring.d.ts +28 -0
- package/_types/accounts/keyring.d.ts.map +1 -0
- package/_types/accounts/substrateSigner.d.ts +5 -0
- package/_types/accounts/substrateSigner.d.ts.map +1 -0
- package/_types/accounts/types.d.ts +6 -0
- package/_types/accounts/types.d.ts.map +1 -0
- package/_types/accounts/wellKnown.d.ts +24 -0
- package/_types/accounts/wellKnown.d.ts.map +1 -0
- package/_types/actions/activityTracker/calculateActivityReputationAtBlock.d.ts +9 -0
- package/_types/actions/activityTracker/calculateActivityReputationAtBlock.d.ts.map +1 -0
- package/_types/actions/activityTracker/decodeReputationPage.d.ts +4 -0
- package/_types/actions/activityTracker/decodeReputationPage.d.ts.map +1 -0
- package/_types/actions/activityTracker/getActivityReputation.d.ts +8 -0
- package/_types/actions/activityTracker/getActivityReputation.d.ts.map +1 -0
- package/_types/actions/activityTracker/getActivityReputationInfo.d.ts +9 -0
- package/_types/actions/activityTracker/getActivityReputationInfo.d.ts.map +1 -0
- package/_types/actions/activityTracker/getActivityTrackerConfig.d.ts +8 -0
- package/_types/actions/activityTracker/getActivityTrackerConfig.d.ts.map +1 -0
- package/_types/actions/activityTracker/getAllActivityReputations.d.ts +8 -0
- package/_types/actions/activityTracker/getAllActivityReputations.d.ts.map +1 -0
- package/_types/actions/activityTracker/getAllRawActivityReputations.d.ts +8 -0
- package/_types/actions/activityTracker/getAllRawActivityReputations.d.ts.map +1 -0
- package/_types/actions/activityTracker/getMaxActivityReputation.d.ts +7 -0
- package/_types/actions/activityTracker/getMaxActivityReputation.d.ts.map +1 -0
- package/_types/actions/activityTracker/getRawActivityReputation.d.ts +8 -0
- package/_types/actions/activityTracker/getRawActivityReputation.d.ts.map +1 -0
- package/_types/actions/activityTracker/index.d.ts +18 -0
- package/_types/actions/activityTracker/index.d.ts.map +1 -0
- package/_types/actions/activityTracker/types.d.ts +20 -0
- package/_types/actions/activityTracker/types.d.ts.map +1 -0
- package/_types/actions/attestation/attest.d.ts +16 -0
- package/_types/actions/attestation/attest.d.ts.map +1 -0
- package/_types/actions/attestation/index.d.ts +3 -0
- package/_types/actions/attestation/index.d.ts.map +1 -0
- package/_types/actions/did/createDid.d.ts +10 -0
- package/_types/actions/did/createDid.d.ts.map +1 -0
- package/_types/actions/did/index.d.ts +3 -0
- package/_types/actions/did/index.d.ts.map +1 -0
- package/_types/actions/fractionalNft/getCollectionsCount.d.ts +7 -0
- package/_types/actions/fractionalNft/getCollectionsCount.d.ts.map +1 -0
- package/_types/actions/fractionalNft/getItemsCount.d.ts +8 -0
- package/_types/actions/fractionalNft/getItemsCount.d.ts.map +1 -0
- package/_types/actions/fractionalNft/getNftInfo.d.ts +9 -0
- package/_types/actions/fractionalNft/getNftInfo.d.ts.map +1 -0
- package/_types/actions/fractionalNft/getOwner.d.ts +9 -0
- package/_types/actions/fractionalNft/getOwner.d.ts.map +1 -0
- package/_types/actions/fractionalNft/getTotalFnftsMinted.d.ts +7 -0
- package/_types/actions/fractionalNft/getTotalFnftsMinted.d.ts.map +1 -0
- package/_types/actions/fractionalNft/getWildcardCollectionId.d.ts +7 -0
- package/_types/actions/fractionalNft/getWildcardCollectionId.d.ts.map +1 -0
- package/_types/actions/fractionalNft/getWildcardDistributionMap.d.ts +8 -0
- package/_types/actions/fractionalNft/getWildcardDistributionMap.d.ts.map +1 -0
- package/_types/actions/fractionalNft/getWildcardThreshold.d.ts +7 -0
- package/_types/actions/fractionalNft/getWildcardThreshold.d.ts.map +1 -0
- package/_types/actions/fractionalNft/index.d.ts +18 -0
- package/_types/actions/fractionalNft/index.d.ts.map +1 -0
- package/_types/actions/fractionalNft/types.d.ts +10 -0
- package/_types/actions/fractionalNft/types.d.ts.map +1 -0
- package/_types/actions/handshake/getCompletedHandshakes.d.ts +8 -0
- package/_types/actions/handshake/getCompletedHandshakes.d.ts.map +1 -0
- package/_types/actions/handshake/getHandshakeCount.d.ts +8 -0
- package/_types/actions/handshake/getHandshakeCount.d.ts.map +1 -0
- package/_types/actions/handshake/getHandshakeStatus.d.ts +10 -0
- package/_types/actions/handshake/getHandshakeStatus.d.ts.map +1 -0
- package/_types/actions/handshake/handshakeExists.d.ts +9 -0
- package/_types/actions/handshake/handshakeExists.d.ts.map +1 -0
- package/_types/actions/handshake/hasHandshakeCompleted.d.ts +9 -0
- package/_types/actions/handshake/hasHandshakeCompleted.d.ts.map +1 -0
- package/_types/actions/handshake/index.d.ts +12 -0
- package/_types/actions/handshake/index.d.ts.map +1 -0
- package/_types/actions/handshake/types.d.ts +2 -0
- package/_types/actions/handshake/types.d.ts.map +1 -0
- package/_types/actions/index.d.ts +14 -0
- package/_types/actions/index.d.ts.map +1 -0
- package/_types/actions/potential/getActiveReferralShare.d.ts +8 -0
- package/_types/actions/potential/getActiveReferralShare.d.ts.map +1 -0
- package/_types/actions/potential/getCycleNumber.d.ts +7 -0
- package/_types/actions/potential/getCycleNumber.d.ts.map +1 -0
- package/_types/actions/potential/getCyclePotentialMinted.d.ts +7 -0
- package/_types/actions/potential/getCyclePotentialMinted.d.ts.map +1 -0
- package/_types/actions/potential/getCycleSupply.d.ts +7 -0
- package/_types/actions/potential/getCycleSupply.d.ts.map +1 -0
- package/_types/actions/potential/getDefaultActiveReferralShare.d.ts +7 -0
- package/_types/actions/potential/getDefaultActiveReferralShare.d.ts.map +1 -0
- package/_types/actions/potential/getMaxSupply.d.ts +7 -0
- package/_types/actions/potential/getMaxSupply.d.ts.map +1 -0
- package/_types/actions/potential/getMonthNumber.d.ts +7 -0
- package/_types/actions/potential/getMonthNumber.d.ts.map +1 -0
- package/_types/actions/potential/getMonthPotentialMinted.d.ts +7 -0
- package/_types/actions/potential/getMonthPotentialMinted.d.ts.map +1 -0
- package/_types/actions/potential/getMonthSupply.d.ts +7 -0
- package/_types/actions/potential/getMonthSupply.d.ts.map +1 -0
- package/_types/actions/potential/getPotential.d.ts +8 -0
- package/_types/actions/potential/getPotential.d.ts.map +1 -0
- package/_types/actions/potential/getTotalPotentialMinted.d.ts +7 -0
- package/_types/actions/potential/getTotalPotentialMinted.d.ts.map +1 -0
- package/_types/actions/potential/index.d.ts +23 -0
- package/_types/actions/potential/index.d.ts.map +1 -0
- package/_types/actions/referral/decodePage.d.ts +4 -0
- package/_types/actions/referral/decodePage.d.ts.map +1 -0
- package/_types/actions/referral/getActiveReferrals.d.ts +9 -0
- package/_types/actions/referral/getActiveReferrals.d.ts.map +1 -0
- package/_types/actions/referral/getActiveReferralsCount.d.ts +8 -0
- package/_types/actions/referral/getActiveReferralsCount.d.ts.map +1 -0
- package/_types/actions/referral/getBlockProducers.d.ts +7 -0
- package/_types/actions/referral/getBlockProducers.d.ts.map +1 -0
- package/_types/actions/referral/getBlockProducersPage.d.ts +8 -0
- package/_types/actions/referral/getBlockProducersPage.d.ts.map +1 -0
- package/_types/actions/referral/getPendingReferrals.d.ts +8 -0
- package/_types/actions/referral/getPendingReferrals.d.ts.map +1 -0
- package/_types/actions/referral/getPendingReferralsPage.d.ts +9 -0
- package/_types/actions/referral/getPendingReferralsPage.d.ts.map +1 -0
- package/_types/actions/referral/getReferrer.d.ts +8 -0
- package/_types/actions/referral/getReferrer.d.ts.map +1 -0
- package/_types/actions/referral/index.d.ts +16 -0
- package/_types/actions/referral/index.d.ts.map +1 -0
- package/_types/actions/referral/types.d.ts +6 -0
- package/_types/actions/referral/types.d.ts.map +1 -0
- package/_types/actions/reputationVoting/getTally.d.ts +9 -0
- package/_types/actions/reputationVoting/getTally.d.ts.map +1 -0
- package/_types/actions/reputationVoting/getVotesForAccount.d.ts +9 -0
- package/_types/actions/reputationVoting/getVotesForAccount.d.ts.map +1 -0
- package/_types/actions/reputationVoting/getVotingReputation.d.ts +8 -0
- package/_types/actions/reputationVoting/getVotingReputation.d.ts.map +1 -0
- package/_types/actions/reputationVoting/index.d.ts +10 -0
- package/_types/actions/reputationVoting/index.d.ts.map +1 -0
- package/_types/actions/reputationVoting/isPassing.d.ts +8 -0
- package/_types/actions/reputationVoting/isPassing.d.ts.map +1 -0
- package/_types/actions/reputationVoting/types.d.ts +17 -0
- package/_types/actions/reputationVoting/types.d.ts.map +1 -0
- package/_types/actions/rewardPool/getCollectionIds.d.ts +7 -0
- package/_types/actions/rewardPool/getCollectionIds.d.ts.map +1 -0
- package/_types/actions/rewardPool/getItemIds.d.ts +8 -0
- package/_types/actions/rewardPool/getItemIds.d.ts.map +1 -0
- package/_types/actions/rewardPool/getRewardPoolAccount.d.ts +7 -0
- package/_types/actions/rewardPool/getRewardPoolAccount.d.ts.map +1 -0
- package/_types/actions/rewardPool/getRewardPoolBalance.d.ts +7 -0
- package/_types/actions/rewardPool/getRewardPoolBalance.d.ts.map +1 -0
- package/_types/actions/rewardPool/index.d.ts +9 -0
- package/_types/actions/rewardPool/index.d.ts.map +1 -0
- package/_types/actions/submitAndWait.d.ts +65 -0
- package/_types/actions/submitAndWait.d.ts.map +1 -0
- package/_types/actions/techCommitteeManager/getSelectedTechCommittee.d.ts +7 -0
- package/_types/actions/techCommitteeManager/getSelectedTechCommittee.d.ts.map +1 -0
- package/_types/actions/techCommitteeManager/getTechCommitteeCandidates.d.ts +7 -0
- package/_types/actions/techCommitteeManager/getTechCommitteeCandidates.d.ts.map +1 -0
- package/_types/actions/techCommitteeManager/index.d.ts +5 -0
- package/_types/actions/techCommitteeManager/index.d.ts.map +1 -0
- package/_types/actions/validatorManager/decodePairs.d.ts +8 -0
- package/_types/actions/validatorManager/decodePairs.d.ts.map +1 -0
- package/_types/actions/validatorManager/getActiveValidators.d.ts +7 -0
- package/_types/actions/validatorManager/getActiveValidators.d.ts.map +1 -0
- package/_types/actions/validatorManager/getOffenceValidators.d.ts +8 -0
- package/_types/actions/validatorManager/getOffenceValidators.d.ts.map +1 -0
- package/_types/actions/validatorManager/getOfflineValidators.d.ts +8 -0
- package/_types/actions/validatorManager/getOfflineValidators.d.ts.map +1 -0
- package/_types/actions/validatorManager/getReputationForAccount.d.ts +8 -0
- package/_types/actions/validatorManager/getReputationForAccount.d.ts.map +1 -0
- package/_types/actions/validatorManager/getReputationPenaltyFor.d.ts +8 -0
- package/_types/actions/validatorManager/getReputationPenaltyFor.d.ts.map +1 -0
- package/_types/actions/validatorManager/getReputations.d.ts +9 -0
- package/_types/actions/validatorManager/getReputations.d.ts.map +1 -0
- package/_types/actions/validatorManager/getSelectedValidators.d.ts +7 -0
- package/_types/actions/validatorManager/getSelectedValidators.d.ts.map +1 -0
- package/_types/actions/validatorManager/getValidatorCandidates.d.ts +7 -0
- package/_types/actions/validatorManager/getValidatorCandidates.d.ts.map +1 -0
- package/_types/actions/validatorManager/index.d.ts +18 -0
- package/_types/actions/validatorManager/index.d.ts.map +1 -0
- package/_types/actions/validatorManager/types.d.ts +10 -0
- package/_types/actions/validatorManager/types.d.ts.map +1 -0
- package/_types/chains/defineChain.d.ts +18 -0
- package/_types/chains/defineChain.d.ts.map +1 -0
- package/_types/chains/definitions.d.ts +65 -0
- package/_types/chains/definitions.d.ts.map +1 -0
- package/_types/chains/index.d.ts +4 -0
- package/_types/chains/index.d.ts.map +1 -0
- package/_types/client/createClient.d.ts +10 -0
- package/_types/client/createClient.d.ts.map +1 -0
- package/_types/client/types.d.ts +7 -0
- package/_types/client/types.d.ts.map +1 -0
- package/_types/crypto/claimHash.d.ts +23 -0
- package/_types/crypto/claimHash.d.ts.map +1 -0
- package/_types/crypto/ctypeHash.d.ts +16 -0
- package/_types/crypto/ctypeHash.d.ts.map +1 -0
- package/_types/crypto/index.d.ts +5 -0
- package/_types/crypto/index.d.ts.map +1 -0
- package/_types/ctypes/definitions.d.ts +21 -0
- package/_types/ctypes/definitions.d.ts.map +1 -0
- package/_types/ctypes/index.d.ts +4 -0
- package/_types/ctypes/index.d.ts.map +1 -0
- package/_types/index.d.ts +22 -0
- package/_types/index.d.ts.map +1 -0
- package/_types/plugins/activityTracker.d.ts +34 -0
- package/_types/plugins/activityTracker.d.ts.map +1 -0
- package/_types/plugins/fractionalNft.d.ts +31 -0
- package/_types/plugins/fractionalNft.d.ts.map +1 -0
- package/_types/plugins/handshake.d.ts +32 -0
- package/_types/plugins/handshake.d.ts.map +1 -0
- package/_types/plugins/index.d.ts +19 -0
- package/_types/plugins/index.d.ts.map +1 -0
- package/_types/plugins/potential.d.ts +29 -0
- package/_types/plugins/potential.d.ts.map +1 -0
- package/_types/plugins/referral.d.ts +17 -0
- package/_types/plugins/referral.d.ts.map +1 -0
- package/_types/plugins/reputationVoting.d.ts +25 -0
- package/_types/plugins/reputationVoting.d.ts.map +1 -0
- package/_types/plugins/rewardPool.d.ts +19 -0
- package/_types/plugins/rewardPool.d.ts.map +1 -0
- package/_types/plugins/techCommitteeManager.d.ts +14 -0
- package/_types/plugins/techCommitteeManager.d.ts.map +1 -0
- package/_types/plugins/validatorManager.d.ts +30 -0
- package/_types/plugins/validatorManager.d.ts.map +1 -0
- package/_types/rpc/bundle.d.ts +4 -0
- package/_types/rpc/bundle.d.ts.map +1 -0
- package/_types/rpc/call.d.ts +4 -0
- package/_types/rpc/call.d.ts.map +1 -0
- package/_types/rpc/definitions.d.ts +3 -0
- package/_types/rpc/definitions.d.ts.map +1 -0
- package/_types/rpc/index.d.ts +4 -0
- package/_types/rpc/index.d.ts.map +1 -0
- package/_types/rpc/types.d.ts +3 -0
- package/_types/rpc/types.d.ts.map +1 -0
- package/_types/types/index.d.ts +17 -0
- package/_types/types/index.d.ts.map +1 -0
- package/package.json +173 -4
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createDid = createDid;
|
|
4
|
+
exports.createDidFor = createDidFor;
|
|
5
|
+
function createDid(client) {
|
|
6
|
+
return client.api.tx['did']['createFromAccount']();
|
|
7
|
+
}
|
|
8
|
+
function createDidFor(client, { subject }) {
|
|
9
|
+
return client.api.tx['did']['createDidFor'](subject);
|
|
10
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createDidFor = exports.createDid = void 0;
|
|
4
|
+
var createDid_js_1 = require("./createDid.js");
|
|
5
|
+
Object.defineProperty(exports, "createDid", { enumerable: true, get: function () { return createDid_js_1.createDid; } });
|
|
6
|
+
Object.defineProperty(exports, "createDidFor", { enumerable: true, get: function () { return createDid_js_1.createDidFor; } });
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Client } from '../../client/types.cjs';
|
|
2
|
+
import type { BlockHash } from '../../types/index.cjs';
|
|
3
|
+
export interface GetCollectionsCountParameters {
|
|
4
|
+
at?: BlockHash;
|
|
5
|
+
}
|
|
6
|
+
export declare function getCollectionsCount(client: Client, { at }?: GetCollectionsCountParameters): Promise<number>;
|
|
7
|
+
//# sourceMappingURL=getCollectionsCount.d.ts.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getCollectionsCount = getCollectionsCount;
|
|
4
|
+
const call_js_1 = require("../../rpc/call.js");
|
|
5
|
+
async function getCollectionsCount(client, { at } = {}) {
|
|
6
|
+
const result = await (0, call_js_1.callRpc)(client, 'fractionalNft', 'collectionsCount', at);
|
|
7
|
+
return result.toNumber();
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Client } from '../../client/types.cjs';
|
|
2
|
+
import type { BlockHash } from '../../types/index.cjs';
|
|
3
|
+
export interface GetItemsCountParameters {
|
|
4
|
+
collectionId: number;
|
|
5
|
+
at?: BlockHash;
|
|
6
|
+
}
|
|
7
|
+
export declare function getItemsCount(client: Client, { collectionId, at }: GetItemsCountParameters): Promise<number>;
|
|
8
|
+
//# sourceMappingURL=getItemsCount.d.ts.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getItemsCount = getItemsCount;
|
|
4
|
+
const call_js_1 = require("../../rpc/call.js");
|
|
5
|
+
async function getItemsCount(client, { collectionId, at }) {
|
|
6
|
+
const result = await (0, call_js_1.callRpc)(client, 'fractionalNft', 'itemsCount', collectionId, at);
|
|
7
|
+
return result.toNumber();
|
|
8
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Client } from '../../client/types.cjs';
|
|
2
|
+
import type { BlockHash } from '../../types/index.cjs';
|
|
3
|
+
import type { NftInfo } from './types.cjs';
|
|
4
|
+
export interface GetNftInfoParameters {
|
|
5
|
+
collectionId: number;
|
|
6
|
+
at?: BlockHash;
|
|
7
|
+
}
|
|
8
|
+
export declare function getNftInfo(client: Client, { collectionId, at }: GetNftInfoParameters): Promise<NftInfo>;
|
|
9
|
+
//# sourceMappingURL=getNftInfo.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getNftInfo = getNftInfo;
|
|
4
|
+
const call_js_1 = require("../../rpc/call.js");
|
|
5
|
+
async function getNftInfo(client, { collectionId, at }) {
|
|
6
|
+
const result = await (0, call_js_1.callRpc)(client, 'fractionalNft', 'nftInfo', collectionId, at);
|
|
7
|
+
const info = result.toJSON();
|
|
8
|
+
return {
|
|
9
|
+
address: (info.address ?? '0x'),
|
|
10
|
+
tokenId: BigInt(info.tokenId ?? info.token_id ?? 0),
|
|
11
|
+
};
|
|
12
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Client } from '../../client/types.cjs';
|
|
2
|
+
import type { Address, BlockHash } from '../../types/index.cjs';
|
|
3
|
+
export interface GetOwnerParameters {
|
|
4
|
+
collectionId: number;
|
|
5
|
+
itemId: number;
|
|
6
|
+
at?: BlockHash;
|
|
7
|
+
}
|
|
8
|
+
export declare function getOwner(client: Client, { collectionId, itemId, at }: GetOwnerParameters): Promise<Address | null>;
|
|
9
|
+
//# sourceMappingURL=getOwner.d.ts.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getOwner = getOwner;
|
|
4
|
+
const call_js_1 = require("../../rpc/call.js");
|
|
5
|
+
async function getOwner(client, { collectionId, itemId, at }) {
|
|
6
|
+
const result = await (0, call_js_1.callRpc)(client, 'fractionalNft', 'owner', collectionId, itemId, at);
|
|
7
|
+
return result.isSome ? result.unwrap().toString() : null;
|
|
8
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Client } from '../../client/types.cjs';
|
|
2
|
+
import type { BlockHash } from '../../types/index.cjs';
|
|
3
|
+
export interface GetTotalFnftsMintedParameters {
|
|
4
|
+
at?: BlockHash;
|
|
5
|
+
}
|
|
6
|
+
export declare function getTotalFnftsMinted(client: Client, { at }?: GetTotalFnftsMintedParameters): Promise<number | null>;
|
|
7
|
+
//# sourceMappingURL=getTotalFnftsMinted.d.ts.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getTotalFnftsMinted = getTotalFnftsMinted;
|
|
4
|
+
const call_js_1 = require("../../rpc/call.js");
|
|
5
|
+
async function getTotalFnftsMinted(client, { at } = {}) {
|
|
6
|
+
const result = await (0, call_js_1.callRpc)(client, 'fractionalNft', 'totalFnftsMinted', at);
|
|
7
|
+
return result.isSome ? result.unwrap().toNumber() : null;
|
|
8
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Client } from '../../client/types.cjs';
|
|
2
|
+
import type { BlockHash } from '../../types/index.cjs';
|
|
3
|
+
export interface GetWildcardCollectionIdParameters {
|
|
4
|
+
at?: BlockHash;
|
|
5
|
+
}
|
|
6
|
+
export declare function getWildcardCollectionId(client: Client, { at }?: GetWildcardCollectionIdParameters): Promise<number | null>;
|
|
7
|
+
//# sourceMappingURL=getWildcardCollectionId.d.ts.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getWildcardCollectionId = getWildcardCollectionId;
|
|
4
|
+
const call_js_1 = require("../../rpc/call.js");
|
|
5
|
+
async function getWildcardCollectionId(client, { at } = {}) {
|
|
6
|
+
const result = await (0, call_js_1.callRpc)(client, 'fractionalNft', 'wildcardCollectionId', at);
|
|
7
|
+
return result.isSome ? result.unwrap().toNumber() : null;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Client } from '../../client/types.cjs';
|
|
2
|
+
import type { BlockHash } from '../../types/index.cjs';
|
|
3
|
+
import type { WildcardDistribution } from './types.cjs';
|
|
4
|
+
export interface GetWildcardDistributionMapParameters {
|
|
5
|
+
at?: BlockHash;
|
|
6
|
+
}
|
|
7
|
+
export declare function getWildcardDistributionMap(client: Client, { at }?: GetWildcardDistributionMapParameters): Promise<WildcardDistribution[]>;
|
|
8
|
+
//# sourceMappingURL=getWildcardDistributionMap.d.ts.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getWildcardDistributionMap = getWildcardDistributionMap;
|
|
4
|
+
const call_js_1 = require("../../rpc/call.js");
|
|
5
|
+
async function getWildcardDistributionMap(client, { at } = {}) {
|
|
6
|
+
const result = await (0, call_js_1.callRpc)(client, 'fractionalNft', 'wildcardDistributionMap', at);
|
|
7
|
+
const pairs = result.toJSON();
|
|
8
|
+
return pairs.map(([blockNumber, itemId]) => ({ blockNumber, itemId }));
|
|
9
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Client } from '../../client/types.cjs';
|
|
2
|
+
import type { BlockHash } from '../../types/index.cjs';
|
|
3
|
+
export interface GetWildcardThresholdParameters {
|
|
4
|
+
at?: BlockHash;
|
|
5
|
+
}
|
|
6
|
+
export declare function getWildcardThreshold(client: Client, { at }?: GetWildcardThresholdParameters): Promise<number | null>;
|
|
7
|
+
//# sourceMappingURL=getWildcardThreshold.d.ts.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getWildcardThreshold = getWildcardThreshold;
|
|
4
|
+
const call_js_1 = require("../../rpc/call.js");
|
|
5
|
+
async function getWildcardThreshold(client, { at } = {}) {
|
|
6
|
+
const result = await (0, call_js_1.callRpc)(client, 'fractionalNft', 'wildcardThreshold', at);
|
|
7
|
+
return result.isSome ? result.unwrap().toNumber() : null;
|
|
8
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export { getCollectionsCount } from './getCollectionsCount.cjs';
|
|
2
|
+
export { getItemsCount } from './getItemsCount.cjs';
|
|
3
|
+
export { getNftInfo } from './getNftInfo.cjs';
|
|
4
|
+
export { getOwner } from './getOwner.cjs';
|
|
5
|
+
export { getTotalFnftsMinted } from './getTotalFnftsMinted.cjs';
|
|
6
|
+
export { getWildcardCollectionId } from './getWildcardCollectionId.cjs';
|
|
7
|
+
export { getWildcardDistributionMap } from './getWildcardDistributionMap.cjs';
|
|
8
|
+
export { getWildcardThreshold } from './getWildcardThreshold.cjs';
|
|
9
|
+
export type { NftInfo, WildcardDistribution } from './types.cjs';
|
|
10
|
+
export type { GetCollectionsCountParameters } from './getCollectionsCount.cjs';
|
|
11
|
+
export type { GetItemsCountParameters } from './getItemsCount.cjs';
|
|
12
|
+
export type { GetNftInfoParameters } from './getNftInfo.cjs';
|
|
13
|
+
export type { GetOwnerParameters } from './getOwner.cjs';
|
|
14
|
+
export type { GetTotalFnftsMintedParameters } from './getTotalFnftsMinted.cjs';
|
|
15
|
+
export type { GetWildcardCollectionIdParameters } from './getWildcardCollectionId.cjs';
|
|
16
|
+
export type { GetWildcardDistributionMapParameters } from './getWildcardDistributionMap.cjs';
|
|
17
|
+
export type { GetWildcardThresholdParameters } from './getWildcardThreshold.cjs';
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getWildcardThreshold = exports.getWildcardDistributionMap = exports.getWildcardCollectionId = exports.getTotalFnftsMinted = exports.getOwner = exports.getNftInfo = exports.getItemsCount = exports.getCollectionsCount = void 0;
|
|
4
|
+
var getCollectionsCount_js_1 = require("./getCollectionsCount.js");
|
|
5
|
+
Object.defineProperty(exports, "getCollectionsCount", { enumerable: true, get: function () { return getCollectionsCount_js_1.getCollectionsCount; } });
|
|
6
|
+
var getItemsCount_js_1 = require("./getItemsCount.js");
|
|
7
|
+
Object.defineProperty(exports, "getItemsCount", { enumerable: true, get: function () { return getItemsCount_js_1.getItemsCount; } });
|
|
8
|
+
var getNftInfo_js_1 = require("./getNftInfo.js");
|
|
9
|
+
Object.defineProperty(exports, "getNftInfo", { enumerable: true, get: function () { return getNftInfo_js_1.getNftInfo; } });
|
|
10
|
+
var getOwner_js_1 = require("./getOwner.js");
|
|
11
|
+
Object.defineProperty(exports, "getOwner", { enumerable: true, get: function () { return getOwner_js_1.getOwner; } });
|
|
12
|
+
var getTotalFnftsMinted_js_1 = require("./getTotalFnftsMinted.js");
|
|
13
|
+
Object.defineProperty(exports, "getTotalFnftsMinted", { enumerable: true, get: function () { return getTotalFnftsMinted_js_1.getTotalFnftsMinted; } });
|
|
14
|
+
var getWildcardCollectionId_js_1 = require("./getWildcardCollectionId.js");
|
|
15
|
+
Object.defineProperty(exports, "getWildcardCollectionId", { enumerable: true, get: function () { return getWildcardCollectionId_js_1.getWildcardCollectionId; } });
|
|
16
|
+
var getWildcardDistributionMap_js_1 = require("./getWildcardDistributionMap.js");
|
|
17
|
+
Object.defineProperty(exports, "getWildcardDistributionMap", { enumerable: true, get: function () { return getWildcardDistributionMap_js_1.getWildcardDistributionMap; } });
|
|
18
|
+
var getWildcardThreshold_js_1 = require("./getWildcardThreshold.js");
|
|
19
|
+
Object.defineProperty(exports, "getWildcardThreshold", { enumerable: true, get: function () { return getWildcardThreshold_js_1.getWildcardThreshold; } });
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Client } from '../../client/types.cjs';
|
|
2
|
+
import type { Address, BlockHash } from '../../types/index.cjs';
|
|
3
|
+
export interface GetCompletedHandshakesParameters {
|
|
4
|
+
account: Address;
|
|
5
|
+
at?: BlockHash;
|
|
6
|
+
}
|
|
7
|
+
export declare function getCompletedHandshakes(client: Client, { account, at }: GetCompletedHandshakesParameters): Promise<Address[]>;
|
|
8
|
+
//# sourceMappingURL=getCompletedHandshakes.d.ts.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getCompletedHandshakes = getCompletedHandshakes;
|
|
4
|
+
const call_js_1 = require("../../rpc/call.js");
|
|
5
|
+
async function getCompletedHandshakes(client, { account, at }) {
|
|
6
|
+
const result = await (0, call_js_1.callRpc)(client, 'handshake', 'getCompletedHandshakes', account, at);
|
|
7
|
+
return result.map((a) => a.toString());
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Client } from '../../client/types.cjs';
|
|
2
|
+
import type { Address, BlockHash } from '../../types/index.cjs';
|
|
3
|
+
export interface GetHandshakeCountParameters {
|
|
4
|
+
account: Address;
|
|
5
|
+
at?: BlockHash;
|
|
6
|
+
}
|
|
7
|
+
export declare function getHandshakeCount(client: Client, { account, at }: GetHandshakeCountParameters): Promise<number>;
|
|
8
|
+
//# sourceMappingURL=getHandshakeCount.d.ts.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getHandshakeCount = getHandshakeCount;
|
|
4
|
+
const call_js_1 = require("../../rpc/call.js");
|
|
5
|
+
async function getHandshakeCount(client, { account, at }) {
|
|
6
|
+
const result = await (0, call_js_1.callRpc)(client, 'handshake', 'getHandshakeCount', account, at);
|
|
7
|
+
return result.toNumber();
|
|
8
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Client } from '../../client/types.cjs';
|
|
2
|
+
import type { Address, BlockHash } from '../../types/index.cjs';
|
|
3
|
+
import type { HandshakeStatus } from './types.cjs';
|
|
4
|
+
export interface GetHandshakeStatusParameters {
|
|
5
|
+
account1: Address;
|
|
6
|
+
account2: Address;
|
|
7
|
+
at?: BlockHash;
|
|
8
|
+
}
|
|
9
|
+
export declare function getHandshakeStatus(client: Client, { account1, account2, at }: GetHandshakeStatusParameters): Promise<HandshakeStatus>;
|
|
10
|
+
//# sourceMappingURL=getHandshakeStatus.d.ts.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getHandshakeStatus = getHandshakeStatus;
|
|
4
|
+
const call_js_1 = require("../../rpc/call.js");
|
|
5
|
+
async function getHandshakeStatus(client, { account1, account2, at }) {
|
|
6
|
+
const result = await (0, call_js_1.callRpc)(client, 'handshake', 'getHandshakeStatus', account1, account2, at);
|
|
7
|
+
return result.toString().toLowerCase();
|
|
8
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Client } from '../../client/types.cjs';
|
|
2
|
+
import type { Address, BlockHash } from '../../types/index.cjs';
|
|
3
|
+
export interface HandshakeExistsParameters {
|
|
4
|
+
account1: Address;
|
|
5
|
+
account2: Address;
|
|
6
|
+
at?: BlockHash;
|
|
7
|
+
}
|
|
8
|
+
export declare function handshakeExists(client: Client, { account1, account2, at }: HandshakeExistsParameters): Promise<boolean>;
|
|
9
|
+
//# sourceMappingURL=handshakeExists.d.ts.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.handshakeExists = handshakeExists;
|
|
4
|
+
const call_js_1 = require("../../rpc/call.js");
|
|
5
|
+
async function handshakeExists(client, { account1, account2, at }) {
|
|
6
|
+
const result = await (0, call_js_1.callRpc)(client, 'handshake', 'handshakeExists', account1, account2, at);
|
|
7
|
+
return result.isTrue;
|
|
8
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Client } from '../../client/types.cjs';
|
|
2
|
+
import type { Address, BlockHash } from '../../types/index.cjs';
|
|
3
|
+
export interface HasHandshakeCompletedParameters {
|
|
4
|
+
sender: Address;
|
|
5
|
+
recipient: Address;
|
|
6
|
+
at?: BlockHash;
|
|
7
|
+
}
|
|
8
|
+
export declare function hasHandshakeCompleted(client: Client, { sender, recipient, at }: HasHandshakeCompletedParameters): Promise<boolean>;
|
|
9
|
+
//# sourceMappingURL=hasHandshakeCompleted.d.ts.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.hasHandshakeCompleted = hasHandshakeCompleted;
|
|
4
|
+
const call_js_1 = require("../../rpc/call.js");
|
|
5
|
+
async function hasHandshakeCompleted(client, { sender, recipient, at }) {
|
|
6
|
+
const result = await (0, call_js_1.callRpc)(client, 'handshake', 'hasHandshakeCompleted', sender, recipient, at);
|
|
7
|
+
return result.isTrue;
|
|
8
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { getCompletedHandshakes } from './getCompletedHandshakes.cjs';
|
|
2
|
+
export { getHandshakeCount } from './getHandshakeCount.cjs';
|
|
3
|
+
export { getHandshakeStatus } from './getHandshakeStatus.cjs';
|
|
4
|
+
export { handshakeExists } from './handshakeExists.cjs';
|
|
5
|
+
export { hasHandshakeCompleted } from './hasHandshakeCompleted.cjs';
|
|
6
|
+
export type { HandshakeStatus } from './types.cjs';
|
|
7
|
+
export type { GetCompletedHandshakesParameters } from './getCompletedHandshakes.cjs';
|
|
8
|
+
export type { GetHandshakeCountParameters } from './getHandshakeCount.cjs';
|
|
9
|
+
export type { GetHandshakeStatusParameters } from './getHandshakeStatus.cjs';
|
|
10
|
+
export type { HandshakeExistsParameters } from './handshakeExists.cjs';
|
|
11
|
+
export type { HasHandshakeCompletedParameters } from './hasHandshakeCompleted.cjs';
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.hasHandshakeCompleted = exports.handshakeExists = exports.getHandshakeStatus = exports.getHandshakeCount = exports.getCompletedHandshakes = void 0;
|
|
4
|
+
var getCompletedHandshakes_js_1 = require("./getCompletedHandshakes.js");
|
|
5
|
+
Object.defineProperty(exports, "getCompletedHandshakes", { enumerable: true, get: function () { return getCompletedHandshakes_js_1.getCompletedHandshakes; } });
|
|
6
|
+
var getHandshakeCount_js_1 = require("./getHandshakeCount.js");
|
|
7
|
+
Object.defineProperty(exports, "getHandshakeCount", { enumerable: true, get: function () { return getHandshakeCount_js_1.getHandshakeCount; } });
|
|
8
|
+
var getHandshakeStatus_js_1 = require("./getHandshakeStatus.js");
|
|
9
|
+
Object.defineProperty(exports, "getHandshakeStatus", { enumerable: true, get: function () { return getHandshakeStatus_js_1.getHandshakeStatus; } });
|
|
10
|
+
var handshakeExists_js_1 = require("./handshakeExists.js");
|
|
11
|
+
Object.defineProperty(exports, "handshakeExists", { enumerable: true, get: function () { return handshakeExists_js_1.handshakeExists; } });
|
|
12
|
+
var hasHandshakeCompleted_js_1 = require("./hasHandshakeCompleted.js");
|
|
13
|
+
Object.defineProperty(exports, "hasHandshakeCompleted", { enumerable: true, get: function () { return hasHandshakeCompleted_js_1.hasHandshakeCompleted; } });
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export * from './activityTracker/index.cjs';
|
|
2
|
+
export * from './attestation/index.cjs';
|
|
3
|
+
export * from './did/index.cjs';
|
|
4
|
+
export * from './fractionalNft/index.cjs';
|
|
5
|
+
export * from './handshake/index.cjs';
|
|
6
|
+
export * from './potential/index.cjs';
|
|
7
|
+
export * from './referral/index.cjs';
|
|
8
|
+
export * from './reputationVoting/index.cjs';
|
|
9
|
+
export * from './rewardPool/index.cjs';
|
|
10
|
+
export * from './techCommitteeManager/index.cjs';
|
|
11
|
+
export * from './validatorManager/index.cjs';
|
|
12
|
+
export { DispatchFailedError, isDispatchFailure, NotIncludedError, SubmitTimeoutError, SubscriptionFailedError, submitAndWait, } from './submitAndWait.cjs';
|
|
13
|
+
export type { SubmitAndWaitParameters, SubmitResult, SubmitWaitFor } from './submitAndWait.cjs';
|
|
14
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.submitAndWait = exports.SubscriptionFailedError = exports.SubmitTimeoutError = exports.NotIncludedError = exports.isDispatchFailure = exports.DispatchFailedError = void 0;
|
|
18
|
+
__exportStar(require("./activityTracker/index.js"), exports);
|
|
19
|
+
__exportStar(require("./attestation/index.js"), exports);
|
|
20
|
+
__exportStar(require("./did/index.js"), exports);
|
|
21
|
+
__exportStar(require("./fractionalNft/index.js"), exports);
|
|
22
|
+
__exportStar(require("./handshake/index.js"), exports);
|
|
23
|
+
__exportStar(require("./potential/index.js"), exports);
|
|
24
|
+
__exportStar(require("./referral/index.js"), exports);
|
|
25
|
+
__exportStar(require("./reputationVoting/index.js"), exports);
|
|
26
|
+
__exportStar(require("./rewardPool/index.js"), exports);
|
|
27
|
+
__exportStar(require("./techCommitteeManager/index.js"), exports);
|
|
28
|
+
__exportStar(require("./validatorManager/index.js"), exports);
|
|
29
|
+
var submitAndWait_js_1 = require("./submitAndWait.js");
|
|
30
|
+
Object.defineProperty(exports, "DispatchFailedError", { enumerable: true, get: function () { return submitAndWait_js_1.DispatchFailedError; } });
|
|
31
|
+
Object.defineProperty(exports, "isDispatchFailure", { enumerable: true, get: function () { return submitAndWait_js_1.isDispatchFailure; } });
|
|
32
|
+
Object.defineProperty(exports, "NotIncludedError", { enumerable: true, get: function () { return submitAndWait_js_1.NotIncludedError; } });
|
|
33
|
+
Object.defineProperty(exports, "SubmitTimeoutError", { enumerable: true, get: function () { return submitAndWait_js_1.SubmitTimeoutError; } });
|
|
34
|
+
Object.defineProperty(exports, "SubscriptionFailedError", { enumerable: true, get: function () { return submitAndWait_js_1.SubscriptionFailedError; } });
|
|
35
|
+
Object.defineProperty(exports, "submitAndWait", { enumerable: true, get: function () { return submitAndWait_js_1.submitAndWait; } });
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Client } from '../../client/types.cjs';
|
|
2
|
+
import type { Address, BlockHash } from '../../types/index.cjs';
|
|
3
|
+
export interface GetActiveReferralShareParameters {
|
|
4
|
+
account: Address;
|
|
5
|
+
at?: BlockHash;
|
|
6
|
+
}
|
|
7
|
+
export declare function getActiveReferralShare(client: Client, { account, at }: GetActiveReferralShareParameters): Promise<number>;
|
|
8
|
+
//# sourceMappingURL=getActiveReferralShare.d.ts.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getActiveReferralShare = getActiveReferralShare;
|
|
4
|
+
const call_js_1 = require("../../rpc/call.js");
|
|
5
|
+
async function getActiveReferralShare(client, { account, at }) {
|
|
6
|
+
const result = await (0, call_js_1.callRpc)(client, 'potential', 'activeReferralShare', account, at);
|
|
7
|
+
return result.toNumber();
|
|
8
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Client } from '../../client/types.cjs';
|
|
2
|
+
import type { BlockHash } from '../../types/index.cjs';
|
|
3
|
+
export interface GetCycleNumberParameters {
|
|
4
|
+
at?: BlockHash;
|
|
5
|
+
}
|
|
6
|
+
export declare function getCycleNumber(client: Client, { at }?: GetCycleNumberParameters): Promise<number>;
|
|
7
|
+
//# sourceMappingURL=getCycleNumber.d.ts.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getCycleNumber = getCycleNumber;
|
|
4
|
+
const call_js_1 = require("../../rpc/call.js");
|
|
5
|
+
async function getCycleNumber(client, { at } = {}) {
|
|
6
|
+
const result = await (0, call_js_1.callRpc)(client, 'potential', 'getCycleNumber', at);
|
|
7
|
+
return result.toNumber();
|
|
8
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Client } from '../../client/types.cjs';
|
|
2
|
+
import type { BlockHash } from '../../types/index.cjs';
|
|
3
|
+
export interface GetCyclePotentialMintedParameters {
|
|
4
|
+
at?: BlockHash;
|
|
5
|
+
}
|
|
6
|
+
export declare function getCyclePotentialMinted(client: Client, { at }?: GetCyclePotentialMintedParameters): Promise<bigint>;
|
|
7
|
+
//# sourceMappingURL=getCyclePotentialMinted.d.ts.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getCyclePotentialMinted = getCyclePotentialMinted;
|
|
4
|
+
const call_js_1 = require("../../rpc/call.js");
|
|
5
|
+
async function getCyclePotentialMinted(client, { at } = {}) {
|
|
6
|
+
const result = await (0, call_js_1.callRpc)(client, 'potential', 'getCyclePotentialMinted', at);
|
|
7
|
+
return result.toBigInt();
|
|
8
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Client } from '../../client/types.cjs';
|
|
2
|
+
import type { BlockHash } from '../../types/index.cjs';
|
|
3
|
+
export interface GetCycleSupplyParameters {
|
|
4
|
+
at?: BlockHash;
|
|
5
|
+
}
|
|
6
|
+
export declare function getCycleSupply(client: Client, { at }?: GetCycleSupplyParameters): Promise<bigint>;
|
|
7
|
+
//# sourceMappingURL=getCycleSupply.d.ts.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getCycleSupply = getCycleSupply;
|
|
4
|
+
const call_js_1 = require("../../rpc/call.js");
|
|
5
|
+
async function getCycleSupply(client, { at } = {}) {
|
|
6
|
+
const result = await (0, call_js_1.callRpc)(client, 'potential', 'getCycleSupply', at);
|
|
7
|
+
return result.toBigInt();
|
|
8
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Client } from '../../client/types.cjs';
|
|
2
|
+
import type { BlockHash } from '../../types/index.cjs';
|
|
3
|
+
export interface GetDefaultActiveReferralShareParameters {
|
|
4
|
+
at?: BlockHash;
|
|
5
|
+
}
|
|
6
|
+
export declare function getDefaultActiveReferralShare(client: Client, { at }?: GetDefaultActiveReferralShareParameters): Promise<number>;
|
|
7
|
+
//# sourceMappingURL=getDefaultActiveReferralShare.d.ts.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getDefaultActiveReferralShare = getDefaultActiveReferralShare;
|
|
4
|
+
const call_js_1 = require("../../rpc/call.js");
|
|
5
|
+
async function getDefaultActiveReferralShare(client, { at } = {}) {
|
|
6
|
+
const result = await (0, call_js_1.callRpc)(client, 'potential', 'defaultActiveReferralShare', at);
|
|
7
|
+
return result.toNumber();
|
|
8
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Client } from '../../client/types.cjs';
|
|
2
|
+
import type { BlockHash } from '../../types/index.cjs';
|
|
3
|
+
export interface GetMaxSupplyParameters {
|
|
4
|
+
at?: BlockHash;
|
|
5
|
+
}
|
|
6
|
+
export declare function getMaxSupply(client: Client, { at }?: GetMaxSupplyParameters): Promise<bigint>;
|
|
7
|
+
//# sourceMappingURL=getMaxSupply.d.ts.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getMaxSupply = getMaxSupply;
|
|
4
|
+
const call_js_1 = require("../../rpc/call.js");
|
|
5
|
+
async function getMaxSupply(client, { at } = {}) {
|
|
6
|
+
const result = await (0, call_js_1.callRpc)(client, 'potential', 'getMaxSupply', at);
|
|
7
|
+
return result.toBigInt();
|
|
8
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Client } from '../../client/types.cjs';
|
|
2
|
+
import type { BlockHash } from '../../types/index.cjs';
|
|
3
|
+
export interface GetMonthNumberParameters {
|
|
4
|
+
at?: BlockHash;
|
|
5
|
+
}
|
|
6
|
+
export declare function getMonthNumber(client: Client, { at }?: GetMonthNumberParameters): Promise<number>;
|
|
7
|
+
//# sourceMappingURL=getMonthNumber.d.ts.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getMonthNumber = getMonthNumber;
|
|
4
|
+
const call_js_1 = require("../../rpc/call.js");
|
|
5
|
+
async function getMonthNumber(client, { at } = {}) {
|
|
6
|
+
const result = await (0, call_js_1.callRpc)(client, 'potential', 'getMonthNumber', at);
|
|
7
|
+
return result.toNumber();
|
|
8
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Client } from '../../client/types.cjs';
|
|
2
|
+
import type { BlockHash } from '../../types/index.cjs';
|
|
3
|
+
export interface GetMonthPotentialMintedParameters {
|
|
4
|
+
at?: BlockHash;
|
|
5
|
+
}
|
|
6
|
+
export declare function getMonthPotentialMinted(client: Client, { at }?: GetMonthPotentialMintedParameters): Promise<bigint>;
|
|
7
|
+
//# sourceMappingURL=getMonthPotentialMinted.d.ts.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getMonthPotentialMinted = getMonthPotentialMinted;
|
|
4
|
+
const call_js_1 = require("../../rpc/call.js");
|
|
5
|
+
async function getMonthPotentialMinted(client, { at } = {}) {
|
|
6
|
+
const result = await (0, call_js_1.callRpc)(client, 'potential', 'getMonthPotentialMinted', at);
|
|
7
|
+
return result.toBigInt();
|
|
8
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Client } from '../../client/types.cjs';
|
|
2
|
+
import type { BlockHash } from '../../types/index.cjs';
|
|
3
|
+
export interface GetMonthSupplyParameters {
|
|
4
|
+
at?: BlockHash;
|
|
5
|
+
}
|
|
6
|
+
export declare function getMonthSupply(client: Client, { at }?: GetMonthSupplyParameters): Promise<bigint>;
|
|
7
|
+
//# sourceMappingURL=getMonthSupply.d.ts.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getMonthSupply = getMonthSupply;
|
|
4
|
+
const call_js_1 = require("../../rpc/call.js");
|
|
5
|
+
async function getMonthSupply(client, { at } = {}) {
|
|
6
|
+
const result = await (0, call_js_1.callRpc)(client, 'potential', 'getMonthSupply', at);
|
|
7
|
+
return result.toBigInt();
|
|
8
|
+
}
|