@polymeshassociation/polymesh-types 7.2.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.
Files changed (76) hide show
  1. package/.yarn/install-state.gz +0 -0
  2. package/CHANGELOG.md +3 -2
  3. package/generated/types.d.ts +101 -8
  4. package/generated/types.d.ts.map +1 -1
  5. package/generated/types.js +101 -2
  6. package/generated/types.js.map +1 -1
  7. package/package.json +4 -3
  8. package/polkadot/asset/definitions.js +4 -4
  9. package/polkadot/asset/definitions.js.map +1 -1
  10. package/polkadot/augment-api-consts.d.ts +220 -6
  11. package/polkadot/augment-api-consts.d.ts.map +1 -1
  12. package/polkadot/augment-api-errors.d.ts +630 -117
  13. package/polkadot/augment-api-errors.d.ts.map +1 -1
  14. package/polkadot/augment-api-events.d.ts +668 -176
  15. package/polkadot/augment-api-events.d.ts.map +1 -1
  16. package/polkadot/augment-api-query.d.ts +719 -94
  17. package/polkadot/augment-api-query.d.ts.map +1 -1
  18. package/polkadot/augment-api-rpc.d.ts +22 -25
  19. package/polkadot/augment-api-rpc.d.ts.map +1 -1
  20. package/polkadot/augment-api-runtime.d.ts +295 -32
  21. package/polkadot/augment-api-runtime.d.ts.map +1 -1
  22. package/polkadot/augment-api-tx.d.ts +1539 -506
  23. package/polkadot/augment-api-tx.d.ts.map +1 -1
  24. package/polkadot/augment-types.d.ts +19 -2
  25. package/polkadot/augment-types.d.ts.map +1 -1
  26. package/polkadot/identity/definitions.d.ts +0 -18
  27. package/polkadot/identity/definitions.d.ts.map +1 -1
  28. package/polkadot/identity/definitions.js +0 -42
  29. package/polkadot/identity/definitions.js.map +1 -1
  30. package/polkadot/lookup.d.ts +5163 -3246
  31. package/polkadot/lookup.d.ts.map +1 -1
  32. package/polkadot/lookup.js +6275 -4221
  33. package/polkadot/lookup.js.map +1 -1
  34. package/polkadot/nft/definitions.js +4 -4
  35. package/polkadot/nft/definitions.js.map +1 -1
  36. package/polkadot/polymesh/definitions.d.ts +93 -8
  37. package/polkadot/polymesh/definitions.d.ts.map +1 -1
  38. package/polkadot/polymesh/definitions.js +228 -12
  39. package/polkadot/polymesh/definitions.js.map +1 -1
  40. package/polkadot/polymesh/types.d.ts +129 -20
  41. package/polkadot/polymesh/types.d.ts.map +1 -1
  42. package/polkadot/registry.d.ts +176 -15
  43. package/polkadot/registry.d.ts.map +1 -1
  44. package/polkadot/schema.d.ts +93 -26
  45. package/polkadot/schema.d.ts.map +1 -1
  46. package/polkadot/schema.js +238 -64
  47. package/polkadot/schema.js.map +1 -1
  48. package/polkadot/settlement/definitions.js +2 -2
  49. package/polkadot/types-lookup.d.ts +6016 -4313
  50. package/polkadot/types-lookup.d.ts.map +1 -1
  51. package/rpc/index.d.ts +0 -18
  52. package/rpc/index.d.ts.map +1 -1
  53. package/rpc/index.js +10 -52
  54. package/rpc/index.js.map +1 -1
  55. package/runtime/assetApi/v5.d.ts +3 -0
  56. package/runtime/assetApi/v5.d.ts.map +1 -0
  57. package/runtime/assetApi/v5.js +32 -0
  58. package/runtime/assetApi/v5.js.map +1 -0
  59. package/runtime/index.d.ts.map +1 -1
  60. package/runtime/index.js +6 -0
  61. package/runtime/index.js.map +1 -1
  62. package/runtime/nftApi/v3.d.ts +3 -0
  63. package/runtime/nftApi/v3.d.ts.map +1 -0
  64. package/runtime/nftApi/v3.js +28 -0
  65. package/runtime/nftApi/v3.js.map +1 -0
  66. package/runtime/settlementApi/v3.d.ts +3 -0
  67. package/runtime/settlementApi/v3.d.ts.map +1 -0
  68. package/runtime/settlementApi/v3.js +74 -0
  69. package/runtime/settlementApi/v3.js.map +1 -0
  70. package/signedExtensions/index.d.ts +4 -0
  71. package/signedExtensions/index.d.ts.map +1 -1
  72. package/signedExtensions/index.js +4 -0
  73. package/signedExtensions/index.js.map +1 -1
  74. package/types/8.0.x.json +96 -15
  75. package/types/index.d.ts +477 -0
  76. package/types/index.d.ts.map +1 -1
