@polymeshassociation/polymesh-sdk 25.1.1 → 26.0.0-alpha.1
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/CHANGELOG.md +32 -4
- package/api/client/Assets.d.ts +15 -1
- package/api/client/Assets.d.ts.map +1 -1
- package/api/client/Assets.js +118 -52
- package/api/client/Assets.js.map +1 -1
- package/api/client/Claims.d.ts +1 -1
- package/api/client/Claims.d.ts.map +1 -1
- package/api/client/Claims.js +7 -5
- package/api/client/Claims.js.map +1 -1
- package/api/client/Network.d.ts +2 -2
- package/api/client/Network.d.ts.map +1 -1
- package/api/client/Network.js +4 -3
- package/api/client/Network.js.map +1 -1
- package/api/client/Polymesh.d.ts.map +1 -1
- package/api/client/Polymesh.js +5 -3
- package/api/client/Polymesh.js.map +1 -1
- package/api/client/types.d.ts +2 -0
- package/api/client/types.d.ts.map +1 -1
- package/api/client/types.js.map +1 -1
- package/api/entities/Account/MultiSig/index.d.ts +26 -2
- package/api/entities/Account/MultiSig/index.d.ts.map +1 -1
- package/api/entities/Account/MultiSig/index.js +97 -18
- package/api/entities/Account/MultiSig/index.js.map +1 -1
- package/api/entities/Account/MultiSig/types.d.ts +2 -0
- package/api/entities/Account/MultiSig/types.d.ts.map +1 -1
- package/api/entities/Account/index.d.ts +4 -0
- package/api/entities/Account/index.d.ts.map +1 -1
- package/api/entities/Account/index.js +17 -0
- package/api/entities/Account/index.js.map +1 -1
- package/api/entities/Asset/Base/BaseAsset.d.ts +17 -4
- package/api/entities/Asset/Base/BaseAsset.d.ts.map +1 -1
- package/api/entities/Asset/Base/BaseAsset.js +79 -43
- package/api/entities/Asset/Base/BaseAsset.js.map +1 -1
- package/api/entities/Asset/Base/Compliance/Requirements.d.ts.map +1 -1
- package/api/entities/Asset/Base/Compliance/Requirements.js +16 -17
- package/api/entities/Asset/Base/Compliance/Requirements.js.map +1 -1
- package/api/entities/Asset/Base/Compliance/TrustedClaimIssuers.d.ts.map +1 -1
- package/api/entities/Asset/Base/Compliance/TrustedClaimIssuers.js +8 -9
- package/api/entities/Asset/Base/Compliance/TrustedClaimIssuers.js.map +1 -1
- package/api/entities/Asset/Base/Documents/index.d.ts.map +1 -1
- package/api/entities/Asset/Base/Documents/index.js +4 -4
- package/api/entities/Asset/Base/Documents/index.js.map +1 -1
- package/api/entities/Asset/Base/Metadata/index.d.ts.map +1 -1
- package/api/entities/Asset/Base/Metadata/index.js +25 -21
- package/api/entities/Asset/Base/Metadata/index.js.map +1 -1
- package/api/entities/Asset/Base/Permissions/index.d.ts.map +1 -1
- package/api/entities/Asset/Base/Permissions/index.js +15 -14
- package/api/entities/Asset/Base/Permissions/index.js.map +1 -1
- package/api/entities/Asset/Base/Settlements/index.d.ts.map +1 -1
- package/api/entities/Asset/Base/Settlements/index.js +42 -23
- package/api/entities/Asset/Base/Settlements/index.js.map +1 -1
- package/api/entities/Asset/Fungible/AssetHolders/index.js +3 -3
- package/api/entities/Asset/Fungible/AssetHolders/index.js.map +1 -1
- package/api/entities/Asset/Fungible/Checkpoints/Schedules.d.ts.map +1 -1
- package/api/entities/Asset/Fungible/Checkpoints/Schedules.js +8 -9
- package/api/entities/Asset/Fungible/Checkpoints/Schedules.js.map +1 -1
- package/api/entities/Asset/Fungible/Checkpoints/index.d.ts.map +1 -1
- package/api/entities/Asset/Fungible/Checkpoints/index.js +8 -9
- package/api/entities/Asset/Fungible/Checkpoints/index.js.map +1 -1
- package/api/entities/Asset/Fungible/CorporateActions/Distributions.d.ts.map +1 -1
- package/api/entities/Asset/Fungible/CorporateActions/Distributions.js +6 -8
- package/api/entities/Asset/Fungible/CorporateActions/Distributions.js.map +1 -1
- package/api/entities/Asset/Fungible/CorporateActions/index.d.ts.map +1 -1
- package/api/entities/Asset/Fungible/CorporateActions/index.js +10 -10
- package/api/entities/Asset/Fungible/CorporateActions/index.js.map +1 -1
- package/api/entities/Asset/Fungible/Issuance/index.d.ts.map +1 -1
- package/api/entities/Asset/Fungible/Issuance/index.js +1 -2
- package/api/entities/Asset/Fungible/Issuance/index.js.map +1 -1
- package/api/entities/Asset/Fungible/Offerings/index.d.ts.map +1 -1
- package/api/entities/Asset/Fungible/Offerings/index.js +8 -9
- package/api/entities/Asset/Fungible/Offerings/index.js.map +1 -1
- package/api/entities/Asset/Fungible/TransferRestrictions/TransferRestrictionBase.d.ts +1 -1
- package/api/entities/Asset/Fungible/TransferRestrictions/TransferRestrictionBase.d.ts.map +1 -1
- package/api/entities/Asset/Fungible/TransferRestrictions/TransferRestrictionBase.js +22 -28
- package/api/entities/Asset/Fungible/TransferRestrictions/TransferRestrictionBase.js.map +1 -1
- package/api/entities/Asset/Fungible/index.d.ts.map +1 -1
- package/api/entities/Asset/Fungible/index.js +30 -22
- package/api/entities/Asset/Fungible/index.js.map +1 -1
- package/api/entities/Asset/NonFungible/AssetHolders/index.js +3 -3
- package/api/entities/Asset/NonFungible/AssetHolders/index.js.map +1 -1
- package/api/entities/Asset/NonFungible/Nft.d.ts +1 -1
- package/api/entities/Asset/NonFungible/Nft.d.ts.map +1 -1
- package/api/entities/Asset/NonFungible/Nft.js +25 -19
- package/api/entities/Asset/NonFungible/Nft.js.map +1 -1
- package/api/entities/Asset/NonFungible/NftCollection.d.ts.map +1 -1
- package/api/entities/Asset/NonFungible/NftCollection.js +43 -30
- package/api/entities/Asset/NonFungible/NftCollection.js.map +1 -1
- package/api/entities/Asset/types.d.ts +13 -5
- package/api/entities/Asset/types.d.ts.map +1 -1
- package/api/entities/Asset/types.js +4 -0
- package/api/entities/Asset/types.js.map +1 -1
- package/api/entities/Checkpoint.d.ts +5 -1
- package/api/entities/Checkpoint.d.ts.map +1 -1
- package/api/entities/Checkpoint.js +24 -20
- package/api/entities/Checkpoint.js.map +1 -1
- package/api/entities/CheckpointSchedule/index.d.ts +5 -1
- package/api/entities/CheckpointSchedule/index.d.ts.map +1 -1
- package/api/entities/CheckpointSchedule/index.js +12 -11
- package/api/entities/CheckpointSchedule/index.js.map +1 -1
- package/api/entities/CorporateAction.d.ts +5 -1
- package/api/entities/CorporateAction.d.ts.map +1 -1
- package/api/entities/CorporateAction.js.map +1 -1
- package/api/entities/CorporateActionBase/index.d.ts +5 -1
- package/api/entities/CorporateActionBase/index.d.ts.map +1 -1
- package/api/entities/CorporateActionBase/index.js +21 -15
- package/api/entities/CorporateActionBase/index.js.map +1 -1
- package/api/entities/CustomPermissionGroup.d.ts +5 -1
- package/api/entities/CustomPermissionGroup.d.ts.map +1 -1
- package/api/entities/CustomPermissionGroup.js +10 -8
- package/api/entities/CustomPermissionGroup.js.map +1 -1
- package/api/entities/DefaultTrustedClaimIssuer.d.ts +1 -1
- package/api/entities/DefaultTrustedClaimIssuer.d.ts.map +1 -1
- package/api/entities/DefaultTrustedClaimIssuer.js +9 -9
- package/api/entities/DefaultTrustedClaimIssuer.js.map +1 -1
- package/api/entities/DividendDistribution/index.d.ts +1 -1
- package/api/entities/DividendDistribution/index.d.ts.map +1 -1
- package/api/entities/DividendDistribution/index.js +10 -10
- package/api/entities/DividendDistribution/index.js.map +1 -1
- package/api/entities/Identity/AssetPermissions.d.ts.map +1 -1
- package/api/entities/Identity/AssetPermissions.js +11 -11
- package/api/entities/Identity/AssetPermissions.js.map +1 -1
- package/api/entities/Identity/Portfolios.d.ts +4 -0
- package/api/entities/Identity/Portfolios.d.ts.map +1 -1
- package/api/entities/Identity/Portfolios.js +4 -24
- package/api/entities/Identity/Portfolios.js.map +1 -1
- package/api/entities/Identity/index.d.ts +10 -1
- package/api/entities/Identity/index.d.ts.map +1 -1
- package/api/entities/Identity/index.js +111 -55
- package/api/entities/Identity/index.js.map +1 -1
- package/api/entities/Instruction/index.d.ts.map +1 -1
- package/api/entities/Instruction/index.js +9 -24
- package/api/entities/Instruction/index.js.map +1 -1
- package/api/entities/Instruction/types.d.ts +5 -2
- package/api/entities/Instruction/types.d.ts.map +1 -1
- package/api/entities/Instruction/types.js.map +1 -1
- package/api/entities/KnownPermissionGroup.d.ts +5 -1
- package/api/entities/KnownPermissionGroup.d.ts.map +1 -1
- package/api/entities/KnownPermissionGroup.js +3 -2
- package/api/entities/KnownPermissionGroup.js.map +1 -1
- package/api/entities/MetadataEntry/index.d.ts +5 -1
- package/api/entities/MetadataEntry/index.d.ts.map +1 -1
- package/api/entities/MetadataEntry/index.js +16 -15
- package/api/entities/MetadataEntry/index.js.map +1 -1
- package/api/entities/MultiSigProposal/index.d.ts.map +1 -1
- package/api/entities/MultiSigProposal/index.js +87 -35
- package/api/entities/MultiSigProposal/index.js.map +1 -1
- package/api/entities/Offering/index.d.ts +5 -1
- package/api/entities/Offering/index.d.ts.map +1 -1
- package/api/entities/Offering/index.js +24 -18
- package/api/entities/Offering/index.js.map +1 -1
- package/api/entities/PermissionGroup.d.ts +3 -3
- package/api/entities/PermissionGroup.d.ts.map +1 -1
- package/api/entities/PermissionGroup.js +2 -2
- package/api/entities/PermissionGroup.js.map +1 -1
- package/api/entities/Portfolio/index.d.ts +4 -0
- package/api/entities/Portfolio/index.d.ts.map +1 -1
- package/api/entities/Portfolio/index.js +30 -55
- package/api/entities/Portfolio/index.js.map +1 -1
- package/api/entities/TickerReservation/index.d.ts +1 -2
- package/api/entities/TickerReservation/index.d.ts.map +1 -1
- package/api/entities/TickerReservation/index.js +43 -12
- package/api/entities/TickerReservation/index.js.map +1 -1
- package/api/entities/TickerReservation/types.d.ts +10 -3
- package/api/entities/TickerReservation/types.d.ts.map +1 -1
- package/api/entities/Venue/index.d.ts.map +1 -1
- package/api/entities/Venue/index.js +5 -28
- package/api/entities/Venue/index.js.map +1 -1
- package/api/entities/types.d.ts +4 -0
- package/api/entities/types.d.ts.map +1 -1
- package/api/entities/types.js +4 -0
- package/api/entities/types.js.map +1 -1
- package/api/procedures/addAssetMediators.d.ts.map +1 -1
- package/api/procedures/addAssetMediators.js +4 -4
- package/api/procedures/addAssetMediators.js.map +1 -1
- package/api/procedures/addAssetRequirement.d.ts +3 -3
- package/api/procedures/addAssetRequirement.d.ts.map +1 -1
- package/api/procedures/addAssetRequirement.js +6 -7
- package/api/procedures/addAssetRequirement.js.map +1 -1
- package/api/procedures/addAssetStat.d.ts +1 -1
- package/api/procedures/addAssetStat.d.ts.map +1 -1
- package/api/procedures/addAssetStat.js +14 -11
- package/api/procedures/addAssetStat.js.map +1 -1
- package/api/procedures/addInstruction.d.ts +1 -1
- package/api/procedures/addInstruction.d.ts.map +1 -1
- package/api/procedures/addInstruction.js +65 -31
- package/api/procedures/addInstruction.js.map +1 -1
- package/api/procedures/addTransferRestriction.d.ts +3 -3
- package/api/procedures/addTransferRestriction.d.ts.map +1 -1
- package/api/procedures/addTransferRestriction.js +12 -9
- package/api/procedures/addTransferRestriction.js.map +1 -1
- package/api/procedures/claimDividends.d.ts.map +1 -1
- package/api/procedures/claimDividends.js +2 -2
- package/api/procedures/claimDividends.js.map +1 -1
- package/api/procedures/clearMetadata.d.ts +1 -1
- package/api/procedures/clearMetadata.d.ts.map +1 -1
- package/api/procedures/clearMetadata.js +5 -7
- package/api/procedures/clearMetadata.js.map +1 -1
- package/api/procedures/closeOffering.d.ts +3 -3
- package/api/procedures/closeOffering.d.ts.map +1 -1
- package/api/procedures/closeOffering.js +6 -7
- package/api/procedures/closeOffering.js.map +1 -1
- package/api/procedures/configureDividendDistribution.d.ts +3 -3
- package/api/procedures/configureDividendDistribution.d.ts.map +1 -1
- package/api/procedures/configureDividendDistribution.js +14 -11
- package/api/procedures/configureDividendDistribution.js.map +1 -1
- package/api/procedures/consumeAddMultiSigSignerAuthorization.d.ts +1 -1
- package/api/procedures/consumeAddMultiSigSignerAuthorization.d.ts.map +1 -1
- package/api/procedures/consumeAddMultiSigSignerAuthorization.js +14 -4
- package/api/procedures/consumeAddMultiSigSignerAuthorization.js.map +1 -1
- package/api/procedures/controllerTransfer.d.ts +3 -3
- package/api/procedures/controllerTransfer.d.ts.map +1 -1
- package/api/procedures/controllerTransfer.js +4 -5
- package/api/procedures/controllerTransfer.js.map +1 -1
- package/api/procedures/createAsset.d.ts.map +1 -1
- package/api/procedures/createAsset.js +127 -41
- package/api/procedures/createAsset.js.map +1 -1
- package/api/procedures/createCheckpoint.d.ts +4 -4
- package/api/procedures/createCheckpoint.d.ts.map +1 -1
- package/api/procedures/createCheckpoint.js +8 -8
- package/api/procedures/createCheckpoint.js.map +1 -1
- package/api/procedures/createCheckpointSchedule.d.ts +4 -4
- package/api/procedures/createCheckpointSchedule.d.ts.map +1 -1
- package/api/procedures/createCheckpointSchedule.js +8 -9
- package/api/procedures/createCheckpointSchedule.js.map +1 -1
- package/api/procedures/createGroup.d.ts +5 -9
- package/api/procedures/createGroup.d.ts.map +1 -1
- package/api/procedures/createGroup.js +7 -18
- package/api/procedures/createGroup.js.map +1 -1
- package/api/procedures/createMultiSig.d.ts.map +1 -1
- package/api/procedures/createMultiSig.js +46 -14
- package/api/procedures/createMultiSig.js.map +1 -1
- package/api/procedures/createNftCollection.d.ts +8 -4
- package/api/procedures/createNftCollection.d.ts.map +1 -1
- package/api/procedures/createNftCollection.js +167 -64
- package/api/procedures/createNftCollection.js.map +1 -1
- package/api/procedures/evaluateMultiSigProposal.d.ts +1 -1
- package/api/procedures/evaluateMultiSigProposal.d.ts.map +1 -1
- package/api/procedures/evaluateMultiSigProposal.js +48 -15
- package/api/procedures/evaluateMultiSigProposal.js.map +1 -1
- package/api/procedures/executeManualInstruction.d.ts.map +1 -1
- package/api/procedures/executeManualInstruction.js +14 -3
- package/api/procedures/executeManualInstruction.js.map +1 -1
- package/api/procedures/investInOffering.d.ts +2 -2
- package/api/procedures/investInOffering.d.ts.map +1 -1
- package/api/procedures/investInOffering.js +4 -3
- package/api/procedures/investInOffering.js.map +1 -1
- package/api/procedures/inviteExternalAgent.d.ts +4 -14
- package/api/procedures/inviteExternalAgent.d.ts.map +1 -1
- package/api/procedures/inviteExternalAgent.js +7 -18
- package/api/procedures/inviteExternalAgent.js.map +1 -1
- package/api/procedures/issueNft.d.ts +4 -11
- package/api/procedures/issueNft.d.ts.map +1 -1
- package/api/procedures/issueNft.js +10 -21
- package/api/procedures/issueNft.js.map +1 -1
- package/api/procedures/issueTokens.d.ts +4 -11
- package/api/procedures/issueTokens.d.ts.map +1 -1
- package/api/procedures/issueTokens.js +8 -19
- package/api/procedures/issueTokens.js.map +1 -1
- package/api/procedures/joinCreator.d.ts +41 -2
- package/api/procedures/joinCreator.d.ts.map +1 -1
- package/api/procedures/joinCreator.js +11 -1
- package/api/procedures/joinCreator.js.map +1 -1
- package/api/procedures/launchOffering.d.ts +4 -4
- package/api/procedures/launchOffering.d.ts.map +1 -1
- package/api/procedures/launchOffering.js +11 -9
- package/api/procedures/launchOffering.js.map +1 -1
- package/api/procedures/linkCaDocs.d.ts +3 -3
- package/api/procedures/linkCaDocs.d.ts.map +1 -1
- package/api/procedures/linkCaDocs.js +6 -5
- package/api/procedures/linkCaDocs.js.map +1 -1
- package/api/procedures/linkTickerToAsset.d.ts +29 -0
- package/api/procedures/linkTickerToAsset.d.ts.map +1 -0
- package/api/procedures/linkTickerToAsset.js +107 -0
- package/api/procedures/linkTickerToAsset.js.map +1 -0
- package/api/procedures/modifyAsset.d.ts +3 -3
- package/api/procedures/modifyAsset.d.ts.map +1 -1
- package/api/procedures/modifyAsset.js +9 -10
- package/api/procedures/modifyAsset.js.map +1 -1
- package/api/procedures/modifyAssetTrustedClaimIssuers.d.ts +3 -3
- package/api/procedures/modifyAssetTrustedClaimIssuers.d.ts.map +1 -1
- package/api/procedures/modifyAssetTrustedClaimIssuers.js +8 -8
- package/api/procedures/modifyAssetTrustedClaimIssuers.js.map +1 -1
- package/api/procedures/modifyCaCheckpoint.d.ts +1 -1
- package/api/procedures/modifyCaCheckpoint.d.ts.map +1 -1
- package/api/procedures/modifyCaCheckpoint.js +5 -6
- package/api/procedures/modifyCaCheckpoint.js.map +1 -1
- package/api/procedures/modifyCaDefaultConfig.d.ts +3 -3
- package/api/procedures/modifyCaDefaultConfig.d.ts.map +1 -1
- package/api/procedures/modifyCaDefaultConfig.js +7 -8
- package/api/procedures/modifyCaDefaultConfig.js.map +1 -1
- package/api/procedures/modifyClaims.d.ts.map +1 -1
- package/api/procedures/modifyClaims.js +16 -13
- package/api/procedures/modifyClaims.js.map +1 -1
- package/api/procedures/modifyComplianceRequirement.d.ts +3 -3
- package/api/procedures/modifyComplianceRequirement.d.ts.map +1 -1
- package/api/procedures/modifyComplianceRequirement.js +7 -8
- package/api/procedures/modifyComplianceRequirement.js.map +1 -1
- package/api/procedures/modifyCorporateActionsAgent.d.ts +3 -3
- package/api/procedures/modifyCorporateActionsAgent.d.ts.map +1 -1
- package/api/procedures/modifyCorporateActionsAgent.js +4 -5
- package/api/procedures/modifyCorporateActionsAgent.js.map +1 -1
- package/api/procedures/modifyInstructionAffirmation.d.ts.map +1 -1
- package/api/procedures/modifyInstructionAffirmation.js +14 -3
- package/api/procedures/modifyInstructionAffirmation.js.map +1 -1
- package/api/procedures/modifyMultiSig.d.ts.map +1 -1
- package/api/procedures/modifyMultiSig.js +24 -10
- package/api/procedures/modifyMultiSig.js.map +1 -1
- package/api/procedures/modifyOfferingTimes.d.ts +3 -3
- package/api/procedures/modifyOfferingTimes.d.ts.map +1 -1
- package/api/procedures/modifyOfferingTimes.js +6 -7
- package/api/procedures/modifyOfferingTimes.js.map +1 -1
- package/api/procedures/moveFunds.d.ts.map +1 -1
- package/api/procedures/moveFunds.js +24 -21
- package/api/procedures/moveFunds.js.map +1 -1
- package/api/procedures/nftControllerTransfer.d.ts +3 -3
- package/api/procedures/nftControllerTransfer.d.ts.map +1 -1
- package/api/procedures/nftControllerTransfer.js +22 -10
- package/api/procedures/nftControllerTransfer.js.map +1 -1
- package/api/procedures/payDividends.js +2 -2
- package/api/procedures/payDividends.js.map +1 -1
- package/api/procedures/reclaimDividendDistributionFunds.d.ts +1 -1
- package/api/procedures/reclaimDividendDistributionFunds.d.ts.map +1 -1
- package/api/procedures/reclaimDividendDistributionFunds.js +4 -5
- package/api/procedures/reclaimDividendDistributionFunds.js.map +1 -1
- package/api/procedures/redeemNft.d.ts +3 -3
- package/api/procedures/redeemNft.d.ts.map +1 -1
- package/api/procedures/redeemNft.js +19 -9
- package/api/procedures/redeemNft.js.map +1 -1
- package/api/procedures/redeemTokens.d.ts +4 -4
- package/api/procedures/redeemTokens.d.ts.map +1 -1
- package/api/procedures/redeemTokens.js +14 -16
- package/api/procedures/redeemTokens.js.map +1 -1
- package/api/procedures/registerMetadata.d.ts +3 -3
- package/api/procedures/registerMetadata.d.ts.map +1 -1
- package/api/procedures/registerMetadata.js +9 -11
- package/api/procedures/registerMetadata.js.map +1 -1
- package/api/procedures/removeAssetMediators.d.ts.map +1 -1
- package/api/procedures/removeAssetMediators.js +4 -4
- package/api/procedures/removeAssetMediators.js.map +1 -1
- package/api/procedures/removeAssetRequirement.d.ts +3 -3
- package/api/procedures/removeAssetRequirement.d.ts.map +1 -1
- package/api/procedures/removeAssetRequirement.js +6 -6
- package/api/procedures/removeAssetRequirement.js.map +1 -1
- package/api/procedures/removeAssetStat.d.ts +1 -1
- package/api/procedures/removeAssetStat.d.ts.map +1 -1
- package/api/procedures/removeAssetStat.js +10 -8
- package/api/procedures/removeAssetStat.js.map +1 -1
- package/api/procedures/removeCheckpointSchedule.d.ts +3 -3
- package/api/procedures/removeCheckpointSchedule.d.ts.map +1 -1
- package/api/procedures/removeCheckpointSchedule.js +10 -13
- package/api/procedures/removeCheckpointSchedule.js.map +1 -1
- package/api/procedures/removeCorporateAction.d.ts +3 -3
- package/api/procedures/removeCorporateAction.d.ts.map +1 -1
- package/api/procedures/removeCorporateAction.js +7 -7
- package/api/procedures/removeCorporateAction.js.map +1 -1
- package/api/procedures/removeExternalAgent.d.ts +5 -15
- package/api/procedures/removeExternalAgent.d.ts.map +1 -1
- package/api/procedures/removeExternalAgent.js +7 -18
- package/api/procedures/removeExternalAgent.js.map +1 -1
- package/api/procedures/removeLocalMetadata.d.ts.map +1 -1
- package/api/procedures/removeLocalMetadata.js +16 -10
- package/api/procedures/removeLocalMetadata.js.map +1 -1
- package/api/procedures/removeMultiSigPayer.d.ts +31 -0
- package/api/procedures/removeMultiSigPayer.d.ts.map +1 -0
- package/api/procedures/removeMultiSigPayer.js +108 -0
- package/api/procedures/removeMultiSigPayer.js.map +1 -0
- package/api/procedures/reserveTicker.d.ts +1 -1
- package/api/procedures/reserveTicker.d.ts.map +1 -1
- package/api/procedures/reserveTicker.js +9 -3
- package/api/procedures/reserveTicker.js.map +1 -1
- package/api/procedures/setAssetDocuments.d.ts +4 -4
- package/api/procedures/setAssetDocuments.d.ts.map +1 -1
- package/api/procedures/setAssetDocuments.js +11 -10
- package/api/procedures/setAssetDocuments.js.map +1 -1
- package/api/procedures/setAssetRequirements.d.ts +3 -3
- package/api/procedures/setAssetRequirements.d.ts.map +1 -1
- package/api/procedures/setAssetRequirements.js +7 -8
- package/api/procedures/setAssetRequirements.js.map +1 -1
- package/api/procedures/setGroupPermissions.d.ts.map +1 -1
- package/api/procedures/setGroupPermissions.js +3 -3
- package/api/procedures/setGroupPermissions.js.map +1 -1
- package/api/procedures/setMetadata.d.ts.map +1 -1
- package/api/procedures/setMetadata.js +6 -7
- package/api/procedures/setMetadata.js.map +1 -1
- package/api/procedures/setMultiSigAdmin.d.ts +22 -0
- package/api/procedures/setMultiSigAdmin.d.ts.map +1 -0
- package/api/procedures/setMultiSigAdmin.js +114 -0
- package/api/procedures/setMultiSigAdmin.js.map +1 -0
- package/api/procedures/setPermissionGroup.d.ts +1 -1
- package/api/procedures/setPermissionGroup.d.ts.map +1 -1
- package/api/procedures/setPermissionGroup.js +9 -8
- package/api/procedures/setPermissionGroup.js.map +1 -1
- package/api/procedures/setTransferRestrictions.d.ts +1 -1
- package/api/procedures/setTransferRestrictions.d.ts.map +1 -1
- package/api/procedures/setTransferRestrictions.js +14 -16
- package/api/procedures/setTransferRestrictions.js.map +1 -1
- package/api/procedures/setVenueFiltering.d.ts +3 -3
- package/api/procedures/setVenueFiltering.d.ts.map +1 -1
- package/api/procedures/setVenueFiltering.js +8 -9
- package/api/procedures/setVenueFiltering.js.map +1 -1
- package/api/procedures/toggleAssetPreApproval.d.ts +22 -0
- package/api/procedures/toggleAssetPreApproval.d.ts.map +1 -0
- package/api/procedures/{toggleTickerPreApproval.js → toggleAssetPreApproval.js} +21 -13
- package/api/procedures/toggleAssetPreApproval.js.map +1 -0
- package/api/procedures/toggleFreezeOffering.d.ts +3 -3
- package/api/procedures/toggleFreezeOffering.d.ts.map +1 -1
- package/api/procedures/toggleFreezeOffering.js +7 -7
- package/api/procedures/toggleFreezeOffering.js.map +1 -1
- package/api/procedures/toggleFreezeTransfers.d.ts +3 -3
- package/api/procedures/toggleFreezeTransfers.d.ts.map +1 -1
- package/api/procedures/toggleFreezeTransfers.js +7 -8
- package/api/procedures/toggleFreezeTransfers.js.map +1 -1
- package/api/procedures/togglePauseRequirements.d.ts +3 -3
- package/api/procedures/togglePauseRequirements.d.ts.map +1 -1
- package/api/procedures/togglePauseRequirements.js +6 -6
- package/api/procedures/togglePauseRequirements.js.map +1 -1
- package/api/procedures/transferAssetOwnership.d.ts +3 -3
- package/api/procedures/transferAssetOwnership.d.ts.map +1 -1
- package/api/procedures/transferAssetOwnership.js +4 -4
- package/api/procedures/transferAssetOwnership.js.map +1 -1
- package/api/procedures/types.d.ts +37 -6
- package/api/procedures/types.d.ts.map +1 -1
- package/api/procedures/types.js.map +1 -1
- package/api/procedures/utils.d.ts +2 -2
- package/api/procedures/utils.d.ts.map +1 -1
- package/api/procedures/utils.js +2 -2
- package/api/procedures/utils.js.map +1 -1
- package/api/procedures/waivePermissions.d.ts +1 -1
- package/api/procedures/waivePermissions.d.ts.map +1 -1
- package/api/procedures/waivePermissions.js +8 -6
- package/api/procedures/waivePermissions.js.map +1 -1
- package/base/Context.d.ts +5 -4
- package/base/Context.d.ts.map +1 -1
- package/base/Context.js +26 -13
- package/base/Context.js.map +1 -1
- package/base/PolymeshTransactionBase.d.ts.map +1 -1
- package/base/PolymeshTransactionBase.js +23 -8
- package/base/PolymeshTransactionBase.js.map +1 -1
- package/base/utils.d.ts.map +1 -1
- package/base/utils.js +6 -1
- package/base/utils.js.map +1 -1
- package/generated/types.d.ts +40 -5
- package/generated/types.d.ts.map +1 -1
- package/generated/types.js +37 -1
- package/generated/types.js.map +1 -1
- package/internal.d.ts +4 -1
- package/internal.d.ts.map +1 -1
- package/internal.js +10 -4
- package/internal.js.map +1 -1
- package/middleware/queries/assets.d.ts +1 -1
- package/middleware/queries/assets.d.ts.map +1 -1
- package/middleware/queries/assets.js +5 -5
- package/middleware/queries/assets.js.map +1 -1
- package/middleware/queries/claims.js +1 -1
- package/middleware/typesV1.d.ts +5 -2
- package/middleware/typesV1.d.ts.map +1 -1
- package/middleware/typesV1.js +4 -1
- package/middleware/typesV1.js.map +1 -1
- package/npm-package/polymeshassociation-polymesh-sdk-26.0.0-alpha.1.tgz +0 -0
- package/package.json +2 -2
- package/polkadot/asset/definitions.d.ts +1 -1
- package/polkadot/asset/definitions.d.ts.map +1 -1
- package/polkadot/asset/definitions.js +12 -17
- package/polkadot/asset/definitions.js.map +1 -1
- package/polkadot/augment-api-consts.d.ts +118 -50
- package/polkadot/augment-api-consts.d.ts.map +1 -1
- package/polkadot/augment-api-errors.d.ts +158 -238
- package/polkadot/augment-api-errors.d.ts.map +1 -1
- package/polkadot/augment-api-events.d.ts +565 -420
- package/polkadot/augment-api-events.d.ts.map +1 -1
- package/polkadot/augment-api-query.d.ts +420 -334
- package/polkadot/augment-api-query.d.ts.map +1 -1
- package/polkadot/augment-api-rpc.d.ts +20 -17
- package/polkadot/augment-api-rpc.d.ts.map +1 -1
- package/polkadot/augment-api-runtime.d.ts +3 -140
- package/polkadot/augment-api-runtime.d.ts.map +1 -1
- package/polkadot/augment-api-tx.d.ts +761 -1206
- package/polkadot/augment-api-tx.d.ts.map +1 -1
- package/polkadot/augment-types.d.ts +4 -140
- package/polkadot/augment-types.d.ts.map +1 -1
- package/polkadot/compliance/definitions.d.ts +15 -0
- package/polkadot/compliance/definitions.d.ts.map +1 -0
- package/polkadot/compliance/definitions.js +27 -0
- package/polkadot/compliance/definitions.js.map +1 -0
- package/polkadot/compliance/index.d.ts +2 -0
- package/polkadot/compliance/index.d.ts.map +1 -0
- package/polkadot/compliance/index.js +20 -0
- package/polkadot/compliance/index.js.map +1 -0
- package/polkadot/compliance/types.d.ts +2 -0
- package/polkadot/compliance/types.d.ts.map +1 -0
- package/polkadot/compliance/types.js +5 -0
- package/polkadot/compliance/types.js.map +1 -0
- package/polkadot/definitions.d.ts +1 -0
- package/polkadot/definitions.d.ts.map +1 -1
- package/polkadot/definitions.js +3 -1
- package/polkadot/definitions.js.map +1 -1
- package/polkadot/identity/definitions.d.ts +0 -9
- package/polkadot/identity/definitions.d.ts.map +1 -1
- package/polkadot/identity/definitions.js +3 -19
- package/polkadot/identity/definitions.js.map +1 -1
- package/polkadot/lookup.d.ts +793 -771
- package/polkadot/lookup.d.ts.map +1 -1
- package/polkadot/lookup.js +952 -946
- package/polkadot/lookup.js.map +1 -1
- package/polkadot/nft/definitions.d.ts +1 -1
- package/polkadot/nft/definitions.d.ts.map +1 -1
- package/polkadot/nft/definitions.js +8 -3
- package/polkadot/nft/definitions.js.map +1 -1
- package/polkadot/polymesh/definitions.d.ts +44 -924
- package/polkadot/polymesh/definitions.d.ts.map +1 -1
- package/polkadot/polymesh/definitions.js +53 -1198
- package/polkadot/polymesh/definitions.js.map +1 -1
- package/polkadot/polymesh/types.d.ts +69 -914
- package/polkadot/polymesh/types.d.ts.map +1 -1
- package/polkadot/registry.d.ts +25 -27
- package/polkadot/registry.d.ts.map +1 -1
- package/polkadot/schema.d.ts +276 -649
- package/polkadot/schema.d.ts.map +1 -1
- package/polkadot/schema.js +491 -748
- package/polkadot/schema.js.map +1 -1
- package/polkadot/settlement/definitions.d.ts +2 -2
- package/polkadot/settlement/definitions.js +12 -12
- package/polkadot/settlement/definitions.js.map +1 -1
- package/polkadot/types-lookup.d.ts +1032 -1118
- package/polkadot/types-lookup.d.ts.map +1 -1
- package/polkadot/types.d.ts +1 -0
- package/polkadot/types.d.ts.map +1 -1
- package/polkadot/types.js +1 -0
- package/polkadot/types.js.map +1 -1
- package/types/index.d.ts +3 -2
- package/types/index.d.ts.map +1 -1
- package/types/index.js +15 -15
- package/types/index.js.map +1 -1
- package/types/internal.d.ts +27 -12
- package/types/internal.d.ts.map +1 -1
- package/types/internal.js.map +1 -1
- package/utils/constants.d.ts +8 -4
- package/utils/constants.d.ts.map +1 -1
- package/utils/constants.js +9 -5
- package/utils/constants.js.map +1 -1
- package/utils/conversion.d.ts +84 -40
- package/utils/conversion.d.ts.map +1 -1
- package/utils/conversion.js +614 -344
- package/utils/conversion.js.map +1 -1
- package/utils/internal.d.ts +38 -21
- package/utils/internal.d.ts.map +1 -1
- package/utils/internal.js +247 -109
- package/utils/internal.js.map +1 -1
- package/utils/typeguards.d.ts.map +1 -1
- package/utils/typeguards.js +4 -2
- package/utils/typeguards.js.map +1 -1
- package/api/procedures/toggleTickerPreApproval.d.ts +0 -22
- package/api/procedures/toggleTickerPreApproval.d.ts.map +0 -1
- package/api/procedures/toggleTickerPreApproval.js.map +0 -1
- package/middleware/queries/settlementsOld.d.ts +0 -41
- package/middleware/queries/settlementsOld.d.ts.map +0 -1
- package/middleware/queries/settlementsOld.js +0 -228
- package/middleware/queries/settlementsOld.js.map +0 -1
- package/middleware/typesV6.d.ts +0 -47356
- package/middleware/typesV6.d.ts.map +0 -1
- package/middleware/typesV6.js +0 -4200
- package/middleware/typesV6.js.map +0 -1
- package/npm-package/polymeshassociation-polymesh-sdk-25.1.1.tgz +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import '@polkadot/api-base/types/storage';
|
|
2
2
|
import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
|
|
3
3
|
import type { BTreeSet, Bytes, Null, Option, U8aFixed, Vec, WrapperOpaque, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
4
|
-
import type { AnyNumber,
|
|
5
|
-
import type { AccountId32, Call, H256, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
|
|
6
|
-
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase,
|
|
4
|
+
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
|
5
|
+
import type { AccountId32, Call, H256, Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime';
|
|
6
|
+
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAssetAssetDetails, PalletAssetTickerRegistration, PalletAssetTickerRegistrationConfig, PalletBalancesBalanceLock, PalletBridgeBridgeTxDetail, PalletCommitteePolymeshVotes, PalletContractsStorageContractInfo, PalletContractsStorageDeletedContract, PalletContractsWasmOwnerInfo, PalletContractsWasmPrefabWasmModule, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, PalletCorporateActionsBallotBallotVote, PalletCorporateActionsCaId, PalletCorporateActionsCorporateAction, PalletCorporateActionsDistribution, PalletCorporateActionsTargetIdentities, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityClaim1stKey, PalletIdentityClaim2ndKey, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletPipsDepositInfo, PalletPipsPip, PalletPipsPipsMetadata, PalletPipsProposalState, PalletPipsSnapshotMetadata, PalletPipsSnapshottedPip, PalletPipsVote, PalletPipsVotingResult, PalletPreimageRequestStatus, PalletRelayerSubsidy, PalletSchedulerScheduled, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingPermissionedIdentityPrefs, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingSlashingSwitch, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStoFundraiser, PalletTransactionPaymentReleases, PolymeshCommonUtilitiesCheckpointNextCheckpoints, PolymeshCommonUtilitiesCheckpointScheduleCheckpoints, PolymeshCommonUtilitiesGroupInactiveMember, PolymeshCommonUtilitiesMaybeBlock, PolymeshCommonUtilitiesProtocolFeeProtocolOp, PolymeshContractsApi, PolymeshContractsApiCodeHash, PolymeshContractsChainExtensionExtrinsicId, PolymeshContractsNextUpgrade, PolymeshPrimitivesAgentAgentGroup, PolymeshPrimitivesAssetAssetID, PolymeshPrimitivesAssetIdentifier, PolymeshPrimitivesAssetMetadataAssetMetadataKey, PolymeshPrimitivesAssetMetadataAssetMetadataSpec, PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail, PolymeshPrimitivesAuthorization, PolymeshPrimitivesComplianceManagerAssetCompliance, PolymeshPrimitivesConditionTrustedIssuer, PolymeshPrimitivesDocument, PolymeshPrimitivesIdentityClaim, PolymeshPrimitivesIdentityDidRecord, PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityIdPortfolioId, PolymeshPrimitivesMemo, PolymeshPrimitivesMultisigProposalState, PolymeshPrimitivesMultisigProposalVoteCount, PolymeshPrimitivesNftNftCollection, PolymeshPrimitivesSecondaryKeyExtrinsicPermissions, PolymeshPrimitivesSecondaryKeyKeyRecord, PolymeshPrimitivesSecondaryKeySignatory, PolymeshPrimitivesSettlementAffirmationStatus, PolymeshPrimitivesSettlementInstruction, PolymeshPrimitivesSettlementInstructionStatus, PolymeshPrimitivesSettlementLeg, PolymeshPrimitivesSettlementLegStatus, PolymeshPrimitivesSettlementMediatorAffirmationStatus, PolymeshPrimitivesSettlementVenue, PolymeshPrimitivesStatisticsStat1stKey, PolymeshPrimitivesStatisticsStat2ndKey, PolymeshPrimitivesStatisticsStatType, PolymeshPrimitivesSubsetSubsetRestrictionAssetID, PolymeshPrimitivesSubsetSubsetRestrictionPortfolioId, PolymeshPrimitivesTicker, PolymeshPrimitivesTransferComplianceAssetTransferCompliance, PolymeshPrimitivesTransferComplianceTransferConditionExemptKey, PolymeshRuntimeDevelopRuntimeSessionKeys, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails } from "./types-lookup.ts";
|
|
7
7
|
import type { Observable } from '@polkadot/types/types';
|
|
8
8
|
export declare type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
|
9
9
|
export declare type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
|
|
@@ -11,19 +11,29 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
11
11
|
interface AugmentedQueries<ApiType extends ApiTypes> {
|
|
12
12
|
asset: {
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
15
|
-
* (ticker, doc_id) -> document
|
|
14
|
+
* All [`Document`] attached to an asset.
|
|
16
15
|
**/
|
|
17
|
-
assetDocuments: AugmentedQuery<ApiType, (arg1:
|
|
18
|
-
|
|
16
|
+
assetDocuments: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetID | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PolymeshPrimitivesDocument>>, [
|
|
17
|
+
PolymeshPrimitivesAssetAssetID,
|
|
19
18
|
u32
|
|
20
19
|
]>;
|
|
21
20
|
/**
|
|
22
|
-
*
|
|
23
|
-
* (ticker) -> doc_id
|
|
21
|
+
* [`DocumentId`] counter per [`AssetID`].
|
|
24
22
|
**/
|
|
25
|
-
assetDocumentsIdSequence: AugmentedQuery<ApiType, (arg:
|
|
26
|
-
|
|
23
|
+
assetDocumentsIdSequence: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<u32>, [
|
|
24
|
+
PolymeshPrimitivesAssetAssetID
|
|
25
|
+
]>;
|
|
26
|
+
/**
|
|
27
|
+
* Maps each [`AssetID`] to its asset identifiers ([`AssetIdentifier`]).
|
|
28
|
+
**/
|
|
29
|
+
assetIdentifiers: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<Vec<PolymeshPrimitivesAssetIdentifier>>, [
|
|
30
|
+
PolymeshPrimitivesAssetAssetID
|
|
31
|
+
]>;
|
|
32
|
+
/**
|
|
33
|
+
* Maps all [`AssetID`] that are mapped to a [`Ticker`].
|
|
34
|
+
**/
|
|
35
|
+
assetIDTicker: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<Option<PolymeshPrimitivesTicker>>, [
|
|
36
|
+
PolymeshPrimitivesAssetAssetID
|
|
27
37
|
]>;
|
|
28
38
|
/**
|
|
29
39
|
* Asset Metadata Global Key -> Name.
|
|
@@ -46,77 +56,75 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
46
56
|
/**
|
|
47
57
|
* Asset Metadata Local Key -> Name.
|
|
48
58
|
**/
|
|
49
|
-
assetMetadataLocalKeyToName: AugmentedQuery<ApiType, (arg1:
|
|
50
|
-
|
|
59
|
+
assetMetadataLocalKeyToName: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetID | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [
|
|
60
|
+
PolymeshPrimitivesAssetAssetID,
|
|
51
61
|
u64
|
|
52
62
|
]>;
|
|
53
63
|
/**
|
|
54
64
|
* Asset Metadata Local Name -> Key.
|
|
55
65
|
**/
|
|
56
|
-
assetMetadataLocalNameToKey: AugmentedQuery<ApiType, (arg1:
|
|
57
|
-
|
|
66
|
+
assetMetadataLocalNameToKey: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetID | string | Uint8Array, arg2: Bytes | string | Uint8Array) => Observable<Option<u64>>, [
|
|
67
|
+
PolymeshPrimitivesAssetAssetID,
|
|
58
68
|
Bytes
|
|
59
69
|
]>;
|
|
60
70
|
/**
|
|
61
71
|
* Asset Metadata Local Key specs.
|
|
62
72
|
**/
|
|
63
|
-
assetMetadataLocalSpecs: AugmentedQuery<ApiType, (arg1:
|
|
64
|
-
|
|
73
|
+
assetMetadataLocalSpecs: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetID | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<PolymeshPrimitivesAssetMetadataAssetMetadataSpec>>, [
|
|
74
|
+
PolymeshPrimitivesAssetAssetID,
|
|
65
75
|
u64
|
|
66
76
|
]>;
|
|
67
|
-
/**
|
|
68
|
-
* Next Asset Metadata Global Key.
|
|
69
|
-
**/
|
|
70
|
-
assetMetadataNextGlobalKey: AugmentedQuery<ApiType, () => Observable<u64>, []>;
|
|
71
|
-
/**
|
|
72
|
-
* Next Asset Metadata Local Key.
|
|
73
|
-
**/
|
|
74
|
-
assetMetadataNextLocalKey: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<u64>, [
|
|
75
|
-
PolymeshPrimitivesTicker
|
|
76
|
-
]>;
|
|
77
77
|
/**
|
|
78
78
|
* Details for an asset's Metadata values.
|
|
79
79
|
**/
|
|
80
|
-
assetMetadataValueDetails: AugmentedQuery<ApiType, (arg1:
|
|
80
|
+
assetMetadataValueDetails: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetID | string | Uint8Array, arg2: PolymeshPrimitivesAssetMetadataAssetMetadataKey | {
|
|
81
81
|
Global: any;
|
|
82
82
|
} | {
|
|
83
83
|
Local: any;
|
|
84
84
|
} | string | Uint8Array) => Observable<Option<PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail>>, [
|
|
85
|
-
|
|
85
|
+
PolymeshPrimitivesAssetAssetID,
|
|
86
86
|
PolymeshPrimitivesAssetMetadataAssetMetadataKey
|
|
87
87
|
]>;
|
|
88
88
|
/**
|
|
89
89
|
* Metatdata values for an asset.
|
|
90
90
|
**/
|
|
91
|
-
assetMetadataValues: AugmentedQuery<ApiType, (arg1:
|
|
91
|
+
assetMetadataValues: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetID | string | Uint8Array, arg2: PolymeshPrimitivesAssetMetadataAssetMetadataKey | {
|
|
92
92
|
Global: any;
|
|
93
93
|
} | {
|
|
94
94
|
Local: any;
|
|
95
95
|
} | string | Uint8Array) => Observable<Option<Bytes>>, [
|
|
96
|
-
|
|
96
|
+
PolymeshPrimitivesAssetAssetID,
|
|
97
97
|
PolymeshPrimitivesAssetMetadataAssetMetadataKey
|
|
98
98
|
]>;
|
|
99
99
|
/**
|
|
100
|
-
*
|
|
101
|
-
* (ticker) -> `AssetName`
|
|
100
|
+
* Maps each [`AssetID`] to its underling [`AssetName`].
|
|
102
101
|
**/
|
|
103
|
-
assetNames: AugmentedQuery<ApiType, (arg:
|
|
104
|
-
|
|
102
|
+
assetNames: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<Option<Bytes>>, [
|
|
103
|
+
PolymeshPrimitivesAssetAssetID
|
|
105
104
|
]>;
|
|
106
105
|
/**
|
|
107
|
-
*
|
|
108
|
-
* (user, ticker) -> AssetOwnership
|
|
106
|
+
* A per account nonce that is used for generating an [`AssetID`].
|
|
109
107
|
**/
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
108
|
+
assetNonce: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u64>, [
|
|
109
|
+
AccountId32
|
|
110
|
+
]>;
|
|
111
|
+
/**
|
|
112
|
+
* Maps each [`AssetID`] to its underling [`AssetDetails`].
|
|
113
|
+
**/
|
|
114
|
+
assets: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<Option<PalletAssetAssetDetails>>, [
|
|
115
|
+
PolymeshPrimitivesAssetAssetID
|
|
116
|
+
]>;
|
|
117
|
+
/**
|
|
118
|
+
* A list of assets that exempt all users from affirming its receivement.
|
|
119
|
+
**/
|
|
120
|
+
assetsExemptFromAffirmation: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<bool>, [
|
|
121
|
+
PolymeshPrimitivesAssetAssetID
|
|
113
122
|
]>;
|
|
114
123
|
/**
|
|
115
|
-
*
|
|
116
|
-
* (ticker, DID) -> Balance
|
|
124
|
+
* Tracks the total [`Balance`] for each [`AssetID`] per [`IdentityId`].
|
|
117
125
|
**/
|
|
118
|
-
balanceOf: AugmentedQuery<ApiType, (arg1:
|
|
119
|
-
|
|
126
|
+
balanceOf: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetID | string | Uint8Array, arg2: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<u128>, [
|
|
127
|
+
PolymeshPrimitivesAssetAssetID,
|
|
120
128
|
PolymeshPrimitivesIdentityId
|
|
121
129
|
]>;
|
|
122
130
|
/**
|
|
@@ -124,10 +132,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
124
132
|
**/
|
|
125
133
|
currentAssetMetadataGlobalKey: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []>;
|
|
126
134
|
/**
|
|
127
|
-
* The last [`AssetMetadataLocalKey`] used for [`
|
|
135
|
+
* The last [`AssetMetadataLocalKey`] used for [`AssetID`].
|
|
128
136
|
**/
|
|
129
|
-
currentAssetMetadataLocalKey: AugmentedQuery<ApiType, (arg:
|
|
130
|
-
|
|
137
|
+
currentAssetMetadataLocalKey: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<Option<u64>>, [
|
|
138
|
+
PolymeshPrimitivesAssetAssetID
|
|
131
139
|
]>;
|
|
132
140
|
/**
|
|
133
141
|
* The next `AssetType::Custom` ID in the sequence.
|
|
@@ -148,73 +156,69 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
148
156
|
Bytes
|
|
149
157
|
]>;
|
|
150
158
|
/**
|
|
151
|
-
*
|
|
152
|
-
* ticker -> bool
|
|
159
|
+
* Returns `true` if transfers for the token associated to [`AssetID`] are frozen. Otherwise, returns `false`.
|
|
153
160
|
**/
|
|
154
|
-
frozen: AugmentedQuery<ApiType, (arg:
|
|
155
|
-
|
|
161
|
+
frozen: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<bool>, [
|
|
162
|
+
PolymeshPrimitivesAssetAssetID
|
|
156
163
|
]>;
|
|
157
164
|
/**
|
|
158
|
-
*
|
|
159
|
-
* ticker -> funding round
|
|
165
|
+
* Maps each [`AssetID`] to the name of its founding round ([`FundingRoundName`]).
|
|
160
166
|
**/
|
|
161
|
-
fundingRound: AugmentedQuery<ApiType, (arg:
|
|
162
|
-
|
|
167
|
+
fundingRound: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<Bytes>, [
|
|
168
|
+
PolymeshPrimitivesAssetAssetID
|
|
163
169
|
]>;
|
|
164
170
|
/**
|
|
165
|
-
*
|
|
171
|
+
* The total [`Balance`] of tokens issued in all recorded funding rounds ([`FundingRoundName`]).
|
|
166
172
|
**/
|
|
167
|
-
|
|
168
|
-
|
|
173
|
+
issuedInFundingRound: AugmentedQuery<ApiType, (arg: ITuple<[PolymeshPrimitivesAssetAssetID, Bytes]> | [PolymeshPrimitivesAssetAssetID | string | Uint8Array, Bytes | string | Uint8Array]) => Observable<u128>, [
|
|
174
|
+
ITuple<[PolymeshPrimitivesAssetAssetID, Bytes]>
|
|
169
175
|
]>;
|
|
170
176
|
/**
|
|
171
|
-
* The
|
|
172
|
-
* (ticker, funding round) -> balance
|
|
177
|
+
* The list of mandatory mediators for every ticker.
|
|
173
178
|
**/
|
|
174
|
-
|
|
175
|
-
|
|
179
|
+
mandatoryMediators: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<BTreeSet<PolymeshPrimitivesIdentityId>>, [
|
|
180
|
+
PolymeshPrimitivesAssetAssetID
|
|
176
181
|
]>;
|
|
177
182
|
/**
|
|
178
|
-
*
|
|
183
|
+
* All assets that don't need an affirmation to be received by an identity.
|
|
179
184
|
**/
|
|
180
|
-
|
|
181
|
-
|
|
185
|
+
preApprovedAsset: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityId | string | Uint8Array, arg2: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<bool>, [
|
|
186
|
+
PolymeshPrimitivesIdentityId,
|
|
187
|
+
PolymeshPrimitivesAssetAssetID
|
|
182
188
|
]>;
|
|
183
189
|
/**
|
|
184
|
-
* All
|
|
190
|
+
* All security tokens owned by a user.
|
|
185
191
|
**/
|
|
186
|
-
|
|
192
|
+
securityTokensOwnedByUser: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityId | string | Uint8Array, arg2: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<bool>, [
|
|
187
193
|
PolymeshPrimitivesIdentityId,
|
|
188
|
-
|
|
194
|
+
PolymeshPrimitivesAssetAssetID
|
|
189
195
|
]>;
|
|
190
196
|
/**
|
|
191
197
|
* Storage version.
|
|
192
198
|
**/
|
|
193
199
|
storageVersion: AugmentedQuery<ApiType, () => Observable<u8>, []>;
|
|
194
200
|
/**
|
|
195
|
-
* Ticker
|
|
196
|
-
* (ticker) -> TickerRegistrationConfig
|
|
201
|
+
* Maps all [`Ticker`] that are linked to an [`AssetID`].
|
|
197
202
|
**/
|
|
198
|
-
|
|
203
|
+
tickerAssetID: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<Option<PolymeshPrimitivesAssetAssetID>>, [
|
|
204
|
+
PolymeshPrimitivesTicker
|
|
199
205
|
]>;
|
|
200
206
|
/**
|
|
201
|
-
*
|
|
202
|
-
* (ticker) -> TickerRegistration
|
|
207
|
+
* Returns [`TickerRegistrationConfig`] for assessing if a ticker is valid.
|
|
203
208
|
**/
|
|
204
|
-
|
|
205
|
-
PolymeshPrimitivesTicker
|
|
209
|
+
tickerConfig: AugmentedQuery<ApiType, () => Observable<PalletAssetTickerRegistrationConfig>, [
|
|
206
210
|
]>;
|
|
207
211
|
/**
|
|
208
|
-
*
|
|
212
|
+
* All tickers owned by a user.
|
|
209
213
|
**/
|
|
210
|
-
|
|
214
|
+
tickersOwnedByUser: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityId | string | Uint8Array, arg2: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<bool>, [
|
|
215
|
+
PolymeshPrimitivesIdentityId,
|
|
211
216
|
PolymeshPrimitivesTicker
|
|
212
217
|
]>;
|
|
213
218
|
/**
|
|
214
|
-
*
|
|
215
|
-
* (ticker) -> SecurityToken details [returns SecurityToken struct]
|
|
219
|
+
* Maps each [`Ticker`] to its registration details ([`TickerRegistration`]).
|
|
216
220
|
**/
|
|
217
|
-
|
|
221
|
+
uniqueTickerRegistration: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<Option<PalletAssetTickerRegistration>>, [
|
|
218
222
|
PolymeshPrimitivesTicker
|
|
219
223
|
]>;
|
|
220
224
|
};
|
|
@@ -418,7 +422,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
418
422
|
* (CAId) => Distribution
|
|
419
423
|
**/
|
|
420
424
|
distributions: AugmentedQuery<ApiType, (arg: PalletCorporateActionsCaId | {
|
|
421
|
-
|
|
425
|
+
assetId?: any;
|
|
422
426
|
localId?: any;
|
|
423
427
|
} | string | Uint8Array) => Observable<Option<PalletCorporateActionsDistribution>>, [
|
|
424
428
|
PalletCorporateActionsCaId
|
|
@@ -430,7 +434,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
430
434
|
**/
|
|
431
435
|
holderPaid: AugmentedQuery<ApiType, (arg: ITuple<[PalletCorporateActionsCaId, PolymeshPrimitivesIdentityId]> | [
|
|
432
436
|
PalletCorporateActionsCaId | {
|
|
433
|
-
|
|
437
|
+
assetId?: any;
|
|
434
438
|
localId?: any;
|
|
435
439
|
} | string | Uint8Array,
|
|
436
440
|
PolymeshPrimitivesIdentityId | string | Uint8Array
|
|
@@ -462,63 +466,63 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
462
466
|
/**
|
|
463
467
|
* Balance of a DID at a checkpoint.
|
|
464
468
|
*
|
|
465
|
-
* (
|
|
469
|
+
* ([`AssetID`], did, checkpoint ID) -> Balance of a DID at a checkpoint
|
|
466
470
|
**/
|
|
467
|
-
balance: AugmentedQuery<ApiType, (arg1: ITuple<[
|
|
468
|
-
ITuple<[
|
|
471
|
+
balance: AugmentedQuery<ApiType, (arg1: ITuple<[PolymeshPrimitivesAssetAssetID, u64]> | [PolymeshPrimitivesAssetAssetID | string | Uint8Array, u64 | AnyNumber | Uint8Array], arg2: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<u128>, [
|
|
472
|
+
ITuple<[PolymeshPrimitivesAssetAssetID, u64]>,
|
|
469
473
|
PolymeshPrimitivesIdentityId
|
|
470
474
|
]>;
|
|
471
475
|
/**
|
|
472
476
|
* Checkpoints where a DID's balance was updated.
|
|
473
|
-
* (
|
|
477
|
+
* ([`AssetID`], did) -> [checkpoint ID where user balance changed]
|
|
474
478
|
**/
|
|
475
|
-
balanceUpdates: AugmentedQuery<ApiType, (arg1:
|
|
476
|
-
|
|
479
|
+
balanceUpdates: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetID | string | Uint8Array, arg2: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<Vec<u64>>, [
|
|
480
|
+
PolymeshPrimitivesAssetAssetID,
|
|
477
481
|
PolymeshPrimitivesIdentityId
|
|
478
482
|
]>;
|
|
479
483
|
/**
|
|
480
484
|
* Cached next checkpoint for each schedule.
|
|
481
485
|
*
|
|
482
|
-
* This is used to quickly find the next checkpoint from a
|
|
486
|
+
* This is used to quickly find the next checkpoint from a asset's schedules.
|
|
483
487
|
*
|
|
484
|
-
* (
|
|
488
|
+
* ([`AssetID`]) -> next checkpoints
|
|
485
489
|
**/
|
|
486
|
-
cachedNextCheckpoints: AugmentedQuery<ApiType, (arg:
|
|
487
|
-
|
|
490
|
+
cachedNextCheckpoints: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<Option<PolymeshCommonUtilitiesCheckpointNextCheckpoints>>, [
|
|
491
|
+
PolymeshPrimitivesAssetAssetID
|
|
488
492
|
]>;
|
|
489
493
|
/**
|
|
490
494
|
* Checkpoints ID generator sequence.
|
|
491
495
|
* ID of first checkpoint is 1 instead of 0.
|
|
492
496
|
*
|
|
493
|
-
* (
|
|
497
|
+
* ([`AssetID`]) -> no. of checkpoints
|
|
494
498
|
**/
|
|
495
|
-
checkpointIdSequence: AugmentedQuery<ApiType, (arg:
|
|
496
|
-
|
|
499
|
+
checkpointIdSequence: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<u64>, [
|
|
500
|
+
PolymeshPrimitivesAssetAssetID
|
|
497
501
|
]>;
|
|
498
502
|
/**
|
|
499
503
|
* Scheduled checkpoints.
|
|
500
504
|
*
|
|
501
|
-
* (
|
|
505
|
+
* ([`AssetID`], schedule ID) -> schedule checkpoints
|
|
502
506
|
**/
|
|
503
|
-
scheduledCheckpoints: AugmentedQuery<ApiType, (arg1:
|
|
504
|
-
|
|
507
|
+
scheduledCheckpoints: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetID | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<PolymeshCommonUtilitiesCheckpointScheduleCheckpoints>>, [
|
|
508
|
+
PolymeshPrimitivesAssetAssetID,
|
|
505
509
|
u64
|
|
506
510
|
]>;
|
|
507
511
|
/**
|
|
508
|
-
* Checkpoint schedule ID sequence for
|
|
512
|
+
* Checkpoint schedule ID sequence for assets.
|
|
509
513
|
*
|
|
510
|
-
* (
|
|
514
|
+
* ([`AssetID`]) -> schedule ID
|
|
511
515
|
**/
|
|
512
|
-
scheduleIdSequence: AugmentedQuery<ApiType, (arg:
|
|
513
|
-
|
|
516
|
+
scheduleIdSequence: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<u64>, [
|
|
517
|
+
PolymeshPrimitivesAssetAssetID
|
|
514
518
|
]>;
|
|
515
519
|
/**
|
|
516
520
|
* All the checkpoints a given schedule originated.
|
|
517
521
|
*
|
|
518
|
-
* (
|
|
522
|
+
* ([`AssetID`], schedule ID) -> [checkpoint ID]
|
|
519
523
|
**/
|
|
520
|
-
schedulePoints: AugmentedQuery<ApiType, (arg1:
|
|
521
|
-
|
|
524
|
+
schedulePoints: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetID | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Vec<u64>>, [
|
|
525
|
+
PolymeshPrimitivesAssetAssetID,
|
|
522
526
|
u64
|
|
523
527
|
]>;
|
|
524
528
|
/**
|
|
@@ -529,14 +533,14 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
529
533
|
* Thus, as long as `strong_ref_count(schedule_id) > 0`,
|
|
530
534
|
* `remove_schedule(schedule_id)` will error.
|
|
531
535
|
*
|
|
532
|
-
* (
|
|
536
|
+
* ([`AssetID`], schedule ID) -> strong ref count
|
|
533
537
|
**/
|
|
534
|
-
scheduleRefCount: AugmentedQuery<ApiType, (arg1:
|
|
535
|
-
|
|
538
|
+
scheduleRefCount: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetID | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<u32>, [
|
|
539
|
+
PolymeshPrimitivesAssetAssetID,
|
|
536
540
|
u64
|
|
537
541
|
]>;
|
|
538
542
|
/**
|
|
539
|
-
* The maximum complexity allowed for
|
|
543
|
+
* The maximum complexity allowed for an asset's schedules.
|
|
540
544
|
**/
|
|
541
545
|
schedulesMaxComplexity: AugmentedQuery<ApiType, () => Observable<u64>, []>;
|
|
542
546
|
/**
|
|
@@ -549,24 +553,21 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
549
553
|
* Every schedule-originated checkpoint maps its ID to its due time.
|
|
550
554
|
* Every checkpoint manually created maps its ID to the time of recording.
|
|
551
555
|
*
|
|
552
|
-
* (
|
|
556
|
+
* ([`AssetID`]) -> (checkpoint ID) -> checkpoint timestamp
|
|
553
557
|
**/
|
|
554
|
-
timestamps: AugmentedQuery<ApiType, (arg1:
|
|
555
|
-
|
|
558
|
+
timestamps: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetID | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<u64>, [
|
|
559
|
+
PolymeshPrimitivesAssetAssetID,
|
|
556
560
|
u64
|
|
557
561
|
]>;
|
|
558
562
|
/**
|
|
559
563
|
* Total supply of the token at the checkpoint.
|
|
560
564
|
*
|
|
561
|
-
* (
|
|
565
|
+
* ([`AssetID`], checkpointId) -> total supply at given checkpoint
|
|
562
566
|
**/
|
|
563
|
-
totalSupply: AugmentedQuery<ApiType, (arg1:
|
|
564
|
-
|
|
567
|
+
totalSupply: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetID | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<u128>, [
|
|
568
|
+
PolymeshPrimitivesAssetAssetID,
|
|
565
569
|
u64
|
|
566
570
|
]>;
|
|
567
|
-
schedules: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<Vec<any>>, [
|
|
568
|
-
PolymeshPrimitivesTicker
|
|
569
|
-
]>;
|
|
570
571
|
};
|
|
571
572
|
committeeMembership: {
|
|
572
573
|
/**
|
|
@@ -586,20 +587,20 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
586
587
|
};
|
|
587
588
|
complianceManager: {
|
|
588
589
|
/**
|
|
589
|
-
*
|
|
590
|
+
* Compliance for an asset ([`AssetID`] -> [`AssetCompliance`])
|
|
590
591
|
**/
|
|
591
|
-
assetCompliances: AugmentedQuery<ApiType, (arg:
|
|
592
|
-
|
|
592
|
+
assetCompliances: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<PolymeshPrimitivesComplianceManagerAssetCompliance>, [
|
|
593
|
+
PolymeshPrimitivesAssetAssetID
|
|
593
594
|
]>;
|
|
594
595
|
/**
|
|
595
596
|
* Storage version.
|
|
596
597
|
**/
|
|
597
598
|
storageVersion: AugmentedQuery<ApiType, () => Observable<u8>, []>;
|
|
598
599
|
/**
|
|
599
|
-
* List of trusted claim issuer
|
|
600
|
+
* List of trusted claim issuer [`AssetID`] -> Issuer Identity
|
|
600
601
|
**/
|
|
601
|
-
trustedClaimIssuer: AugmentedQuery<ApiType, (arg:
|
|
602
|
-
|
|
602
|
+
trustedClaimIssuer: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<Vec<PolymeshPrimitivesConditionTrustedIssuer>>, [
|
|
603
|
+
PolymeshPrimitivesAssetAssetID
|
|
603
604
|
]>;
|
|
604
605
|
};
|
|
605
606
|
contracts: {
|
|
@@ -668,73 +669,73 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
668
669
|
* Associations from CAs to `Document`s via their IDs.
|
|
669
670
|
* (CAId => [DocumentId])
|
|
670
671
|
*
|
|
671
|
-
* The `CorporateActions` map stores `
|
|
672
|
-
* so we can infer `
|
|
672
|
+
* The `CorporateActions` map stores `AssetID => LocalId => The CA`,
|
|
673
|
+
* so we can infer `AssetID => CAId`. Therefore, we don't need a double map.
|
|
673
674
|
**/
|
|
674
675
|
caDocLink: AugmentedQuery<ApiType, (arg: PalletCorporateActionsCaId | {
|
|
675
|
-
|
|
676
|
+
assetId?: any;
|
|
676
677
|
localId?: any;
|
|
677
678
|
} | string | Uint8Array) => Observable<Vec<u32>>, [
|
|
678
679
|
PalletCorporateActionsCaId
|
|
679
680
|
]>;
|
|
680
681
|
/**
|
|
681
|
-
* The next per-`
|
|
682
|
-
* The full ID is defined as a combination of `
|
|
682
|
+
* The next per-`AssetID` CA ID in the sequence.
|
|
683
|
+
* The full ID is defined as a combination of `AssetID` and a number in this sequence.
|
|
683
684
|
**/
|
|
684
|
-
caIdSequence: AugmentedQuery<ApiType, (arg:
|
|
685
|
-
|
|
685
|
+
caIdSequence: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<u32>, [
|
|
686
|
+
PolymeshPrimitivesAssetAssetID
|
|
686
687
|
]>;
|
|
687
688
|
/**
|
|
688
689
|
* All recorded CAs thus far.
|
|
689
690
|
* Only generic information is stored here.
|
|
690
691
|
* Specific `CAKind`s, e.g., benefits and corporate ballots, may use additional on-chain storage.
|
|
691
692
|
*
|
|
692
|
-
* (
|
|
693
|
+
* (AssetID => local ID => the corporate action)
|
|
693
694
|
**/
|
|
694
|
-
corporateActions: AugmentedQuery<ApiType, (arg1:
|
|
695
|
-
|
|
695
|
+
corporateActions: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetID | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletCorporateActionsCorporateAction>>, [
|
|
696
|
+
PolymeshPrimitivesAssetAssetID,
|
|
696
697
|
u32
|
|
697
698
|
]>;
|
|
698
699
|
/**
|
|
699
|
-
* The identities targeted by default for CAs for this
|
|
700
|
+
* The identities targeted by default for CAs for this asset,
|
|
700
701
|
* either to be excluded or included.
|
|
701
702
|
*
|
|
702
|
-
* (
|
|
703
|
+
* (AssetID => target identities)
|
|
703
704
|
**/
|
|
704
|
-
defaultTargetIdentities: AugmentedQuery<ApiType, (arg:
|
|
705
|
-
|
|
705
|
+
defaultTargetIdentities: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<PalletCorporateActionsTargetIdentities>, [
|
|
706
|
+
PolymeshPrimitivesAssetAssetID
|
|
706
707
|
]>;
|
|
707
708
|
/**
|
|
708
|
-
* The default amount of tax to withhold ("withholding tax", WT) for this
|
|
709
|
+
* The default amount of tax to withhold ("withholding tax", WT) for this asset when distributing dividends.
|
|
709
710
|
*
|
|
710
711
|
* To understand withholding tax, e.g., let's assume that you hold ACME shares.
|
|
711
712
|
* ACME now decides to distribute 100 SEK to Alice.
|
|
712
713
|
* Alice lives in Sweden, so Skatteverket (the Swedish tax authority) wants 30% of that.
|
|
713
714
|
* Then those 100 * 30% are withheld from Alice, and ACME will send them to Skatteverket.
|
|
714
715
|
*
|
|
715
|
-
* (
|
|
716
|
+
* (AssetID => % to withhold)
|
|
716
717
|
**/
|
|
717
|
-
defaultWithholdingTax: AugmentedQuery<ApiType, (arg:
|
|
718
|
-
|
|
718
|
+
defaultWithholdingTax: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<Permill>, [
|
|
719
|
+
PolymeshPrimitivesAssetAssetID
|
|
719
720
|
]>;
|
|
720
721
|
/**
|
|
721
722
|
* Associates details in free-form text with a CA by its ID.
|
|
722
723
|
* (CAId => CADetails)
|
|
723
724
|
**/
|
|
724
725
|
details: AugmentedQuery<ApiType, (arg: PalletCorporateActionsCaId | {
|
|
725
|
-
|
|
726
|
+
assetId?: any;
|
|
726
727
|
localId?: any;
|
|
727
728
|
} | string | Uint8Array) => Observable<Bytes>, [
|
|
728
729
|
PalletCorporateActionsCaId
|
|
729
730
|
]>;
|
|
730
731
|
/**
|
|
731
|
-
* The amount of tax to withhold ("withholding tax", WT) for a certain
|
|
732
|
+
* The amount of tax to withhold ("withholding tax", WT) for a certain AssetID x DID.
|
|
732
733
|
* If an entry exists for a certain DID, it overrides the default in `DefaultWithholdingTax`.
|
|
733
734
|
*
|
|
734
|
-
* (
|
|
735
|
+
* (AssetID => [(did, % to withhold)]
|
|
735
736
|
**/
|
|
736
|
-
didWithholdingTax: AugmentedQuery<ApiType, (arg:
|
|
737
|
-
|
|
737
|
+
didWithholdingTax: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<Vec<ITuple<[PolymeshPrimitivesIdentityId, Permill]>>>, [
|
|
738
|
+
PolymeshPrimitivesAssetAssetID
|
|
738
739
|
]>;
|
|
739
740
|
/**
|
|
740
741
|
* Determines the maximum number of bytes that the free-form `details` of a CA can store.
|
|
@@ -758,7 +759,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
758
759
|
* (CAId) => BallotMeta
|
|
759
760
|
**/
|
|
760
761
|
metas: AugmentedQuery<ApiType, (arg: PalletCorporateActionsCaId | {
|
|
761
|
-
|
|
762
|
+
assetId?: any;
|
|
762
763
|
localId?: any;
|
|
763
764
|
} | string | Uint8Array) => Observable<Option<PalletCorporateActionsBallotBallotMeta>>, [
|
|
764
765
|
PalletCorporateActionsCaId
|
|
@@ -775,7 +776,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
775
776
|
* (CAId) => Number of choices in each motion.
|
|
776
777
|
**/
|
|
777
778
|
motionNumChoices: AugmentedQuery<ApiType, (arg: PalletCorporateActionsCaId | {
|
|
778
|
-
|
|
779
|
+
assetId?: any;
|
|
779
780
|
localId?: any;
|
|
780
781
|
} | string | Uint8Array) => Observable<Vec<u16>>, [
|
|
781
782
|
PalletCorporateActionsCaId
|
|
@@ -787,7 +788,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
787
788
|
* (CAId) => bool
|
|
788
789
|
**/
|
|
789
790
|
rcv: AugmentedQuery<ApiType, (arg: PalletCorporateActionsCaId | {
|
|
790
|
-
|
|
791
|
+
assetId?: any;
|
|
791
792
|
localId?: any;
|
|
792
793
|
} | string | Uint8Array) => Observable<bool>, [
|
|
793
794
|
PalletCorporateActionsCaId
|
|
@@ -802,11 +803,15 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
802
803
|
* (CAId) => [current vote weights]
|
|
803
804
|
**/
|
|
804
805
|
results: AugmentedQuery<ApiType, (arg: PalletCorporateActionsCaId | {
|
|
805
|
-
|
|
806
|
+
assetId?: any;
|
|
806
807
|
localId?: any;
|
|
807
808
|
} | string | Uint8Array) => Observable<Vec<u128>>, [
|
|
808
809
|
PalletCorporateActionsCaId
|
|
809
810
|
]>;
|
|
811
|
+
/**
|
|
812
|
+
* Storage version.
|
|
813
|
+
**/
|
|
814
|
+
storageVersion: AugmentedQuery<ApiType, () => Observable<u8>, []>;
|
|
810
815
|
/**
|
|
811
816
|
* Time details of a corporate ballot associated with a CA.
|
|
812
817
|
* The timestamps denote when voting starts and stops.
|
|
@@ -814,7 +819,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
814
819
|
* (CAId) => BallotTimeRange
|
|
815
820
|
**/
|
|
816
821
|
timeRanges: AugmentedQuery<ApiType, (arg: PalletCorporateActionsCaId | {
|
|
817
|
-
|
|
822
|
+
assetId?: any;
|
|
818
823
|
localId?: any;
|
|
819
824
|
} | string | Uint8Array) => Observable<Option<PalletCorporateActionsBallotBallotTimeRange>>, [
|
|
820
825
|
PalletCorporateActionsCaId
|
|
@@ -828,50 +833,134 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
828
833
|
* User must enter 0 vote weight if they don't want to vote for a choice.
|
|
829
834
|
**/
|
|
830
835
|
votes: AugmentedQuery<ApiType, (arg1: PalletCorporateActionsCaId | {
|
|
831
|
-
|
|
836
|
+
assetId?: any;
|
|
832
837
|
localId?: any;
|
|
833
838
|
} | string | Uint8Array, arg2: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<Vec<PalletCorporateActionsBallotBallotVote>>, [
|
|
834
839
|
PalletCorporateActionsCaId,
|
|
835
840
|
PolymeshPrimitivesIdentityId
|
|
836
841
|
]>;
|
|
837
842
|
};
|
|
843
|
+
electionProviderMultiPhase: {
|
|
844
|
+
/**
|
|
845
|
+
* Current phase.
|
|
846
|
+
**/
|
|
847
|
+
currentPhase: AugmentedQuery<ApiType, () => Observable<PalletElectionProviderMultiPhasePhase>, [
|
|
848
|
+
]>;
|
|
849
|
+
/**
|
|
850
|
+
* Desired number of targets to elect for this round.
|
|
851
|
+
*
|
|
852
|
+
* Only exists when [`Snapshot`] is present.
|
|
853
|
+
**/
|
|
854
|
+
desiredTargets: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
|
|
855
|
+
/**
|
|
856
|
+
* The minimum score that each 'untrusted' solution must attain in order to be considered
|
|
857
|
+
* feasible.
|
|
858
|
+
*
|
|
859
|
+
* Can be set via `set_minimum_untrusted_score`.
|
|
860
|
+
**/
|
|
861
|
+
minimumUntrustedScore: AugmentedQuery<ApiType, () => Observable<Option<SpNposElectionsElectionScore>>, [
|
|
862
|
+
]>;
|
|
863
|
+
/**
|
|
864
|
+
* Current best solution, signed or unsigned, queued to be returned upon `elect`.
|
|
865
|
+
**/
|
|
866
|
+
queuedSolution: AugmentedQuery<ApiType, () => Observable<Option<PalletElectionProviderMultiPhaseReadySolution>>, [
|
|
867
|
+
]>;
|
|
868
|
+
/**
|
|
869
|
+
* Internal counter for the number of rounds.
|
|
870
|
+
*
|
|
871
|
+
* This is useful for de-duplication of transactions submitted to the pool, and general
|
|
872
|
+
* diagnostics of the pallet.
|
|
873
|
+
*
|
|
874
|
+
* This is merely incremented once per every time that an upstream `elect` is called.
|
|
875
|
+
**/
|
|
876
|
+
round: AugmentedQuery<ApiType, () => Observable<u32>, []>;
|
|
877
|
+
/**
|
|
878
|
+
* A sorted, bounded vector of `(score, block_number, index)`, where each `index` points to a
|
|
879
|
+
* value in `SignedSubmissions`.
|
|
880
|
+
*
|
|
881
|
+
* We never need to process more than a single signed submission at a time. Signed submissions
|
|
882
|
+
* can be quite large, so we're willing to pay the cost of multiple database accesses to access
|
|
883
|
+
* them one at a time instead of reading and decoding all of them at once.
|
|
884
|
+
**/
|
|
885
|
+
signedSubmissionIndices: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpNposElectionsElectionScore, u32, u32]>>>, [
|
|
886
|
+
]>;
|
|
887
|
+
/**
|
|
888
|
+
* The next index to be assigned to an incoming signed submission.
|
|
889
|
+
*
|
|
890
|
+
* Every accepted submission is assigned a unique index; that index is bound to that particular
|
|
891
|
+
* submission for the duration of the election. On election finalization, the next index is
|
|
892
|
+
* reset to 0.
|
|
893
|
+
*
|
|
894
|
+
* We can't just use `SignedSubmissionIndices.len()`, because that's a bounded set; past its
|
|
895
|
+
* capacity, it will simply saturate. We can't just iterate over `SignedSubmissionsMap`,
|
|
896
|
+
* because iteration is slow. Instead, we store the value here.
|
|
897
|
+
**/
|
|
898
|
+
signedSubmissionNextIndex: AugmentedQuery<ApiType, () => Observable<u32>, []>;
|
|
899
|
+
/**
|
|
900
|
+
* Unchecked, signed solutions.
|
|
901
|
+
*
|
|
902
|
+
* Together with `SubmissionIndices`, this stores a bounded set of `SignedSubmissions` while
|
|
903
|
+
* allowing us to keep only a single one in memory at a time.
|
|
904
|
+
*
|
|
905
|
+
* Twox note: the key of the map is an auto-incrementing index which users cannot inspect or
|
|
906
|
+
* affect; we shouldn't need a cryptographically secure hasher.
|
|
907
|
+
**/
|
|
908
|
+
signedSubmissionsMap: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletElectionProviderMultiPhaseSignedSignedSubmission>>, [
|
|
909
|
+
u32
|
|
910
|
+
]>;
|
|
911
|
+
/**
|
|
912
|
+
* Snapshot data of the round.
|
|
913
|
+
*
|
|
914
|
+
* This is created at the beginning of the signed phase and cleared upon calling `elect`.
|
|
915
|
+
**/
|
|
916
|
+
snapshot: AugmentedQuery<ApiType, () => Observable<Option<PalletElectionProviderMultiPhaseRoundSnapshot>>, [
|
|
917
|
+
]>;
|
|
918
|
+
/**
|
|
919
|
+
* The metadata of the [`RoundSnapshot`]
|
|
920
|
+
*
|
|
921
|
+
* Only exists when [`Snapshot`] is present.
|
|
922
|
+
**/
|
|
923
|
+
snapshotMetadata: AugmentedQuery<ApiType, () => Observable<Option<PalletElectionProviderMultiPhaseSolutionOrSnapshotSize>>, [
|
|
924
|
+
]>;
|
|
925
|
+
};
|
|
838
926
|
externalAgents: {
|
|
839
927
|
/**
|
|
840
|
-
* Maps an agent (`IdentityId`) to all
|
|
928
|
+
* Maps an agent (`IdentityId`) to all assets they belong to, if any.
|
|
841
929
|
**/
|
|
842
|
-
agentOf: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityId | string | Uint8Array, arg2:
|
|
930
|
+
agentOf: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityId | string | Uint8Array, arg2: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<Null>, [
|
|
843
931
|
PolymeshPrimitivesIdentityId,
|
|
844
|
-
|
|
932
|
+
PolymeshPrimitivesAssetAssetID
|
|
845
933
|
]>;
|
|
846
934
|
/**
|
|
847
|
-
* The next per
|
|
935
|
+
* The next per-asset AG ID in the sequence.
|
|
848
936
|
*
|
|
849
|
-
* The full ID is defined as a combination of `
|
|
937
|
+
* The full ID is defined as a combination of `AssetID` and a number in this sequence,
|
|
850
938
|
* which starts from 1, rather than 0.
|
|
851
939
|
**/
|
|
852
|
-
agIdSequence: AugmentedQuery<ApiType, (arg:
|
|
853
|
-
|
|
940
|
+
agIdSequence: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<u32>, [
|
|
941
|
+
PolymeshPrimitivesAssetAssetID
|
|
854
942
|
]>;
|
|
855
943
|
/**
|
|
856
|
-
* Maps agents (`IdentityId`) for
|
|
944
|
+
* Maps agents (`IdentityId`) for an `AssetID` to what AG they belong to, if any.
|
|
857
945
|
**/
|
|
858
|
-
groupOfAgent: AugmentedQuery<ApiType, (arg1:
|
|
859
|
-
|
|
946
|
+
groupOfAgent: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetID | string | Uint8Array, arg2: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<Option<PolymeshPrimitivesAgentAgentGroup>>, [
|
|
947
|
+
PolymeshPrimitivesAssetAssetID,
|
|
860
948
|
PolymeshPrimitivesIdentityId
|
|
861
949
|
]>;
|
|
862
950
|
/**
|
|
863
|
-
* For custom AGs of
|
|
951
|
+
* For custom AGs of an `AssetID`, maps to what permissions an agent in that AG would have.
|
|
864
952
|
**/
|
|
865
|
-
groupPermissions: AugmentedQuery<ApiType, (arg1:
|
|
866
|
-
|
|
953
|
+
groupPermissions: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetID | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PolymeshPrimitivesSecondaryKeyExtrinsicPermissions>>, [
|
|
954
|
+
PolymeshPrimitivesAssetAssetID,
|
|
867
955
|
u32
|
|
868
956
|
]>;
|
|
869
957
|
/**
|
|
870
|
-
* Maps
|
|
958
|
+
* Maps an `AssetID` to the number of `Full` agents for it.
|
|
871
959
|
**/
|
|
872
|
-
numFullAgents: AugmentedQuery<ApiType, (arg:
|
|
873
|
-
|
|
960
|
+
numFullAgents: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<u32>, [
|
|
961
|
+
PolymeshPrimitivesAssetAssetID
|
|
874
962
|
]>;
|
|
963
|
+
storageVersion: AugmentedQuery<ApiType, () => Observable<u8>, []>;
|
|
875
964
|
};
|
|
876
965
|
grandpa: {
|
|
877
966
|
/**
|
|
@@ -972,10 +1061,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
972
1061
|
* Controls the authorization id.
|
|
973
1062
|
**/
|
|
974
1063
|
currentAuthId: AugmentedQuery<ApiType, () => Observable<u64>, []>;
|
|
975
|
-
/**
|
|
976
|
-
* It stores the current identity for current transaction.
|
|
977
|
-
**/
|
|
978
|
-
currentDid: AugmentedQuery<ApiType, () => Observable<Option<U8aFixed>>, []>;
|
|
979
1064
|
/**
|
|
980
1065
|
* It stores the current gas fee payer for the current transaction
|
|
981
1066
|
**/
|
|
@@ -1016,7 +1101,25 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1016
1101
|
PolymeshPrimitivesIdentityId
|
|
1017
1102
|
]>;
|
|
1018
1103
|
/**
|
|
1019
|
-
*
|
|
1104
|
+
* A secondary key's asset permissions.
|
|
1105
|
+
**/
|
|
1106
|
+
keyAssetPermissions: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PolymeshPrimitivesSubsetSubsetRestrictionAssetID>>, [
|
|
1107
|
+
AccountId32
|
|
1108
|
+
]>;
|
|
1109
|
+
/**
|
|
1110
|
+
* A secondary key's extrinsic permissions.
|
|
1111
|
+
**/
|
|
1112
|
+
keyExtrinsicPermissions: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PolymeshPrimitivesSecondaryKeyExtrinsicPermissions>>, [
|
|
1113
|
+
AccountId32
|
|
1114
|
+
]>;
|
|
1115
|
+
/**
|
|
1116
|
+
* A secondary key's portfolio permissions.
|
|
1117
|
+
**/
|
|
1118
|
+
keyPortfolioPermissions: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PolymeshPrimitivesSubsetSubsetRestrictionPortfolioId>>, [
|
|
1119
|
+
AccountId32
|
|
1120
|
+
]>;
|
|
1121
|
+
/**
|
|
1122
|
+
* Map from AccountId to `KeyRecord` that holds the key's type and identity.
|
|
1020
1123
|
**/
|
|
1021
1124
|
keyRecords: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PolymeshPrimitivesSecondaryKeyKeyRecord>>, [
|
|
1022
1125
|
AccountId32
|
|
@@ -1105,11 +1208,27 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1105
1208
|
};
|
|
1106
1209
|
multiSig: {
|
|
1107
1210
|
/**
|
|
1108
|
-
*
|
|
1211
|
+
* The multisig's admin identity. The primary key of this identity
|
|
1212
|
+
* has admin control over the multisig.
|
|
1213
|
+
*
|
|
1214
|
+
* multisig -> Option<IdentityId>.
|
|
1109
1215
|
**/
|
|
1110
|
-
|
|
1111
|
-
|
|
1216
|
+
adminDid: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PolymeshPrimitivesIdentityId>>, [
|
|
1217
|
+
AccountId32
|
|
1218
|
+
]>;
|
|
1219
|
+
/**
|
|
1220
|
+
* Pending join identity authorization proposals.
|
|
1221
|
+
*
|
|
1222
|
+
* multisig -> auth id => Option<proposal id>.
|
|
1223
|
+
**/
|
|
1224
|
+
authToProposalId: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<u64>>, [
|
|
1225
|
+
AccountId32,
|
|
1226
|
+
u64
|
|
1112
1227
|
]>;
|
|
1228
|
+
/**
|
|
1229
|
+
* Proposal execution reentry guard.
|
|
1230
|
+
**/
|
|
1231
|
+
executionReentry: AugmentedQuery<ApiType, () => Observable<bool>, []>;
|
|
1113
1232
|
/**
|
|
1114
1233
|
* Nonce to ensure unique MultiSig addresses are generated; starts from 1.
|
|
1115
1234
|
**/
|
|
@@ -1117,13 +1236,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1117
1236
|
/**
|
|
1118
1237
|
* Signers of a multisig. (multisig, signer) => bool.
|
|
1119
1238
|
**/
|
|
1120
|
-
multiSigSigners: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2:
|
|
1121
|
-
Identity: any;
|
|
1122
|
-
} | {
|
|
1123
|
-
Account: any;
|
|
1124
|
-
} | string | Uint8Array) => Observable<bool>, [
|
|
1239
|
+
multiSigSigners: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<bool>, [
|
|
1125
1240
|
AccountId32,
|
|
1126
|
-
|
|
1241
|
+
AccountId32
|
|
1127
1242
|
]>;
|
|
1128
1243
|
/**
|
|
1129
1244
|
* Confirmations required before processing a multisig tx.
|
|
@@ -1132,45 +1247,52 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1132
1247
|
AccountId32
|
|
1133
1248
|
]>;
|
|
1134
1249
|
/**
|
|
1135
|
-
*
|
|
1250
|
+
* Next proposal id for a multisig. Starts from 0.
|
|
1251
|
+
*
|
|
1252
|
+
* multisig => next proposal id
|
|
1136
1253
|
**/
|
|
1137
|
-
|
|
1254
|
+
nextProposalId: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u64>, [
|
|
1138
1255
|
AccountId32
|
|
1139
1256
|
]>;
|
|
1140
1257
|
/**
|
|
1141
|
-
* Number of
|
|
1258
|
+
* Number of approved/accepted signers of a multisig.
|
|
1142
1259
|
**/
|
|
1143
|
-
|
|
1260
|
+
numberOfSigners: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u64>, [
|
|
1144
1261
|
AccountId32
|
|
1145
1262
|
]>;
|
|
1146
1263
|
/**
|
|
1147
|
-
*
|
|
1264
|
+
* The multisig's paying identity. The primary key of this identity
|
|
1265
|
+
* pays the transaction/protocal fees of the multisig proposals.
|
|
1266
|
+
*
|
|
1267
|
+
* multisig -> Option<IdentityId>.
|
|
1148
1268
|
**/
|
|
1149
|
-
|
|
1269
|
+
payingDid: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PolymeshPrimitivesIdentityId>>, [
|
|
1150
1270
|
AccountId32
|
|
1151
1271
|
]>;
|
|
1152
1272
|
/**
|
|
1153
|
-
*
|
|
1273
|
+
* Proposals presented for voting to a multisig.
|
|
1154
1274
|
*
|
|
1155
|
-
* multisig -> proposal id =>
|
|
1275
|
+
* multisig -> proposal id => Option<Proposal>.
|
|
1156
1276
|
**/
|
|
1157
|
-
|
|
1277
|
+
proposals: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<Call>>, [
|
|
1158
1278
|
AccountId32,
|
|
1159
1279
|
u64
|
|
1160
1280
|
]>;
|
|
1161
1281
|
/**
|
|
1162
|
-
*
|
|
1282
|
+
* The state of a multisig proposal
|
|
1283
|
+
*
|
|
1284
|
+
* multisig -> proposal id => Option<ProposalState>.
|
|
1163
1285
|
**/
|
|
1164
|
-
|
|
1286
|
+
proposalStates: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<PolymeshPrimitivesMultisigProposalState>>, [
|
|
1165
1287
|
AccountId32,
|
|
1166
|
-
|
|
1288
|
+
u64
|
|
1167
1289
|
]>;
|
|
1168
1290
|
/**
|
|
1169
|
-
*
|
|
1291
|
+
* The count of approvals/rejections of a multisig proposal.
|
|
1170
1292
|
*
|
|
1171
|
-
* multisig -> proposal id => Option<
|
|
1293
|
+
* multisig -> proposal id => Option<ProposalVoteCount>.
|
|
1172
1294
|
**/
|
|
1173
|
-
|
|
1295
|
+
proposalVoteCounts: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<PolymeshPrimitivesMultisigProposalVoteCount>>, [
|
|
1174
1296
|
AccountId32,
|
|
1175
1297
|
u64
|
|
1176
1298
|
]>;
|
|
@@ -1187,13 +1309,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1187
1309
|
*
|
|
1188
1310
|
* (multisig, proposal_id) -> signer => vote.
|
|
1189
1311
|
**/
|
|
1190
|
-
votes: AugmentedQuery<ApiType, (arg1: ITuple<[AccountId32, u64]> | [AccountId32 | string | Uint8Array, u64 | AnyNumber | Uint8Array], arg2:
|
|
1191
|
-
Identity: any;
|
|
1192
|
-
} | {
|
|
1193
|
-
Account: any;
|
|
1194
|
-
} | string | Uint8Array) => Observable<bool>, [
|
|
1312
|
+
votes: AugmentedQuery<ApiType, (arg1: ITuple<[AccountId32, u64]> | [AccountId32 | string | Uint8Array, u64 | AnyNumber | Uint8Array], arg2: AccountId32 | string | Uint8Array) => Observable<bool>, [
|
|
1195
1313
|
ITuple<[AccountId32, u64]>,
|
|
1196
|
-
|
|
1314
|
+
AccountId32
|
|
1197
1315
|
]>;
|
|
1198
1316
|
};
|
|
1199
1317
|
nft: {
|
|
@@ -1204,16 +1322,16 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1204
1322
|
u64
|
|
1205
1323
|
]>;
|
|
1206
1324
|
/**
|
|
1207
|
-
*
|
|
1325
|
+
* The collection id corresponding to each asset.
|
|
1208
1326
|
**/
|
|
1209
|
-
|
|
1210
|
-
|
|
1327
|
+
collectionAsset: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<u64>, [
|
|
1328
|
+
PolymeshPrimitivesAssetAssetID
|
|
1211
1329
|
]>;
|
|
1212
1330
|
/**
|
|
1213
|
-
*
|
|
1331
|
+
* All mandatory metadata keys for a given collection.
|
|
1214
1332
|
**/
|
|
1215
|
-
|
|
1216
|
-
|
|
1333
|
+
collectionKeys: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<PolymeshPrimitivesAssetMetadataAssetMetadataKey>>, [
|
|
1334
|
+
u64
|
|
1217
1335
|
]>;
|
|
1218
1336
|
/**
|
|
1219
1337
|
* The last `NFTCollectionId` used for a collection.
|
|
@@ -1236,34 +1354,24 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1236
1354
|
ITuple<[u64, u64]>,
|
|
1237
1355
|
PolymeshPrimitivesAssetMetadataAssetMetadataKey
|
|
1238
1356
|
]>;
|
|
1239
|
-
/**
|
|
1240
|
-
* The next available id for an NFT collection.
|
|
1241
|
-
**/
|
|
1242
|
-
nextCollectionId: AugmentedQuery<ApiType, () => Observable<u64>, []>;
|
|
1243
|
-
/**
|
|
1244
|
-
* The next available id for an NFT within a collection.
|
|
1245
|
-
**/
|
|
1246
|
-
nextNFTId: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<u64>, [
|
|
1247
|
-
u64
|
|
1248
|
-
]>;
|
|
1249
1357
|
/**
|
|
1250
1358
|
* Tracks the owner of an NFT
|
|
1251
1359
|
**/
|
|
1252
|
-
nftOwner: AugmentedQuery<ApiType, (arg1:
|
|
1253
|
-
|
|
1360
|
+
nftOwner: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetID | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<PolymeshPrimitivesIdentityIdPortfolioId>>, [
|
|
1361
|
+
PolymeshPrimitivesAssetAssetID,
|
|
1254
1362
|
u64
|
|
1255
1363
|
]>;
|
|
1256
1364
|
/**
|
|
1257
1365
|
* The total number of NFTs in a collection
|
|
1258
1366
|
**/
|
|
1259
|
-
nfTsInCollection: AugmentedQuery<ApiType, (arg:
|
|
1260
|
-
|
|
1367
|
+
nfTsInCollection: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<u64>, [
|
|
1368
|
+
PolymeshPrimitivesAssetAssetID
|
|
1261
1369
|
]>;
|
|
1262
1370
|
/**
|
|
1263
1371
|
* The total number of NFTs per identity.
|
|
1264
1372
|
**/
|
|
1265
|
-
numberOfNFTs: AugmentedQuery<ApiType, (arg1:
|
|
1266
|
-
|
|
1373
|
+
numberOfNFTs: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetID | string | Uint8Array, arg2: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<u64>, [
|
|
1374
|
+
PolymeshPrimitivesAssetAssetID,
|
|
1267
1375
|
PolymeshPrimitivesIdentityId
|
|
1268
1376
|
]>;
|
|
1269
1377
|
/**
|
|
@@ -1523,9 +1631,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1523
1631
|
portfolioAssetBalances: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
1524
1632
|
did?: any;
|
|
1525
1633
|
kind?: any;
|
|
1526
|
-
} | string | Uint8Array, arg2:
|
|
1634
|
+
} | string | Uint8Array, arg2: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<u128>, [
|
|
1527
1635
|
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
1528
|
-
|
|
1636
|
+
PolymeshPrimitivesAssetAssetID
|
|
1529
1637
|
]>;
|
|
1530
1638
|
/**
|
|
1531
1639
|
* How many assets with non-zero balance this portfolio contains.
|
|
@@ -1552,9 +1660,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1552
1660
|
portfolioLockedAssets: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
1553
1661
|
did?: any;
|
|
1554
1662
|
kind?: any;
|
|
1555
|
-
} | string | Uint8Array, arg2:
|
|
1663
|
+
} | string | Uint8Array, arg2: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<u128>, [
|
|
1556
1664
|
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
1557
|
-
|
|
1665
|
+
PolymeshPrimitivesAssetAssetID
|
|
1558
1666
|
]>;
|
|
1559
1667
|
/**
|
|
1560
1668
|
* All locked nft for a given portfolio.
|
|
@@ -1562,9 +1670,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1562
1670
|
portfolioLockedNFT: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
1563
1671
|
did?: any;
|
|
1564
1672
|
kind?: any;
|
|
1565
|
-
} | string | Uint8Array, arg2: ITuple<[
|
|
1673
|
+
} | string | Uint8Array, arg2: ITuple<[PolymeshPrimitivesAssetAssetID, u64]> | [PolymeshPrimitivesAssetAssetID | string | Uint8Array, u64 | AnyNumber | Uint8Array]) => Observable<bool>, [
|
|
1566
1674
|
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
1567
|
-
ITuple<[
|
|
1675
|
+
ITuple<[PolymeshPrimitivesAssetAssetID, u64]>
|
|
1568
1676
|
]>;
|
|
1569
1677
|
/**
|
|
1570
1678
|
* The nft associated to the portfolio.
|
|
@@ -1572,9 +1680,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1572
1680
|
portfolioNFT: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
1573
1681
|
did?: any;
|
|
1574
1682
|
kind?: any;
|
|
1575
|
-
} | string | Uint8Array, arg2: ITuple<[
|
|
1683
|
+
} | string | Uint8Array, arg2: ITuple<[PolymeshPrimitivesAssetAssetID, u64]> | [PolymeshPrimitivesAssetAssetID | string | Uint8Array, u64 | AnyNumber | Uint8Array]) => Observable<bool>, [
|
|
1576
1684
|
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
1577
|
-
ITuple<[
|
|
1685
|
+
ITuple<[PolymeshPrimitivesAssetAssetID, u64]>
|
|
1578
1686
|
]>;
|
|
1579
1687
|
/**
|
|
1580
1688
|
* The set of existing portfolios with their names. If a certain pair of a DID and
|
|
@@ -1598,14 +1706,14 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1598
1706
|
PolymeshPrimitivesIdentityIdPortfolioId
|
|
1599
1707
|
]>;
|
|
1600
1708
|
/**
|
|
1601
|
-
* All portfolios that don't need to affirm the receivement of a given
|
|
1709
|
+
* All portfolios that don't need to affirm the receivement of a given [`AssetID`].
|
|
1602
1710
|
**/
|
|
1603
1711
|
preApprovedPortfolios: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
1604
1712
|
did?: any;
|
|
1605
1713
|
kind?: any;
|
|
1606
|
-
} | string | Uint8Array, arg2:
|
|
1714
|
+
} | string | Uint8Array, arg2: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<bool>, [
|
|
1607
1715
|
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
1608
|
-
|
|
1716
|
+
PolymeshPrimitivesAssetAssetID
|
|
1609
1717
|
]>;
|
|
1610
1718
|
/**
|
|
1611
1719
|
* Storage version.
|
|
@@ -1829,11 +1937,11 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1829
1937
|
u64
|
|
1830
1938
|
]>;
|
|
1831
1939
|
/**
|
|
1832
|
-
* Venues that are allowed to create instructions involving a particular
|
|
1833
|
-
* (
|
|
1940
|
+
* Venues that are allowed to create instructions involving a particular asset. Only used if filtering is enabled.
|
|
1941
|
+
* ([`AssetID`], venue_id) -> allowed
|
|
1834
1942
|
**/
|
|
1835
|
-
venueAllowList: AugmentedQuery<ApiType, (arg1:
|
|
1836
|
-
|
|
1943
|
+
venueAllowList: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetID | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<bool>, [
|
|
1944
|
+
PolymeshPrimitivesAssetAssetID,
|
|
1837
1945
|
u64
|
|
1838
1946
|
]>;
|
|
1839
1947
|
/**
|
|
@@ -1841,10 +1949,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1841
1949
|
**/
|
|
1842
1950
|
venueCounter: AugmentedQuery<ApiType, () => Observable<u64>, []>;
|
|
1843
1951
|
/**
|
|
1844
|
-
* Tracks if a token has enabled filtering venues that can create instructions involving their token.
|
|
1952
|
+
* Tracks if a token has enabled filtering venues that can create instructions involving their token. AssetID -> filtering_enabled
|
|
1845
1953
|
**/
|
|
1846
|
-
venueFiltering: AugmentedQuery<ApiType, (arg:
|
|
1847
|
-
|
|
1954
|
+
venueFiltering: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<bool>, [
|
|
1955
|
+
PolymeshPrimitivesAssetAssetID
|
|
1848
1956
|
]>;
|
|
1849
1957
|
/**
|
|
1850
1958
|
* Info about a venue. venue_id -> venue
|
|
@@ -1898,6 +2006,20 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1898
2006
|
* canceled by extraordinary circumstances (e.g. governance).
|
|
1899
2007
|
**/
|
|
1900
2008
|
canceledSlashPayout: AugmentedQuery<ApiType, () => Observable<u128>, []>;
|
|
2009
|
+
/**
|
|
2010
|
+
* The threshold for when users can start calling `chill_other` for other validators /
|
|
2011
|
+
* nominators. The threshold is compared to the actual number of validators / nominators
|
|
2012
|
+
* (`CountFor*`) in the system compared to the configured max (`Max*Count`).
|
|
2013
|
+
**/
|
|
2014
|
+
chillThreshold: AugmentedQuery<ApiType, () => Observable<Option<Percent>>, []>;
|
|
2015
|
+
/**
|
|
2016
|
+
* Counter for the related counted storage map
|
|
2017
|
+
**/
|
|
2018
|
+
counterForNominators: AugmentedQuery<ApiType, () => Observable<u32>, []>;
|
|
2019
|
+
/**
|
|
2020
|
+
* Counter for the related counted storage map
|
|
2021
|
+
**/
|
|
2022
|
+
counterForValidators: AugmentedQuery<ApiType, () => Observable<u32>, []>;
|
|
1901
2023
|
/**
|
|
1902
2024
|
* The current era index.
|
|
1903
2025
|
*
|
|
@@ -1906,14 +2028,11 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1906
2028
|
**/
|
|
1907
2029
|
currentEra: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
|
|
1908
2030
|
/**
|
|
1909
|
-
* The
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
/**
|
|
1913
|
-
* Flag to control the execution of the offchain election. When `Open(_)`, we accept solutions
|
|
1914
|
-
* to be submitted.
|
|
2031
|
+
* The last planned session scheduled by the session pallet.
|
|
2032
|
+
*
|
|
2033
|
+
* This is basically in sync with the call to [`pallet_session::SessionManager::new_session`].
|
|
1915
2034
|
**/
|
|
1916
|
-
|
|
2035
|
+
currentPlannedSession: AugmentedQuery<ApiType, () => Observable<u32>, []>;
|
|
1917
2036
|
/**
|
|
1918
2037
|
* Rewards for the last `HISTORY_DEPTH` eras.
|
|
1919
2038
|
* If reward hasn't been set or has been removed then 0 reward is returned.
|
|
@@ -1989,27 +2108,12 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1989
2108
|
* Mode of era forcing.
|
|
1990
2109
|
**/
|
|
1991
2110
|
forceEra: AugmentedQuery<ApiType, () => Observable<PalletStakingForcing>, []>;
|
|
1992
|
-
/**
|
|
1993
|
-
* Number of eras to keep in history.
|
|
1994
|
-
*
|
|
1995
|
-
* Information is kept for eras in `[current_era - history_depth; current_era]`.
|
|
1996
|
-
*
|
|
1997
|
-
* Must be more than the number of eras delayed by session otherwise. I.e. active era must
|
|
1998
|
-
* always be in history. I.e. `active_era > current_era - history_depth` must be
|
|
1999
|
-
* guaranteed.
|
|
2000
|
-
**/
|
|
2001
|
-
historyDepth: AugmentedQuery<ApiType, () => Observable<u32>, []>;
|
|
2002
2111
|
/**
|
|
2003
2112
|
* Any validators that may never be slashed or forcibly kicked. It's a Vec since they're
|
|
2004
2113
|
* easy to initialize and the performance hit is minimal (we expect no more than four
|
|
2005
2114
|
* invulnerables) and restricted to testnets.
|
|
2006
2115
|
**/
|
|
2007
2116
|
invulnerables: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []>;
|
|
2008
|
-
/**
|
|
2009
|
-
* True if the current **planned** session is final. Note that this does not take era
|
|
2010
|
-
* forcing into account.
|
|
2011
|
-
**/
|
|
2012
|
-
isCurrentSessionFinal: AugmentedQuery<ApiType, () => Observable<bool>, []>;
|
|
2013
2117
|
/**
|
|
2014
2118
|
* Map from all (unlocked) "controller" accounts to the info regarding the staking.
|
|
2015
2119
|
**/
|
|
@@ -2017,13 +2121,39 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2017
2121
|
AccountId32
|
|
2018
2122
|
]>;
|
|
2019
2123
|
/**
|
|
2020
|
-
* The
|
|
2124
|
+
* The maximum nominator count before we stop allowing new validators to join.
|
|
2125
|
+
*
|
|
2126
|
+
* When this value is not set, no limits are enforced.
|
|
2021
2127
|
**/
|
|
2022
|
-
|
|
2128
|
+
maxNominatorsCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
|
|
2129
|
+
/**
|
|
2130
|
+
* The maximum validator count before we stop allowing new validators to join.
|
|
2131
|
+
*
|
|
2132
|
+
* When this value is not set, no limits are enforced.
|
|
2133
|
+
**/
|
|
2134
|
+
maxValidatorsCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
|
|
2135
|
+
/**
|
|
2136
|
+
* The minimum amount of commission that validators can set.
|
|
2137
|
+
*
|
|
2138
|
+
* If set to `0`, no limit exists.
|
|
2139
|
+
**/
|
|
2140
|
+
minCommission: AugmentedQuery<ApiType, () => Observable<Perbill>, []>;
|
|
2141
|
+
/**
|
|
2142
|
+
* The minimum active nominator stake of the last successful election.
|
|
2143
|
+
**/
|
|
2144
|
+
minimumActiveStake: AugmentedQuery<ApiType, () => Observable<u128>, []>;
|
|
2023
2145
|
/**
|
|
2024
2146
|
* Minimum number of staking participants before emergency conditions are imposed.
|
|
2025
2147
|
**/
|
|
2026
2148
|
minimumValidatorCount: AugmentedQuery<ApiType, () => Observable<u32>, []>;
|
|
2149
|
+
/**
|
|
2150
|
+
* The minimum active bond to become and maintain the role of a nominator.
|
|
2151
|
+
**/
|
|
2152
|
+
minNominatorBond: AugmentedQuery<ApiType, () => Observable<u128>, []>;
|
|
2153
|
+
/**
|
|
2154
|
+
* The minimum active bond to become and maintain the role of a validator.
|
|
2155
|
+
**/
|
|
2156
|
+
minValidatorBond: AugmentedQuery<ApiType, () => Observable<u128>, []>;
|
|
2027
2157
|
/**
|
|
2028
2158
|
* The map from nominator stash key to their nomination preferences, namely the validators that
|
|
2029
2159
|
* they wish to support.
|
|
@@ -2082,17 +2212,8 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2082
2212
|
]>;
|
|
2083
2213
|
polymeshStorageVersion: AugmentedQuery<ApiType, () => Observable<u8>, []>;
|
|
2084
2214
|
/**
|
|
2085
|
-
*
|
|
2086
|
-
* result of an offchain worker), it is immediately used. Otherwise, the on-chain election
|
|
2087
|
-
* is executed.
|
|
2088
|
-
**/
|
|
2089
|
-
queuedElected: AugmentedQuery<ApiType, () => Observable<Option<PalletStakingElectionResult>>, [
|
|
2090
|
-
]>;
|
|
2091
|
-
/**
|
|
2092
|
-
* The score of the current [`QueuedElected`].
|
|
2215
|
+
* Slashing switch for validators & Nominators.
|
|
2093
2216
|
**/
|
|
2094
|
-
queuedScore: AugmentedQuery<ApiType, () => Observable<Option<SpNposElectionsElectionScore>>, [
|
|
2095
|
-
]>;
|
|
2096
2217
|
slashingAllowedFor: AugmentedQuery<ApiType, () => Observable<PalletStakingSlashingSwitch>, [
|
|
2097
2218
|
]>;
|
|
2098
2219
|
/**
|
|
@@ -2107,16 +2228,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2107
2228
|
* The rest of the slashed value is handled by the `Slash`.
|
|
2108
2229
|
**/
|
|
2109
2230
|
slashRewardFraction: AugmentedQuery<ApiType, () => Observable<Perbill>, []>;
|
|
2110
|
-
/**
|
|
2111
|
-
* Snapshot of nominators at the beginning of the current election window. This should only
|
|
2112
|
-
* have a value when [`EraElectionStatus`] == `ElectionStatus::Open(_)`.
|
|
2113
|
-
**/
|
|
2114
|
-
snapshotNominators: AugmentedQuery<ApiType, () => Observable<Option<Vec<AccountId32>>>, []>;
|
|
2115
|
-
/**
|
|
2116
|
-
* Snapshot of validators at the beginning of the current election window. This should only
|
|
2117
|
-
* have a value when [`EraElectionStatus`] == `ElectionStatus::Open(_)`.
|
|
2118
|
-
**/
|
|
2119
|
-
snapshotValidators: AugmentedQuery<ApiType, () => Observable<Option<Vec<AccountId32>>>, []>;
|
|
2120
2231
|
/**
|
|
2121
2232
|
* Records information about the maximum slash of a stash within a slashing span,
|
|
2122
2233
|
* as well as how much reward has been paid out.
|
|
@@ -2131,8 +2242,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2131
2242
|
u32
|
|
2132
2243
|
]>;
|
|
2133
2244
|
/**
|
|
2134
|
-
* Allows flexibility in commission. Every validator has commission that should be in the
|
|
2135
|
-
* range [0, Cap].
|
|
2245
|
+
* Allows flexibility in commission. Every validator has commission that should be in the range [0, Cap].
|
|
2136
2246
|
**/
|
|
2137
2247
|
validatorCommissionCap: AugmentedQuery<ApiType, () => Observable<Perbill>, []>;
|
|
2138
2248
|
/**
|
|
@@ -2156,44 +2266,18 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2156
2266
|
AccountId32
|
|
2157
2267
|
]>;
|
|
2158
2268
|
};
|
|
2159
|
-
stateTrieMigration: {
|
|
2160
|
-
/**
|
|
2161
|
-
* The limits that are imposed on automatic migrations.
|
|
2162
|
-
*
|
|
2163
|
-
* If set to None, then no automatic migration happens.
|
|
2164
|
-
**/
|
|
2165
|
-
autoLimits: AugmentedQuery<ApiType, () => Observable<Option<PalletStateTrieMigrationMigrationLimits>>, [
|
|
2166
|
-
]>;
|
|
2167
|
-
/**
|
|
2168
|
-
* Migration progress.
|
|
2169
|
-
*
|
|
2170
|
-
* This stores the snapshot of the last migrated keys. It can be set into motion and move
|
|
2171
|
-
* forward by any of the means provided by this pallet.
|
|
2172
|
-
**/
|
|
2173
|
-
migrationProcess: AugmentedQuery<ApiType, () => Observable<PalletStateTrieMigrationMigrationTask>, [
|
|
2174
|
-
]>;
|
|
2175
|
-
/**
|
|
2176
|
-
* The maximum limits that the signed migration could use.
|
|
2177
|
-
*
|
|
2178
|
-
* If not set, no signed submission is allowed.
|
|
2179
|
-
**/
|
|
2180
|
-
signedMigrationMaxLimits: AugmentedQuery<ApiType, () => Observable<Option<PalletStateTrieMigrationMigrationLimits>>, [
|
|
2181
|
-
]>;
|
|
2182
|
-
};
|
|
2183
2269
|
statistics: {
|
|
2184
2270
|
/**
|
|
2185
|
-
*
|
|
2271
|
+
* Maps a set of [`StatType`] for each [`AssetID`].
|
|
2186
2272
|
**/
|
|
2187
|
-
activeAssetStats: AugmentedQuery<ApiType, (arg:
|
|
2188
|
-
|
|
2189
|
-
} | string | Uint8Array) => Observable<BTreeSet<PolymeshPrimitivesStatisticsStatType>>, [
|
|
2190
|
-
PolymeshPrimitivesStatisticsAssetScope
|
|
2273
|
+
activeAssetStats: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<BTreeSet<PolymeshPrimitivesStatisticsStatType>>, [
|
|
2274
|
+
PolymeshPrimitivesAssetAssetID
|
|
2191
2275
|
]>;
|
|
2192
2276
|
/**
|
|
2193
2277
|
* Asset stats.
|
|
2194
2278
|
**/
|
|
2195
2279
|
assetStats: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesStatisticsStat1stKey | {
|
|
2196
|
-
|
|
2280
|
+
assetId?: any;
|
|
2197
2281
|
statType?: any;
|
|
2198
2282
|
} | string | Uint8Array, arg2: PolymeshPrimitivesStatisticsStat2ndKey | {
|
|
2199
2283
|
NoClaimStat: any;
|
|
@@ -2204,12 +2288,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2204
2288
|
PolymeshPrimitivesStatisticsStat2ndKey
|
|
2205
2289
|
]>;
|
|
2206
2290
|
/**
|
|
2207
|
-
*
|
|
2291
|
+
* The [`AssetTransferCompliance`] for each [`AssetID`].
|
|
2208
2292
|
**/
|
|
2209
|
-
assetTransferCompliances: AugmentedQuery<ApiType, (arg:
|
|
2210
|
-
|
|
2211
|
-
} | string | Uint8Array) => Observable<PolymeshPrimitivesTransferComplianceAssetTransferCompliance>, [
|
|
2212
|
-
PolymeshPrimitivesStatisticsAssetScope
|
|
2293
|
+
assetTransferCompliances: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<PolymeshPrimitivesTransferComplianceAssetTransferCompliance>, [
|
|
2294
|
+
PolymeshPrimitivesAssetAssetID
|
|
2213
2295
|
]>;
|
|
2214
2296
|
/**
|
|
2215
2297
|
* Storage migration version.
|
|
@@ -2219,7 +2301,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2219
2301
|
* Entities exempt from a Transfer Compliance rule.
|
|
2220
2302
|
**/
|
|
2221
2303
|
transferConditionExemptEntities: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesTransferComplianceTransferConditionExemptKey | {
|
|
2222
|
-
|
|
2304
|
+
assetId?: any;
|
|
2223
2305
|
op?: any;
|
|
2224
2306
|
claimType?: any;
|
|
2225
2307
|
} | string | Uint8Array, arg2: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<bool>, [
|
|
@@ -2231,25 +2313,29 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2231
2313
|
/**
|
|
2232
2314
|
* Total fundraisers created for a token.
|
|
2233
2315
|
**/
|
|
2234
|
-
fundraiserCount: AugmentedQuery<ApiType, (arg:
|
|
2235
|
-
|
|
2316
|
+
fundraiserCount: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<u64>, [
|
|
2317
|
+
PolymeshPrimitivesAssetAssetID
|
|
2236
2318
|
]>;
|
|
2237
2319
|
/**
|
|
2238
2320
|
* Name for the Fundraiser. Only used offchain.
|
|
2239
|
-
* (
|
|
2321
|
+
* (AssetID, fundraiser_id) -> Fundraiser name
|
|
2240
2322
|
**/
|
|
2241
|
-
fundraiserNames: AugmentedQuery<ApiType, (arg1:
|
|
2242
|
-
|
|
2323
|
+
fundraiserNames: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetID | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [
|
|
2324
|
+
PolymeshPrimitivesAssetAssetID,
|
|
2243
2325
|
u64
|
|
2244
2326
|
]>;
|
|
2245
2327
|
/**
|
|
2246
2328
|
* All fundraisers that are currently running.
|
|
2247
|
-
* (
|
|
2329
|
+
* (AssetID, fundraiser_id) -> Fundraiser
|
|
2248
2330
|
**/
|
|
2249
|
-
fundraisers: AugmentedQuery<ApiType, (arg1:
|
|
2250
|
-
|
|
2331
|
+
fundraisers: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetID | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletStoFundraiser>>, [
|
|
2332
|
+
PolymeshPrimitivesAssetAssetID,
|
|
2251
2333
|
u64
|
|
2252
2334
|
]>;
|
|
2335
|
+
/**
|
|
2336
|
+
* Storage migration version.
|
|
2337
|
+
**/
|
|
2338
|
+
storageVersion: AugmentedQuery<ApiType, () => Observable<u8>, []>;
|
|
2253
2339
|
};
|
|
2254
2340
|
sudo: {
|
|
2255
2341
|
/**
|