import '@polkadot/api-base/types/storage'; import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types'; import type { BTreeSet, Bytes, Compact, Null, Option, Struct, Text, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; import type { AnyNumber, ITuple } from '@polkadot/types-codec/types'; import type { AccountId32, Call, H160, H256, Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime'; import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensFungibleImbalance, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAssetAssetDetails, PalletAssetTickerRegistration, PalletAssetTickerRegistrationConfig, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletCommitteePolymeshVotes, PalletConfidentialAssetsAssetDetails, PalletConfidentialAssetsCurveTreeCurveTreeTimestamp, PalletConfidentialAssetsCurveTreeTimestampedTreeRoot, PalletConfidentialAssetsFreezeOrigin, PalletConfidentialAssetsLegMediatorKeys, PalletConfidentialAssetsRequiredClaim, PalletConfidentialAssetsRoleKind, PalletConfidentialAssetsSettlementAffirmationStatus, PalletConfidentialAssetsSettlementLegAffirmParty, PalletConfidentialAssetsSettlementSettlementStatus, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, PalletCorporateActionsBallotBallotVote, PalletCorporateActionsCaId, PalletCorporateActionsCorporateAction, PalletCorporateActionsDistribution, PalletCorporateActionsTargetIdentities, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityClaim1stKey, PalletIdentityClaim2ndKey, PalletImOnlineSr25519AppSr25519Public, PalletMigrationsMigrationCursor, PalletPipsDepositInfo, PalletPipsPip, PalletPipsPipsMetadata, PalletPipsProposalState, PalletPipsProposer, PalletPipsSnapshotMetadata, PalletPipsSnapshottedPip, PalletPipsVote, PalletPipsVotingResult, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletRelayerSubsidy, PalletReviveDebugDebugSettings, PalletReviveEvmApiRpcTypesGenBlock, PalletReviveEvmBlockHashBlockBuilderEthereumBlockBuilderIR, PalletReviveEvmBlockHashReceiptGasInfo, PalletReviveStorageAccountInfo, PalletReviveStorageDeletionQueueManager, PalletReviveVmCodeInfo, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStoFundraiser, PalletTransactionPaymentReleases, PalletValidatorsPermissionedIdentityPrefs, PalletValidatorsSlashingSwitch, PalletWorkerModulesProtocolMetadata, PalletWorkerModulesProtocolModuleConfig, PolymeshDartBpAccountAccountStateCommitment, PolymeshDartBpAccountAccountStateNullifier, PolymeshDartBpAssetAssetKeys, PolymeshDartBpFeeFeeAccountStateCommitment, PolymeshDartBpFeeFeeAccountStateNullifier, PolymeshDartBpKeysAccountPublicKey, PolymeshDartBpKeysEncryptionPublicKey, PolymeshDartBpLegSettlementRef, PolymeshDartCurveTreeCommonCompressedInner, PolymeshDartCurveTreeCommonCompressedLeafValue, PolymeshDartCurveTreeCommonNodeLocation, PolymeshDartCurveTreeCompressedCurveTreeRoot, PolymeshPrimitivesAgentAgentGroup, PolymeshPrimitivesAssetAssetHolder, PolymeshPrimitivesAssetAssetId, PolymeshPrimitivesAssetIdentifier, PolymeshPrimitivesAssetMetadataAssetMetadataKey, PolymeshPrimitivesAssetMetadataAssetMetadataSpec, PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail, PolymeshPrimitivesAuthorization, PolymeshPrimitivesCheckpointNextCheckpoints, PolymeshPrimitivesCheckpointScheduleCheckpoints, PolymeshPrimitivesComplianceManagerAssetCompliance, PolymeshPrimitivesConditionTrustedIssuer, PolymeshPrimitivesDocument, PolymeshPrimitivesGroupInactiveMember, PolymeshPrimitivesIdentityClaim, PolymeshPrimitivesIdentityDidRecord, PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityIdPortfolioId, PolymeshPrimitivesMaybeBlock, PolymeshPrimitivesMemo, PolymeshPrimitivesMultisigProposalState, PolymeshPrimitivesMultisigProposalVoteCount, PolymeshPrimitivesNftNftCollection, PolymeshPrimitivesNftNftOwnerStatus, PolymeshPrimitivesProtocolFeeProtocolOp, PolymeshPrimitivesSecondaryKeyExtrinsicPermissions, PolymeshPrimitivesSecondaryKeyKeyRecord, PolymeshPrimitivesSecondaryKeySignatory, PolymeshPrimitivesSettlementAffirmationStatus, PolymeshPrimitivesSettlementInstruction, PolymeshPrimitivesSettlementInstructionStatus, PolymeshPrimitivesSettlementLeg, PolymeshPrimitivesSettlementLegStatus, PolymeshPrimitivesSettlementMediatorAffirmationStatus, PolymeshPrimitivesSettlementVenue, PolymeshPrimitivesStatisticsStat1stKey, PolymeshPrimitivesStatisticsStat2ndKey, PolymeshPrimitivesStatisticsStatType, PolymeshPrimitivesSubsetSubsetRestrictionAssetId, PolymeshPrimitivesSubsetSubsetRestrictionPortfolioId, PolymeshPrimitivesTicker, PolymeshPrimitivesTransferComplianceAssetTransferCompliance, PolymeshPrimitivesTransferComplianceTransferConditionExemptKey, PolymeshRuntimeDevelopRuntimeRuntimeHoldReason, PolymeshRuntimeDevelopRuntimeSessionKeys, PolymeshWorkerCommonProtocol, PolymeshWorkerCommonProtocolVersion, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight } from '@polkadot/types/lookup'; import type { Observable } from '@polkadot/types/types'; export type __AugmentedQuery = AugmentedQuery unknown>; export type __QueryableStorageEntry = QueryableStorageEntry; declare module '@polkadot/api-base/types/storage' { interface AugmentedQueries { asset: { /** * Maps (owner, spender, asset_id) to the approved allowance amount. * * A non-existent entry returns 0 (via `ValueQuery`), matching ERC-20 behavior. * When an allowance is revoked (set to 0), the entry is removed to bound storage growth. * * Uses `StorageNMap` so that all allowances for a given owner can be iterated * via prefix. **/ allowances: AugmentedQuery Observable, [ AccountId32, AccountId32, PolymeshPrimitivesAssetAssetId ]>; /** * Tracks the total [`Balance`] held by the account for each [`AssetId`]. **/ assetBalance: AugmentedQuery Observable, [ AccountId32, PolymeshPrimitivesAssetAssetId ]>; /** * All [`Document`] attached to an asset. **/ assetDocuments: AugmentedQuery Observable>, [ PolymeshPrimitivesAssetAssetId, u32 ]>; /** * [`DocumentId`] counter per [`AssetId`]. **/ assetDocumentsIdSequence: AugmentedQuery Observable, [ PolymeshPrimitivesAssetAssetId ]>; /** * Maps each [`AssetId`] to its asset identifiers ([`AssetIdentifier`]). **/ assetIdentifiers: AugmentedQuery Observable>, [ PolymeshPrimitivesAssetAssetId ]>; /** * Maps all [`AssetId`] that are mapped to a [`Ticker`]. **/ assetIdTicker: AugmentedQuery Observable>, [ PolymeshPrimitivesAssetAssetId ]>; /** * Asset Metadata Global Key -> Name. **/ assetMetadataGlobalKeyToName: AugmentedQuery Observable>, [ u64 ]>; /** * Asset Metadata Global Name -> Key. **/ assetMetadataGlobalNameToKey: AugmentedQuery Observable>, [ Bytes ]>; /** * Asset Metadata Global Key specs. **/ assetMetadataGlobalSpecs: AugmentedQuery Observable>, [ u64 ]>; /** * Asset Metadata Local Key -> Name. **/ assetMetadataLocalKeyToName: AugmentedQuery Observable>, [ PolymeshPrimitivesAssetAssetId, u64 ]>; /** * Asset Metadata Local Name -> Key. **/ assetMetadataLocalNameToKey: AugmentedQuery Observable>, [ PolymeshPrimitivesAssetAssetId, Bytes ]>; /** * Asset Metadata Local Key specs. **/ assetMetadataLocalSpecs: AugmentedQuery Observable>, [ PolymeshPrimitivesAssetAssetId, u64 ]>; /** * Details for an asset's Metadata values. **/ assetMetadataValueDetails: AugmentedQuery Observable>, [ PolymeshPrimitivesAssetAssetId, PolymeshPrimitivesAssetMetadataAssetMetadataKey ]>; /** * Metatdata values for an asset. **/ assetMetadataValues: AugmentedQuery Observable>, [ PolymeshPrimitivesAssetAssetId, PolymeshPrimitivesAssetMetadataAssetMetadataKey ]>; /** * Maps each [`AssetId`] to its underling [`AssetName`]. **/ assetNames: AugmentedQuery Observable>, [ PolymeshPrimitivesAssetAssetId ]>; /** * A per account nonce that is used for generating an [`AssetId`]. **/ assetNonce: AugmentedQuery Observable, [ AccountId32 ]>; /** * Maps each [`AssetId`] to its underling [`AssetDetails`]. **/ assets: AugmentedQuery Observable>, [ PolymeshPrimitivesAssetAssetId ]>; /** * A list of assets that exempt all users from affirming its receivement. **/ assetsExemptFromAffirmation: AugmentedQuery Observable, [ PolymeshPrimitivesAssetAssetId ]>; /** * Tracks the total [`Balance`] for each [`AssetId`] per [`IdentityId`]. **/ balanceOf: AugmentedQuery Observable, [ PolymeshPrimitivesAssetAssetId, PolymeshPrimitivesIdentityId ]>; /** * The last [`AssetMetadataGlobalKey`] used for a global key. **/ currentAssetMetadataGlobalKey: AugmentedQuery Observable>, []>; /** * The last [`AssetMetadataLocalKey`] used for [`AssetId`]. **/ currentAssetMetadataLocalKey: AugmentedQuery Observable>, [ PolymeshPrimitivesAssetAssetId ]>; /** * The next `AssetType::Custom` ID in the sequence. * * Numbers in the sequence start from 1 rather than 0. **/ customTypeIdSequence: AugmentedQuery Observable, []>; /** * Maps custom asset type ids to the registered string contents. **/ customTypes: AugmentedQuery Observable, [ u32 ]>; /** * Inverse map of `CustomTypes`, from registered string contents to custom asset type ids. **/ customTypesInverse: AugmentedQuery Observable>, [ Bytes ]>; /** * Returns `true` if transfers for the asset are frozen. Otherwise, returns `false`. **/ frozen: AugmentedQuery Observable, [ PolymeshPrimitivesAssetAssetId ]>; /** * Tracks if the account is frozen. **/ frozenAccounts: AugmentedQuery Observable, [ AccountId32, PolymeshPrimitivesAssetAssetId ]>; /** * Tracks the amount of frozen tokens for each asset held by the account. **/ frozenBalance: AugmentedQuery Observable, [ AccountId32, PolymeshPrimitivesAssetAssetId ]>; /** * Maps each [`AssetId`] to the name of its founding round ([`FundingRoundName`]). **/ fundingRound: AugmentedQuery Observable, [ PolymeshPrimitivesAssetAssetId ]>; /** * The total [`Balance`] of tokens issued in all recorded funding rounds ([`FundingRoundName`]). **/ issuedInFundingRound: AugmentedQuery | [PolymeshPrimitivesAssetAssetId | string | Uint8Array, Bytes | string | Uint8Array]) => Observable, [ ITuple<[PolymeshPrimitivesAssetAssetId, Bytes]> ]>; /** * Tracks the [`Balance`] of locked tokens for assets that are held by the key (i.e., not in a portfolio). **/ lockedBalance: AugmentedQuery Observable, [ AccountId32, PolymeshPrimitivesAssetAssetId ]>; /** * Identities that require receiver affirmation for all incoming transfers. * The list of mandatory mediators for every ticker. **/ mandatoryMediators: AugmentedQuery Observable>, [ PolymeshPrimitivesAssetAssetId ]>; /** * All assets that don't need an affirmation to be received by an identity. **/ preApprovedAsset: AugmentedQuery Observable, [ PolymeshPrimitivesIdentityId, PolymeshPrimitivesAssetAssetId ]>; /** * All assets owned by a user. **/ securityTokensOwnedByUser: AugmentedQuery Observable, [ PolymeshPrimitivesIdentityId, PolymeshPrimitivesAssetAssetId ]>; /** * Storage version. **/ storageVersion: AugmentedQuery Observable, []>; /** * Maps all [`Ticker`] that are linked to an [`AssetId`]. **/ tickerAssetId: AugmentedQuery Observable>, [ PolymeshPrimitivesTicker ]>; /** * Returns [`TickerRegistrationConfig`] for assessing if a ticker is valid. **/ tickerConfig: AugmentedQuery Observable, [ ]>; /** * All tickers owned by a user. **/ tickersOwnedByUser: AugmentedQuery Observable, [ PolymeshPrimitivesIdentityId, PolymeshPrimitivesTicker ]>; /** * Map each [`Ticker`] to its registration details ([`TickerRegistration`]). **/ uniqueTickerRegistration: AugmentedQuery Observable>, [ PolymeshPrimitivesTicker ]>; }; authorityDiscovery: { /** * Keys of the current authority set. **/ keys: AugmentedQuery Observable>, []>; /** * Keys of the next authority set. **/ nextKeys: AugmentedQuery Observable>, []>; }; authorship: { /** * Author of current block. **/ author: AugmentedQuery Observable>, []>; }; babe: { /** * Current epoch authorities. **/ authorities: AugmentedQuery Observable>>, [ ]>; /** * This field should always be populated during block processing unless * secondary plain slots are enabled (which don't contain a VRF output). * * It is set in `on_finalize`, before it will contain the value from the last block. **/ authorVrfRandomness: AugmentedQuery Observable>, []>; /** * Current slot number. **/ currentSlot: AugmentedQuery Observable, []>; /** * The configuration for the current epoch. Should never be `None` as it is initialized in * genesis. **/ epochConfig: AugmentedQuery Observable>, [ ]>; /** * Current epoch index. **/ epochIndex: AugmentedQuery Observable, []>; /** * The block numbers when the last and current epoch have started, respectively `N-1` and * `N`. * NOTE: We track this is in order to annotate the block number when a given pool of * entropy was fixed (i.e. it was known to chain observers). Since epochs are defined in * slots, which may be skipped, the block numbers may not line up with the slot numbers. **/ epochStart: AugmentedQuery Observable>, []>; /** * The slot at which the first epoch actually started. This is 0 * until the first block of the chain. **/ genesisSlot: AugmentedQuery Observable, []>; /** * Temporary value (cleared at block finalization) which is `Some` * if per-block initialization has already been called for current block. **/ initialized: AugmentedQuery Observable>>, [ ]>; /** * How late the current block is compared to its parent. * * This entry is populated as part of block execution and is cleaned up * on block finalization. Querying this storage entry outside of block * execution context should always yield zero. **/ lateness: AugmentedQuery Observable, []>; /** * Next epoch authorities. **/ nextAuthorities: AugmentedQuery Observable>>, [ ]>; /** * The configuration for the next epoch, `None` if the config will not change * (you can fallback to `EpochConfig` instead in that case). **/ nextEpochConfig: AugmentedQuery Observable>, [ ]>; /** * Next epoch randomness. **/ nextRandomness: AugmentedQuery Observable, []>; /** * Pending epoch configuration change that will be applied when the next epoch is enacted. **/ pendingEpochConfigChange: AugmentedQuery Observable>, [ ]>; /** * The epoch randomness for the *current* epoch. * * # Security * * This MUST NOT be used for gambling, as it can be influenced by a * malicious validator in the short term. It MAY be used in many * cryptographic protocols, however, so long as one remembers that this * (like everything else on-chain) it is public. For example, it can be * used where a number is needed that cannot have been chosen by an * adversary, for purposes such as public-coin zero-knowledge proofs. **/ randomness: AugmentedQuery Observable, []>; /** * Randomness under construction. * * We make a trade-off between storage accesses and list length. * We store the under-construction randomness in segments of up to * `UNDER_CONSTRUCTION_SEGMENT_LENGTH`. * * Once a segment reaches this length, we begin the next one. * We reset all segments and return to `0` at the beginning of every * epoch. **/ segmentIndex: AugmentedQuery Observable, []>; /** * A list of the last 100 skipped epochs and the corresponding session index * when the epoch was skipped. * * This is only used for validating equivocation proofs. An equivocation proof * must contains a key-ownership proof for a given session, therefore we need a * way to tie together sessions and epoch indices, i.e. we need to validate that * a validator was the owner of a given key on a given session, and what the * active epoch index was during that session. **/ skippedEpochs: AugmentedQuery Observable>>, []>; /** * TWOX-NOTE: `SegmentIndex` is an increasing integer, so this is okay. **/ underConstruction: AugmentedQuery Observable>, [ u32 ]>; }; balances: { /** * The Balances pallet example of storing the balance of an account. * * # Example * * ```nocompile * impl pallet_balances::Config for Runtime { * type AccountStore = StorageMapShim, frame_system::Provider, AccountId, Self::AccountData> * } * ``` * * You can also store the balance of an account in the `System` pallet. * * # Example * * ```nocompile * impl pallet_balances::Config for Runtime { * type AccountStore = System * } * ``` * * But this comes with tradeoffs, storing account balances in the system pallet stores * `frame_system` data alongside the account data contrary to storing account balances in the * `Balances` pallet, which uses a `StorageMap` to store balances data only. * NOTE: This is only used in the case that this pallet is used to store balances. **/ account: AugmentedQuery Observable, [ AccountId32 ]>; /** * Freeze locks on account balances. **/ freezes: AugmentedQuery Observable>, [ AccountId32 ]>; /** * Holds on account balances. **/ holds: AugmentedQuery Observable>, [ AccountId32 ]>; /** * The total units of outstanding deactivated balance in the system. **/ inactiveIssuance: AugmentedQuery Observable, []>; /** * Any liquidity locks on some account balances. * NOTE: Should only be accessed when setting, changing and freeing a lock. * * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/` **/ locks: AugmentedQuery Observable>, [ AccountId32 ]>; /** * Named reserves on some account balances. * * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/` **/ reserves: AugmentedQuery Observable>, [ AccountId32 ]>; /** * The total units issued in the system. **/ totalIssuance: AugmentedQuery Observable, []>; }; beefy: { /** * The current authorities set **/ authorities: AugmentedQuery Observable>, [ ]>; /** * Block number where BEEFY consensus is enabled/started. * By changing this (through privileged `set_new_genesis()`), BEEFY consensus is effectively * restarted from the newly set block number. **/ genesisBlock: AugmentedQuery Observable>, []>; /** * Authorities set scheduled to be used with the next session **/ nextAuthorities: AugmentedQuery Observable>, [ ]>; /** * A mapping from BEEFY set ID to the index of the *most recent* session for which its * members were responsible. * * This is only used for validating equivocation proofs. An equivocation proof must * contains a key-ownership proof for a given session, therefore we need a way to tie * together sessions and BEEFY set ids, i.e. we need to validate that a validator * was the owner of a given key on a given session, and what the active set ID was * during that session. * * TWOX-NOTE: `ValidatorSetId` is not under user control. **/ setIdSession: AugmentedQuery Observable>, [ u64 ]>; /** * The current validator set id **/ validatorSetId: AugmentedQuery Observable, []>; }; capitalDistribution: { /** * All capital distributions, tied to their respective corporate actions (CAs). * * (CAId) => Distribution **/ distributions: AugmentedQuery Observable>, [ PalletCorporateActionsCaId ]>; /** * Has an asset holder been paid yet? * * (CAId, DID) -> Was DID paid in the CAId? **/ holderPaid: AugmentedQuery | [ PalletCorporateActionsCaId | { assetId?: any; localId?: any; } | string | Uint8Array, PolymeshPrimitivesIdentityId | string | Uint8Array ]) => Observable, [ ITuple<[PalletCorporateActionsCaId, PolymeshPrimitivesIdentityId]> ]>; /** * Storage version. **/ storageVersion: AugmentedQuery Observable, []>; }; checkpoint: { /** * Balance of a DID at a checkpoint. * * ([`AssetId`], did, checkpoint ID) -> Balance of a DID at a checkpoint **/ balance: AugmentedQuery | [PolymeshPrimitivesAssetAssetId | string | Uint8Array, u64 | AnyNumber | Uint8Array], arg2: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable, [ ITuple<[PolymeshPrimitivesAssetAssetId, u64]>, PolymeshPrimitivesIdentityId ]>; /** * Checkpoints where a DID's balance was updated. * ([`AssetId`], did) -> [checkpoint ID where user balance changed] **/ balanceUpdates: AugmentedQuery Observable>, [ PolymeshPrimitivesAssetAssetId, PolymeshPrimitivesIdentityId ]>; /** * Cached next checkpoint for each schedule. * * This is used to quickly find the next checkpoint from a asset's schedules. * * ([`AssetId`]) -> next checkpoints **/ cachedNextCheckpoints: AugmentedQuery Observable>, [ PolymeshPrimitivesAssetAssetId ]>; /** * Checkpoints ID generator sequence. * ID of first checkpoint is 1 instead of 0. * * ([`AssetId`]) -> no. of checkpoints **/ checkpointIdSequence: AugmentedQuery Observable, [ PolymeshPrimitivesAssetAssetId ]>; /** * Scheduled checkpoints. * * ([`AssetId`], schedule ID) -> schedule checkpoints **/ scheduledCheckpoints: AugmentedQuery Observable>, [ PolymeshPrimitivesAssetAssetId, u64 ]>; /** * Checkpoint schedule ID sequence for assets. * * ([`AssetId`]) -> schedule ID **/ scheduleIdSequence: AugmentedQuery Observable, [ PolymeshPrimitivesAssetAssetId ]>; /** * All the checkpoints a given schedule originated. * * ([`AssetId`], schedule ID) -> [checkpoint ID] **/ schedulePoints: AugmentedQuery Observable>, [ PolymeshPrimitivesAssetAssetId, u64 ]>; /** * How many "strong" references are there to a given `ScheduleId`? * * The presence of a "strong" reference, in the sense of `Rc`, * entails that the referenced schedule cannot be removed. * Thus, as long as `strong_ref_count(schedule_id) > 0`, * `remove_schedule(schedule_id)` will error. * * ([`AssetId`], schedule ID) -> strong ref count **/ scheduleRefCount: AugmentedQuery Observable, [ PolymeshPrimitivesAssetAssetId, u64 ]>; /** * The maximum complexity allowed for an asset's schedules. **/ schedulesMaxComplexity: AugmentedQuery Observable, []>; /** * Storage version. **/ storageVersion: AugmentedQuery Observable, []>; /** * Checkpoint timestamps. * * Every schedule-originated checkpoint maps its ID to its due time. * Every checkpoint manually created maps its ID to the time of recording. * * ([`AssetId`]) -> (checkpoint ID) -> checkpoint timestamp **/ timestamps: AugmentedQuery Observable, [ PolymeshPrimitivesAssetAssetId, u64 ]>; /** * Total supply of the token at the checkpoint. * * ([`AssetId`], checkpointId) -> total supply at given checkpoint **/ totalSupply: AugmentedQuery Observable, [ PolymeshPrimitivesAssetAssetId, u64 ]>; }; committeeMembership: { /** * The current "active" membership, stored as an ordered Vec. **/ activeMembers: AugmentedQuery Observable>, [ ]>; /** * Limit of how many "active" members there can be. **/ activeMembersLimit: AugmentedQuery Observable, []>; /** * The current "inactive" membership, stored as an ordered Vec. **/ inactiveMembers: AugmentedQuery Observable>, [ ]>; }; complianceManager: { /** * Compliance for an asset ([`AssetId`] -> [`AssetCompliance`]) **/ assetCompliances: AugmentedQuery Observable, [ PolymeshPrimitivesAssetAssetId ]>; /** * Storage version. **/ storageVersion: AugmentedQuery Observable, []>; /** * List of trusted claim issuer [`AssetId`] -> Issuer Identity **/ trustedClaimIssuer: AugmentedQuery Observable>, [ PolymeshPrimitivesAssetAssetId ]>; }; confidentialAssets: { /** * Confidential account asset registrations. * * The chain must prevent the same account from registering the same asset multiple times. * * This is a double map where the first key is the account public key and the second key is the asset ID. **/ accountAssetRegistrations: AugmentedQuery Observable, [ PolymeshDartBpKeysAccountPublicKey, u32 ]>; /** * The current CurveTree Root for Confidential accounts curve tree. **/ accountCurveTreeCurrentRoot: AugmentedQuery Observable>, [ ]>; /** * The height of the accounts curve tree. **/ accountCurveTreeHeight: AugmentedQuery Observable, []>; /** * The block number of the last account curve tree root pruned. * * For keeping track of the current pruning point of the account curve tree roots. **/ accountCurveTreeLastPruned: AugmentedQuery Observable, []>; /** * The block number of the last account curve tree root update. * * This is used to track the last time the account curve tree was updated. **/ accountCurveTreeLastUpdate: AugmentedQuery Observable, [ ]>; /** * CurveTree Roots for Confidential accounts curve tree. * * At the end of each block we will store the root of the accounts curve tree. * The map key is the block number and the value is the root of the accounts curve tree. **/ accountCurveTreeRoots: AugmentedQuery Observable>, [ u32 ]>; /** * Confidential account to identity mapping. **/ accountDid: AugmentedQuery Observable>, [ PolymeshDartBpKeysAccountPublicKey ]>; /** * Mapping of Confidential account public keys to their encryption keys. **/ accountEncryptionKey: AugmentedQuery Observable>, [ PolymeshDartBpKeysAccountPublicKey ]>; /** * Inner node storage for Confidential accounts curve tree. **/ accountInnerNodes: AugmentedQuery Observable>, [ PolymeshDartCurveTreeCommonNodeLocation ]>; /** * Leaf storage for Confidential accounts curve tree. * * The leaves are immutable, so we use a simple storage map. **/ accountLeaves: AugmentedQuery Observable>, [ u64 ]>; /** * Nullifiers for Confidential account state commitments. * * This is used to ensure that the same account state commitment cannot be used twice. **/ accountStateCommitmentNullifiers: AugmentedQuery Observable>, [ PolymeshDartBpAccountAccountStateNullifier ]>; /** * The current CurveTree Root for Confidential assets curve tree. **/ assetCurveTreeCurrentRoot: AugmentedQuery Observable>, [ ]>; /** * The height of the assets curve tree. **/ assetCurveTreeHeight: AugmentedQuery Observable, []>; /** * The block number of the last asset curve tree root pruned. * * For keeping track of the current pruning point of the asset curve tree roots. **/ assetCurveTreeLastPruned: AugmentedQuery Observable, []>; /** * The block number of the last asset curve tree root update. * * This is used to track the last time the asset curve tree was updated. **/ assetCurveTreeLastUpdate: AugmentedQuery Observable, [ ]>; /** * CurveTree Roots for Confidential assets curve tree. * * At the end of each block we will store the root of the assets curve tree. * The map key is the block number and the value is the root of the assets curve tree. **/ assetCurveTreeRoots: AugmentedQuery Observable>, [ u32 ]>; /** * Who froze the asset; no entry means unfrozen. **/ assetFrozen: AugmentedQuery Observable>, [ u32 ]>; /** * Inner node storage for Confidential assets curve tree. **/ assetInnerNodes: AugmentedQuery Observable>, [ PolymeshDartCurveTreeCommonNodeLocation ]>; /** * Leaf storage for Confidential assets curve tree. * * A counted map is used since we need to support updating the leaves in the tree. **/ assetLeaves: AugmentedQuery Observable>, [ u64 ]>; /** * Cache DART parameters. **/ cachedDartParameters: AugmentedQuery Observable>, []>; /** * The DART protocol version that `CachedDartParameters` was generated with. * * Used to detect when the cached parameters are from an older DART protocol version and need * to be regenerated. **/ cachedDartParametersVersion: AugmentedQuery Observable>, [ ]>; /** * Counter for the related counted storage map **/ counterForAssetLeaves: AugmentedQuery Observable, []>; /** * The WorkerSessionId for the current block (started lazily, removed in `on_finalize`). **/ currentWorkerSessionId: AugmentedQuery Observable>, []>; /** * A Confidential assets token decimals. **/ decimals: AugmentedQuery Observable>, [ u32 ]>; /** * Mapping of Confidential Asset ID to its details. **/ details: AugmentedQuery Observable>, [ u32 ]>; /** * Mapping of identity to their Confidential accounts. **/ didAccounts: AugmentedQuery Observable>, [ PolymeshPrimitivesIdentityId, PolymeshDartBpKeysAccountPublicKey ]>; /** * Mapping of Confidential encryption keys to their public keys. **/ encryptionKeyAccount: AugmentedQuery Observable>, [ PolymeshDartBpKeysEncryptionPublicKey ]>; /** * Encryption key to identity mapping. * * This is used for the auditor and mediator encryption keys. **/ encryptionKeyDid: AugmentedQuery Observable>, [ PolymeshDartBpKeysEncryptionPublicKey ]>; /** * The current CurveTree Root for Confidential fee accounts curve tree. **/ feeAccountCurveTreeCurrentRoot: AugmentedQuery Observable>, [ ]>; /** * The height of the fee accounts curve tree. **/ feeAccountCurveTreeHeight: AugmentedQuery Observable, []>; /** * The block number of the last fee account curve tree root pruned. * * For keeping track of the current pruning point of the fee account curve tree roots. **/ feeAccountCurveTreeLastPruned: AugmentedQuery Observable, []>; /** * The block number of the last fee account curve tree root update. * * This is used to track the last time the fee account curve tree was updated. **/ feeAccountCurveTreeLastUpdate: AugmentedQuery Observable, [ ]>; /** * CurveTree Roots for Confidential fee accounts curve tree. * * At the end of each block we will store the root of the fee accounts curve tree. * The map key is the block number and the value is the root of the fee accounts curve tree. **/ feeAccountCurveTreeRoots: AugmentedQuery Observable>, [ u32 ]>; /** * Confidential fee account to identity mapping. **/ feeAccountDid: AugmentedQuery Observable>, [ PolymeshDartBpKeysAccountPublicKey ]>; /** * Inner node storage for Confidential fee accounts curve tree. **/ feeAccountInnerNodes: AugmentedQuery Observable>, [ PolymeshDartCurveTreeCommonNodeLocation ]>; /** * Leaf storage for Confidential fee accounts curve tree. * * The leaves are immutable, so we use a simple storage map. **/ feeAccountLeaves: AugmentedQuery Observable>, [ u64 ]>; /** * Nullifiers for Confidential fee account state commitments. * * This is used to ensure that the same fee account state commitment cannot be used twice. **/ feeAccountStateCommitmentNullifiers: AugmentedQuery Observable>, [ PolymeshDartBpFeeFeeAccountStateNullifier ]>; /** * Mapping of Confidential Asset ID to its auditor and mediator keys. **/ keys: AugmentedQuery Observable>, [ u32 ]>; /** * The last committed leaf index for Confidential accounts curve tree. * * This is used to do batched inserts into the tree. **/ lastCommittedAccountLeafIndex: AugmentedQuery Observable, []>; /** * The last committed leaf index for Confidential fee accounts curve tree. * * This is used to do batched inserts into the tree. **/ lastCommittedFeeAccountLeafIndex: AugmentedQuery Observable, []>; /** * The affirmation status of each party in a settlement leg. * 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). **/ legAffirmationStatus: AugmentedQuery Observable>, [ PolymeshDartBpLegSettlementRef, u8, PalletConfidentialAssetsSettlementLegAffirmParty ]>; /** * For settlement legs with revealed asset IDs, this keeps track of the mediators' affirmation keys. **/ legMediators: AugmentedQuery Observable>, [ PolymeshDartBpLegSettlementRef, u8 ]>; /** * A Confidential assets token name. **/ names: AugmentedQuery Observable>, [ u32 ]>; /** * Next leaf index for Confidential accounts curve tree. * * This is used to allocate new leaves in the tree. **/ nextAccountLeafIndex: AugmentedQuery Observable, []>; /** * Next Asset ID to be used for Confidential assets. **/ nextAssetId: AugmentedQuery Observable, []>; /** * Next leaf index for Confidential fee accounts curve tree. * * This is used to allocate new leaves in the tree. **/ nextFeeAccountLeafIndex: AugmentedQuery Observable, []>; /** * Client-facing index of the confidential assets owned by each identity. **/ ownerAssets: AugmentedQuery Observable>, [ PolymeshPrimitivesIdentityId, u32 ]>; /** * Marks a relayer submission while its transaction extension is executing. **/ relayerSubmitExtensionMarker: AugmentedQuery Observable>, []>; /** * Required-claim spec for each gated role. * * `None` means the role is permissionless (preserves dev behavior). * Mediators fall back to the auditor spec when no mediator spec is set. **/ requiredClaims: AugmentedQuery Observable>, [ PalletConfidentialAssetsRoleKind ]>; /** * The number of legs in each settlement. **/ settlementLegCount: AugmentedQuery Observable>>, [ PolymeshDartBpLegSettlementRef ]>; /** * The settlement legs. * * This is a double map where the first key is the settlement ID and the second key is the leg ID. * The value is the DartSettlementLeg. **/ settlementLegs: AugmentedQuery Observable>, [ PolymeshDartBpLegSettlementRef, u8 ]>; /** * The settlement memo. **/ settlementMemo: AugmentedQuery Observable>, [ PolymeshDartBpLegSettlementRef ]>; /** * The number of pending affirmations for a settlement. * This is used to track when a settlement can be executed. **/ settlementPendingAffirmations: AugmentedQuery Observable, [ PolymeshDartBpLegSettlementRef ]>; /** * The number of pending finalizations for a settlement. * This is used to track when a settlement can be finalized and all storage can be cleaned up. **/ settlementPendingFinalizations: AugmentedQuery Observable, [ PolymeshDartBpLegSettlementRef ]>; /** * The settlement status. **/ settlementState: AugmentedQuery Observable>, [ PolymeshDartBpLegSettlementRef ]>; /** * Recipient encryption keys a shared encryption key has been distributed to. **/ sharedKeyRecipients: AugmentedQuery Observable>, [ PolymeshDartBpKeysEncryptionPublicKey ]>; /** * A Confidential assets token symbol. **/ symbols: AugmentedQuery Observable>, [ u32 ]>; }; corporateAction: { /** * Associations from CAs to `Document`s via their IDs. * (CAId => [DocumentId]) * * The `CorporateActions` map stores `AssetId => LocalId => The CA`, * so we can infer `AssetId => CAId`. Therefore, we don't need a double map. **/ caDocLink: AugmentedQuery Observable>, [ PalletCorporateActionsCaId ]>; /** * The next per-`AssetId` CA ID in the sequence. * The full ID is defined as a combination of `AssetId` and a number in this sequence. **/ caIdSequence: AugmentedQuery Observable, [ PolymeshPrimitivesAssetAssetId ]>; /** * All recorded CAs thus far. * Only generic information is stored here. * Specific `CAKind`s, e.g., benefits and corporate ballots, may use additional on-chain storage. * * (AssetId => local ID => the corporate action) **/ corporateActions: AugmentedQuery Observable>, [ PolymeshPrimitivesAssetAssetId, u32 ]>; /** * The identities targeted by default for CAs for this asset, * either to be excluded or included. * * (AssetId => target identities) **/ defaultTargetIdentities: AugmentedQuery Observable, [ PolymeshPrimitivesAssetAssetId ]>; /** * The default amount of tax to withhold ("withholding tax", WT) for this asset when distributing dividends. * * To understand withholding tax, e.g., let's assume that you hold ACME shares. * ACME now decides to distribute 100 SEK to Alice. * Alice lives in Sweden, so Skatteverket (the Swedish tax authority) wants 30% of that. * Then those 100 * 30% are withheld from Alice, and ACME will send them to Skatteverket. * * (AssetId => % to withhold) **/ defaultWithholdingTax: AugmentedQuery Observable, [ PolymeshPrimitivesAssetAssetId ]>; /** * Associates details in free-form text with a CA by its ID. * (CAId => CADetails) **/ details: AugmentedQuery Observable, [ PalletCorporateActionsCaId ]>; /** * The amount of tax to withhold ("withholding tax", WT) for a certain AssetId x DID. * If an entry exists for a certain DID, it overrides the default in `DefaultWithholdingTax`. * * (AssetId => [(did, % to withhold)] **/ didWithholdingTax: AugmentedQuery Observable>>, [ PolymeshPrimitivesAssetAssetId ]>; /** * Determines the maximum number of bytes that the free-form `details` of a CA can store. * * Note that this is not the number of `char`s or the number of [graphemes]. * While this may be unnatural in terms of human understanding of a text's length, * it more closely reflects actual storage costs (`'a'` is cheaper to store than an emoji). * * [graphemes]: https://en.wikipedia.org/wiki/Grapheme **/ maxDetailsLength: AugmentedQuery Observable, []>; /** * Storage version. **/ storageVersion: AugmentedQuery Observable, []>; }; corporateBallot: { /** * Metadata of a corporate ballot. * * (CAId) => BallotMeta **/ metas: AugmentedQuery Observable>, [ PalletCorporateActionsCaId ]>; /** * Stores how many choices there are in each motion. * * At all times, the invariant holds that `motion_choices[idx]` is equal to * `metas.unwrap().motions[idx].choices.len()`. That is, this is just a cache, * used to avoid fetching all the motions with their associated texts. * * `u16` choices should be more than enough to fit real use cases. * * (CAId) => Number of choices in each motion. **/ motionNumChoices: AugmentedQuery Observable>, [ PalletCorporateActionsCaId ]>; /** * Is ranked choice voting (RCV) enabled for this ballot? * For an understanding of how RCV is handled, see note on `BallotVote`'s `fallback` field. * * (CAId) => bool **/ rcv: AugmentedQuery Observable, [ PalletCorporateActionsCaId ]>; /** * Stores the total vote tally on each choice. * * RCV is not accounted for, * as there are too many wants to interpret the graph, * and because it would not be efficient. * * (CAId) => [current vote weights] **/ results: AugmentedQuery Observable>, [ PalletCorporateActionsCaId ]>; /** * Storage version. **/ storageVersion: AugmentedQuery Observable, []>; /** * Time details of a corporate ballot associated with a CA. * The timestamps denote when voting starts and stops. * * (CAId) => BallotTimeRange **/ timeRanges: AugmentedQuery Observable>, [ PalletCorporateActionsCaId ]>; /** * Stores each DID's votes in a given ballot. * See the documentation of `BallotVote` for notes on semantics. * * (CAId) => (DID) => [vote weight] * * User must enter 0 vote weight if they don't want to vote for a choice. **/ votes: AugmentedQuery Observable>, [ PalletCorporateActionsCaId, PolymeshPrimitivesIdentityId ]>; }; didRegistrars: { /** * The current "active" membership, stored as an ordered Vec. **/ activeMembers: AugmentedQuery Observable>, [ ]>; /** * Limit of how many "active" members there can be. **/ activeMembersLimit: AugmentedQuery Observable, []>; /** * The current "inactive" membership, stored as an ordered Vec. **/ inactiveMembers: AugmentedQuery Observable>, [ ]>; }; electionProviderMultiPhase: { /** * Current phase. **/ currentPhase: AugmentedQuery Observable, [ ]>; /** * Desired number of targets to elect for this round. * * Only exists when [`Snapshot`] is present. * Note: This storage type must only be mutated through [`SnapshotWrapper`]. **/ desiredTargets: AugmentedQuery Observable>, []>; /** * The minimum score that each 'untrusted' solution must attain in order to be considered * feasible. * * Can be set via `set_minimum_untrusted_score`. **/ minimumUntrustedScore: AugmentedQuery Observable>, [ ]>; /** * Current best solution, signed or unsigned, queued to be returned upon `elect`. * * Always sorted by score. **/ queuedSolution: AugmentedQuery Observable>, [ ]>; /** * Internal counter for the number of rounds. * * This is useful for de-duplication of transactions submitted to the pool, and general * diagnostics of the pallet. * * This is merely incremented once per every time that an upstream `elect` is called. **/ round: AugmentedQuery Observable, []>; /** * A sorted, bounded vector of `(score, block_number, index)`, where each `index` points to a * value in `SignedSubmissions`. * * We never need to process more than a single signed submission at a time. Signed submissions * can be quite large, so we're willing to pay the cost of multiple database accesses to access * them one at a time instead of reading and decoding all of them at once. **/ signedSubmissionIndices: AugmentedQuery Observable>>, [ ]>; /** * The next index to be assigned to an incoming signed submission. * * Every accepted submission is assigned a unique index; that index is bound to that particular * submission for the duration of the election. On election finalization, the next index is * reset to 0. * * We can't just use `SignedSubmissionIndices.len()`, because that's a bounded set; past its * capacity, it will simply saturate. We can't just iterate over `SignedSubmissionsMap`, * because iteration is slow. Instead, we store the value here. **/ signedSubmissionNextIndex: AugmentedQuery Observable, []>; /** * Unchecked, signed solutions. * * Together with `SubmissionIndices`, this stores a bounded set of `SignedSubmissions` while * allowing us to keep only a single one in memory at a time. * * Twox note: the key of the map is an auto-incrementing index which users cannot inspect or * affect; we shouldn't need a cryptographically secure hasher. **/ signedSubmissionsMap: AugmentedQuery Observable>, [ u32 ]>; /** * Snapshot data of the round. * * This is created at the beginning of the signed phase and cleared upon calling `elect`. * Note: This storage type must only be mutated through [`SnapshotWrapper`]. **/ snapshot: AugmentedQuery Observable>, [ ]>; /** * The metadata of the [`RoundSnapshot`] * * Only exists when [`Snapshot`] is present. * Note: This storage type must only be mutated through [`SnapshotWrapper`]. **/ snapshotMetadata: AugmentedQuery Observable>, [ ]>; }; externalAgents: { /** * For each asset and removed agent, the value of `CurrentAuthId` at the time of removal. * * A `BecomeAgent` authorization with an ID at or below this value can't be accepted. **/ agentAuthCutoff: AugmentedQuery Observable, [ PolymeshPrimitivesAssetAssetId, PolymeshPrimitivesIdentityId ]>; /** * Maps an agent (`IdentityId`) to all assets they belong to, if any. **/ agentOf: AugmentedQuery Observable, [ PolymeshPrimitivesIdentityId, PolymeshPrimitivesAssetAssetId ]>; /** * The next per-asset AG ID in the sequence. * * The full ID is defined as a combination of `AssetId` and a number in this sequence, * which starts from 1, rather than 0. **/ agIdSequence: AugmentedQuery Observable, [ PolymeshPrimitivesAssetAssetId ]>; /** * Maps agents (`IdentityId`) for an `AssetId` to what AG they belong to, if any. **/ groupOfAgent: AugmentedQuery Observable>, [ PolymeshPrimitivesAssetAssetId, PolymeshPrimitivesIdentityId ]>; /** * For custom AGs of an `AssetId`, maps to what permissions an agent in that AG would have. **/ groupPermissions: AugmentedQuery Observable>, [ PolymeshPrimitivesAssetAssetId, u32 ]>; /** * Maps an `AssetId` to the number of `Full` agents for it. **/ numFullAgents: AugmentedQuery Observable, [ PolymeshPrimitivesAssetAssetId ]>; /** * Storage version. **/ storageVersion: AugmentedQuery Observable, []>; }; grandpa: { /** * The current list of authorities. **/ authorities: AugmentedQuery Observable>>, [ ]>; /** * The number of changes (both in terms of keys and underlying economic responsibilities) * in the "set" of Grandpa validators from genesis. **/ currentSetId: AugmentedQuery Observable, []>; /** * next block number where we can force a change. **/ nextForced: AugmentedQuery Observable>, []>; /** * Pending change: (signaled at, scheduled change). **/ pendingChange: AugmentedQuery Observable>, [ ]>; /** * A mapping from grandpa set ID to the index of the *most recent* session for which its * members were responsible. * * This is only used for validating equivocation proofs. An equivocation proof must * contains a key-ownership proof for a given session, therefore we need a way to tie * together sessions and GRANDPA set ids, i.e. we need to validate that a validator * was the owner of a given key on a given session, and what the active set ID was * during that session. * * TWOX-NOTE: `SetId` is not under user control. **/ setIdSession: AugmentedQuery Observable>, [ u64 ]>; /** * `true` if we are currently stalled. **/ stalled: AugmentedQuery Observable>>, []>; /** * State of the current authority set. **/ state: AugmentedQuery Observable, []>; }; historical: { /** * Mapping from historical session indices to session-data root hash and validator count. **/ historicalSessions: AugmentedQuery Observable>>, [ u32 ]>; /** * The range of historical sessions we store. [first, last) **/ storedRange: AugmentedQuery Observable>>, []>; }; identity: { /** * How many "strong" references to the account key. * * Strong references will block a key from leaving it's identity. * * Pallets using "strong" references to account keys: * * Assets: Updated when an account holds an asset with non-zero balance. * * NFT: Updated when an account owns an NFT. * **/ accountKeyRefCount: AugmentedQuery Observable, [ AccountId32 ]>; /** * All authorizations that an identity/key has **/ authorizations: AugmentedQuery Observable>, [ PolymeshPrimitivesSecondaryKeySignatory, u64 ]>; /** * All authorizations that an identity has given. (Authorizer, auth_id -> authorized) **/ authorizationsGiven: AugmentedQuery Observable, [ PolymeshPrimitivesIdentityId, u64 ]>; /** * (Target ID, claim type) (issuer,scope) -> Associated claims **/ claims: AugmentedQuery Observable>, [ PalletIdentityClaim1stKey, PalletIdentityClaim2ndKey ]>; /** * Controls the authorization id. **/ currentAuthId: AugmentedQuery Observable, []>; /** * The next `CustomClaimTypeId`. **/ customClaimIdSequence: AugmentedQuery Observable, []>; /** * CusotmClaimTypeId -> String constant **/ customClaims: AugmentedQuery Observable>, [ u32 ]>; /** * String constant -> CustomClaimTypeId **/ customClaimsInverse: AugmentedQuery Observable>, [ Bytes ]>; /** * A reverse double map to allow finding all keys for an identity. **/ didKeys: AugmentedQuery Observable, [ PolymeshPrimitivesIdentityId, AccountId32 ]>; /** * DID -> identity info **/ didRecords: AugmentedQuery Observable>, [ PolymeshPrimitivesIdentityId ]>; /** * DID -> bool that indicates if secondary keys are frozen. **/ isDidFrozen: AugmentedQuery Observable, [ PolymeshPrimitivesIdentityId ]>; /** * A secondary key's asset permissions. **/ keyAssetPermissions: AugmentedQuery Observable>, [ AccountId32 ]>; /** * A secondary key's extrinsic permissions. **/ keyExtrinsicPermissions: AugmentedQuery Observable>, [ AccountId32 ]>; /** * A secondary key's portfolio permissions. **/ keyPortfolioPermissions: AugmentedQuery Observable>, [ AccountId32 ]>; /** * Map from AccountId to `KeyRecord` that holds the key's type and identity. **/ keyRecords: AugmentedQuery Observable>, [ AccountId32 ]>; /** * Nonce to ensure unique actions. starts from 1. **/ multiPurposeNonce: AugmentedQuery Observable, []>; /** * Track the number of authorizations given by each identity. **/ numberOfGivenAuths: AugmentedQuery Observable, [ PolymeshPrimitivesIdentityId ]>; /** * Authorization nonce per Identity. Initially is 0. **/ offChainAuthorizationNonce: AugmentedQuery Observable, [ PolymeshPrimitivesIdentityId ]>; /** * Tracks all authorizations that must be deleted **/ outdatedAuthorizations: AugmentedQuery Observable>, [ PolymeshPrimitivesSecondaryKeySignatory ]>; }; imOnline: { /** * For each session index, we keep a mapping of `ValidatorId` to the * number of blocks authored by the given authority. **/ authoredBlocks: AugmentedQuery Observable, [ u32, AccountId32 ]>; /** * The block number after which it's ok to send heartbeats in the current * session. * * At the beginning of each session we set this to a value that should fall * roughly in the middle of the session duration. The idea is to first wait for * the validators to produce a block in the current session, so that the * heartbeat later on will not be necessary. * * This value will only be used as a fallback if we fail to get a proper session * progress estimate from `NextSessionRotation`, as those estimates should be * more accurate then the value we calculate for `HeartbeatAfter`. **/ heartbeatAfter: AugmentedQuery Observable, []>; /** * The current set of keys that may issue a heartbeat. **/ keys: AugmentedQuery Observable>, [ ]>; /** * For each session index, we keep a mapping of `SessionIndex` and `AuthIndex`. **/ receivedHeartbeats: AugmentedQuery Observable>, [ u32, u32 ]>; }; indices: { /** * The lookup from index to account. **/ accounts: AugmentedQuery Observable>>, [ u32 ]>; }; mmr: { /** * Hashes of the nodes in the MMR. * * Note this collection only contains MMR peaks, the inner nodes (and leaves) * are pruned and only stored in the Offchain DB. **/ nodes: AugmentedQuery Observable>, [ u64 ]>; /** * Current size of the MMR (number of leaves). **/ numberOfLeaves: AugmentedQuery Observable, []>; /** * Latest MMR Root hash. **/ rootHash: AugmentedQuery Observable, []>; }; mmrLeaf: { /** * Details of current BEEFY authority set. **/ beefyAuthorities: AugmentedQuery Observable, [ ]>; /** * Details of next BEEFY authority set. * * This storage entry is used as cache for calls to `update_beefy_next_authority_set`. **/ beefyNextAuthorities: AugmentedQuery Observable, [ ]>; }; multiBlockMigrations: { /** * The currently active migration to run and its cursor. * * `None` indicates that no migration is running. **/ cursor: AugmentedQuery Observable>, [ ]>; /** * Set of all successfully executed migrations. * * This is used as blacklist, to not re-execute migrations that have not been removed from the * codebase yet. Governance can regularly clear this out via `clear_historic`. **/ historic: AugmentedQuery Observable>, [ Bytes ]>; }; multiSig: { /** * The multisig's admin identity. The primary key of this identity * has admin control over the multisig. * * multisig -> Option. **/ adminDid: AugmentedQuery Observable>, [ AccountId32 ]>; /** * Pending join identity authorization proposals. * * multisig -> auth id => Option. **/ authToProposalId: AugmentedQuery Observable>, [ AccountId32, u64 ]>; /** * Proposal execution reentry guard. **/ executionReentry: AugmentedQuery Observable, []>; /** * The last proposal id before the multisig changed signers or signatures required. * * multisig => Option **/ lastInvalidProposal: AugmentedQuery Observable>, [ AccountId32 ]>; /** * Nonce to ensure unique MultiSig addresses are generated; starts from 1. **/ multiSigNonce: AugmentedQuery Observable, []>; /** * Signers of a multisig. (multisig, signer) => bool. **/ multiSigSigners: AugmentedQuery Observable, [ AccountId32, AccountId32 ]>; /** * Confirmations required before processing a multisig tx. **/ multiSigSignsRequired: AugmentedQuery Observable, [ AccountId32 ]>; /** * Next proposal id for a multisig. Starts from 0. * * multisig => next proposal id **/ nextProposalId: AugmentedQuery Observable, [ AccountId32 ]>; /** * Number of approved/accepted signers of a multisig. **/ numberOfSigners: AugmentedQuery Observable, [ AccountId32 ]>; /** * The multisig's paying identity. The primary key of this identity * pays the transaction/protocal fees of the multisig proposals. * * multisig -> Option. **/ payingDid: AugmentedQuery Observable>, [ AccountId32 ]>; /** * Proposals presented for voting to a multisig. * * multisig -> proposal id => Option. **/ proposals: AugmentedQuery Observable>, [ AccountId32, u64 ]>; /** * The state of a multisig proposal * * multisig -> proposal id => Option. **/ proposalStates: AugmentedQuery Observable>, [ AccountId32, u64 ]>; /** * The count of approvals/rejections of a multisig proposal. * * multisig -> proposal id => Option. **/ proposalVoteCounts: AugmentedQuery Observable>, [ AccountId32, u64 ]>; /** * Storage version. **/ storageVersion: AugmentedQuery Observable, []>; /** * The last transaction version, used for `on_runtime_upgrade`. **/ transactionVersion: AugmentedQuery Observable, []>; /** * Individual multisig signer votes. * * (multisig, proposal_id) -> signer => vote. **/ votes: AugmentedQuery | [AccountId32 | string | Uint8Array, u64 | AnyNumber | Uint8Array], arg2: AccountId32 | string | Uint8Array) => Observable, [ ITuple<[AccountId32, u64]>, AccountId32 ]>; }; nft: { /** * All collection details for a given collection id. **/ collection: AugmentedQuery Observable, [ u64 ]>; /** * The collection id corresponding to each asset. **/ collectionAsset: AugmentedQuery Observable, [ PolymeshPrimitivesAssetAssetId ]>; /** * All mandatory metadata keys for a given collection. **/ collectionKeys: AugmentedQuery Observable>, [ u64 ]>; /** * The last `NFTCollectionId` used for a collection. **/ currentCollectionId: AugmentedQuery Observable>, []>; /** * The last `NFTId` used for an NFT. **/ currentNFTId: AugmentedQuery Observable>, [ u64 ]>; /** * NFTs an agent has frozen for a holder, keyed by `(asset_id, holder, nft_id)`. * * Mirrors the ERC-7943 per-account, per-token freeze. A frozen NFT can't leave `holder` * except through a controller transfer, which unfreezes it first. A freeze can be set for a * holder that doesn't hold the NFT yet, and applies if the NFT arrives. `false` is never * stored; the entry is removed instead. **/ frozenNFT: AugmentedQuery Observable, [ PolymeshPrimitivesAssetAssetId, PolymeshPrimitivesAssetAssetHolder, u64 ]>; /** * The metadata value of an nft given its collection id, token id and metadata key. **/ metadataValue: AugmentedQuery | [u64 | AnyNumber | Uint8Array, u64 | AnyNumber | Uint8Array], arg2: PolymeshPrimitivesAssetMetadataAssetMetadataKey | { Global: any; } | { Local: any; } | string | Uint8Array) => Observable, [ ITuple<[u64, u64]>, PolymeshPrimitivesAssetMetadataAssetMetadataKey ]>; /** * The number of NFTs of a given collection held by an account key. * * This is the account-level counterpart of `pallet_portfolio::PortfolioNFTCount`, mirroring * the split used by `pallet_asset::FrozenBalance` / `PortfolioFrozenAssets`. A zero count is * never stored; the entry is removed instead. * * Unlike [`NumberOfNFTs`], which aggregates over a whole identity, this is scoped to a * single account key and is what the ERC-721 precompile reports as `balanceOf`. **/ nftAccountCount: AugmentedQuery Observable, [ AccountId32, PolymeshPrimitivesAssetAssetId ]>; /** * All NFTs associated to the account Key. **/ nftHolder: AugmentedQuery Observable, [ AccountId32, PolymeshPrimitivesAssetAssetId, u64 ]>; /** * The total number of NFTs in a collection. **/ nfTsInCollection: AugmentedQuery Observable, [ PolymeshPrimitivesAssetAssetId ]>; /** * The total number of NFTs per identity. **/ numberOfNFTs: AugmentedQuery Observable, [ PolymeshPrimitivesAssetAssetId, PolymeshPrimitivesIdentityId ]>; /** * Collection-wide operator approvals, keyed by `(owner, operator, asset_id)`. * * Mirrors the ERC-721 `setApprovalForAll`, but scoped to a single collection rather than to * every collection the owner holds: each ERC-721 precompile address is one collection, and * this matches `pallet_asset::Allowances` being per-`AssetId`. `false` is never stored; the * entry is removed instead. * * Uses `StorageNMap` so that all operator approvals of a given owner can be iterated by * prefix. **/ operatorApproval: AugmentedQuery Observable, [ AccountId32, AccountId32, PolymeshPrimitivesAssetAssetId ]>; /** * Reverse mapping for allowing to find the owner of a specific NFT. **/ owner: AugmentedQuery Observable>, [ PolymeshPrimitivesAssetAssetId, u64 ]>; /** * The account approved to transfer a specific NFT, if any. * * Mirrors the ERC-721 per-token approval. The entry is cleared whenever the NFT changes * hands, so an approval never survives a transfer. **/ tokenApproval: AugmentedQuery Observable>, [ PolymeshPrimitivesAssetAssetId, u64 ]>; }; offences: { /** * A vector of reports of the same kind that happened at the same time slot. **/ concurrentReportsIndex: AugmentedQuery Observable>, [ U8aFixed, Bytes ]>; /** * The primary structure that holds all offence records keyed by report identifiers. **/ reports: AugmentedQuery Observable>, [ H256 ]>; }; permissions: { /** * The name of the current function (aka extrinsic). **/ currentDispatchableName: AugmentedQuery Observable, []>; /** * The name of the current pallet (aka module name). **/ currentPalletName: AugmentedQuery Observable, []>; }; pips: { /** * Total count of pending or scheduled PIPs. **/ activePipCount: AugmentedQuery Observable, []>; /** * The maximum allowed number for active PIPs. Once reached, new PIPs cannot be proposed by community members. **/ activePipLimit: AugmentedQuery Observable, []>; /** * All existing PIPs where the proposer is a committee. * This list is a cache of all ids in `Proposals` with `Proposer::Committee(_)`. **/ committeePips: AugmentedQuery Observable>, []>; /** * Default enactment period that will be use after a proposal is accepted by GC. **/ defaultEnactmentPeriod: AugmentedQuery Observable, []>; /** * All locked [`DepositInfo`] per [`PipId`] for each account. **/ deposits: AugmentedQuery Observable>, [ u32, AccountId32 ]>; /** * A live priority queue (lowest priority at index 0) * of pending PIPs up to the active limit. * Priority is defined by the `weight` in the `SnapshottedPip`. * * Unlike `SnapshotQueue`, this queue is live, getting updated with each vote cast. * The snapshot is therefore essentially a point-in-time clone of this queue. **/ liveQueue: AugmentedQuery Observable>, []>; /** * Maximum times a PIP can be skipped before triggering `CannotSkipPip` in `enact_snapshot_results`. **/ maxPipSkipCount: AugmentedQuery Observable, []>; /** * The minimum amount to be used as a deposit for community PIP creation. **/ minimumProposalDeposit: AugmentedQuery Observable, []>; /** * Number of blocks it will take, after a `Pending` PIP expires, assuming it has not transitioned to another `ProposalState`. **/ pendingPipExpiry: AugmentedQuery Observable, []>; /** * All PIPs that still require refunds. **/ pendingRefunds: AugmentedQuery Observable>, [ u32 ]>; /** * Proposal's identifier. **/ pipIdSequence: AugmentedQuery Observable, []>; /** * The number of times a certain PIP has been skipped. * Once a (configurable) threshhold is exceeded, a PIP cannot be skipped again. **/ pipSkipCount: AugmentedQuery Observable, [ u32 ]>; /** * Maps PIPs to the block at which they will be executed. **/ pipToSchedule: AugmentedQuery Observable>, [ u32 ]>; /** * The [`PipsMetadata`] for each proposal ([`PipId`]). **/ proposalMetadata: AugmentedQuery Observable>, [ u32 ]>; /** * The [`Proposer`] for each proposal ([`PipId`]). **/ proposalProposers: AugmentedQuery Observable>, [ u32 ]>; /** * The [`VotingResult`] for each proposal ([`PipId`]). **/ proposalResult: AugmentedQuery Observable, [ u32 ]>; /** * The [`Pip`] for each proposal ([`PipId`]). **/ proposals: AugmentedQuery Observable>, [ u32 ]>; /** * The ([`ProposalState`]) of a given PIP ([`PipId`]). **/ proposalStates: AugmentedQuery Observable>, [ u32 ]>; /** * The Votes ([`Vote`]) for each proposal ([`PipId`]) per account. **/ proposalVotes: AugmentedQuery Observable>, [ u32, AccountId32 ]>; /** * Set to `true` if historical PIPs data must be removed. **/ pruneHistoricalPips: AugmentedQuery Observable, []>; /** * Snaphot's identifier. **/ snapshotIdSequence: AugmentedQuery Observable, []>; /** * The [`SnapshotMetadata`]. **/ snapshotMeta: AugmentedQuery Observable>, [ ]>; /** * The priority queue (lowest priority at index 0) of PIPs at the point of snapshotting. * Priority is defined by the `weight` in the `SnapshottedPip`. * * A queued PIP can be skipped. Doing so bumps the `pip_skip_count`. * Once a (configurable) threshhold is exceeded, a PIP cannot be skipped again. **/ snapshotQueue: AugmentedQuery Observable>, []>; /** * Storage version. **/ storageVersion: AugmentedQuery Observable, []>; /** * All PIPs that still require votes to be pruned. **/ votesToBePruned: AugmentedQuery Observable>, [ u32 ]>; }; polymeshCommittee: { /** * Time after which a proposal will expire. **/ expiresAfter: AugmentedQuery Observable, []>; /** * The current members of the committee. **/ members: AugmentedQuery Observable>, []>; /** * Proposals so far. **/ proposalCount: AugmentedQuery Observable, []>; /** * Actual proposal for a given hash. **/ proposalOf: AugmentedQuery Observable>, [ H256 ]>; /** * The hashes of the active proposals. **/ proposals: AugmentedQuery Observable>, []>; /** * Release cooridinator. **/ releaseCoordinator: AugmentedQuery Observable>, []>; /** * Vote threshold for an approval. **/ voteThreshold: AugmentedQuery Observable>, []>; /** * PolymeshVotes on a given proposal, if it is ongoing. **/ voting: AugmentedQuery Observable>, [ H256 ]>; }; polymeshTransactionPayment: { /** * It stores the current gas fee payer for the current transaction. **/ currentPayer: AugmentedQuery Observable>, []>; }; portfolio: { /** * Custodians allowed to create and take custody of portfolios on an id's behalf. **/ allowedCustodians: AugmentedQuery Observable, [ PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityId ]>; frozenPortfolios: AugmentedQuery Observable, [ PolymeshPrimitivesIdentityIdPortfolioId, PolymeshPrimitivesAssetAssetId ]>; /** * Inverse map of `Portfolios` used to ensure bijectivitiy, * and uniqueness of names in `Portfolios`. **/ nameToNumber: AugmentedQuery Observable>, [ PolymeshPrimitivesIdentityId, Bytes ]>; /** * The next portfolio sequence number of an identity. **/ nextPortfolioNumber: AugmentedQuery Observable, [ PolymeshPrimitivesIdentityId ]>; /** * The asset balances of portfolios. **/ portfolioAssetBalances: AugmentedQuery Observable, [ PolymeshPrimitivesIdentityIdPortfolioId, PolymeshPrimitivesAssetAssetId ]>; /** * How many assets with non-zero balance this portfolio contains. **/ portfolioAssetCount: AugmentedQuery Observable, [ PolymeshPrimitivesIdentityIdPortfolioId ]>; /** * The custodian of a particular portfolio. None implies that the identity owner is the custodian. **/ portfolioCustodian: AugmentedQuery Observable>, [ PolymeshPrimitivesIdentityIdPortfolioId ]>; /** * Amount of assets frozen in a portfolio. **/ portfolioFrozenAssets: AugmentedQuery Observable, [ PolymeshPrimitivesIdentityIdPortfolioId, PolymeshPrimitivesAssetAssetId ]>; /** * Amount of assets locked in a portfolio. * These assets show up in portfolio balance but can not be transferred away. **/ portfolioLockedAssets: AugmentedQuery Observable, [ PolymeshPrimitivesIdentityIdPortfolioId, PolymeshPrimitivesAssetAssetId ]>; /** * All locked nft for a given portfolio. **/ portfolioLockedNFT: AugmentedQuery | [PolymeshPrimitivesAssetAssetId | string | Uint8Array, u64 | AnyNumber | Uint8Array]) => Observable, [ PolymeshPrimitivesIdentityIdPortfolioId, ITuple<[PolymeshPrimitivesAssetAssetId, u64]> ]>; /** * The nft associated to the portfolio. **/ portfolioNFT: AugmentedQuery Observable, [ PolymeshPrimitivesIdentityIdPortfolioId, PolymeshPrimitivesAssetAssetId, u64 ]>; /** * The number of NFTs of a given collection held by a portfolio. * * This is the portfolio-level counterpart of `pallet_nft::NFTAccountCount`, mirroring the * split used by `PortfolioFrozenAssets` / `pallet_asset::FrozenBalance`. A zero count is * never stored; the entry is removed instead. **/ portfolioNFTCount: AugmentedQuery Observable, [ PolymeshPrimitivesIdentityIdPortfolioId, PolymeshPrimitivesAssetAssetId ]>; /** * The set of existing portfolios with their names. If a certain pair of a DID and * portfolio number maps to `None` then such a portfolio doesn't exist. Conversely, if a * pair maps to `Some(name)` then such a portfolio exists and is called `name`. **/ portfolios: AugmentedQuery Observable>, [ PolymeshPrimitivesIdentityId, u64 ]>; /** * Tracks all the portfolios in custody of a particular identity. Only used by the UIs. * When `true` is stored as the value for a given `(did, pid)`, it means that `pid` is in custody of `did`. * `false` values are never explicitly stored in the map, and are instead inferred by the absence of a key. **/ portfoliosInCustody: AugmentedQuery Observable, [ PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityIdPortfolioId ]>; /** * All portfolios that don't need to affirm the receivement of a given [`AssetId`]. **/ preApprovedPortfolios: AugmentedQuery Observable, [ PolymeshPrimitivesIdentityIdPortfolioId, PolymeshPrimitivesAssetAssetId ]>; }; preimage: { preimageFor: AugmentedQuery | [H256 | string | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable>, [ ITuple<[H256, u32]> ]>; /** * The request status of a given hash. **/ requestStatusFor: AugmentedQuery Observable>, [ H256 ]>; /** * The request status of a given hash. * * @deprecated RequestStatusFor **/ statusFor: AugmentedQuery Observable>, [ H256 ]>; }; protocolFee: { /** * The mapping of operation names to the base fees of those operations. **/ baseFees: AugmentedQuery Observable, [ PolymeshPrimitivesProtocolFeeProtocolOp ]>; /** * The fee coefficient as a positive rational (numerator, denominator). **/ coefficient: AugmentedQuery Observable>, []>; }; relayer: { /** * Pending subsidies for a `user_key` from a `paying_key`. * * This is used to track subsidies that have been authorised but not yet accepted. * * The paying key can update or cancel the subsidy before it is accepted. **/ pendingSubsidies: AugmentedQuery Observable>, [ AccountId32, AccountId32 ]>; /** * `relay_tx` reentry guard. * * Set while a relayed call is being dispatched, so that nested `relay_tx` calls are * rejected regardless of how the inner call is dispatched (e.g. through a multisig proposal). **/ relayReentry: AugmentedQuery Observable, []>; /** * Nonce for `relay_tx`. **/ relayTxNonces: AugmentedQuery Observable, [ AccountId32 ]>; /** * The subsidy for a `user_key` if they are being subsidised, * as a map `user_key` => `Subsidy`. * * A key can only have one subsidy at a time. Accepting a new subsidy * will replace any existing subsidy. **/ subsidies: AugmentedQuery Observable>, [ AccountId32 ]>; }; revive: { /** * The data associated to a contract or externally owned account. **/ accountInfoOf: AugmentedQuery Observable>, [ H160 ]>; /** * Mapping for block number and hashes. * * The maximum number of elements stored is capped by the block hash count `BLOCK_HASH_COUNT`. **/ blockHash: AugmentedQuery Observable, [ u32 ]>; /** * A mapping from a contract's code hash to its code info. **/ codeInfoOf: AugmentedQuery Observable>, [ H256 ]>; /** * Debugging settings that can be configured when DebugEnabled config is true. **/ debugSettingsOf: AugmentedQuery Observable, [ ]>; /** * Evicted contracts that await child trie deletion. * * Child trie deletion is a heavy operation depending on the amount of storage items * stored in said trie. Therefore this operation is performed lazily in `on_idle`. **/ deletionQueue: AugmentedQuery Observable>, [ u32 ]>; /** * A pair of monotonic counters used to track the latest contract marked for deletion * and the latest deleted contract in queue. **/ deletionQueueCounter: AugmentedQuery Observable, [ ]>; /** * The first transaction and receipt of the ethereum block. * * These values are moved out of the `EthBlockBuilderIR` to avoid serializing and * deserializing them on every transaction. Instead, they are loaded when needed. **/ ethBlockBuilderFirstValues: AugmentedQuery Observable>>, [ ]>; /** * Incremental ethereum block builder. **/ ethBlockBuilderIR: AugmentedQuery Observable, [ ]>; /** * The current Ethereum block that is stored in the `on_finalize` method. * * # Note * * This could be further optimized into the future to store only the minimum * information needed to reconstruct the Ethereum block at the RPC level. * * Since the block is convenient to have around, and the extra details are capped * by a few hashes and the vector of transaction hashes, we store the block here. **/ ethereumBlock: AugmentedQuery Observable, [ ]>; /** * The immutable data associated with a given account. **/ immutableDataOf: AugmentedQuery Observable>, [ H160 ]>; /** * Map a Ethereum address to its original `AccountId32`. * * When deriving a `H160` from an `AccountId32` we use a hash function. In order to * reconstruct the original account we need to store the reverse mapping here. * Register your `AccountId32` using [`Pallet::map_account`] in order to * use it with this pallet. **/ originalAccount: AugmentedQuery Observable>, [ H160 ]>; /** * A mapping from a contract's code hash to its code. * The code's size is bounded by [`crate::limits::BLOB_BYTES`] for PVM and * [`revm::primitives::eip170::MAX_CODE_SIZE`] for EVM bytecode. **/ pristineCode: AugmentedQuery Observable>, [ H256 ]>; /** * The details needed to reconstruct the receipt info offchain. * * This contains valuable information about the gas used by the transaction. * * NOTE: The item is unbound and should therefore never be read on chain. * It could otherwise inflate the PoV size of a block. **/ receiptInfoData: AugmentedQuery Observable>, [ ]>; }; scheduler: { /** * Items to be executed, indexed by the block number that they should be executed on. **/ agenda: AugmentedQuery Observable>>, [ u32 ]>; /** * Block number at which the agenda began incomplete execution. **/ incompleteSince: AugmentedQuery Observable>, []>; /** * Lookup from a name to the block number and index of the task. * * For v3 -> v4 the previously unbounded identities are Blake2-256 hashed to form the v4 * identities. **/ lookup: AugmentedQuery Observable>>, [ U8aFixed ]>; /** * Retry configurations for items to be executed, indexed by task address. **/ retries: AugmentedQuery | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable>, [ ITuple<[u32, u32]> ]>; }; session: { /** * Current index of the session. **/ currentIndex: AugmentedQuery Observable, []>; /** * Indices of disabled validators. * * The vec is always kept sorted so that we can find whether a given validator is * disabled using binary search. It gets cleared when `on_session_ending` returns * a new set of identities. **/ disabledValidators: AugmentedQuery Observable>>, [ ]>; /** * Accounts whose keys were set via `SessionInterface` (external path) without * incrementing the consumer reference or placing a key deposit. `do_purge_keys` * only decrements consumers for accounts that were registered through the local * session pallet. **/ externallySetKeys: AugmentedQuery Observable>, [ AccountId32 ]>; /** * The owner of a key. The key is the `KeyTypeId` + the encoded key. **/ keyOwner: AugmentedQuery | [SpCoreCryptoKeyTypeId | string | Uint8Array, Bytes | string | Uint8Array]) => Observable>, [ ITuple<[SpCoreCryptoKeyTypeId, Bytes]> ]>; /** * The next session keys for a validator. **/ nextKeys: AugmentedQuery Observable>, [ AccountId32 ]>; /** * True if the underlying economic identities or weighting behind the validators * has changed in the queued validator set. **/ queuedChanged: AugmentedQuery Observable, []>; /** * The queued keys for the next session. When the next session begins, these keys * will be used to determine the validator's session keys. **/ queuedKeys: AugmentedQuery Observable>>, [ ]>; /** * The current set of validators. **/ validators: AugmentedQuery Observable>, []>; }; settlement: { /** * Tracks affirmations received for an instruction. (instruction_id, counter_party) -> AffirmationStatus **/ affirmsReceived: AugmentedQuery Observable, [ u64, PolymeshPrimitivesAssetAssetHolder ]>; /** * Free-form text about a venue. venue_id -> `VenueDetails` * Only needed for the UI. **/ details: AugmentedQuery Observable, [ u64 ]>; /** * Number of affirmations pending before instruction is executed. instruction_id -> affirm_pending **/ instructionAffirmsPending: AugmentedQuery Observable, [ u64 ]>; /** * Number of instructions in the system (It's one more than the actual number) **/ instructionCounter: AugmentedQuery Observable, []>; /** * Details about an instruction. instruction_id -> instruction_details **/ instructionDetails: AugmentedQuery Observable, [ u64 ]>; /** * Legs under an instruction. (instruction_id, leg_id) -> Leg **/ instructionLegs: AugmentedQuery Observable>, [ u64, u64 ]>; /** * Status of a leg under an instruction. (instruction_id, leg_id) -> LegStatus **/ instructionLegStatus: AugmentedQuery Observable, [ u64, u64 ]>; /** * The status for the mediators affirmation. **/ instructionMediatorsAffirmations: AugmentedQuery Observable, [ u64, PolymeshPrimitivesIdentityId ]>; /** * Instruction memo **/ instructionMemos: AugmentedQuery Observable>, [ u64 ]>; /** * The number of times an instruction has been relocked. **/ instructionRelockCount: AugmentedQuery Observable, [ u64 ]>; /** * Instruction statuses. instruction_id -> InstructionStatus **/ instructionStatuses: AugmentedQuery Observable, [ u64 ]>; /** * The moment the instruction was moved to the `LockedForExecution` status. **/ lockedTimestamp: AugmentedQuery Observable>, [ u64 ]>; /** * When `true`, the identity has opted in to mandatory receiver affirmation. * Default is `false` (no affirmation required). **/ mandatoryReceiverAffirmation: AugmentedQuery Observable, [ PolymeshPrimitivesIdentityId ]>; /** * Tracks the number of signers each venue has. **/ numberOfVenueSigners: AugmentedQuery Observable, [ u64 ]>; /** * Tracks the affirmation status for offchain legs in a instruction. [`(InstructionId, LegId)`] -> [`AffirmationStatus`] **/ offChainAffirmations: AugmentedQuery Observable, [ u64, u64 ]>; /** * Tracks redemption of receipts. (signer, receipt_uid) -> receipt_used **/ receiptsUsed: AugmentedQuery Observable, [ AccountId32, u64 ]>; /** * The moment the instruction was unlocked by a mediator. Used to enforce the relock cooldown. **/ unlockedTimestamp: AugmentedQuery Observable>, [ u64 ]>; /** * Helps a user track their pending instructions and affirmations (only needed for UI). * (counter_party, instruction_id) -> AffirmationStatus **/ userAffirmations: AugmentedQuery Observable, [ PolymeshPrimitivesAssetAssetHolder, u64 ]>; /** * Venues create by an identity. * Only needed for the UI. * * identity -> venue_id -> () **/ userVenues: AugmentedQuery Observable, [ PolymeshPrimitivesIdentityId, u64 ]>; /** * Venues that are allowed to create instructions involving a particular asset. Only used if filtering is enabled. * ([`AssetId`], venue_id) -> allowed **/ venueAllowList: AugmentedQuery Observable, [ PolymeshPrimitivesAssetAssetId, u64 ]>; /** * Number of venues in the system (It's one more than the actual number) **/ venueCounter: AugmentedQuery Observable, []>; /** * Tracks if a token has enabled filtering venues that can create instructions involving their token. AssetId -> filtering_enabled **/ venueFiltering: AugmentedQuery Observable, [ PolymeshPrimitivesAssetAssetId ]>; /** * Info about a venue. venue_id -> venue **/ venueInfo: AugmentedQuery Observable>, [ u64 ]>; /** * Instructions under a venue. * Only needed for the UI. * * venue_id -> instruction_id -> () **/ venueInstructions: AugmentedQuery Observable, [ u64, u64 ]>; /** * Signers allowed by the venue. (venue_id, signer) -> bool **/ venueSigners: AugmentedQuery Observable, [ u64, AccountId32 ]>; }; staking: { /** * The active era information, it holds index and start. * * The active era is the era being currently rewarded. Validator set of this era must be * equal to [`SessionInterface::validators`]. **/ activeEra: AugmentedQuery Observable>, []>; /** * Map from all locked "stash" accounts to the controller account. * * TWOX-NOTE: SAFE since `AccountId` is a secure hash. **/ bonded: AugmentedQuery Observable>, [ AccountId32 ]>; /** * A mapping from still-bonded eras to the first session index of that era. * * Must contains information for eras for the range: * `[active_era - bounding_duration; active_era]` **/ bondedEras: AugmentedQuery Observable>>, []>; /** * The amount of currency given to reporters of a slash event which was * canceled by extraordinary circumstances (e.g. governance). **/ canceledSlashPayout: AugmentedQuery Observable, []>; /** * The threshold for when users can start calling `chill_other` for other validators / * nominators. The threshold is compared to the actual number of validators / nominators * (`CountFor*`) in the system compared to the configured max (`Max*Count`). **/ chillThreshold: AugmentedQuery Observable>, []>; /** * History of claimed paged rewards by era and validator. * * This is keyed by era and validator stash which maps to the set of page indexes which have * been claimed. * * It is removed after [`Config::HistoryDepth`] eras. **/ claimedRewards: AugmentedQuery Observable>, [ u32, AccountId32 ]>; /** * Counter for the related counted storage map **/ counterForNominators: AugmentedQuery Observable, []>; /** * Counter for the related counted storage map **/ counterForValidators: AugmentedQuery Observable, []>; /** * Counter for the related counted storage map **/ counterForVirtualStakers: AugmentedQuery Observable, []>; /** * The current era index. * * This is the latest planned era, depending on how the Session pallet queues the validator * set, it might be active or not. **/ currentEra: AugmentedQuery Observable>, []>; /** * The last planned session scheduled by the session pallet. * * This is basically in sync with the call to [`pallet_session::SessionManager::new_session`]. **/ currentPlannedSession: AugmentedQuery Observable, []>; /** * Rewards for the last [`Config::HistoryDepth`] eras. * If reward hasn't been set or has been removed then 0 reward is returned. **/ erasRewardPoints: AugmentedQuery Observable, [ u32 ]>; /** * Exposure of validator at era. * * This is keyed first by the era index to allow bulk deletion and then the stash account. * * Is it removed after [`Config::HistoryDepth`] eras. * If stakers hasn't been set or has been removed then empty exposure is returned. * * Note: Deprecated since v14. Use `EraInfo` instead to work with exposures. **/ erasStakers: AugmentedQuery Observable, [ u32, AccountId32 ]>; /** * Clipped Exposure of validator at era. * * Note: This is deprecated, should be used as read-only and will be removed in the future. * New `Exposure`s are stored in a paged manner in `ErasStakersPaged` instead. * * This is similar to [`ErasStakers`] but number of nominators exposed is reduced to the * `T::MaxExposurePageSize` biggest stakers. * (Note: the field `total` and `own` of the exposure remains unchanged). * This is used to limit the i/o cost for the nominator payout. * * This is keyed fist by the era index to allow bulk deletion and then the stash account. * * It is removed after [`Config::HistoryDepth`] eras. * If stakers hasn't been set or has been removed then empty exposure is returned. * * Note: Deprecated since v14. Use `EraInfo` instead to work with exposures. **/ erasStakersClipped: AugmentedQuery Observable, [ u32, AccountId32 ]>; /** * Summary of validator exposure at a given era. * * This contains the total stake in support of the validator and their own stake. In addition, * it can also be used to get the number of nominators backing this validator and the number of * exposure pages they are divided into. The page count is useful to determine the number of * pages of rewards that needs to be claimed. * * This is keyed first by the era index to allow bulk deletion and then the stash account. * Should only be accessed through `EraInfo`. * * Is it removed after [`Config::HistoryDepth`] eras. * If stakers hasn't been set or has been removed then empty overview is returned. **/ erasStakersOverview: AugmentedQuery Observable>, [ u32, AccountId32 ]>; /** * Paginated exposure of a validator at given era. * * This is keyed first by the era index to allow bulk deletion, then stash account and finally * the page. Should only be accessed through `EraInfo`. * * This is cleared after [`Config::HistoryDepth`] eras. **/ erasStakersPaged: AugmentedQuery Observable>, [ u32, AccountId32, u32 ]>; /** * The session index at which the era start for the last [`Config::HistoryDepth`] eras. * * Note: This tracks the starting session (i.e. session index when era start being active) * for the eras in `[CurrentEra - HISTORY_DEPTH, CurrentEra]`. **/ erasStartSessionIndex: AugmentedQuery Observable>, [ u32 ]>; /** * The total amount staked for the last [`Config::HistoryDepth`] eras. * If total hasn't been set or has been removed then 0 stake is returned. **/ erasTotalStake: AugmentedQuery Observable, [ u32 ]>; /** * Similar to `ErasStakers`, this holds the preferences of validators. * * This is keyed first by the era index to allow bulk deletion and then the stash account. * * Is it removed after [`Config::HistoryDepth`] eras. **/ erasValidatorPrefs: AugmentedQuery Observable, [ u32, AccountId32 ]>; /** * The total validator era payout for the last [`Config::HistoryDepth`] eras. * * Eras that haven't finished yet or has been removed doesn't have reward. **/ erasValidatorReward: AugmentedQuery Observable>, [ u32 ]>; /** * Mode of era forcing. **/ forceEra: AugmentedQuery Observable, []>; /** * Any validators that may never be slashed or forcibly kicked. It's a Vec since they're * easy to initialize and the performance hit is minimal (we expect no more than four * invulnerables) and restricted to testnets. **/ invulnerables: AugmentedQuery Observable>, []>; /** * Map from all (unlocked) "controller" accounts to the info regarding the staking. * * Note: All the reads and mutations to this storage *MUST* be done through the methods exposed * by [`StakingLedger`] to ensure data and lock consistency. **/ ledger: AugmentedQuery Observable>, [ AccountId32 ]>; /** * The maximum nominator count before we stop allowing new validators to join. * * When this value is not set, no limits are enforced. **/ maxNominatorsCount: AugmentedQuery Observable>, []>; /** * Maximum staked rewards, i.e. the percentage of the era inflation that * is used for stake rewards. * See [Era payout](./index.html#era-payout). **/ maxStakedRewards: AugmentedQuery Observable>, []>; /** * The maximum validator count before we stop allowing new validators to join. * * When this value is not set, no limits are enforced. **/ maxValidatorsCount: AugmentedQuery Observable>, []>; /** * The minimum amount of commission that validators can set. * * If set to `0`, no limit exists. **/ minCommission: AugmentedQuery Observable, []>; /** * The minimum active nominator stake of the last successful election. **/ minimumActiveStake: AugmentedQuery Observable, []>; /** * Minimum number of staking participants before emergency conditions are imposed. **/ minimumValidatorCount: AugmentedQuery Observable, []>; /** * The minimum active bond to become and maintain the role of a nominator. **/ minNominatorBond: AugmentedQuery Observable, []>; /** * The minimum active bond to become and maintain the role of a validator. **/ minValidatorBond: AugmentedQuery Observable, []>; /** * The map from nominator stash key to their nomination preferences, namely the validators that * they wish to support. * * Note that the keys of this storage map might become non-decodable in case the * account's [`NominationsQuota::MaxNominations`] configuration is decreased. * In this rare case, these nominators * are still existent in storage, their key is correct and retrievable (i.e. `contains_key` * indicates that they exist), but their value cannot be decoded. Therefore, the non-decodable * nominators will effectively not-exist, until they re-submit their preferences such that it * is within the bounds of the newly set `Config::MaxNominations`. * * This implies that `::iter_keys().count()` and `::iter().count()` might return different * values for this map. Moreover, the main `::count()` is aligned with the former, namely the * number of keys that exist. * * Lastly, if any of the nominators become non-decodable, they can be chilled immediately via * [`Call::chill_other`] dispatchable by anyone. * * TWOX-NOTE: SAFE since `AccountId` is a secure hash. **/ nominators: AugmentedQuery Observable>, [ AccountId32 ]>; /** * All slashing events on nominators, mapped by era to the highest slash value of the era. **/ nominatorSlashInEra: AugmentedQuery Observable>, [ u32, AccountId32 ]>; /** * Where the reward payment should be made. Keyed by stash. * * TWOX-NOTE: SAFE since `AccountId` is a secure hash. **/ payee: AugmentedQuery Observable>, [ AccountId32 ]>; /** * Slashing spans for stash accounts. **/ slashingSpans: AugmentedQuery Observable>, [ AccountId32 ]>; /** * The percentage of the slash that is distributed to reporters. * * The rest of the slashed value is handled by the `Slash`. **/ slashRewardFraction: AugmentedQuery Observable, []>; /** * Records information about the maximum slash of a stash within a slashing span, * as well as how much reward has been paid out. **/ spanSlash: AugmentedQuery | [AccountId32 | string | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable, [ ITuple<[AccountId32, u32]> ]>; /** * All unapplied slashes that are queued for later. **/ unappliedSlashes: AugmentedQuery Observable>, [ u32 ]>; /** * The ideal number of active validators. **/ validatorCount: AugmentedQuery Observable, []>; /** * The map from (wannabe) validator stash key to the preferences of that validator. * * TWOX-NOTE: SAFE since `AccountId` is a secure hash. **/ validators: AugmentedQuery Observable, [ AccountId32 ]>; /** * All slashing events on validators, mapped by era to the highest slash proportion * and slash value of the era. **/ validatorSlashInEra: AugmentedQuery Observable>>, [ u32, AccountId32 ]>; /** * Stakers whose funds are managed by other pallets. * * This pallet does not apply any locks on them, therefore they are only virtually bonded. They * are expected to be keyless accounts and hence should not be allowed to mutate their ledger * directly via this pallet. Instead, these accounts are managed by other pallets and accessed * via low level apis. We keep track of them to do minimal integrity checks. **/ virtualStakers: AugmentedQuery Observable>, [ AccountId32 ]>; }; statistics: { /** * Maps a set of [`StatType`] for each [`AssetId`]. **/ activeAssetStats: AugmentedQuery Observable>, [ PolymeshPrimitivesAssetAssetId ]>; /** * Asset stats. **/ assetStats: AugmentedQuery Observable, [ PolymeshPrimitivesStatisticsStat1stKey, PolymeshPrimitivesStatisticsStat2ndKey ]>; /** * The [`AssetTransferCompliance`] for each [`AssetId`]. **/ assetTransferCompliances: AugmentedQuery Observable, [ PolymeshPrimitivesAssetAssetId ]>; /** * Storage migration version. **/ storageVersion: AugmentedQuery Observable, []>; /** * Entities exempt from a Transfer Compliance rule. **/ transferConditionExemptEntities: AugmentedQuery Observable, [ PolymeshPrimitivesTransferComplianceTransferConditionExemptKey, PolymeshPrimitivesIdentityId ]>; }; sto: { /** * Total fundraisers created for a token. **/ fundraiserCount: AugmentedQuery Observable, [ PolymeshPrimitivesAssetAssetId ]>; /** * Name for the Fundraiser. Only used offchain. * (AssetId, fundraiser_id) -> Fundraiser name **/ fundraiserNames: AugmentedQuery Observable>, [ PolymeshPrimitivesAssetAssetId, u64 ]>; /** * If the fundraiser supports off-chain funding payments using receipts. **/ fundraiserOffchainAsset: AugmentedQuery Observable>, [ PolymeshPrimitivesAssetAssetId, u64 ]>; /** * All fundraisers that are currently running. * (AssetId, fundraiser_id) -> Fundraiser **/ fundraisers: AugmentedQuery Observable>, [ PolymeshPrimitivesAssetAssetId, u64 ]>; /** * Storage migration version. **/ storageVersion: AugmentedQuery Observable, []>; }; sudo: { /** * The `AccountId` of the sudo key. **/ key: AugmentedQuery Observable>, []>; }; system: { /** * The full account information for a particular account ID. **/ account: AugmentedQuery Observable, [ AccountId32 ]>; /** * `Some` if a code upgrade has been authorized. **/ authorizedUpgrade: AugmentedQuery Observable>, [ ]>; /** * Map of block numbers to block hashes. **/ blockHash: AugmentedQuery Observable, [ u32 ]>; /** * Total size (in bytes) of the current block. * * Tracks the size of the header and all extrinsics. **/ blockSize: AugmentedQuery Observable>, []>; /** * Number of blocks till the pending code upgrade is applied. **/ blocksTillUpgrade: AugmentedQuery Observable>, []>; /** * The current weight for the block. **/ blockWeight: AugmentedQuery Observable, [ ]>; /** * Digest of the current block, also part of the block header. **/ digest: AugmentedQuery Observable, []>; /** * The number of events in the `Events` list. **/ eventCount: AugmentedQuery Observable, []>; /** * Events deposited for the current block. * * NOTE: The item is unbound and should therefore never be read on chain. * It could otherwise inflate the PoV size of a block. * * Events have a large in-memory size. Box the events to not go out-of-memory * just in case someone still reads them from within the runtime. **/ events: AugmentedQuery Observable>, []>; /** * Mapping between a topic (represented by T::Hash) and a vector of indexes * of events in the `>` list. * * All topic vectors have deterministic storage locations depending on the topic. This * allows light-clients to leverage the changes trie storage tracking mechanism and * in case of changes fetch the list of events of interest. * * The value has the type `(BlockNumberFor, EventIndex)` because if we used only just * the `EventIndex` then in case if the topic has the same contents on the next block * no notification will be triggered thus the event might be lost. **/ eventTopics: AugmentedQuery Observable>>, [ H256 ]>; /** * The execution phase of the block. **/ executionPhase: AugmentedQuery Observable>, []>; /** * Total extrinsics count for the current block. **/ extrinsicCount: AugmentedQuery Observable>, []>; /** * Extrinsics data for the current block (maps an extrinsic's index to its data). **/ extrinsicData: AugmentedQuery Observable, [ u32 ]>; /** * The weight reclaimed for the extrinsic. * * This information is available until the end of the extrinsic execution. * More precisely this information is removed in `note_applied_extrinsic`. * * Logic doing some post dispatch weight reduction must update this storage to avoid duplicate * reduction. **/ extrinsicWeightReclaimed: AugmentedQuery Observable, [ ]>; /** * Whether all inherents have been applied. **/ inherentsApplied: AugmentedQuery Observable, []>; /** * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened. **/ lastRuntimeUpgrade: AugmentedQuery Observable>, [ ]>; /** * The current block number being processed. Set by `execute_block`. **/ number: AugmentedQuery Observable, []>; /** * Hash of the previous block. **/ parentHash: AugmentedQuery Observable, []>; /** * True if we have upgraded so that AccountInfo contains three types of `RefCount`. False * (default) if not. **/ upgradedToTripleRefCount: AugmentedQuery Observable, []>; /** * True if we have upgraded so that `type RefCount` is `u32`. False (default) if not. **/ upgradedToU32RefCount: AugmentedQuery Observable, []>; }; technicalCommittee: { /** * Time after which a proposal will expire. **/ expiresAfter: AugmentedQuery Observable, []>; /** * The current members of the committee. **/ members: AugmentedQuery Observable>, []>; /** * Proposals so far. **/ proposalCount: AugmentedQuery Observable, []>; /** * Actual proposal for a given hash. **/ proposalOf: AugmentedQuery Observable>, [ H256 ]>; /** * The hashes of the active proposals. **/ proposals: AugmentedQuery Observable>, []>; /** * Release cooridinator. **/ releaseCoordinator: AugmentedQuery Observable>, []>; /** * Vote threshold for an approval. **/ voteThreshold: AugmentedQuery Observable>, []>; /** * PolymeshVotes on a given proposal, if it is ongoing. **/ voting: AugmentedQuery Observable>, [ H256 ]>; }; technicalCommitteeMembership: { /** * The current "active" membership, stored as an ordered Vec. **/ activeMembers: AugmentedQuery Observable>, [ ]>; /** * Limit of how many "active" members there can be. **/ activeMembersLimit: AugmentedQuery Observable, []>; /** * The current "inactive" membership, stored as an ordered Vec. **/ inactiveMembers: AugmentedQuery Observable>, [ ]>; }; timestamp: { /** * Whether the timestamp has been updated in this block. * * This value is updated to `true` upon successful submission of a timestamp by a node. * It is then checked at the end of each block execution in the `on_finalize` hook. **/ didUpdate: AugmentedQuery Observable, []>; /** * The current time for the current block. **/ now: AugmentedQuery Observable, []>; }; transactionPayment: { nextFeeMultiplier: AugmentedQuery Observable, []>; storageVersion: AugmentedQuery Observable, [ ]>; /** * The `OnChargeTransaction` stores the withdrawn tx fee here. * * Use `withdraw_txfee` and `remaining_txfee` to access from outside the crate. **/ txPaymentCredit: AugmentedQuery Observable>, [ ]>; }; upgradeCommittee: { /** * Time after which a proposal will expire. **/ expiresAfter: AugmentedQuery Observable, []>; /** * The current members of the committee. **/ members: AugmentedQuery Observable>, []>; /** * Proposals so far. **/ proposalCount: AugmentedQuery Observable, []>; /** * Actual proposal for a given hash. **/ proposalOf: AugmentedQuery Observable>, [ H256 ]>; /** * The hashes of the active proposals. **/ proposals: AugmentedQuery Observable>, []>; /** * Release cooridinator. **/ releaseCoordinator: AugmentedQuery Observable>, []>; /** * Vote threshold for an approval. **/ voteThreshold: AugmentedQuery Observable>, []>; /** * PolymeshVotes on a given proposal, if it is ongoing. **/ voting: AugmentedQuery Observable>, [ H256 ]>; }; upgradeCommitteeMembership: { /** * The current "active" membership, stored as an ordered Vec. **/ activeMembers: AugmentedQuery Observable>, [ ]>; /** * Limit of how many "active" members there can be. **/ activeMembersLimit: AugmentedQuery Observable, []>; /** * The current "inactive" membership, stored as an ordered Vec. **/ inactiveMembers: AugmentedQuery Observable>, [ ]>; }; validators: { /** * Current payout era index. **/ currentPayoutEra: AugmentedQuery Observable>, []>; /** * Stash accounts of an identity that are currently validating. **/ identityValidatorStashes: AugmentedQuery Observable>, [ PolymeshPrimitivesIdentityId, AccountId32 ]>; /** * Validators that are awaiting payout for a given era. **/ pendingPayouts: AugmentedQuery Observable>, [ u32 ]>; /** * Entities that are allowed to run operator/validator nodes. **/ permissionedIdentity: AugmentedQuery Observable>, [ PolymeshPrimitivesIdentityId ]>; /** * Slashing switch for validators & Nominators. **/ slashingAllowedFor: AugmentedQuery Observable, [ ]>; /** * Allows flexibility in commission. Every validator has commission that should be in the range [0, Cap]. **/ validatorCommissionCap: AugmentedQuery Observable, []>; }; workerModules: { /** * Protocol metadata storage item, which maps ProtocolId => ProtocolMetadata. **/ metadata: AugmentedQuery Observable>, [ u16 ]>; /** * Protocol module code storage item, which double maps (Protocol, BackendCodeHash) => Vec. **/ protocolCode: AugmentedQuery Observable>, [ PolymeshWorkerCommonProtocol, U8aFixed ]>; /** * Protocol config storage item, which double maps (Protocol, ProtocolModuleConfigHash) => ProtocolModuleConfig. **/ protocolConfig: AugmentedQuery Observable>, [ PolymeshWorkerCommonProtocol, U8aFixed ]>; /** * Protocol config hash storage item, which maps Protocol => ProtocolModuleConfigHash. **/ protocolConfigHash: AugmentedQuery Observable>, [ PolymeshWorkerCommonProtocol ]>; /** * Protocol context storage item, which double maps (Protocol, BackendContextHash) => Vec. **/ protocolContext: AugmentedQuery Observable>, [ PolymeshWorkerCommonProtocol, U8aFixed ]>; }; workerTesting: { /** * The current testing protocol version. **/ currentProtocolVersion: AugmentedQuery Observable>, [ ]>; /** * The WorkerSessionId for the current block. **/ currentWorkerSessionId: AugmentedQuery Observable>, []>; /** * Enable work session per block. This is used for testing purpose only. **/ enableWorkSession: AugmentedQuery Observable, []>; }; } } //# sourceMappingURL=augment-api-query.d.ts.map