@polymeshassociation/polymesh-types 7.6.0 → 7.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.yarn/install-state.gz +0 -0
- package/CHANGELOG.md +2 -2
- package/generated/types.d.ts +26 -4
- package/generated/types.d.ts.map +1 -1
- package/generated/types.js +25 -1
- package/generated/types.js.map +1 -1
- package/package.json +1 -1
- package/polkadot/augment-api-consts.d.ts +21 -0
- package/polkadot/augment-api-consts.d.ts.map +1 -1
- package/polkadot/augment-api-errors.d.ts +140 -4
- package/polkadot/augment-api-errors.d.ts.map +1 -1
- package/polkadot/augment-api-events.d.ts +154 -2
- package/polkadot/augment-api-events.d.ts.map +1 -1
- package/polkadot/augment-api-query.d.ts +151 -11
- package/polkadot/augment-api-query.d.ts.map +1 -1
- package/polkadot/augment-api-runtime.d.ts +10 -1
- package/polkadot/augment-api-runtime.d.ts.map +1 -1
- package/polkadot/augment-api-tx.d.ts +280 -4
- package/polkadot/augment-api-tx.d.ts.map +1 -1
- package/polkadot/lookup.d.ts +786 -364
- package/polkadot/lookup.d.ts.map +1 -1
- package/polkadot/lookup.js +829 -374
- package/polkadot/lookup.js.map +1 -1
- package/polkadot/registry.d.ts +27 -1
- package/polkadot/registry.d.ts.map +1 -1
- package/polkadot/types-lookup.d.ts +732 -389
- package/polkadot/types-lookup.d.ts.map +1 -1
|
@@ -3,7 +3,7 @@ import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/
|
|
|
3
3
|
import type { BTreeSet, Bytes, Compact, Null, Option, Struct, Text, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
4
4
|
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
|
5
5
|
import type { AccountId32, Call, H160, H256, Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime';
|
|
6
|
-
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensFungibleImbalance, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAssetAssetDetails, PalletAssetTickerRegistration, PalletAssetTickerRegistrationConfig, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletCommitteePolymeshVotes, PalletConfidentialAssetsAssetDetails, PalletConfidentialAssetsCurveTreeCurveTreeTimestamp, PalletConfidentialAssetsCurveTreeTimestampedTreeRoot, PalletConfidentialAssetsSettlementAffirmationStatus, PalletConfidentialAssetsSettlementLegAffirmParty, PalletConfidentialAssetsSettlementSettlementStatus, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, PalletCorporateActionsBallotBallotVote, PalletCorporateActionsCaId, PalletCorporateActionsCorporateAction, PalletCorporateActionsDistribution, PalletCorporateActionsTargetIdentities, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityClaim1stKey, PalletIdentityClaim2ndKey, PalletImOnlineSr25519AppSr25519Public, PalletMigrationsMigrationCursor, PalletPipsDepositInfo, PalletPipsPip, PalletPipsPipsMetadata, PalletPipsProposalState, PalletPipsSnapshotMetadata, PalletPipsSnapshottedPip, PalletPipsVote, PalletPipsVotingResult, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletRelayerSubsidy, PalletReviveDebugDebugSettings, PalletReviveEvmApiRpcTypesGenBlock, PalletReviveEvmBlockHashBlockBuilderEthereumBlockBuilderIR, PalletReviveEvmBlockHashReceiptGasInfo, PalletReviveStorageAccountInfo, PalletReviveStorageDeletionQueueManager, PalletReviveVmCodeInfo, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStoFundraiser, PalletTransactionPaymentReleases, PalletValidatorsPermissionedIdentityPrefs, PalletValidatorsSlashingSwitch, PolymeshDartBpAccountAccountStateCommitment, PolymeshDartBpAccountAccountStateNullifier, PolymeshDartBpAssetAssetKeys, PolymeshDartBpFeeFeeAccountStateCommitment, PolymeshDartBpFeeFeeAccountStateNullifier, PolymeshDartBpKeysAccountPublicKey, PolymeshDartBpKeysEncryptionPublicKey, PolymeshDartBpLegSettlementRef, PolymeshDartCurveTreeCommonCompressedInner, PolymeshDartCurveTreeCommonCompressedLeafValue, PolymeshDartCurveTreeCommonNodeLocation, PolymeshDartCurveTreeCompressedCurveTreeRoot, PolymeshPrimitivesAgentAgentGroup, PolymeshPrimitivesAssetAssetHolder, PolymeshPrimitivesAssetAssetId, PolymeshPrimitivesAssetIdentifier, PolymeshPrimitivesAssetMetadataAssetMetadataKey, PolymeshPrimitivesAssetMetadataAssetMetadataSpec, PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail, PolymeshPrimitivesAuthorization, PolymeshPrimitivesCheckpointNextCheckpoints, PolymeshPrimitivesCheckpointScheduleCheckpoints, PolymeshPrimitivesComplianceManagerAssetCompliance, PolymeshPrimitivesConditionTrustedIssuer, PolymeshPrimitivesDocument, PolymeshPrimitivesGroupInactiveMember, PolymeshPrimitivesIdentityClaim, PolymeshPrimitivesIdentityDidRecord, PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityIdPortfolioId, PolymeshPrimitivesMaybeBlock, PolymeshPrimitivesMemo, PolymeshPrimitivesMultisigProposalState, PolymeshPrimitivesMultisigProposalVoteCount, PolymeshPrimitivesNftNftCollection, PolymeshPrimitivesNftNftOwnerStatus, PolymeshPrimitivesProtocolFeeProtocolOp, PolymeshPrimitivesSecondaryKeyExtrinsicPermissions, PolymeshPrimitivesSecondaryKeyKeyRecord, PolymeshPrimitivesSecondaryKeySignatory, PolymeshPrimitivesSettlementAffirmationStatus, PolymeshPrimitivesSettlementInstruction, PolymeshPrimitivesSettlementInstructionStatus, PolymeshPrimitivesSettlementLeg, PolymeshPrimitivesSettlementLegStatus, PolymeshPrimitivesSettlementMediatorAffirmationStatus, PolymeshPrimitivesSettlementVenue, PolymeshPrimitivesStatisticsStat1stKey, PolymeshPrimitivesStatisticsStat2ndKey, PolymeshPrimitivesStatisticsStatType, PolymeshPrimitivesSubsetSubsetRestrictionAssetId, PolymeshPrimitivesSubsetSubsetRestrictionPortfolioId, PolymeshPrimitivesTicker, PolymeshPrimitivesTransferComplianceAssetTransferCompliance, PolymeshPrimitivesTransferComplianceTransferConditionExemptKey, PolymeshRuntimeDevelopRuntimeRuntimeHoldReason, PolymeshRuntimeDevelopRuntimeSessionKeys, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
|
|
6
|
+
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensFungibleImbalance, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAssetAssetDetails, PalletAssetTickerRegistration, PalletAssetTickerRegistrationConfig, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletCommitteePolymeshVotes, PalletConfidentialAssetsAssetDetails, PalletConfidentialAssetsCurveTreeCurveTreeTimestamp, PalletConfidentialAssetsCurveTreeTimestampedTreeRoot, PalletConfidentialAssetsFreezeOrigin, PalletConfidentialAssetsLegMediatorKeys, PalletConfidentialAssetsRequiredClaim, PalletConfidentialAssetsRoleKind, PalletConfidentialAssetsSettlementAffirmationStatus, PalletConfidentialAssetsSettlementLegAffirmParty, PalletConfidentialAssetsSettlementSettlementStatus, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, PalletCorporateActionsBallotBallotVote, PalletCorporateActionsCaId, PalletCorporateActionsCorporateAction, PalletCorporateActionsDistribution, PalletCorporateActionsTargetIdentities, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityClaim1stKey, PalletIdentityClaim2ndKey, PalletImOnlineSr25519AppSr25519Public, PalletMigrationsMigrationCursor, PalletPipsDepositInfo, PalletPipsPip, PalletPipsPipsMetadata, PalletPipsProposalState, PalletPipsProposer, PalletPipsSnapshotMetadata, PalletPipsSnapshottedPip, PalletPipsVote, PalletPipsVotingResult, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletRelayerSubsidy, PalletReviveDebugDebugSettings, PalletReviveEvmApiRpcTypesGenBlock, PalletReviveEvmBlockHashBlockBuilderEthereumBlockBuilderIR, PalletReviveEvmBlockHashReceiptGasInfo, PalletReviveStorageAccountInfo, PalletReviveStorageDeletionQueueManager, PalletReviveVmCodeInfo, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStoFundraiser, PalletTransactionPaymentReleases, PalletValidatorsPermissionedIdentityPrefs, PalletValidatorsSlashingSwitch, PalletWorkerModulesProtocolMetadata, PalletWorkerModulesProtocolModuleConfig, PolymeshDartBpAccountAccountStateCommitment, PolymeshDartBpAccountAccountStateNullifier, PolymeshDartBpAssetAssetKeys, PolymeshDartBpFeeFeeAccountStateCommitment, PolymeshDartBpFeeFeeAccountStateNullifier, PolymeshDartBpKeysAccountPublicKey, PolymeshDartBpKeysEncryptionPublicKey, PolymeshDartBpLegSettlementRef, PolymeshDartCurveTreeCommonCompressedInner, PolymeshDartCurveTreeCommonCompressedLeafValue, PolymeshDartCurveTreeCommonNodeLocation, PolymeshDartCurveTreeCompressedCurveTreeRoot, PolymeshPrimitivesAgentAgentGroup, PolymeshPrimitivesAssetAssetHolder, PolymeshPrimitivesAssetAssetId, PolymeshPrimitivesAssetIdentifier, PolymeshPrimitivesAssetMetadataAssetMetadataKey, PolymeshPrimitivesAssetMetadataAssetMetadataSpec, PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail, PolymeshPrimitivesAuthorization, PolymeshPrimitivesCheckpointNextCheckpoints, PolymeshPrimitivesCheckpointScheduleCheckpoints, PolymeshPrimitivesComplianceManagerAssetCompliance, PolymeshPrimitivesConditionTrustedIssuer, PolymeshPrimitivesDocument, PolymeshPrimitivesGroupInactiveMember, PolymeshPrimitivesIdentityClaim, PolymeshPrimitivesIdentityDidRecord, PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityIdPortfolioId, PolymeshPrimitivesMaybeBlock, PolymeshPrimitivesMemo, PolymeshPrimitivesMultisigProposalState, PolymeshPrimitivesMultisigProposalVoteCount, PolymeshPrimitivesNftNftCollection, PolymeshPrimitivesNftNftOwnerStatus, PolymeshPrimitivesProtocolFeeProtocolOp, PolymeshPrimitivesSecondaryKeyExtrinsicPermissions, PolymeshPrimitivesSecondaryKeyKeyRecord, PolymeshPrimitivesSecondaryKeySignatory, PolymeshPrimitivesSettlementAffirmationStatus, PolymeshPrimitivesSettlementInstruction, PolymeshPrimitivesSettlementInstructionStatus, PolymeshPrimitivesSettlementLeg, PolymeshPrimitivesSettlementLegStatus, PolymeshPrimitivesSettlementMediatorAffirmationStatus, PolymeshPrimitivesSettlementVenue, PolymeshPrimitivesStatisticsStat1stKey, PolymeshPrimitivesStatisticsStat2ndKey, PolymeshPrimitivesStatisticsStatType, PolymeshPrimitivesSubsetSubsetRestrictionAssetId, PolymeshPrimitivesSubsetSubsetRestrictionPortfolioId, PolymeshPrimitivesTicker, PolymeshPrimitivesTransferComplianceAssetTransferCompliance, PolymeshPrimitivesTransferComplianceTransferConditionExemptKey, PolymeshRuntimeDevelopRuntimeRuntimeHoldReason, PolymeshRuntimeDevelopRuntimeSessionKeys, PolymeshWorkerCommonProtocol, PolymeshWorkerCommonProtocolVersion, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
|
|
7
7
|
import type { Observable } from '@polkadot/types/types';
|
|
8
8
|
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
|
9
9
|
export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
|
|
@@ -804,6 +804,12 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
804
804
|
} & Struct>>, [
|
|
805
805
|
u32
|
|
806
806
|
]>;
|
|
807
|
+
/**
|
|
808
|
+
* Who froze the asset; no entry means unfrozen.
|
|
809
|
+
**/
|
|
810
|
+
assetFrozen: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletConfidentialAssetsFreezeOrigin>>, [
|
|
811
|
+
u32
|
|
812
|
+
]>;
|
|
807
813
|
/**
|
|
808
814
|
* Inner node storage for Confidential assets curve tree.
|
|
809
815
|
**/
|
|
@@ -828,12 +834,20 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
828
834
|
* Cache DART parameters.
|
|
829
835
|
**/
|
|
830
836
|
cachedDartParameters: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []>;
|
|
837
|
+
/**
|
|
838
|
+
* The DART protocol version that `CachedDartParameters` was generated with.
|
|
839
|
+
*
|
|
840
|
+
* Used to detect when the cached parameters are from an older DART protocol version and need
|
|
841
|
+
* to be regenerated.
|
|
842
|
+
**/
|
|
843
|
+
cachedDartParametersVersion: AugmentedQuery<ApiType, () => Observable<Option<PolymeshWorkerCommonProtocolVersion>>, [
|
|
844
|
+
]>;
|
|
831
845
|
/**
|
|
832
846
|
* Counter for the related counted storage map
|
|
833
847
|
**/
|
|
834
848
|
counterForAssetLeaves: AugmentedQuery<ApiType, () => Observable<u32>, []>;
|
|
835
849
|
/**
|
|
836
|
-
* The WorkerSessionId for the current block.
|
|
850
|
+
* The WorkerSessionId for the current block (started lazily, removed in `on_finalize`).
|
|
837
851
|
**/
|
|
838
852
|
currentWorkerSessionId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
|
|
839
853
|
/**
|
|
@@ -926,14 +940,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
926
940
|
feeAccountLeaves: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PolymeshDartBpFeeFeeAccountStateCommitment>>, [
|
|
927
941
|
u64
|
|
928
942
|
]>;
|
|
929
|
-
/**
|
|
930
|
-
* Confidential fee account egistrations.
|
|
931
|
-
*
|
|
932
|
-
* The chain must prevent the same account from registering the multiple times.
|
|
933
|
-
**/
|
|
934
|
-
feeAccountRegistrations: AugmentedQuery<ApiType, (arg: PolymeshDartBpKeysAccountPublicKey | string | Uint8Array) => Observable<bool>, [
|
|
935
|
-
PolymeshDartBpKeysAccountPublicKey
|
|
936
|
-
]>;
|
|
937
943
|
/**
|
|
938
944
|
* Nullifiers for Confidential fee account state commitments.
|
|
939
945
|
*
|
|
@@ -975,6 +981,13 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
975
981
|
u8,
|
|
976
982
|
PalletConfidentialAssetsSettlementLegAffirmParty
|
|
977
983
|
]>;
|
|
984
|
+
/**
|
|
985
|
+
* For settlement legs with revealed asset IDs, this keeps track of the mediators' affirmation keys.
|
|
986
|
+
**/
|
|
987
|
+
legMediators: AugmentedQuery<ApiType, (arg1: PolymeshDartBpLegSettlementRef | string | Uint8Array, arg2: u8 | AnyNumber | Uint8Array) => Observable<Option<PalletConfidentialAssetsLegMediatorKeys>>, [
|
|
988
|
+
PolymeshDartBpLegSettlementRef,
|
|
989
|
+
u8
|
|
990
|
+
]>;
|
|
978
991
|
/**
|
|
979
992
|
* A Confidential assets token name.
|
|
980
993
|
**/
|
|
@@ -998,12 +1011,25 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
998
1011
|
**/
|
|
999
1012
|
nextFeeAccountLeafIndex: AugmentedQuery<ApiType, () => Observable<u64>, []>;
|
|
1000
1013
|
/**
|
|
1001
|
-
*
|
|
1014
|
+
* Client-facing index of the confidential assets owned by each identity.
|
|
1002
1015
|
**/
|
|
1003
1016
|
ownerAssets: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityId | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [
|
|
1004
1017
|
PolymeshPrimitivesIdentityId,
|
|
1005
1018
|
u32
|
|
1006
1019
|
]>;
|
|
1020
|
+
/**
|
|
1021
|
+
* Marks a relayer submission while its transaction extension is executing.
|
|
1022
|
+
**/
|
|
1023
|
+
relayerSubmitExtensionMarker: AugmentedQuery<ApiType, () => Observable<Option<Null>>, []>;
|
|
1024
|
+
/**
|
|
1025
|
+
* Required-claim spec for each gated role.
|
|
1026
|
+
*
|
|
1027
|
+
* `None` means the role is permissionless (preserves dev behavior).
|
|
1028
|
+
* Mediators fall back to the auditor spec when no mediator spec is set.
|
|
1029
|
+
**/
|
|
1030
|
+
requiredClaims: AugmentedQuery<ApiType, (arg: PalletConfidentialAssetsRoleKind | 'AssetCreator' | 'Auditor' | 'Mediator' | number | Uint8Array) => Observable<Option<PalletConfidentialAssetsRequiredClaim>>, [
|
|
1031
|
+
PalletConfidentialAssetsRoleKind
|
|
1032
|
+
]>;
|
|
1007
1033
|
/**
|
|
1008
1034
|
* The number of legs in each settlement.
|
|
1009
1035
|
**/
|
|
@@ -1046,6 +1072,12 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1046
1072
|
settlementState: AugmentedQuery<ApiType, (arg: PolymeshDartBpLegSettlementRef | string | Uint8Array) => Observable<Option<PalletConfidentialAssetsSettlementSettlementStatus>>, [
|
|
1047
1073
|
PolymeshDartBpLegSettlementRef
|
|
1048
1074
|
]>;
|
|
1075
|
+
/**
|
|
1076
|
+
* Recipient encryption keys a shared encryption key has been distributed to.
|
|
1077
|
+
**/
|
|
1078
|
+
sharedKeyRecipients: AugmentedQuery<ApiType, (arg: PolymeshDartBpKeysEncryptionPublicKey | string | Uint8Array) => Observable<BTreeSet<PolymeshDartBpKeysEncryptionPublicKey>>, [
|
|
1079
|
+
PolymeshDartBpKeysEncryptionPublicKey
|
|
1080
|
+
]>;
|
|
1049
1081
|
/**
|
|
1050
1082
|
* A Confidential assets token symbol.
|
|
1051
1083
|
**/
|
|
@@ -1334,6 +1366,15 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1334
1366
|
]>;
|
|
1335
1367
|
};
|
|
1336
1368
|
externalAgents: {
|
|
1369
|
+
/**
|
|
1370
|
+
* For each asset and removed agent, the value of `CurrentAuthId` at the time of removal.
|
|
1371
|
+
*
|
|
1372
|
+
* A `BecomeAgent` authorization with an ID at or below this value can't be accepted.
|
|
1373
|
+
**/
|
|
1374
|
+
agentAuthCutoff: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetId | string | Uint8Array, arg2: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<u64>, [
|
|
1375
|
+
PolymeshPrimitivesAssetAssetId,
|
|
1376
|
+
PolymeshPrimitivesIdentityId
|
|
1377
|
+
]>;
|
|
1337
1378
|
/**
|
|
1338
1379
|
* Maps an agent (`IdentityId`) to all assets they belong to, if any.
|
|
1339
1380
|
**/
|
|
@@ -1806,6 +1847,23 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1806
1847
|
currentNFTId: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u64>>, [
|
|
1807
1848
|
u64
|
|
1808
1849
|
]>;
|
|
1850
|
+
/**
|
|
1851
|
+
* NFTs an agent has frozen for a holder, keyed by `(asset_id, holder, nft_id)`.
|
|
1852
|
+
*
|
|
1853
|
+
* Mirrors the ERC-7943 per-account, per-token freeze. A frozen NFT can't leave `holder`
|
|
1854
|
+
* except through a controller transfer, which unfreezes it first. A freeze can be set for a
|
|
1855
|
+
* holder that doesn't hold the NFT yet, and applies if the NFT arrives. `false` is never
|
|
1856
|
+
* stored; the entry is removed instead.
|
|
1857
|
+
**/
|
|
1858
|
+
frozenNFT: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetId | string | Uint8Array, arg2: PolymeshPrimitivesAssetAssetHolder | {
|
|
1859
|
+
Portfolio: any;
|
|
1860
|
+
} | {
|
|
1861
|
+
Account: any;
|
|
1862
|
+
} | string | Uint8Array, arg3: u64 | AnyNumber | Uint8Array) => Observable<bool>, [
|
|
1863
|
+
PolymeshPrimitivesAssetAssetId,
|
|
1864
|
+
PolymeshPrimitivesAssetAssetHolder,
|
|
1865
|
+
u64
|
|
1866
|
+
]>;
|
|
1809
1867
|
/**
|
|
1810
1868
|
* The metadata value of an nft given its collection id, token id and metadata key.
|
|
1811
1869
|
**/
|
|
@@ -1986,6 +2044,12 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1986
2044
|
proposalMetadata: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletPipsPipsMetadata>>, [
|
|
1987
2045
|
u32
|
|
1988
2046
|
]>;
|
|
2047
|
+
/**
|
|
2048
|
+
* The [`Proposer`] for each proposal ([`PipId`]).
|
|
2049
|
+
**/
|
|
2050
|
+
proposalProposers: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletPipsProposer>>, [
|
|
2051
|
+
u32
|
|
2052
|
+
]>;
|
|
1989
2053
|
/**
|
|
1990
2054
|
* The [`VotingResult`] for each proposal ([`PipId`]).
|
|
1991
2055
|
**/
|
|
@@ -2275,6 +2339,13 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2275
2339
|
AccountId32,
|
|
2276
2340
|
AccountId32
|
|
2277
2341
|
]>;
|
|
2342
|
+
/**
|
|
2343
|
+
* `relay_tx` reentry guard.
|
|
2344
|
+
*
|
|
2345
|
+
* Set while a relayed call is being dispatched, so that nested `relay_tx` calls are
|
|
2346
|
+
* rejected regardless of how the inner call is dispatched (e.g. through a multisig proposal).
|
|
2347
|
+
**/
|
|
2348
|
+
relayReentry: AugmentedQuery<ApiType, () => Observable<bool>, []>;
|
|
2278
2349
|
/**
|
|
2279
2350
|
* Nonce for `relay_tx`.
|
|
2280
2351
|
**/
|
|
@@ -3325,6 +3396,13 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3325
3396
|
* Current payout era index.
|
|
3326
3397
|
**/
|
|
3327
3398
|
currentPayoutEra: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
|
|
3399
|
+
/**
|
|
3400
|
+
* Stash accounts of an identity that are currently validating.
|
|
3401
|
+
**/
|
|
3402
|
+
identityValidatorStashes: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityId | string | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<Null>>, [
|
|
3403
|
+
PolymeshPrimitivesIdentityId,
|
|
3404
|
+
AccountId32
|
|
3405
|
+
]>;
|
|
3328
3406
|
/**
|
|
3329
3407
|
* Validators that are awaiting payout for a given era.
|
|
3330
3408
|
**/
|
|
@@ -3347,6 +3425,68 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3347
3425
|
**/
|
|
3348
3426
|
validatorCommissionCap: AugmentedQuery<ApiType, () => Observable<Perbill>, []>;
|
|
3349
3427
|
};
|
|
3428
|
+
workerModules: {
|
|
3429
|
+
/**
|
|
3430
|
+
* Protocol metadata storage item, which maps ProtocolId => ProtocolMetadata.
|
|
3431
|
+
**/
|
|
3432
|
+
metadata: AugmentedQuery<ApiType, (arg: u16 | AnyNumber | Uint8Array) => Observable<Option<PalletWorkerModulesProtocolMetadata>>, [
|
|
3433
|
+
u16
|
|
3434
|
+
]>;
|
|
3435
|
+
/**
|
|
3436
|
+
* Protocol module code storage item, which double maps (Protocol, BackendCodeHash) => Vec<u8>.
|
|
3437
|
+
**/
|
|
3438
|
+
protocolCode: AugmentedQuery<ApiType, (arg1: PolymeshWorkerCommonProtocol | {
|
|
3439
|
+
id?: any;
|
|
3440
|
+
version?: any;
|
|
3441
|
+
} | string | Uint8Array, arg2: U8aFixed | string | Uint8Array) => Observable<Option<Bytes>>, [
|
|
3442
|
+
PolymeshWorkerCommonProtocol,
|
|
3443
|
+
U8aFixed
|
|
3444
|
+
]>;
|
|
3445
|
+
/**
|
|
3446
|
+
* Protocol config storage item, which double maps (Protocol, ProtocolModuleConfigHash) => ProtocolModuleConfig.
|
|
3447
|
+
**/
|
|
3448
|
+
protocolConfig: AugmentedQuery<ApiType, (arg1: PolymeshWorkerCommonProtocol | {
|
|
3449
|
+
id?: any;
|
|
3450
|
+
version?: any;
|
|
3451
|
+
} | string | Uint8Array, arg2: U8aFixed | string | Uint8Array) => Observable<Option<PalletWorkerModulesProtocolModuleConfig>>, [
|
|
3452
|
+
PolymeshWorkerCommonProtocol,
|
|
3453
|
+
U8aFixed
|
|
3454
|
+
]>;
|
|
3455
|
+
/**
|
|
3456
|
+
* Protocol config hash storage item, which maps Protocol => ProtocolModuleConfigHash.
|
|
3457
|
+
**/
|
|
3458
|
+
protocolConfigHash: AugmentedQuery<ApiType, (arg: PolymeshWorkerCommonProtocol | {
|
|
3459
|
+
id?: any;
|
|
3460
|
+
version?: any;
|
|
3461
|
+
} | string | Uint8Array) => Observable<Option<U8aFixed>>, [
|
|
3462
|
+
PolymeshWorkerCommonProtocol
|
|
3463
|
+
]>;
|
|
3464
|
+
/**
|
|
3465
|
+
* Protocol context storage item, which double maps (Protocol, BackendContextHash) => Vec<u8>.
|
|
3466
|
+
**/
|
|
3467
|
+
protocolContext: AugmentedQuery<ApiType, (arg1: PolymeshWorkerCommonProtocol | {
|
|
3468
|
+
id?: any;
|
|
3469
|
+
version?: any;
|
|
3470
|
+
} | string | Uint8Array, arg2: U8aFixed | string | Uint8Array) => Observable<Option<Bytes>>, [
|
|
3471
|
+
PolymeshWorkerCommonProtocol,
|
|
3472
|
+
U8aFixed
|
|
3473
|
+
]>;
|
|
3474
|
+
};
|
|
3475
|
+
workerTesting: {
|
|
3476
|
+
/**
|
|
3477
|
+
* The current testing protocol version.
|
|
3478
|
+
**/
|
|
3479
|
+
currentProtocolVersion: AugmentedQuery<ApiType, () => Observable<Option<PolymeshWorkerCommonProtocol>>, [
|
|
3480
|
+
]>;
|
|
3481
|
+
/**
|
|
3482
|
+
* The WorkerSessionId for the current block.
|
|
3483
|
+
**/
|
|
3484
|
+
currentWorkerSessionId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
|
|
3485
|
+
/**
|
|
3486
|
+
* Enable work session per block. This is used for testing purpose only.
|
|
3487
|
+
**/
|
|
3488
|
+
enableWorkSession: AugmentedQuery<ApiType, () => Observable<bool>, []>;
|
|
3489
|
+
};
|
|
3350
3490
|
}
|
|
3351
3491
|
}
|
|
3352
3492
|
//# sourceMappingURL=augment-api-query.d.ts.map
|