@polymeshassociation/polymesh-types 7.3.0 → 7.4.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.
@@ -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
- import type { BTreeSet, Bytes, Null, Option, Struct, Text, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
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, PalletContractsStorageContractInfo, PalletContractsStorageDeletionQueueManager, PalletContractsWasmCodeInfo, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, PalletCorporateActionsBallotBallotVote, PalletCorporateActionsCaId, PalletCorporateActionsCorporateAction, PalletCorporateActionsDistribution, PalletCorporateActionsTargetIdentities, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityClaim1stKey, PalletIdentityClaim2ndKey, PalletImOnlineSr25519AppSr25519Public, 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, PolymeshContractsApi, PolymeshContractsApiCodeHash, PolymeshContractsChainExtensionExtrinsicId, PolymeshContractsNextUpgrade, 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, PalletConfidentialAssetsSettlementAffirmationStatus, PalletConfidentialAssetsSettlementLegAffirmParty, PalletConfidentialAssetsSettlementSettlementStatus, PalletContractsStorageContractInfo, PalletContractsStorageDeletionQueueManager, PalletContractsWasmCodeInfo, 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, PolymeshContractsApi, PolymeshContractsApiCodeHash, PolymeshContractsChainExtensionExtrinsicId, PolymeshContractsNextUpgrade, 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';
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>;
@@ -664,6 +664,381 @@ declare module '@polkadot/api-base/types/storage' {
664
664
  PolymeshPrimitivesAssetAssetId
665
665
  ]>;
666
666
  };
