@polymeshassociation/polymesh-types 7.7.0 → 7.9.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.
@@ -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, 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, 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>;
@@ -709,17 +709,17 @@ declare module '@polkadot/api-base/types/storage' {
709
709
  **/
710
710
  accountCurveTreeLastPruned: AugmentedQuery<ApiType, () => Observable<u32>, []>;
711
711
  /**
712
- * The block number of the last account curve tree root update.
712
+ * The timestamp of the last account curve tree root update.
713
713
  *
714
- * This is used to track the last time the account curve tree was updated.
714
+ * Used to re-stamp inactive curve trees at `MinCurveTreeRootUpdateInterval`.
715
715
  **/
716
716
  accountCurveTreeLastUpdate: AugmentedQuery<ApiType, () => Observable<PalletConfidentialAssetsCurveTreeCurveTreeTimestamp>, [
717
717
  ]>;
718
718
  /**
719
- * CurveTree Roots for Confidential accounts curve tree.
719
+ * Historical Confidential account curve tree roots, keyed by block number.
720
720
  *
721
- * At the end of each block we will store the root of the accounts curve tree.
722
- * The map key is the block number and the value is the root of the accounts curve tree.
721
+ * Proofs select a root by block number; roots are accepted only while younger than
722
+ * `MaxAccountCurveTreeRootAge`. Old roots are pruned incrementally in `on_initialize`.
723
723
  **/
724
724
  accountCurveTreeRoots: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<{
725
725
  readonly root: PolymeshDartCurveTreeCompressedCurveTreeRoot;
@@ -728,7 +728,7 @@ declare module '@polkadot/api-base/types/storage' {
728
728
  u32
729
729
  ]>;
730
730
  /**
731
- * Confidential account to identity mapping.
731
+ * Confidential asset account to identity mapping.
732
732
  **/
733
733
  accountDid: AugmentedQuery<ApiType, (arg: PolymeshDartBpKeysAccountPublicKey | string | Uint8Array) => Observable<Option<PolymeshPrimitivesIdentityId>>, [
734
734
  PolymeshDartBpKeysAccountPublicKey
@@ -760,9 +760,10 @@ declare module '@polkadot/api-base/types/storage' {
760
760
  u64
761
761
  ]>;
762
762
  /**
763
- * Nullifiers for Confidential account state commitments.
763
+ * Nullifiers consumed by Confidential account state updates.
764
764
  *
765
- * This is used to ensure that the same account state commitment cannot be used twice.
765
+ * This prevents replay of a state-consuming proof (mint, affirmation, counter update,
766
+ * claim, or revert) whose account state has already been spent.
766
767
  **/
767
768
  accountStateCommitmentNullifiers: AugmentedQuery<ApiType, (arg: PolymeshDartBpAccountAccountStateNullifier | string | Uint8Array) => Observable<Option<Null>>, [
768
769
  PolymeshDartBpAccountAccountStateNullifier
@@ -786,17 +787,17 @@ declare module '@polkadot/api-base/types/storage' {
786
787
  **/
787
788
  assetCurveTreeLastPruned: AugmentedQuery<ApiType, () => Observable<u32>, []>;
788
789
  /**
789
- * The block number of the last asset curve tree root update.
790
+ * The timestamp of the last asset curve tree root update.
790
791
  *
791
- * This is used to track the last time the asset curve tree was updated.
792
+ * Used to re-stamp inactive curve trees at `MinCurveTreeRootUpdateInterval`.
792
793
  **/
793
794
  assetCurveTreeLastUpdate: AugmentedQuery<ApiType, () => Observable<PalletConfidentialAssetsCurveTreeCurveTreeTimestamp>, [
794
795
  ]>;
795
796
  /**
796
- * CurveTree Roots for Confidential assets curve tree.
797
+ * Historical Confidential asset curve tree roots, keyed by block number.
797
798
  *
798
- * At the end of each block we will store the root of the assets curve tree.
799
- * The map key is the block number and the value is the root of the assets curve tree.
799
+ * Proofs select a root by block number; roots are accepted only while younger than
800
+ * `MaxAssetCurveTreeRootAge`. Old roots are pruned incrementally in `on_initialize`.
800
801
  **/
801
802
  assetCurveTreeRoots: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<{
802
803
  readonly root: PolymeshDartCurveTreeCompressedCurveTreeRoot;
@@ -804,6 +805,12 @@ declare module '@polkadot/api-base/types/storage' {
804
805
  } & Struct>>, [
805
806
  u32
806
807
  ]>;
808
+ /**
809
+ * Who froze the asset; no entry means unfrozen.
810
+ **/
811
+ assetFrozen: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletConfidentialAssetsFreezeOrigin>>, [
812
+ u32
813
+ ]>;
807
814
  /**
808
815
  * Inner node storage for Confidential assets curve tree.
809
816
  **/
@@ -825,15 +832,26 @@ declare module '@polkadot/api-base/types/storage' {
825
832
  u64
826
833
  ]>;
827
834
  /**
828
- * Cache DART parameters.
835
+ * Cached DART parameters used by in-runtime proof verification.
836
+ *
837
+ * Regenerated on runtime upgrade when the cached protocol version is stale.
829
838
  **/
830
839
  cachedDartParameters: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []>;
840
+ /**
841
+ * The DART protocol version that `CachedDartParameters` was generated with.
842
+ *
843
+ * Used to detect when the cached parameters are from an older DART protocol version and need
844
+ * to be regenerated.
845
+ **/
846
+ cachedDartParametersVersion: AugmentedQuery<ApiType, () => Observable<Option<PolymeshWorkerCommonProtocolVersion>>, [
847
+ ]>;
831
848
  /**
832
849
  * Counter for the related counted storage map
833
850
  **/
834
851
  counterForAssetLeaves: AugmentedQuery<ApiType, () => Observable<u32>, []>;
835
852
  /**
836
- * The WorkerSessionId for the current block.
853
+ * The WorkerSessionId for the current block, started lazily on first use and cleared in
854
+ * `on_finalize`.
837
855
  **/
838
856
  currentWorkerSessionId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
839
857
  /**
@@ -849,7 +867,7 @@ declare module '@polkadot/api-base/types/storage' {
849
867
  u32
850
868
  ]>;
851
869
  /**
852
- * Mapping of identity to their Confidential accounts.
870
+ * Mapping of identity to their Confidential asset accounts.
853
871
  **/
854
872
  didAccounts: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityId | string | Uint8Array, arg2: PolymeshDartBpKeysAccountPublicKey | string | Uint8Array) => Observable<Option<Null>>, [
855
873
  PolymeshPrimitivesIdentityId,
@@ -864,7 +882,7 @@ declare module '@polkadot/api-base/types/storage' {
864
882
  /**
865
883
  * Encryption key to identity mapping.
866
884
  *
867
- * This is used for the auditor and mediator encryption keys.
885
+ * Used for Confidential account encryption keys and for auditor/mediator/shared keys.
868
886
  **/
869
887
  encryptionKeyDid: AugmentedQuery<ApiType, (arg: PolymeshDartBpKeysEncryptionPublicKey | string | Uint8Array) => Observable<Option<PolymeshPrimitivesIdentityId>>, [
870
888
  PolymeshDartBpKeysEncryptionPublicKey
@@ -885,17 +903,17 @@ declare module '@polkadot/api-base/types/storage' {
885
903
  **/
886
904
  feeAccountCurveTreeLastPruned: AugmentedQuery<ApiType, () => Observable<u32>, []>;
887
905
  /**
888
- * The block number of the last fee account curve tree root update.
906
+ * The timestamp of the last fee account curve tree root update.
889
907
  *
890
- * This is used to track the last time the fee account curve tree was updated.
908
+ * Used to re-stamp inactive curve trees at `MinCurveTreeRootUpdateInterval`.
891
909
  **/
892
910
  feeAccountCurveTreeLastUpdate: AugmentedQuery<ApiType, () => Observable<PalletConfidentialAssetsCurveTreeCurveTreeTimestamp>, [
893
911
  ]>;
894
912
  /**
895
- * CurveTree Roots for Confidential fee accounts curve tree.
913
+ * Historical Confidential fee account curve tree roots, keyed by block number.
896
914
  *
897
- * At the end of each block we will store the root of the fee accounts curve tree.
898
- * The map key is the block number and the value is the root of the fee accounts curve tree.
915
+ * Proofs select a root by block number; roots are accepted only while younger than
916
+ * `MaxFeeAccountCurveTreeRootAge`. Old roots are pruned incrementally in `on_initialize`.
899
917
  **/
900
918
  feeAccountCurveTreeRoots: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletConfidentialAssetsCurveTreeTimestampedTreeRoot>>, [
901
919
  u32
@@ -927,17 +945,10 @@ declare module '@polkadot/api-base/types/storage' {
927
945
  u64
928
946
  ]>;
929
947
  /**
930
- * Confidential fee account egistrations.
948
+ * Nullifiers consumed by Confidential fee account state updates.
931
949
  *
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
- /**
938
- * Nullifiers for Confidential fee account state commitments.
939
- *
940
- * This is used to ensure that the same fee account state commitment cannot be used twice.
950
+ * This prevents replay of a fee-account state update or fee payment whose committed state
951
+ * has already been spent.
941
952
  **/
942
953
  feeAccountStateCommitmentNullifiers: AugmentedQuery<ApiType, (arg: PolymeshDartBpFeeFeeAccountStateNullifier | string | Uint8Array) => Observable<Option<Null>>, [
943
954
  PolymeshDartBpFeeFeeAccountStateNullifier
@@ -975,6 +986,13 @@ declare module '@polkadot/api-base/types/storage' {
975
986
  u8,
976
987
  PalletConfidentialAssetsSettlementLegAffirmParty
977
988
  ]>;
989
+ /**
990
+ * For settlement legs with revealed asset IDs, this keeps track of the mediators' affirmation keys.
991
+ **/
992
+ legMediators: AugmentedQuery<ApiType, (arg1: PolymeshDartBpLegSettlementRef | string | Uint8Array, arg2: u8 | AnyNumber | Uint8Array) => Observable<Option<PalletConfidentialAssetsLegMediatorKeys>>, [
993
+ PolymeshDartBpLegSettlementRef,
994
+ u8
995
+ ]>;
978
996
  /**
979
997
  * A Confidential assets token name.
980
998
  **/
@@ -998,30 +1016,46 @@ declare module '@polkadot/api-base/types/storage' {
998
1016
  **/
999
1017
  nextFeeAccountLeafIndex: AugmentedQuery<ApiType, () => Observable<u64>, []>;
1000
1018
  /**
1001
- * Mapping of asset owner to their assets.
1019
+ * Client-facing index of the confidential assets owned by each identity.
1002
1020
  **/
1003
1021
  ownerAssets: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityId | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [
1004
1022
  PolymeshPrimitivesIdentityId,
1005
1023
  u32
1006
1024
  ]>;
1007
1025
  /**
1008
- * The number of legs in each settlement.
1026
+ * Marks a relayer submission while its transaction extension is executing.
1027
+ *
1028
+ * Set by `CheckRelayerSubmitBatchedProofs::prepare` and cleared in `post_dispatch`. Dispatch
1029
+ * requires this marker, which keeps the fee-checked relayer call from being invoked through
1030
+ * another call path (for example nested inside `utility.batch`).
1031
+ **/
1032
+ relayerSubmitExtensionMarker: AugmentedQuery<ApiType, () => Observable<Option<Null>>, []>;
1033
+ /**
1034
+ * Required-claim spec for each gated role.
1035
+ *
1036
+ * `None` means the role is permissionless (preserves dev behavior).
1037
+ * Mediators fall back to the auditor spec when no mediator spec is set.
1038
+ **/
1039
+ requiredClaims: AugmentedQuery<ApiType, (arg: PalletConfidentialAssetsRoleKind | 'AssetCreator' | 'Auditor' | 'Mediator' | number | Uint8Array) => Observable<Option<PalletConfidentialAssetsRequiredClaim>>, [
1040
+ PalletConfidentialAssetsRoleKind
1041
+ ]>;
1042
+ /**
1043
+ * The number of legs in each settlement, keyed by settlement reference.
1009
1044
  **/
1010
1045
  settlementLegCount: AugmentedQuery<ApiType, (arg: PolymeshDartBpLegSettlementRef | string | Uint8Array) => Observable<Option<Compact<u32>>>, [
1011
1046
  PolymeshDartBpLegSettlementRef
1012
1047
  ]>;
1013
1048
  /**
1014
- * The settlement legs.
1049
+ * The encrypted settlement legs.
1015
1050
  *
1016
- * This is a double map where the first key is the settlement ID and the second key is the leg ID.
1017
- * The value is the DartSettlementLeg.
1051
+ * This is a double map keyed by settlement reference and leg ID.
1018
1052
  **/
1019
1053
  settlementLegs: AugmentedQuery<ApiType, (arg1: PolymeshDartBpLegSettlementRef | string | Uint8Array, arg2: u8 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [
1020
1054
  PolymeshDartBpLegSettlementRef,
1021
1055
  u8
1022
1056
  ]>;
1023
1057
  /**
1024
- * The settlement memo.
1058
+ * The settlement memo, keyed by settlement reference.
1025
1059
  **/
1026
1060
  settlementMemo: AugmentedQuery<ApiType, (arg: PolymeshDartBpLegSettlementRef | string | Uint8Array) => Observable<Option<Bytes>>, [
1027
1061
  PolymeshDartBpLegSettlementRef
@@ -1041,11 +1075,17 @@ declare module '@polkadot/api-base/types/storage' {
1041
1075
  PolymeshDartBpLegSettlementRef
1042
1076
  ]>;
1043
1077
  /**
1044
- * The settlement status.
1078
+ * The settlement status, keyed by settlement reference.
1045
1079
  **/
1046
1080
  settlementState: AugmentedQuery<ApiType, (arg: PolymeshDartBpLegSettlementRef | string | Uint8Array) => Observable<Option<PalletConfidentialAssetsSettlementSettlementStatus>>, [
1047
1081
  PolymeshDartBpLegSettlementRef
1048
1082
  ]>;
1083
+ /**
1084
+ * Recipient encryption keys a shared encryption key has been distributed to.
1085
+ **/
1086
+ sharedKeyRecipients: AugmentedQuery<ApiType, (arg: PolymeshDartBpKeysEncryptionPublicKey | string | Uint8Array) => Observable<BTreeSet<PolymeshDartBpKeysEncryptionPublicKey>>, [
1087
+ PolymeshDartBpKeysEncryptionPublicKey
1088
+ ]>;
1049
1089
  /**
1050
1090
  * A Confidential assets token symbol.
1051
1091
  **/
@@ -1334,6 +1374,15 @@ declare module '@polkadot/api-base/types/storage' {
1334
1374
  ]>;
1335
1375
  };
1336
1376
  externalAgents: {
1377
+ /**
1378
+ * For each asset and removed agent, the value of `CurrentAuthId` at the time of removal.
1379
+ *
1380
+ * A `BecomeAgent` authorization with an ID at or below this value can't be accepted.
1381
+ **/
1382
+ agentAuthCutoff: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetId | string | Uint8Array, arg2: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<u64>, [
1383
+ PolymeshPrimitivesAssetAssetId,
1384
+ PolymeshPrimitivesIdentityId
1385
+ ]>;
1337
1386
  /**
1338
1387
  * Maps an agent (`IdentityId`) to all assets they belong to, if any.
1339
1388
  **/
@@ -1806,6 +1855,23 @@ declare module '@polkadot/api-base/types/storage' {
1806
1855
  currentNFTId: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u64>>, [
1807
1856
  u64
1808
1857
  ]>;
1858
+ /**
1859
+ * NFTs an agent has frozen for a holder, keyed by `(asset_id, holder, nft_id)`.
1860
+ *
1861
+ * Mirrors the ERC-7943 per-account, per-token freeze. A frozen NFT can't leave `holder`
1862
+ * except through a controller transfer, which unfreezes it first. A freeze can be set for a
1863
+ * holder that doesn't hold the NFT yet, and applies if the NFT arrives. `false` is never
1864
+ * stored; the entry is removed instead.
1865
+ **/
1866
+ frozenNFT: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetId | string | Uint8Array, arg2: PolymeshPrimitivesAssetAssetHolder | {
1867
+ Portfolio: any;
1868
+ } | {
1869
+ Account: any;
1870
+ } | string | Uint8Array, arg3: u64 | AnyNumber | Uint8Array) => Observable<bool>, [
1871
+ PolymeshPrimitivesAssetAssetId,
1872
+ PolymeshPrimitivesAssetAssetHolder,
1873
+ u64
1874
+ ]>;
1809
1875
  /**
1810
1876
  * The metadata value of an nft given its collection id, token id and metadata key.
1811
1877
  **/
@@ -3338,6 +3404,13 @@ declare module '@polkadot/api-base/types/storage' {
3338
3404
  * Current payout era index.
3339
3405
  **/
3340
3406
  currentPayoutEra: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
3407
+ /**
3408
+ * Stash accounts of an identity that are currently validating.
3409
+ **/
3410
+ identityValidatorStashes: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityId | string | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<Null>>, [
3411
+ PolymeshPrimitivesIdentityId,
3412
+ AccountId32
3413
+ ]>;
3341
3414
  /**
3342
3415
  * Validators that are awaiting payout for a given era.
3343
3416
  **/
@@ -3360,6 +3433,68 @@ declare module '@polkadot/api-base/types/storage' {
3360
3433
  **/
3361
3434
  validatorCommissionCap: AugmentedQuery<ApiType, () => Observable<Perbill>, []>;
3362
3435
  };
3436
+ workerModules: {
3437
+ /**
3438
+ * Protocol metadata storage item, which maps ProtocolId => ProtocolMetadata.
3439
+ **/
3440
+ metadata: AugmentedQuery<ApiType, (arg: u16 | AnyNumber | Uint8Array) => Observable<Option<PalletWorkerModulesProtocolMetadata>>, [
3441
+ u16
3442
+ ]>;
3443
+ /**
3444
+ * Protocol module code storage item, which double maps (Protocol, BackendCodeHash) => Vec<u8>.
3445
+ **/
3446
+ protocolCode: AugmentedQuery<ApiType, (arg1: PolymeshWorkerCommonProtocol | {
3447
+ id?: any;
3448
+ version?: any;
3449
+ } | string | Uint8Array, arg2: U8aFixed | string | Uint8Array) => Observable<Option<Bytes>>, [
3450
+ PolymeshWorkerCommonProtocol,
3451
+ U8aFixed
3452
+ ]>;
3453
+ /**
3454
+ * Protocol config storage item, which double maps (Protocol, ProtocolModuleConfigHash) => ProtocolModuleConfig.
3455
+ **/
3456
+ protocolConfig: AugmentedQuery<ApiType, (arg1: PolymeshWorkerCommonProtocol | {
3457
+ id?: any;
3458
+ version?: any;
3459
+ } | string | Uint8Array, arg2: U8aFixed | string | Uint8Array) => Observable<Option<PalletWorkerModulesProtocolModuleConfig>>, [
3460
+ PolymeshWorkerCommonProtocol,
3461
+ U8aFixed
3462
+ ]>;
3463
+ /**
3464
+ * Protocol config hash storage item, which maps Protocol => ProtocolModuleConfigHash.
3465
+ **/
3466
+ protocolConfigHash: AugmentedQuery<ApiType, (arg: PolymeshWorkerCommonProtocol | {
3467
+ id?: any;
3468
+ version?: any;
3469
+ } | string | Uint8Array) => Observable<Option<U8aFixed>>, [
3470
+ PolymeshWorkerCommonProtocol
3471
+ ]>;
3472
+ /**
3473
+ * Protocol context storage item, which double maps (Protocol, BackendContextHash) => Vec<u8>.
3474
+ **/
3475
+ protocolContext: AugmentedQuery<ApiType, (arg1: PolymeshWorkerCommonProtocol | {
3476
+ id?: any;
3477
+ version?: any;
3478
+ } | string | Uint8Array, arg2: U8aFixed | string | Uint8Array) => Observable<Option<Bytes>>, [
3479
+ PolymeshWorkerCommonProtocol,
3480
+ U8aFixed
3481
+ ]>;
3482
+ };
3483
+ workerTesting: {
3484
+ /**
3485
+ * The current testing protocol version.
3486
+ **/
3487
+ currentProtocolVersion: AugmentedQuery<ApiType, () => Observable<Option<PolymeshWorkerCommonProtocol>>, [
3488
+ ]>;
3489
+ /**
3490
+ * The WorkerSessionId for the current block.
3491
+ **/
3492
+ currentWorkerSessionId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
3493
+ /**
3494
+ * Enable work session per block. This is used for testing purpose only.
3495
+ **/
3496
+ enableWorkSession: AugmentedQuery<ApiType, () => Observable<bool>, []>;
3497
+ };
3363
3498
  }
3364
3499
  }
3365
3500
  //# sourceMappingURL=augment-api-query.d.ts.map