@@ -1,15 +1,36 @@
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
- import type { AccountId32, Call, H256, Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime';
6
- import type { FrameSupportDispatchPerDispatchClassWeight, 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, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStoFundraiser, PalletTransactionPaymentReleases, PalletValidatorsPermissionedIdentityPrefs, PalletValidatorsSlashingSwitch, PolymeshCommonUtilitiesCheckpointNextCheckpoints, PolymeshCommonUtilitiesCheckpointScheduleCheckpoints, PolymeshCommonUtilitiesProtocolFeeProtocolOp, PolymeshContractsApi, PolymeshContractsApiCodeHash, PolymeshContractsChainExtensionExtrinsicId, PolymeshContractsNextUpgrade, PolymeshPrimitivesAgentAgentGroup, PolymeshPrimitivesAssetAssetId, PolymeshPrimitivesAssetIdentifier, PolymeshPrimitivesAssetMetadataAssetMetadataKey, PolymeshPrimitivesAssetMetadataAssetMetadataSpec, PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail, PolymeshPrimitivesAuthorization, PolymeshPrimitivesComplianceManagerAssetCompliance, PolymeshPrimitivesConditionTrustedIssuer, PolymeshPrimitivesDocument, PolymeshPrimitivesGroupInactiveMember, PolymeshPrimitivesIdentityClaim, PolymeshPrimitivesIdentityDidRecord, PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityIdPortfolioId, PolymeshPrimitivesMaybeBlock, PolymeshPrimitivesMemo, PolymeshPrimitivesMultisigProposalState, PolymeshPrimitivesMultisigProposalVoteCount, PolymeshPrimitivesNftNftCollection, PolymeshPrimitivesSecondaryKeyExtrinsicPermissions, PolymeshPrimitivesSecondaryKeyKeyRecord, PolymeshPrimitivesSecondaryKeySignatory, PolymeshPrimitivesSettlementAffirmationStatus, PolymeshPrimitivesSettlementInstruction, PolymeshPrimitivesSettlementInstructionStatus, PolymeshPrimitivesSettlementLeg, PolymeshPrimitivesSettlementLegStatus, PolymeshPrimitivesSettlementMediatorAffirmationStatus, PolymeshPrimitivesSettlementVenue, PolymeshPrimitivesStatisticsStat1stKey, PolymeshPrimitivesStatisticsStat2ndKey, PolymeshPrimitivesStatisticsStatType, PolymeshPrimitivesSubsetSubsetRestrictionAssetId, PolymeshPrimitivesSubsetSubsetRestrictionPortfolioId, PolymeshPrimitivesTicker, PolymeshPrimitivesTransferComplianceAssetTransferCompliance, PolymeshPrimitivesTransferComplianceTransferConditionExemptKey, PolymeshRuntimeTestnetRuntimeRuntimeHoldReason, PolymeshRuntimeTestnetRuntimeSessionKeys, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
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, 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>;
10
10
  declare module '@polkadot/api-base/types/storage' {
11
11
  interface AugmentedQueries<ApiType extends ApiTypes> {
12
12
  asset: {
13
+ /**
14
+ * Maps (owner, spender, asset_id) to the approved allowance amount.
15
+ *
16
+ * A non-existent entry returns 0 (via `ValueQuery`), matching ERC-20 behavior.
17
+ * When an allowance is revoked (set to 0), the entry is removed to bound storage growth.
18
+ *
19
+ * Uses `StorageNMap` so that all allowances for a given owner can be iterated
20
+ * via prefix.
21
+ **/
22
+ allowances: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: AccountId32 | string | Uint8Array, arg3: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<u128>, [
23
+ AccountId32,
24
+ AccountId32,
25
+ PolymeshPrimitivesAssetAssetId
26
+ ]>;
27
+ /**
28
+ * Tracks the total [`Balance`] held by the account for each [`AssetId`].
29
+ **/
30
+ assetBalance: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<u128>, [
31
+ AccountId32,
32
+ PolymeshPrimitivesAssetAssetId
33
+ ]>;
13
34
  /**
14
35
  * All [`Document`] attached to an asset.
15
36
  **/
@@ -174,6 +195,14 @@ declare module '@polkadot/api-base/types/storage' {
174
195
  ITuple<[PolymeshPrimitivesAssetAssetId, Bytes]>
175
196
  ]>;
176
197
  /**
198
+ * Tracks the [`Balance`] of locked tokens for assets that are held by the key (i.e., not in a portfolio).
199
+ **/
200
+ lockedBalance: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<u128>, [
201
+ AccountId32,
202
+ PolymeshPrimitivesAssetAssetId
203
+ ]>;
204
+ /**
205
+ * Identities that require receiver affirmation for all incoming transfers.
177
206
  * The list of mandatory mediators for every ticker.
178
207
  **/
179
208
  mandatoryMediators: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<BTreeSet<PolymeshPrimitivesIdentityId>>, [
@@ -395,7 +424,7 @@ declare module '@polkadot/api-base/types/storage' {
395
424
  * Holds on account balances.
396
425
  **/
397
426
  holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<{
398
- readonly id: PolymeshRuntimeTestnetRuntimeRuntimeHoldReason;
427
+ readonly id: PolymeshRuntimeDevelopRuntimeRuntimeHoldReason;
399
428
  readonly amount: u128;
400
429
  } & Struct>>, [
401
430
  AccountId32
@@ -426,6 +455,43 @@ declare module '@polkadot/api-base/types/storage' {
426
455
  **/
427
456
  totalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []>;
428
457
  };
458
+ beefy: {
459
+ /**
460
+ * The current authorities set
461
+ **/
462
+ authorities: AugmentedQuery<ApiType, () => Observable<Vec<SpConsensusBeefyEcdsaCryptoPublic>>, [
463
+ ]>;
464
+ /**
465
+ * Block number where BEEFY consensus is enabled/started.
466
+ * By changing this (through privileged `set_new_genesis()`), BEEFY consensus is effectively
467
+ * restarted from the newly set block number.
468
+ **/
469
+ genesisBlock: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
470
+ /**
471
+ * Authorities set scheduled to be used with the next session
472
+ **/
473
+ nextAuthorities: AugmentedQuery<ApiType, () => Observable<Vec<SpConsensusBeefyEcdsaCryptoPublic>>, [
474
+ ]>;
475
+ /**
476
+ * A mapping from BEEFY set ID to the index of the *most recent* session for which its
477
+ * members were responsible.
478
+ *
479
+ * This is only used for validating equivocation proofs. An equivocation proof must
480
+ * contains a key-ownership proof for a given session, therefore we need a way to tie
481
+ * together sessions and BEEFY set ids, i.e. we need to validate that a validator
482
+ * was the owner of a given key on a given session, and what the active set ID was
483
+ * during that session.
484
+ *
485
+ * TWOX-NOTE: `ValidatorSetId` is not under user control.
486
+ **/
487
+ setIdSession: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [
488
+ u64
489
+ ]>;
490
+ /**
491
+ * The current validator set id
492
+ **/
493
+ validatorSetId: AugmentedQuery<ApiType, () => Observable<u64>, []>;
494
+ };
429
495
  capitalDistribution: {
430
496
  /**
431
497
  * All capital distributions, tied to their respective corporate actions (CAs).
@@ -457,22 +523,6 @@ declare module '@polkadot/api-base/types/storage' {
457
523
  **/
458
524
  storageVersion: AugmentedQuery<ApiType, () => Observable<u8>, []>;
459
525
  };
460
- cddServiceProviders: {
461
- /**
462
- * The current "active" membership, stored as an ordered Vec.
463
- **/
464
- activeMembers: AugmentedQuery<ApiType, () => Observable<Vec<PolymeshPrimitivesIdentityId>>, [
465
- ]>;
466
- /**
467
- * Limit of how many "active" members there can be.
468
- **/
469
- activeMembersLimit: AugmentedQuery<ApiType, () => Observable<u32>, []>;
470
- /**
471
- * The current "inactive" membership, stored as an ordered Vec.
472
- **/
473
- inactiveMembers: AugmentedQuery<ApiType, () => Observable<Vec<PolymeshPrimitivesGroupInactiveMember>>, [
474
- ]>;
475
- };
476
526
  checkpoint: {
477
527
  /**
478
528
  * Balance of a DID at a checkpoint.
@@ -498,7 +548,7 @@ declare module '@polkadot/api-base/types/storage' {
498
548
  *
499
549
  * ([`AssetId`]) -> next checkpoints
500
550
  **/
501
- cachedNextCheckpoints: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<Option<PolymeshCommonUtilitiesCheckpointNextCheckpoints>>, [
551
+ cachedNextCheckpoints: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<Option<PolymeshPrimitivesCheckpointNextCheckpoints>>, [
502
552
  PolymeshPrimitivesAssetAssetId
503
553
  ]>;
504
554
  /**
@@ -515,7 +565,7 @@ declare module '@polkadot/api-base/types/storage' {
515
565
  *
516
566
  * ([`AssetId`], schedule ID) -> schedule checkpoints
517
567
  **/
518
- scheduledCheckpoints: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetId | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<PolymeshCommonUtilitiesCheckpointScheduleCheckpoints>>, [
568
+ scheduledCheckpoints: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetId | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<PolymeshPrimitivesCheckpointScheduleCheckpoints>>, [
519
569
  PolymeshPrimitivesAssetAssetId,
520
570
  u64
521
571
  ]>;
@@ -614,6 +664,381 @@ declare module '@polkadot/api-base/types/storage' {
614
664
  PolymeshPrimitivesAssetAssetId
615
665
  ]>;
616
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
+ };
617
1042
  contracts: {
618
1043
  /**
619
1044
  * A mapping from a contract's code hash to its code info.
@@ -857,6 +1282,22 @@ declare module '@polkadot/api-base/types/storage' {
857
1282
  PolymeshPrimitivesIdentityId
858
1283
  ]>;
859
1284
  };
1285
+ didRegistrars: {
1286
+ /**
1287
+ * The current "active" membership, stored as an ordered Vec.
1288
+ **/
1289
+ activeMembers: AugmentedQuery<ApiType, () => Observable<Vec<PolymeshPrimitivesIdentityId>>, [
1290
+ ]>;
1291
+ /**
1292
+ * Limit of how many "active" members there can be.
1293
+ **/
1294
+ activeMembersLimit: AugmentedQuery<ApiType, () => Observable<u32>, []>;
1295
+ /**
1296
+ * The current "inactive" membership, stored as an ordered Vec.
1297
+ **/
1298
+ inactiveMembers: AugmentedQuery<ApiType, () => Observable<Vec<PolymeshPrimitivesGroupInactiveMember>>, [
1299
+ ]>;
1300
+ };
860
1301
  electionProviderMultiPhase: {
861
1302
  /**
862
1303
  * Current phase.
@@ -1050,7 +1491,8 @@ declare module '@polkadot/api-base/types/storage' {
1050
1491
  * Strong references will block a key from leaving it's identity.
1051
1492
  *
1052
1493
  * Pallets using "strong" references to account keys:
1053
- * * Relayer: For `user_key` and `paying_key`
1494
+ * * Assets: Updated when an account holds an asset with non-zero balance.
1495
+ * * NFT: Updated when an account owns an NFT.
1054
1496
  *
1055
1497
  **/
1056
1498
  accountKeyRefCount: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u64>, [
@@ -1074,18 +1516,6 @@ declare module '@polkadot/api-base/types/storage' {
1074
1516
  PolymeshPrimitivesIdentityId,
1075
1517
  u64
1076
1518
  ]>;
1077
- /**
1078
- * A config flag that, if set, instructs an authorization from a CDD provider in order to
1079
- * change the primary key of an identity.
1080
- **/
1081
- cddAuthForPrimaryKeyRotation: AugmentedQuery<ApiType, () => Observable<bool>, []>;
1082
- /**
1083
- * All child identities of a parent (i.e ParentDID, ChildDID, true)
1084
- **/
1085
- childDid: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityId | string | Uint8Array, arg2: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<bool>, [
1086
- PolymeshPrimitivesIdentityId,
1087
- PolymeshPrimitivesIdentityId
1088
- ]>;
1089
1519
  /**
1090
1520
  * (Target ID, claim type) (issuer,scope) -> Associated claims
1091
1521
  **/
@@ -1103,10 +1533,6 @@ declare module '@polkadot/api-base/types/storage' {
1103
1533
  * Controls the authorization id.
1104
1534
  **/
1105
1535
  currentAuthId: AugmentedQuery<ApiType, () => Observable<u64>, []>;
1106
- /**
1107
- * It stores the current gas fee payer for the current transaction.
1108
- **/
1109
- currentPayer: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []>;
1110
1536
  /**
1111
1537
  * The next `CustomClaimTypeId`.
1112
1538
  **/
@@ -1192,16 +1618,6 @@ declare module '@polkadot/api-base/types/storage' {
1192
1618
  } | string | Uint8Array) => Observable<Option<u64>>, [
1193
1619
  PolymeshPrimitivesSecondaryKeySignatory
1194
1620
  ]>;
1195
- /**
1196
- * Parent identity if the DID is a child Identity.
1197
- **/
1198
- parentDid: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<Option<PolymeshPrimitivesIdentityId>>, [
1199
- PolymeshPrimitivesIdentityId
1200
- ]>;
1201
- /**
1202
- * Storage version.
1203
- **/
1204
- storageVersion: AugmentedQuery<ApiType, () => Observable<u8>, []>;
1205
1621
  };
1206
1622
  imOnline: {
1207
1623
  /**
@@ -1247,6 +1663,57 @@ declare module '@polkadot/api-base/types/storage' {
1247
1663
  u32
1248
1664
  ]>;
1249
1665
  };
1666
+ mmr: {
1667
+ /**
1668
+ * Hashes of the nodes in the MMR.
1669
+ *
1670
+ * Note this collection only contains MMR peaks, the inner nodes (and leaves)
1671
+ * are pruned and only stored in the Offchain DB.
1672
+ **/
1673
+ nodes: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<H256>>, [
1674
+ u64
1675
+ ]>;
1676
+ /**
1677
+ * Current size of the MMR (number of leaves).
1678
+ **/
1679
+ numberOfLeaves: AugmentedQuery<ApiType, () => Observable<u64>, []>;
1680
+ /**
1681
+ * Latest MMR Root hash.
1682
+ **/
1683
+ rootHash: AugmentedQuery<ApiType, () => Observable<H256>, []>;
1684
+ };
1685
+ mmrLeaf: {
1686
+ /**
1687
+ * Details of current BEEFY authority set.
1688
+ **/
1689
+ beefyAuthorities: AugmentedQuery<ApiType, () => Observable<SpConsensusBeefyMmrBeefyAuthoritySet>, [
1690
+ ]>;
1691
+ /**
1692
+ * Details of next BEEFY authority set.
1693
+ *
1694
+ * This storage entry is used as cache for calls to `update_beefy_next_authority_set`.
1695
+ **/
1696
+ beefyNextAuthorities: AugmentedQuery<ApiType, () => Observable<SpConsensusBeefyMmrBeefyAuthoritySet>, [
1697
+ ]>;
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
+ };
1250
1717
  multiSig: {
1251
1718
  /**
1252
1719
  * The multisig's admin identity. The primary key of this identity
@@ -1404,9 +1871,10 @@ declare module '@polkadot/api-base/types/storage' {
1404
1871
  PolymeshPrimitivesAssetMetadataAssetMetadataKey
1405
1872
  ]>;
1406
1873
  /**
1407
- * Tracks the owner of an NFT
1874
+ * All NFTs associated to the account Key.
1408
1875
  **/
1409
- nftOwner: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetId | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<PolymeshPrimitivesIdentityIdPortfolioId>>, [
1876
+ nftHolder: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: PolymeshPrimitivesAssetAssetId | string | Uint8Array, arg3: u64 | AnyNumber | Uint8Array) => Observable<PolymeshPrimitivesNftNftOwnerStatus>, [
1877
+ AccountId32,
1410
1878
  PolymeshPrimitivesAssetAssetId,
1411
1879
  u64
1412
1880
  ]>;
@@ -1423,6 +1891,13 @@ declare module '@polkadot/api-base/types/storage' {
1423
1891
  PolymeshPrimitivesAssetAssetId,
1424
1892
  PolymeshPrimitivesIdentityId
1425
1893
  ]>;
1894
+ /**
1895
+ * Reverse mapping for allowing to find the owner of a specific NFT.
1896
+ **/
1897
+ owner: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetId | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<PolymeshPrimitivesAssetAssetHolder>>, [
1898
+ PolymeshPrimitivesAssetAssetId,
1899
+ u64
1900
+ ]>;
1426
1901
  };
1427
1902
  offences: {
1428
1903
  /**
@@ -1649,6 +2124,12 @@ declare module '@polkadot/api-base/types/storage' {
1649
2124
  **/
1650
2125
  storageVersion: AugmentedQuery<ApiType, () => Observable<u8>, []>;
1651
2126
  };
2127
+ polymeshTransactionPayment: {
2128
+ /**
2129
+ * It stores the current gas fee payer for the current transaction.
2130
+ **/
2131
+ currentPayer: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []>;
2132
+ };
1652
2133
  portfolio: {
1653
2134
  /**
1654
2135
  * Custodians allowed to create and take custody of portfolios on an id's behalf.
@@ -1726,9 +2207,10 @@ declare module '@polkadot/api-base/types/storage' {
1726
2207
  portfolioNFT: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityIdPortfolioId | {
1727
2208
  did?: any;
1728
2209
  kind?: any;
1729
- } | string | Uint8Array, arg2: ITuple<[PolymeshPrimitivesAssetAssetId, u64]> | [PolymeshPrimitivesAssetAssetId | string | Uint8Array, u64 | AnyNumber | Uint8Array]) => Observable<bool>, [
2210
+ } | string | Uint8Array, arg2: PolymeshPrimitivesAssetAssetId | string | Uint8Array, arg3: u64 | AnyNumber | Uint8Array) => Observable<bool>, [
1730
2211
  PolymeshPrimitivesIdentityIdPortfolioId,
1731
- ITuple<[PolymeshPrimitivesAssetAssetId, u64]>
2212
+ PolymeshPrimitivesAssetAssetId,
2213
+ u64
1732
2214
  ]>;
1733
2215
  /**
1734
2216
  * The set of existing portfolios with their names. If a certain pair of a DID and
@@ -1761,10 +2243,6 @@ declare module '@polkadot/api-base/types/storage' {
1761
2243
  PolymeshPrimitivesIdentityIdPortfolioId,
1762
2244
  PolymeshPrimitivesAssetAssetId
1763
2245
  ]>;
1764
- /**
1765
- * Storage version.
1766
- **/
1767
- storageVersion: AugmentedQuery<ApiType, () => Observable<u8>, []>;
1768
2246
  };
1769
2247
  preimage: {
1770
2248
  preimageFor: AugmentedQuery<ApiType, (arg: ITuple<[H256, u32]> | [H256 | string | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<Option<Bytes>>, [
@@ -1789,35 +2267,146 @@ declare module '@polkadot/api-base/types/storage' {
1789
2267
  /**
1790
2268
  * The mapping of operation names to the base fees of those operations.
1791
2269
  **/
1792
- baseFees: AugmentedQuery<ApiType, (arg: PolymeshCommonUtilitiesProtocolFeeProtocolOp | 'AssetRegisterTicker' | 'AssetIssue' | 'AssetAddDocuments' | 'AssetCreateAsset' | 'CheckpointCreateSchedule' | 'ComplianceManagerAddComplianceRequirement' | 'IdentityCddRegisterDid' | 'IdentityAddClaim' | 'IdentityAddSecondaryKeysWithAuthorization' | 'PipsPropose' | 'ContractsPutCode' | 'CorporateBallotAttachBallot' | 'CapitalDistributionDistribute' | 'NFTCreateCollection' | 'NFTMint' | 'IdentityCreateChildIdentity' | number | Uint8Array) => Observable<u128>, [
1793
- PolymeshCommonUtilitiesProtocolFeeProtocolOp
2270
+ baseFees: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesProtocolFeeProtocolOp | 'AssetRegisterTicker' | 'AssetIssue' | 'AssetAddDocuments' | 'AssetCreateAsset' | 'CheckpointCreateSchedule' | 'ComplianceManagerAddComplianceRequirement' | 'IdentityRegisterDid' | 'IdentityAddClaim' | 'IdentityAddSecondaryKeysWithAuthorization' | 'PipsPropose' | 'ContractsPutCode' | 'CorporateBallotAttachBallot' | 'CapitalDistributionDistribute' | 'NFTCreateCollection' | 'NFTMint' | number | Uint8Array) => Observable<u128>, [
2271
+ PolymeshPrimitivesProtocolFeeProtocolOp
1794
2272
  ]>;
1795
2273
  /**
1796
2274
  * The fee coefficient as a positive rational (numerator, denominator).
1797
2275
  **/
1798
2276
  coefficient: AugmentedQuery<ApiType, () => Observable<ITuple<[u32, u32]>>, []>;
1799
2277
  };
1800
- randomnessCollectiveFlip: {
2278
+ relayer: {
1801
2279
  /**
1802
- * Series of block headers from the last 81 blocks that acts as random seed material. This
1803
- * is arranged as a ring buffer with `block_number % 81` being the index into the `Vec` of
1804
- * the oldest hash.
2280
+ * Pending subsidies for a `user_key` from a `paying_key`.
2281
+ *
2282
+ * This is used to track subsidies that have been authorised but not yet accepted.
2283
+ *
2284
+ * The paying key can update or cancel the subsidy before it is accepted.
1805
2285
  **/
1806
- randomMaterial: AugmentedQuery<ApiType, () => Observable<Vec<H256>>, []>;
1807
- };
1808
- relayer: {
2286
+ pendingSubsidies: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u128>>, [
2287
+ AccountId32,
2288
+ AccountId32
2289
+ ]>;
2290
+ /**
2291
+ * Nonce for `relay_tx`.
2292
+ **/
2293
+ relayTxNonces: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u64>, [
2294
+ AccountId32
2295
+ ]>;
1809
2296
  /**
1810
2297
  * The subsidy for a `user_key` if they are being subsidised,
1811
2298
  * as a map `user_key` => `Subsidy`.
1812
2299
  *
1813
- * A key can only have one subsidy at a time. To change subsidisers
1814
- * a key needs to call `remove_paying_key` to remove the current subsidy,
1815
- * before they can accept a new subsidiser.
2300
+ * A key can only have one subsidy at a time. Accepting a new subsidy
2301
+ * will replace any existing subsidy.
1816
2302
  **/
1817
2303
  subsidies: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletRelayerSubsidy>>, [
1818
2304
  AccountId32
1819
2305
  ]>;
1820
2306
  };
2307
+ revive: {
2308
+ /**
2309
+ * The data associated to a contract or externally owned account.
2310
+ **/
2311
+ accountInfoOf: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<PalletReviveStorageAccountInfo>>, [
2312
+ H160
2313
+ ]>;
2314
+ /**
2315
+ * Mapping for block number and hashes.
2316
+ *
2317
+ * The maximum number of elements stored is capped by the block hash count `BLOCK_HASH_COUNT`.
2318
+ **/
2319
+ blockHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [
2320
+ u32
2321
+ ]>;
2322
+ /**
2323
+ * A mapping from a contract's code hash to its code info.
2324
+ **/
2325
+ codeInfoOf: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletReviveVmCodeInfo>>, [
2326
+ H256
2327
+ ]>;
2328
+ /**
2329
+ * Debugging settings that can be configured when DebugEnabled config is true.
2330
+ **/
2331
+ debugSettingsOf: AugmentedQuery<ApiType, () => Observable<PalletReviveDebugDebugSettings>, [
2332
+ ]>;
2333
+ /**
2334
+ * Evicted contracts that await child trie deletion.
2335
+ *
2336
+ * Child trie deletion is a heavy operation depending on the amount of storage items
2337
+ * stored in said trie. Therefore this operation is performed lazily in `on_idle`.
2338
+ **/
2339
+ deletionQueue: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [
2340
+ u32
2341
+ ]>;
2342
+ /**
2343
+ * A pair of monotonic counters used to track the latest contract marked for deletion
2344
+ * and the latest deleted contract in queue.
2345
+ **/
2346
+ deletionQueueCounter: AugmentedQuery<ApiType, () => Observable<PalletReviveStorageDeletionQueueManager>, [
2347
+ ]>;
2348
+ /**
2349
+ * The first transaction and receipt of the ethereum block.
2350
+ *
2351
+ * These values are moved out of the `EthBlockBuilderIR` to avoid serializing and
2352
+ * deserializing them on every transaction. Instead, they are loaded when needed.
2353
+ **/
2354
+ ethBlockBuilderFirstValues: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[Bytes, Bytes]>>>, [
2355
+ ]>;
2356
+ /**
2357
+ * Incremental ethereum block builder.
2358
+ **/
2359
+ ethBlockBuilderIR: AugmentedQuery<ApiType, () => Observable<PalletReviveEvmBlockHashBlockBuilderEthereumBlockBuilderIR>, [
2360
+ ]>;
2361
+ /**
2362
+ * The current Ethereum block that is stored in the `on_finalize` method.
2363
+ *
2364
+ * # Note
2365
+ *
2366
+ * This could be further optimized into the future to store only the minimum
2367
+ * information needed to reconstruct the Ethereum block at the RPC level.
2368
+ *
2369
+ * Since the block is convenient to have around, and the extra details are capped
2370
+ * by a few hashes and the vector of transaction hashes, we store the block here.
2371
+ **/
2372
+ ethereumBlock: AugmentedQuery<ApiType, () => Observable<PalletReviveEvmApiRpcTypesGenBlock>, [
2373
+ ]>;
2374
+ /**
2375
+ * The immutable data associated with a given account.
2376
+ **/
2377
+ immutableDataOf: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<Bytes>>, [
2378
+ H160
2379
+ ]>;
2380
+ /**
2381
+ * Map a Ethereum address to its original `AccountId32`.
2382
+ *
2383
+ * When deriving a `H160` from an `AccountId32` we use a hash function. In order to
2384
+ * reconstruct the original account we need to store the reverse mapping here.
2385
+ * Register your `AccountId32` using [`Pallet::map_account`] in order to
2386
+ * use it with this pallet.
2387
+ **/
2388
+ originalAccount: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<AccountId32>>, [
2389
+ H160
2390
+ ]>;
2391
+ /**
2392
+ * A mapping from a contract's code hash to its code.
2393
+ * The code's size is bounded by [`crate::limits::BLOB_BYTES`] for PVM and
2394
+ * [`revm::primitives::eip170::MAX_CODE_SIZE`] for EVM bytecode.
2395
+ **/
2396
+ pristineCode: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Bytes>>, [
2397
+ H256
2398
+ ]>;
2399
+ /**
2400
+ * The details needed to reconstruct the receipt info offchain.
2401
+ *
2402
+ * This contains valuable information about the gas used by the transaction.
2403
+ *
2404
+ * NOTE: The item is unbound and should therefore never be read on chain.
2405
+ * It could otherwise inflate the PoV size of a block.
2406
+ **/
2407
+ receiptInfoData: AugmentedQuery<ApiType, () => Observable<Vec<PalletReviveEvmBlockHashReceiptGasInfo>>, [
2408
+ ]>;
2409
+ };
1821
2410
  scheduler: {
1822
2411
  /**
1823
2412
  * Items to be executed, indexed by the block number that they should be executed on.
@@ -1859,6 +2448,15 @@ declare module '@polkadot/api-base/types/storage' {
1859
2448
  **/
1860
2449
  disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, Perbill]>>>, [
1861
2450
  ]>;
2451
+ /**
2452
+ * Accounts whose keys were set via `SessionInterface` (external path) without
2453
+ * incrementing the consumer reference or placing a key deposit. `do_purge_keys`
2454
+ * only decrements consumers for accounts that were registered through the local
2455
+ * session pallet.
2456
+ **/
2457
+ externallySetKeys: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Null>>, [
2458
+ AccountId32
2459
+ ]>;
1862
2460
  /**
1863
2461
  * The owner of a key. The key is the `KeyTypeId` + the encoded key.
1864
2462
  **/
@@ -1868,7 +2466,7 @@ declare module '@polkadot/api-base/types/storage' {
1868
2466
  /**
1869
2467
  * The next session keys for a validator.
1870
2468
  **/
1871
- nextKeys: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PolymeshRuntimeTestnetRuntimeSessionKeys>>, [
2469
+ nextKeys: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PolymeshRuntimeDevelopRuntimeSessionKeys>>, [
1872
2470
  AccountId32
1873
2471
  ]>;
1874
2472
  /**
@@ -1880,7 +2478,7 @@ declare module '@polkadot/api-base/types/storage' {
1880
2478
  * The queued keys for the next session. When the next session begins, these keys
1881
2479
  * will be used to determine the validator's session keys.
1882
2480
  **/
1883
- queuedKeys: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[AccountId32, PolymeshRuntimeTestnetRuntimeSessionKeys]>>>, [
2481
+ queuedKeys: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[AccountId32, PolymeshRuntimeDevelopRuntimeSessionKeys]>>>, [
1884
2482
  ]>;
1885
2483
  /**
1886
2484
  * The current set of validators.
@@ -1891,12 +2489,13 @@ declare module '@polkadot/api-base/types/storage' {
1891
2489
  /**
1892
2490
  * Tracks affirmations received for an instruction. (instruction_id, counter_party) -> AffirmationStatus
1893
2491
  **/
1894
- affirmsReceived: AugmentedQuery<ApiType, (arg1: u64 | AnyNumber | Uint8Array, arg2: PolymeshPrimitivesIdentityIdPortfolioId | {
1895
- did?: any;
1896
- kind?: any;
2492
+ affirmsReceived: AugmentedQuery<ApiType, (arg1: u64 | AnyNumber | Uint8Array, arg2: PolymeshPrimitivesAssetAssetHolder | {
2493
+ Portfolio: any;
2494
+ } | {
2495
+ Account: any;
1897
2496
  } | string | Uint8Array) => Observable<PolymeshPrimitivesSettlementAffirmationStatus>, [
1898
2497
  u64,
1899
- PolymeshPrimitivesIdentityIdPortfolioId
2498
+ PolymeshPrimitivesAssetAssetHolder
1900
2499
  ]>;
1901
2500
  /**
1902
2501
  * Free-form text about a venue. venue_id -> `VenueDetails`
@@ -1948,6 +2547,12 @@ declare module '@polkadot/api-base/types/storage' {
1948
2547
  instructionMemos: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PolymeshPrimitivesMemo>>, [
1949
2548
  u64
1950
2549
  ]>;
2550
+ /**
2551
+ * The number of times an instruction has been relocked.
2552
+ **/
2553
+ instructionRelockCount: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<u32>, [
2554
+ u64
2555
+ ]>;
1951
2556
  /**
1952
2557
  * Instruction statuses. instruction_id -> InstructionStatus
1953
2558
  **/
@@ -1960,6 +2565,13 @@ declare module '@polkadot/api-base/types/storage' {
1960
2565
  lockedTimestamp: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u64>>, [
1961
2566
  u64
1962
2567
  ]>;
2568
+ /**
2569
+ * When `true`, the identity has opted in to mandatory receiver affirmation.
2570
+ * Default is `false` (no affirmation required).
2571
+ **/
2572
+ mandatoryReceiverAffirmation: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<bool>, [
2573
+ PolymeshPrimitivesIdentityId
2574
+ ]>;
1963
2575
  /**
1964
2576
  * Tracks the number of signers each venue has.
1965
2577
  **/
@@ -1981,18 +2593,21 @@ declare module '@polkadot/api-base/types/storage' {
1981
2593
  u64
1982
2594
  ]>;
1983
2595
  /**
1984
- * Storage version.
2596
+ * The moment the instruction was unlocked by a mediator. Used to enforce the relock cooldown.
1985
2597
  **/
1986
- storageVersion: AugmentedQuery<ApiType, () => Observable<u8>, []>;
2598
+ unlockedTimestamp: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u64>>, [
2599
+ u64
2600
+ ]>;
1987
2601
  /**
1988
2602
  * Helps a user track their pending instructions and affirmations (only needed for UI).
1989
2603
  * (counter_party, instruction_id) -> AffirmationStatus
1990
2604
  **/
1991
- userAffirmations: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityIdPortfolioId | {
1992
- did?: any;
1993
- kind?: any;
2605
+ userAffirmations: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetHolder | {
2606
+ Portfolio: any;
2607
+ } | {
2608
+ Account: any;
1994
2609
  } | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<PolymeshPrimitivesSettlementAffirmationStatus>, [
1995
- PolymeshPrimitivesIdentityIdPortfolioId,
2610
+ PolymeshPrimitivesAssetAssetHolder,
1996
2611
  u64
1997
2612
  ]>;
1998
2613
  /**
@@ -2460,6 +3075,12 @@ declare module '@polkadot/api-base/types/storage' {
2460
3075
  **/
2461
3076
  storageVersion: AugmentedQuery<ApiType, () => Observable<u8>, []>;
2462
3077
  };
3078
+ sudo: {
3079
+ /**
3080
+ * The `AccountId` of the sudo key.
3081
+ **/
3082
+ key: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []>;
3083
+ };
2463
3084
  system: {
2464
3085
  /**
2465
3086
  * The full account information for a particular account ID.
@@ -2467,10 +3088,6 @@ declare module '@polkadot/api-base/types/storage' {
2467
3088
  account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<FrameSystemAccountInfo>, [
2468
3089
  AccountId32
2469
3090
  ]>;
2470
- /**
2471
- * Total length (in bytes) for all extrinsics put together, for the current block.
2472
- **/
2473
- allExtrinsicsLen: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
2474
3091
  /**
2475
3092
  * `Some` if a code upgrade has been authorized.
2476
3093
  **/
@@ -2482,6 +3099,16 @@ declare module '@polkadot/api-base/types/storage' {
2482
3099
  blockHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [
2483
3100
  u32
2484
3101
  ]>;
3102
+ /**
3103
+ * Total size (in bytes) of the current block.
3104
+ *
3105
+ * Tracks the size of the header and all extrinsics.
3106
+ **/
3107
+ blockSize: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
3108
+ /**
3109
+ * Number of blocks till the pending code upgrade is applied.
3110
+ **/
3111
+ blocksTillUpgrade: AugmentedQuery<ApiType, () => Observable<Option<u8>>, []>;
2485
3112
  /**
2486
3113
  * The current weight for the block.
2487
3114
  **/
@@ -2643,6 +3270,13 @@ declare module '@polkadot/api-base/types/storage' {
2643
3270
  nextFeeMultiplier: AugmentedQuery<ApiType, () => Observable<u128>, []>;
2644
3271
  storageVersion: AugmentedQuery<ApiType, () => Observable<PalletTransactionPaymentReleases>, [
2645
3272
  ]>;
3273
+ /**
3274
+ * The `OnChargeTransaction` stores the withdrawn tx fee here.
3275
+ *
3276
+ * Use `withdraw_txfee` and `remaining_txfee` to access from outside the crate.
3277
+ **/
3278
+ txPaymentCredit: AugmentedQuery<ApiType, () => Observable<Option<FrameSupportTokensFungibleImbalance>>, [
3279
+ ]>;
2646
3280
  };
2647
3281
  upgradeCommittee: {
2648
3282
  /**
@@ -2698,15 +3332,6 @@ declare module '@polkadot/api-base/types/storage' {
2698
3332
  inactiveMembers: AugmentedQuery<ApiType, () => Observable<Vec<PolymeshPrimitivesGroupInactiveMember>>, [
2699
3333
  ]>;
2700
3334
  };
2701
- utility: {
2702
- /**
2703
- * Nonce for `relay_tx`.
2704
- * POLYMESH: added.
2705
- **/
2706
- nonces: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u64>, [
2707
- AccountId32
2708
- ]>;
2709
- };
2710
3335
  validators: {
2711
3336
  /**
2712
3337
  * Entities that are allowed to run operator/validator nodes.