667
+ confidentialAssets: {
668
+ /**
669
+ * Confidential account asset registrations.
670
+ *
671
+ * The chain must prevent the same account from registering the same asset multiple times.
672
+ *
673
+ * This is a double map where the first key is the account public key and the second key is the asset ID.
674
+ **/
675
+ accountAssetRegistrations: AugmentedQuery<ApiType, (arg1: PolymeshDartBpKeysAccountPublicKey | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<bool>, [
676
+ PolymeshDartBpKeysAccountPublicKey,
677
+ u32
678
+ ]>;
679
+ /**
680
+ * The current CurveTree Root for Confidential accounts curve tree.
681
+ **/
682
+ accountCurveTreeCurrentRoot: AugmentedQuery<ApiType, () => Observable<Option<{
683
+ readonly root: PolymeshDartCurveTreeCompressedCurveTreeRoot;
684
+ readonly timestamp: PalletConfidentialAssetsCurveTreeCurveTreeTimestamp;
685
+ } & Struct>>, [
686
+ ]>;
687
+ /**
688
+ * The height of the accounts curve tree.
689
+ **/
690
+ accountCurveTreeHeight: AugmentedQuery<ApiType, () => Observable<u8>, []>;
691
+ /**
692
+ * The block number of the last account curve tree root pruned.
693
+ *
694
+ * For keeping track of the current pruning point of the account curve tree roots.
695
+ **/
696
+ accountCurveTreeLastPruned: AugmentedQuery<ApiType, () => Observable<u32>, []>;
697
+ /**
698
+ * The block number of the last account curve tree root update.
699
+ *
700
+ * This is used to track the last time the account curve tree was updated.
701
+ **/
702
+ accountCurveTreeLastUpdate: AugmentedQuery<ApiType, () => Observable<PalletConfidentialAssetsCurveTreeCurveTreeTimestamp>, [
703
+ ]>;
704
+ /**
705
+ * CurveTree Roots for Confidential accounts curve tree.
706
+ *
707
+ * At the end of each block we will store the root of the accounts curve tree.
708
+ * The map key is the block number and the value is the root of the accounts curve tree.
709
+ **/
710
+ accountCurveTreeRoots: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<{
711
+ readonly root: PolymeshDartCurveTreeCompressedCurveTreeRoot;
712
+ readonly timestamp: PalletConfidentialAssetsCurveTreeCurveTreeTimestamp;
713
+ } & Struct>>, [
714
+ u32
715
+ ]>;
716
+ /**
717
+ * Confidential account to identity mapping.
718
+ **/
719
+ accountDid: AugmentedQuery<ApiType, (arg: PolymeshDartBpKeysAccountPublicKey | string | Uint8Array) => Observable<Option<PolymeshPrimitivesIdentityId>>, [
720
+ PolymeshDartBpKeysAccountPublicKey
721
+ ]>;
722
+ /**
723
+ * Mapping of Confidential account public keys to their encryption keys.
724
+ **/
725
+ accountEncryptionKey: AugmentedQuery<ApiType, (arg: PolymeshDartBpKeysAccountPublicKey | string | Uint8Array) => Observable<Option<PolymeshDartBpKeysEncryptionPublicKey>>, [
726
+ PolymeshDartBpKeysAccountPublicKey
727
+ ]>;
728
+ /**
729
+ * Inner node storage for Confidential accounts curve tree.
730
+ **/
731
+ accountInnerNodes: AugmentedQuery<ApiType, (arg: PolymeshDartCurveTreeCommonNodeLocation | {
732
+ Leaf: any;
733
+ } | {
734
+ Odd: any;
735
+ } | {
736
+ Even: any;
737
+ } | string | Uint8Array) => Observable<Option<PolymeshDartCurveTreeCommonCompressedInner>>, [
738
+ PolymeshDartCurveTreeCommonNodeLocation
739
+ ]>;
740
+ /**
741
+ * Leaf storage for Confidential accounts curve tree.
742
+ *
743
+ * The leaves are immutable, so we use a simple storage map.
744
+ **/
745
+ accountLeaves: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PolymeshDartBpAccountAccountStateCommitment>>, [
746
+ u64
747
+ ]>;
748
+ /**
749
+ * Nullifiers for Confidential account state commitments.
750
+ *
751
+ * This is used to ensure that the same account state commitment cannot be used twice.
752
+ **/
753
+ accountStateCommitmentNullifiers: AugmentedQuery<ApiType, (arg: PolymeshDartBpAccountAccountStateNullifier | string | Uint8Array) => Observable<Option<Null>>, [
754
+ PolymeshDartBpAccountAccountStateNullifier
755
+ ]>;
756
+ /**
757
+ * The current CurveTree Root for Confidential assets curve tree.
758
+ **/
759
+ assetCurveTreeCurrentRoot: AugmentedQuery<ApiType, () => Observable<Option<{
760
+ readonly root: PolymeshDartCurveTreeCompressedCurveTreeRoot;
761
+ readonly timestamp: PalletConfidentialAssetsCurveTreeCurveTreeTimestamp;
762
+ } & Struct>>, [
763
+ ]>;
764
+ /**
765
+ * The height of the assets curve tree.
766
+ **/
767
+ assetCurveTreeHeight: AugmentedQuery<ApiType, () => Observable<u8>, []>;
768
+ /**
769
+ * The block number of the last asset curve tree root pruned.
770
+ *
771
+ * For keeping track of the current pruning point of the asset curve tree roots.
772
+ **/
773
+ assetCurveTreeLastPruned: AugmentedQuery<ApiType, () => Observable<u32>, []>;
774
+ /**
775
+ * The block number of the last asset curve tree root update.
776
+ *
777
+ * This is used to track the last time the asset curve tree was updated.
778
+ **/
779
+ assetCurveTreeLastUpdate: AugmentedQuery<ApiType, () => Observable<PalletConfidentialAssetsCurveTreeCurveTreeTimestamp>, [
780
+ ]>;
781
+ /**
782
+ * CurveTree Roots for Confidential assets curve tree.
783
+ *
784
+ * At the end of each block we will store the root of the assets curve tree.
785
+ * The map key is the block number and the value is the root of the assets curve tree.
786
+ **/
787
+ assetCurveTreeRoots: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<{
788
+ readonly root: PolymeshDartCurveTreeCompressedCurveTreeRoot;
789
+ readonly timestamp: PalletConfidentialAssetsCurveTreeCurveTreeTimestamp;
790
+ } & Struct>>, [
791
+ u32
792
+ ]>;
793
+ /**
794
+ * Inner node storage for Confidential assets curve tree.
795
+ **/
796
+ assetInnerNodes: AugmentedQuery<ApiType, (arg: PolymeshDartCurveTreeCommonNodeLocation | {
797
+ Leaf: any;
798
+ } | {
799
+ Odd: any;
800
+ } | {
801
+ Even: any;
802
+ } | string | Uint8Array) => Observable<Option<PolymeshDartCurveTreeCommonCompressedInner>>, [
803
+ PolymeshDartCurveTreeCommonNodeLocation
804
+ ]>;
805
+ /**
806
+ * Leaf storage for Confidential assets curve tree.
807
+ *
808
+ * A counted map is used since we need to support updating the leaves in the tree.
809
+ **/
810
+ assetLeaves: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PolymeshDartCurveTreeCommonCompressedLeafValue>>, [
811
+ u64
812
+ ]>;
813
+ /**
814
+ * Cache DART parameters.
815
+ **/
816
+ cachedDartParameters: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []>;
817
+ /**
818
+ * Counter for the related counted storage map
819
+ **/
820
+ counterForAssetLeaves: AugmentedQuery<ApiType, () => Observable<u32>, []>;
821
+ /**
822
+ * The WorkerSessionId for the current block.
823
+ **/
824
+ currentWorkerSessionId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
825
+ /**
826
+ * A Confidential assets token decimals.
827
+ **/
828
+ decimals: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u8>>, [
829
+ u32
830
+ ]>;
831
+ /**
832
+ * Mapping of Confidential Asset ID to its details.
833
+ **/
834
+ details: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletConfidentialAssetsAssetDetails>>, [
835
+ u32
836
+ ]>;
837
+ /**
838
+ * Mapping of identity to their Confidential accounts.
839
+ **/
840
+ didAccounts: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityId | string | Uint8Array, arg2: PolymeshDartBpKeysAccountPublicKey | string | Uint8Array) => Observable<Option<Null>>, [
841
+ PolymeshPrimitivesIdentityId,
842
+ PolymeshDartBpKeysAccountPublicKey
843
+ ]>;
844
+ /**
845
+ * Mapping of Confidential encryption keys to their public keys.
846
+ **/
847
+ encryptionKeyAccount: AugmentedQuery<ApiType, (arg: PolymeshDartBpKeysEncryptionPublicKey | string | Uint8Array) => Observable<Option<PolymeshDartBpKeysAccountPublicKey>>, [
848
+ PolymeshDartBpKeysEncryptionPublicKey
849
+ ]>;
850
+ /**
851
+ * Encryption key to identity mapping.
852
+ *
853
+ * This is used for the auditor and mediator encryption keys.
854
+ **/
855
+ encryptionKeyDid: AugmentedQuery<ApiType, (arg: PolymeshDartBpKeysEncryptionPublicKey | string | Uint8Array) => Observable<Option<PolymeshPrimitivesIdentityId>>, [
856
+ PolymeshDartBpKeysEncryptionPublicKey
857
+ ]>;
858
+ /**
859
+ * The current CurveTree Root for Confidential fee accounts curve tree.
860
+ **/
861
+ feeAccountCurveTreeCurrentRoot: AugmentedQuery<ApiType, () => Observable<Option<PalletConfidentialAssetsCurveTreeTimestampedTreeRoot>>, [
862
+ ]>;
863
+ /**
864
+ * The height of the fee accounts curve tree.
865
+ **/
866
+ feeAccountCurveTreeHeight: AugmentedQuery<ApiType, () => Observable<u8>, []>;
867
+ /**
868
+ * The block number of the last fee account curve tree root pruned.
869
+ *
870
+ * For keeping track of the current pruning point of the fee account curve tree roots.
871
+ **/
872
+ feeAccountCurveTreeLastPruned: AugmentedQuery<ApiType, () => Observable<u32>, []>;
873
+ /**
874
+ * The block number of the last fee account curve tree root update.
875
+ *
876
+ * This is used to track the last time the fee account curve tree was updated.
877
+ **/
878
+ feeAccountCurveTreeLastUpdate: AugmentedQuery<ApiType, () => Observable<PalletConfidentialAssetsCurveTreeCurveTreeTimestamp>, [
879
+ ]>;
880
+ /**
881
+ * CurveTree Roots for Confidential fee accounts curve tree.
882
+ *
883
+ * At the end of each block we will store the root of the fee accounts curve tree.
884
+ * The map key is the block number and the value is the root of the fee accounts curve tree.
885
+ **/
886
+ feeAccountCurveTreeRoots: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletConfidentialAssetsCurveTreeTimestampedTreeRoot>>, [
887
+ u32
888
+ ]>;
889
+ /**
890
+ * Confidential fee account to identity mapping.
891
+ **/
892
+ feeAccountDid: AugmentedQuery<ApiType, (arg: PolymeshDartBpKeysAccountPublicKey | string | Uint8Array) => Observable<Option<PolymeshPrimitivesIdentityId>>, [
893
+ PolymeshDartBpKeysAccountPublicKey
894
+ ]>;
895
+ /**
896
+ * Inner node storage for Confidential fee accounts curve tree.
897
+ **/
898
+ feeAccountInnerNodes: AugmentedQuery<ApiType, (arg: PolymeshDartCurveTreeCommonNodeLocation | {
899
+ Leaf: any;
900
+ } | {
901
+ Odd: any;
902
+ } | {
903
+ Even: any;
904
+ } | string | Uint8Array) => Observable<Option<PolymeshDartCurveTreeCommonCompressedInner>>, [
905
+ PolymeshDartCurveTreeCommonNodeLocation
906
+ ]>;
907
+ /**
908
+ * Leaf storage for Confidential fee accounts curve tree.
909
+ *
910
+ * The leaves are immutable, so we use a simple storage map.
911
+ **/
912
+ feeAccountLeaves: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PolymeshDartBpFeeFeeAccountStateCommitment>>, [
913
+ u64
914
+ ]>;
915
+ /**
916
+ * Confidential fee account egistrations.
917
+ *
918
+ * The chain must prevent the same account from registering the multiple times.
919
+ **/
920
+ feeAccountRegistrations: AugmentedQuery<ApiType, (arg: PolymeshDartBpKeysAccountPublicKey | string | Uint8Array) => Observable<bool>, [
921
+ PolymeshDartBpKeysAccountPublicKey
922
+ ]>;
923
+ /**
924
+ * Nullifiers for Confidential fee account state commitments.
925
+ *
926
+ * This is used to ensure that the same fee account state commitment cannot be used twice.
927
+ **/
928
+ feeAccountStateCommitmentNullifiers: AugmentedQuery<ApiType, (arg: PolymeshDartBpFeeFeeAccountStateNullifier | string | Uint8Array) => Observable<Option<Null>>, [
929
+ PolymeshDartBpFeeFeeAccountStateNullifier
930
+ ]>;
931
+ /**
932
+ * Mapping of Confidential Asset ID to its auditor and mediator keys.
933
+ **/
934
+ keys: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolymeshDartBpAssetAssetKeys>>, [
935
+ u32
936
+ ]>;
937
+ /**
938
+ * The last committed leaf index for Confidential accounts curve tree.
939
+ *
940
+ * This is used to do batched inserts into the tree.
941
+ **/
942
+ lastCommittedAccountLeafIndex: AugmentedQuery<ApiType, () => Observable<u64>, []>;
943
+ /**
944
+ * The last committed leaf index for Confidential fee accounts curve tree.
945
+ *
946
+ * This is used to do batched inserts into the tree.
947
+ **/
948
+ lastCommittedFeeAccountLeafIndex: AugmentedQuery<ApiType, () => Observable<u64>, []>;
949
+ /**
950
+ * The affirmation status of each party in a settlement leg.
951
+ * This is a triple map where the first key is the settlement ID, the second key is the leg ID, and the third key is the party (sender, receiver, mediator).
952
+ **/
953
+ legAffirmationStatus: AugmentedQuery<ApiType, (arg1: PolymeshDartBpLegSettlementRef | string | Uint8Array, arg2: u8 | AnyNumber | Uint8Array, arg3: PalletConfidentialAssetsSettlementLegAffirmParty | {
954
+ Sender: any;
955
+ } | {
956
+ Receiver: any;
957
+ } | {
958
+ Mediator: any;
959
+ } | string | Uint8Array) => Observable<Option<PalletConfidentialAssetsSettlementAffirmationStatus>>, [
960
+ PolymeshDartBpLegSettlementRef,
961
+ u8,
962
+ PalletConfidentialAssetsSettlementLegAffirmParty
963
+ ]>;
964
+ /**
965
+ * A Confidential assets token name.
966
+ **/
967
+ names: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Text>>, [
968
+ u32
969
+ ]>;
970
+ /**
971
+ * Next leaf index for Confidential accounts curve tree.
972
+ *
973
+ * This is used to allocate new leaves in the tree.
974
+ **/
975
+ nextAccountLeafIndex: AugmentedQuery<ApiType, () => Observable<u64>, []>;
976
+ /**
977
+ * Next Asset ID to be used for Confidential assets.
978
+ **/
979
+ nextAssetId: AugmentedQuery<ApiType, () => Observable<u32>, []>;
980
+ /**
981
+ * Next leaf index for Confidential fee accounts curve tree.
982
+ *
983
+ * This is used to allocate new leaves in the tree.
984
+ **/
985
+ nextFeeAccountLeafIndex: AugmentedQuery<ApiType, () => Observable<u64>, []>;
986
+ /**
987
+ * Mapping of asset owner to their assets.
988
+ **/
989
+ ownerAssets: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityId | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [
990
+ PolymeshPrimitivesIdentityId,
991
+ u32
992
+ ]>;
993
+ /**
994
+ * The number of legs in each settlement.
995
+ **/
996
+ settlementLegCount: AugmentedQuery<ApiType, (arg: PolymeshDartBpLegSettlementRef | string | Uint8Array) => Observable<Option<Compact<u32>>>, [
997
+ PolymeshDartBpLegSettlementRef
998
+ ]>;
999
+ /**
1000
+ * The settlement legs.
1001
+ *
1002
+ * This is a double map where the first key is the settlement ID and the second key is the leg ID.
1003
+ * The value is the DartSettlementLeg.
1004
+ **/
1005
+ settlementLegs: AugmentedQuery<ApiType, (arg1: PolymeshDartBpLegSettlementRef | string | Uint8Array, arg2: u8 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [
1006
+ PolymeshDartBpLegSettlementRef,
1007
+ u8
1008
+ ]>;
1009
+ /**
1010
+ * The settlement memo.
1011
+ **/
1012
+ settlementMemo: AugmentedQuery<ApiType, (arg: PolymeshDartBpLegSettlementRef | string | Uint8Array) => Observable<Option<Bytes>>, [
1013
+ PolymeshDartBpLegSettlementRef
1014
+ ]>;
1015
+ /**
1016
+ * The number of pending affirmations for a settlement.
1017
+ * This is used to track when a settlement can be executed.
1018
+ **/
1019
+ settlementPendingAffirmations: AugmentedQuery<ApiType, (arg: PolymeshDartBpLegSettlementRef | string | Uint8Array) => Observable<u32>, [
1020
+ PolymeshDartBpLegSettlementRef
1021
+ ]>;
1022
+ /**
1023
+ * The number of pending finalizations for a settlement.
1024
+ * This is used to track when a settlement can be finalized and all storage can be cleaned up.
1025
+ **/
1026
+ settlementPendingFinalizations: AugmentedQuery<ApiType, (arg: PolymeshDartBpLegSettlementRef | string | Uint8Array) => Observable<u32>, [
1027
+ PolymeshDartBpLegSettlementRef
1028
+ ]>;
1029
+ /**
1030
+ * The settlement status.
1031
+ **/
1032
+ settlementState: AugmentedQuery<ApiType, (arg: PolymeshDartBpLegSettlementRef | string | Uint8Array) => Observable<Option<PalletConfidentialAssetsSettlementSettlementStatus>>, [
1033
+ PolymeshDartBpLegSettlementRef
1034
+ ]>;
1035
+ /**
1036
+ * A Confidential assets token symbol.
1037
+ **/
1038
+ symbols: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Text>>, [
1039
+ u32
1040
+ ]>;
1041
+ };
667
1042
  contracts: {
668
1043
  /**
669
1044
  * A mapping from a contract's code hash to its code info.
@@ -1321,6 +1696,24 @@ declare module '@polkadot/api-base/types/storage' {
1321
1696
  beefyNextAuthorities: AugmentedQuery<ApiType, () => Observable<SpConsensusBeefyMmrBeefyAuthoritySet>, [
1322
1697
  ]>;
1323
1698
  };
1699
+ multiBlockMigrations: {
1700
+ /**
1701
+ * The currently active migration to run and its cursor.
1702
+ *
1703
+ * `None` indicates that no migration is running.
1704
+ **/
1705
+ cursor: AugmentedQuery<ApiType, () => Observable<Option<PalletMigrationsMigrationCursor>>, [
1706
+ ]>;
1707
+ /**
1708
+ * Set of all successfully executed migrations.
1709
+ *
1710
+ * This is used as blacklist, to not re-execute migrations that have not been removed from the
1711
+ * codebase yet. Governance can regularly clear this out via `clear_historic`.
1712
+ **/
1713
+ historic: AugmentedQuery<ApiType, (arg: Bytes | string | Uint8Array) => Observable<Option<Null>>, [
1714
+ Bytes
1715
+ ]>;
1716
+ };
1324
1717
  multiSig: {
1325
1718
  /**
1326
1719
  * The multisig's admin identity. The primary key of this identity