import '@polkadot/api-base/types/storage'; import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types'; import type { BTreeMap, Bytes, Null, Option, 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, H256, Perbill } from '@polkadot/types/interfaces/runtime'; import type { CommonPrimitivesMsaDelegation, CommonPrimitivesMsaProviderRegistryEntry, CommonPrimitivesMsaSignatureRegistryPointer, CommonPrimitivesSchemaMappedEntityIdentifier, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemUnincludedSegmentAncestor, CumulusPalletParachainSystemUnincludedSegmentSegmentTracker, FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, FrequencyRuntimeSessionKeys, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletCapacityCapacityDetails, PalletCapacityEpochInfo, PalletCapacityProviderBoostHistory, PalletCapacityRetargetInfo, PalletCapacityRewardEraInfo, PalletCapacityRewardPoolHistoryChunk, PalletCapacityStakingDetails, PalletCapacityStakingTargetDetails, PalletCapacityUnlockChunk, PalletCollatorSelectionCandidateInfo, PalletCollectiveVotes, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletMessagesMessage, PalletMsaMigrationV1ProviderRegistryEntry, PalletMultisigMultisig, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSchemasIntentGroup, PalletSchemasIntentInfo, PalletSchemasSchemaInfo, PalletTimeReleaseReleaseSchedule, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV8AbridgedHostConfiguration, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpRuntimeMultiSignature, SpTrieStorageProof, 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 { aura: { /** * The current authority set. **/ authorities: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * The current slot of this block. * * This will be set in `on_initialize`. **/ currentSlot: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Generic query **/ [key: string]: QueryableStorageEntry; }; auraExt: { /** * Serves as cache for the authorities. * * The authorities in AuRa are overwritten in `on_initialize` when we switch to a new session, * but we require the old authorities to verify the seal when validating a PoV. This will * always be updated to the latest AuRa authorities in `on_finalize`. **/ authorities: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * Current relay chain slot paired with a number of authored blocks. * * This is updated in [`FixedVelocityConsensusHook::on_state_proof`] with the current relay * chain slot as provided by the relay chain state proof. **/ relaySlotInfo: AugmentedQuery Observable>>, []> & QueryableStorageEntry; /** * Generic query **/ [key: string]: QueryableStorageEntry; }; authorship: { /** * Author of current block. **/ author: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * Generic query **/ [key: string]: QueryableStorageEntry; }; 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]> & QueryableStorageEntry; /** * Freeze locks on account balances. **/ freezes: AugmentedQuery Observable>, [AccountId32]> & QueryableStorageEntry; /** * Holds on account balances. **/ holds: AugmentedQuery Observable>, [AccountId32]> & QueryableStorageEntry; /** * The total units of outstanding deactivated balance in the system. **/ inactiveIssuance: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * 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]> & QueryableStorageEntry; /** * 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]> & QueryableStorageEntry; /** * The total units issued in the system. **/ totalIssuance: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Generic query **/ [key: string]: QueryableStorageEntry; }; capacity: { /** * Storage for target Capacity usage. * - Keys: MSA Id * - Value: [`CapacityDetails`] **/ capacityLedger: AugmentedQuery Observable>, [u64]> & QueryableStorageEntry; /** * Storage for the current epoch number **/ currentEpoch: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Storage for the current epoch info **/ currentEpochInfo: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Information about the current reward era. Checked every block. **/ currentEraInfo: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * How much is staked this era **/ currentEraProviderBoostTotal: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Storage for the epoch length **/ epochLength: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Individual history for each account that has Provider-Boosted. **/ providerBoostHistories: AugmentedQuery Observable>, [AccountId32]> & QueryableStorageEntry; /** * Reward Pool history is divided into chunks of size RewardPoolChunkLength. * ProviderBoostHistoryLimit is the total number of items, the key is the * chunk number. **/ providerBoostRewardPools: AugmentedQuery Observable>, [u32]> & QueryableStorageEntry; /** * stores how many times an account has retargeted, and when it last retargeted. **/ retargets: AugmentedQuery Observable>, [AccountId32]> & QueryableStorageEntry; /** * Storage for keeping a ledger of staked token amounts for accounts. * - Keys: AccountId * - Value: [`StakingDetails`] **/ stakingAccountLedger: AugmentedQuery Observable>, [AccountId32]> & QueryableStorageEntry; /** * Storage to record how many tokens were targeted to an MSA. * - Keys: AccountId, MSA Id * - Value: [`StakingTargetDetails`] **/ stakingTargetLedger: AugmentedQuery Observable>, [AccountId32, u64]> & QueryableStorageEntry; unstakeUnlocks: AugmentedQuery Observable>>, [AccountId32]> & QueryableStorageEntry; /** * Generic query **/ [key: string]: QueryableStorageEntry; }; collatorSelection: { /** * Fixed amount to deposit to become a collator. * * When a collator calls `leave_intent` they immediately receive the deposit back. **/ candidacyBond: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * The (community, limited) collation candidates. `Candidates` and `Invulnerables` should be * mutually exclusive. * * This list is sorted in ascending order by deposit and when the deposits are equal, the least * recently updated is considered greater. **/ candidateList: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * Desired number of candidates. * * This should ideally always be less than [`Config::MaxCandidates`] for weights to be correct. **/ desiredCandidates: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * The invulnerable, permissioned collators. This list must be sorted. **/ invulnerables: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * Last block authored by collator. **/ lastAuthoredBlock: AugmentedQuery Observable, [AccountId32]> & QueryableStorageEntry; /** * Generic query **/ [key: string]: QueryableStorageEntry; }; council: { /** * Consideration cost created for publishing and storing a proposal. * * Determined by [Config::Consideration] and may be not present for certain proposals (e.g. if * the proposal count at the time of creation was below threshold N). **/ costOf: AugmentedQuery Observable>>, [H256]> & QueryableStorageEntry; /** * The current members of the collective. This is stored sorted (just by value). **/ members: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * The prime member that helps determine the default vote behavior in case of abstentions. **/ prime: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * Proposals so far. **/ proposalCount: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Actual proposal for a given hash, if it's current. **/ proposalOf: AugmentedQuery Observable>, [H256]> & QueryableStorageEntry; /** * The hashes of the active proposals. **/ proposals: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * Votes on a given proposal, if it is ongoing. **/ voting: AugmentedQuery Observable>, [H256]> & QueryableStorageEntry; /** * Generic query **/ [key: string]: QueryableStorageEntry; }; democracy: { /** * A record of who vetoed what. Maps proposal hash to a possible existent block number * (until when it may not be resubmitted) and who vetoed it. **/ blacklist: AugmentedQuery Observable]>>>, [H256]> & QueryableStorageEntry; /** * Record of all proposals that have been subject to emergency cancellation. **/ cancellations: AugmentedQuery Observable, [H256]> & QueryableStorageEntry; /** * Those who have locked a deposit. * * TWOX-NOTE: Safe, as increasing integer keys are safe. **/ depositOf: AugmentedQuery Observable, u128]>>>, [u32]> & QueryableStorageEntry; /** * True if the last referendum tabled was submitted externally. False if it was a public * proposal. **/ lastTabledWasExternal: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * The lowest referendum index representing an unbaked referendum. Equal to * `ReferendumCount` if there isn't a unbaked referendum. **/ lowestUnbaked: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * General information concerning any proposal or referendum. * The `Hash` refers to the preimage of the `Preimages` provider which can be a JSON * dump or IPFS hash of a JSON file. * * Consider a garbage collection for a metadata of finished referendums to `unrequest` (remove) * large preimages. **/ metadataOf: AugmentedQuery Observable>, [PalletDemocracyMetadataOwner]> & QueryableStorageEntry; /** * The referendum to be tabled whenever it would be valid to table an external proposal. * This happens when a referendum needs to be tabled and one of two conditions are met: * - `LastTabledWasExternal` is `false`; or * - `PublicProps` is empty. **/ nextExternal: AugmentedQuery Observable>>, []> & QueryableStorageEntry; /** * The number of (public) proposals that have been made so far. **/ publicPropCount: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * The public proposals. Unsorted. The second item is the proposal. **/ publicProps: AugmentedQuery Observable>>, []> & QueryableStorageEntry; /** * The next free referendum index, aka the number of referenda started so far. **/ referendumCount: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Information concerning any given referendum. * * TWOX-NOTE: SAFE as indexes are not under an attacker’s control. **/ referendumInfoOf: AugmentedQuery Observable>, [u32]> & QueryableStorageEntry; /** * All votes for a particular voter. We store the balance for the number of votes that we * have recorded. The second item is the total amount of delegations, that will be added. * * TWOX-NOTE: SAFE as `AccountId`s are crypto hashes anyway. **/ votingOf: AugmentedQuery Observable, [AccountId32]> & QueryableStorageEntry; /** * Generic query **/ [key: string]: QueryableStorageEntry; }; handles: { /** * - Keys: k1: `CanonicalBase`, k2: `HandleSuffix` * - Value: `MessageSourceId` **/ canonicalBaseHandleAndSuffixToMSAId: AugmentedQuery Observable>, [Bytes, u16]> & QueryableStorageEntry; /** * - Key: `CanonicalBase` * - Value: (Sequence Index, Suffix Min) * - Sequence Index: The index of the next suffix to be used for this handle * - Suffix Min: The minimum suffix value for this handle **/ canonicalBaseHandleToSuffixIndex: AugmentedQuery Observable>>, [Bytes]> & QueryableStorageEntry; /** * - Key: `MessageSourceId` * - Value: `DisplayHandle` **/ msaIdToDisplayName: AugmentedQuery Observable>>, [u64]> & QueryableStorageEntry; /** * Generic query **/ [key: string]: QueryableStorageEntry; }; messages: { /** * A temporary storage for getting the index for messages * At the start of the next block this storage is set to 0 **/ blockMessageIndex: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Storage for messages **/ messagesV3: AugmentedQuery Observable>, [u32, u16, u16]> & QueryableStorageEntry; /** * Generic query **/ [key: string]: QueryableStorageEntry; }; msa: { /** * Storage type for ApprovedLogos * - key: Logo Cid * - value: Logo bytes **/ approvedLogos: AugmentedQuery Observable>, [Bytes]> & QueryableStorageEntry; /** * Storage type for the current MSA identifier maximum. * We need to track this value because the identifier maximum * is incremented each time a new identifier is created. * - Value: The current maximum MSA Id **/ currentMsaIdentifierMaximum: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Storage type for mapping the relationship between a Delegator and its Provider. * - Keys: Delegator MSA, Provider MSA * - Value: [`Delegation`] **/ delegatorAndProviderToDelegation: AugmentedQuery Observable>, [u64, u64]> & QueryableStorageEntry; /** * Storage type for mapping MSA IDs to their Recovery Commitments * - Key: MessageSourceId * - Value: Recovery Commitment (32 bytes) **/ msaIdToRecoveryCommitment: AugmentedQuery Observable>, [u64]> & QueryableStorageEntry; /** * Monotonically increasing index of applications for a given provider. * Starts at 0 when provider first gets an application approved. **/ nextApplicationIndex: AugmentedQuery Observable, [u64]> & QueryableStorageEntry; /** * A temporary storage for looking up relevant events from off-chain index * At the start of the next block this storage is set to 0 **/ offchainIndexEventCount: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * PayloadSignatureRegistryList is used to prevent replay attacks for extrinsics * that take an externally-signed payload. * For this to work, the payload must include a mortality block number, which * is used in lieu of a monotonically increasing nonce. * * The list is forwardly linked. (Example has a list size of 3) * - signature, forward pointer -> n = new signature * - 1,2 -> 2,3 (oldest) * - 2,3 -> 3,4 * - 3,4 -> 4,5 * - 5 -> n (newest in pointer data) * ### Storage * - Key: Signature * - Value: Tuple * - `BlockNumber` when the keyed signature can be ejected from the registry * - [`MultiSignature`] the forward linked list pointer. This pointer is the next "newest" value. **/ payloadSignatureRegistryList: AugmentedQuery Observable>>, [SpRuntimeMultiSignature]> & QueryableStorageEntry; /** * This is the pointer for the Payload Signature Registry * Contains the pointers to the data stored in the `PayloadSignatureRegistryList` * - Value: [`SignatureRegistryPointer`] **/ payloadSignatureRegistryPointer: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * Mapping of (ProviderId, ApplicationIndex) → Application details. * This is where the actual application data is stored. **/ providerToApplicationRegistry: AugmentedQuery Observable>, [u64, u16]> & QueryableStorageEntry; /** * Provider registration information * - Key: Provider MSA Id * - Value: [`ProviderRegistryEntry`] **/ providerToRegistryEntry: AugmentedQuery Observable>, [u64]> & QueryableStorageEntry; /** * Provider registration information * - Key: Provider MSA Id * - Value: [`ProviderRegistryEntry`] **/ providerToRegistryEntryV2: AugmentedQuery Observable>, [u64]> & QueryableStorageEntry; /** * Storage type for a reference counter of the number of keys associated to an MSA * - Key: MSA Id * - Value: [`u8`] Counter of Keys associated with the MSA **/ publicKeyCountForMsaId: AugmentedQuery Observable, [u64]> & QueryableStorageEntry; /** * Storage type for key to MSA information * - Key: AccountId * - Value: [`MessageSourceId`] **/ publicKeyToMsaId: AugmentedQuery Observable>, [AccountId32]> & QueryableStorageEntry; /** * Storage type for approved recovery providers * - Key: Provider MSA Id * - Value: [`bool`] **/ recoveryProviders: AugmentedQuery Observable>, [u64]> & QueryableStorageEntry; /** * Generic query **/ [key: string]: QueryableStorageEntry; }; multisig: { /** * The set of open multisig operations. **/ multisigs: AugmentedQuery Observable>, [AccountId32, U8aFixed]> & QueryableStorageEntry; /** * Generic query **/ [key: string]: QueryableStorageEntry; }; parachainInfo: { parachainId: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Generic query **/ [key: string]: QueryableStorageEntry; }; parachainSystem: { /** * Storage field that keeps track of bandwidth used by the unincluded segment along with the * latest HRMP watermark. Used for limiting the acceptance of new blocks with * respect to relay chain constraints. **/ aggregatedUnincludedSegment: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * The number of HRMP messages we observed in `on_initialize` and thus used that number for * announcing the weight of `on_initialize` and `on_finalize`. **/ announcedHrmpMessagesPerCandidate: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * A custom head data that should be returned as result of `validate_block`. * * See `Pallet::set_custom_validation_head_data` for more information. **/ customValidationHeadData: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * Were the validation data set to notify the relay chain? **/ didSetValidationCode: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * The parachain host configuration that was obtained from the relay parent. * * This field is meant to be updated each block with the validation data inherent. Therefore, * before processing of the inherent, e.g. in `on_initialize` this data may be stale. * * This data is also absent from the genesis. **/ hostConfiguration: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * HRMP messages that were sent in a block. * * This will be cleared in `on_initialize` of each new block. **/ hrmpOutboundMessages: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * HRMP watermark that was set in a block. * * This will be cleared in `on_initialize` of each new block. **/ hrmpWatermark: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * The last downward message queue chain head we have observed. * * This value is loaded before and saved after processing inbound downward messages carried * by the system inherent. **/ lastDmqMqcHead: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * The message queue chain heads we have observed per each channel incoming channel. * * This value is loaded before and saved after processing inbound downward messages carried * by the system inherent. **/ lastHrmpMqcHeads: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * The relay chain block number associated with the last parachain block. * * This is updated in `on_finalize`. **/ lastRelayChainBlockNumber: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Validation code that is set by the parachain and is to be communicated to collator and * consequently the relay-chain. * * This will be cleared in `on_initialize` of each new block if no other pallet already set * the value. **/ newValidationCode: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * Upward messages that are still pending and not yet send to the relay chain. **/ pendingUpwardMessages: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * In case of a scheduled upgrade, this storage field contains the validation code to be * applied. * * As soon as the relay chain gives us the go-ahead signal, we will overwrite the * [`:code`][sp_core::storage::well_known_keys::CODE] which will result the next block process * with the new validation code. This concludes the upgrade process. **/ pendingValidationCode: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Number of downward messages processed in a block. * * This will be cleared in `on_initialize` of each new block. **/ processedDownwardMessages: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * The state proof for the last relay parent block. * * This field is meant to be updated each block with the validation data inherent. Therefore, * before processing of the inherent, e.g. in `on_initialize` this data may be stale. * * This data is also absent from the genesis. **/ relayStateProof: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * The snapshot of some state related to messaging relevant to the current parachain as per * the relay parent. * * This field is meant to be updated each block with the validation data inherent. Therefore, * before processing of the inherent, e.g. in `on_initialize` this data may be stale. * * This data is also absent from the genesis. **/ relevantMessagingState: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * The weight we reserve at the beginning of the block for processing DMP messages. This * overrides the amount set in the Config trait. **/ reservedDmpWeightOverride: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * The weight we reserve at the beginning of the block for processing XCMP messages. This * overrides the amount set in the Config trait. **/ reservedXcmpWeightOverride: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * Latest included block descendants the runtime accepted. In other words, these are * ancestors of the currently executing block which have not been included in the observed * relay-chain state. * * The segment length is limited by the capacity returned from the [`ConsensusHook`] configured * in the pallet. **/ unincludedSegment: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * Optional upgrade go-ahead signal from the relay-chain. * * This storage item is a mirror of the corresponding value for the current parachain from the * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is * set after the inherent. **/ upgradeGoAhead: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * An option which indicates if the relay-chain restricts signalling a validation code upgrade. * In other words, if this is `Some` and [`NewValidationCode`] is `Some` then the produced * candidate will be invalid. * * This storage item is a mirror of the corresponding value for the current parachain from the * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is * set after the inherent. **/ upgradeRestrictionSignal: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * The factor to multiply the base delivery fee by for UMP. **/ upwardDeliveryFeeFactor: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Upward messages that were sent in a block. * * This will be cleared in `on_initialize` of each new block. **/ upwardMessages: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * The [`PersistedValidationData`] set for this block. * This value is expected to be set only once per block and it's never stored * in the trie. **/ validationData: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * Generic query **/ [key: string]: QueryableStorageEntry; }; passkey: { /** * Generic query **/ [key: string]: QueryableStorageEntry; }; preimage: { preimageFor: AugmentedQuery | [H256 | string | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable>, [ITuple<[H256, u32]>]> & QueryableStorageEntry]>; /** * The request status of a given hash. **/ requestStatusFor: AugmentedQuery Observable>, [H256]> & QueryableStorageEntry; /** * The request status of a given hash. **/ statusFor: AugmentedQuery Observable>, [H256]> & QueryableStorageEntry; /** * Generic query **/ [key: string]: QueryableStorageEntry; }; proxy: { /** * The announcements made by the proxy (key). **/ announcements: AugmentedQuery Observable, u128]>>, [AccountId32]> & QueryableStorageEntry; /** * The set of account proxies. Maps the account which has delegated to the accounts * which are being delegated to, together with the amount held on deposit. **/ proxies: AugmentedQuery Observable, u128]>>, [AccountId32]> & QueryableStorageEntry; /** * Generic query **/ [key: string]: QueryableStorageEntry; }; scheduler: { /** * Items to be executed, indexed by the block number that they should be executed on. **/ agenda: AugmentedQuery Observable>>, [u32]> & QueryableStorageEntry; /** * Block number at which the agenda began incomplete execution. **/ incompleteSince: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * 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]> & QueryableStorageEntry; /** * Retry configurations for items to be executed, indexed by task address. **/ retries: AugmentedQuery | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable>, [ITuple<[u32, u32]>]> & QueryableStorageEntry]>; /** * Generic query **/ [key: string]: QueryableStorageEntry; }; schemas: { /** * Storage type for current number of IntentGroups * Useful for retrieving the latest IntentGroupId * - Value: Last IntentGroupId **/ currentIntentGroupIdentifierMaximum: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Storage type for current number of Intents * Useful for retrieving latest IntentId * - Value: Last IntentId **/ currentIntentIdentifierMaximum: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Storage type for current number of schemas * Useful for retrieving latest schema id * - Value: Last Schema ID **/ currentSchemaIdentifierMaximum: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Storage for the Governance managed max bytes for schema model * Allows for altering the max bytes without a full chain upgrade * - Value: Max Bytes **/ governanceSchemaModelMaxBytes: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Storage for IntentGroups * - Key: [`IntentGroupId`] * - Value: [`IntentGroup`](IntentGroup) **/ intentGroups: AugmentedQuery Observable>, [u16]> & QueryableStorageEntry; /** * Storage for Intents * - Key: [`IntentId`] * - Value: [`IntentInfo`] **/ intentInfos: AugmentedQuery Observable>, [u16]> & QueryableStorageEntry; /** * Storage for mapping names to IDs * - Key: Protocol Name * - Key: Descriptor * - Value: [`MappedEntityIdentifier`] **/ nameToMappedEntityIds: AugmentedQuery Observable, [Bytes, Bytes]> & QueryableStorageEntry; /** * Storage for message schema info struct data * - Key: Schema Id * - Value: [`SchemaInfo`] **/ schemaInfos: AugmentedQuery Observable>, [u16]> & QueryableStorageEntry; /** * Storage for message schema struct data * - Key: Schema Id * - Value: [`BoundedVec`](BoundedVec) **/ schemaPayloads: AugmentedQuery Observable>, [u16]> & QueryableStorageEntry; /** * Generic query **/ [key: string]: QueryableStorageEntry; }; session: { /** * Current index of the session. **/ currentIndex: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * 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>>, []> & QueryableStorageEntry; /** * 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]>]> & QueryableStorageEntry]>; /** * The next session keys for a validator. **/ nextKeys: AugmentedQuery Observable>, [AccountId32]> & QueryableStorageEntry; /** * True if the underlying economic identities or weighting behind the validators * has changed in the queued validator set. **/ queuedChanged: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * 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>>, []> & QueryableStorageEntry; /** * The current set of validators. **/ validators: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * Generic query **/ [key: string]: QueryableStorageEntry; }; statefulStorage: { /** * A temporary storage for migration **/ migrationPageIndex: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Generic query **/ [key: string]: QueryableStorageEntry; }; sudo: { /** * The `AccountId` of the sudo key. **/ key: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * Generic query **/ [key: string]: QueryableStorageEntry; }; system: { /** * The full account information for a particular account ID. **/ account: AugmentedQuery Observable, [AccountId32]> & QueryableStorageEntry; /** * Total length (in bytes) for all extrinsics put together, for the current block. **/ allExtrinsicsLen: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * `Some` if a code upgrade has been authorized. **/ authorizedUpgrade: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * Map of block numbers to block hashes. **/ blockHash: AugmentedQuery Observable, [u32]> & QueryableStorageEntry; /** * The current weight for the block. **/ blockWeight: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Digest of the current block, also part of the block header. **/ digest: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * The number of events in the `Events` list. **/ eventCount: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * 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>, []> & QueryableStorageEntry; /** * 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]> & QueryableStorageEntry; /** * The execution phase of the block. **/ executionPhase: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * Total extrinsics count for the current block. **/ extrinsicCount: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * Extrinsics data for the current block (maps an extrinsic's index to its data). **/ extrinsicData: AugmentedQuery Observable, [u32]> & QueryableStorageEntry; /** * 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, []> & QueryableStorageEntry; /** * Whether all inherents have been applied. **/ inherentsApplied: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened. **/ lastRuntimeUpgrade: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * The current block number being processed. Set by `execute_block`. **/ number: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Hash of the previous block. **/ parentHash: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * True if we have upgraded so that AccountInfo contains three types of `RefCount`. False * (default) if not. **/ upgradedToTripleRefCount: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * True if we have upgraded so that `type RefCount` is `u32`. False (default) if not. **/ upgradedToU32RefCount: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Generic query **/ [key: string]: QueryableStorageEntry; }; technicalCommittee: { /** * Consideration cost created for publishing and storing a proposal. * * Determined by [Config::Consideration] and may be not present for certain proposals (e.g. if * the proposal count at the time of creation was below threshold N). **/ costOf: AugmentedQuery Observable>>, [H256]> & QueryableStorageEntry; /** * The current members of the collective. This is stored sorted (just by value). **/ members: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * The prime member that helps determine the default vote behavior in case of abstentions. **/ prime: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * Proposals so far. **/ proposalCount: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Actual proposal for a given hash, if it's current. **/ proposalOf: AugmentedQuery Observable>, [H256]> & QueryableStorageEntry; /** * The hashes of the active proposals. **/ proposals: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * Votes on a given proposal, if it is ongoing. **/ voting: AugmentedQuery Observable>, [H256]> & QueryableStorageEntry; /** * Generic query **/ [key: string]: QueryableStorageEntry; }; timeRelease: { /** * Release schedules of an account. * * ReleaseSchedules: `map AccountId => Vec` **/ releaseSchedules: AugmentedQuery Observable>, [AccountId32]> & QueryableStorageEntry; /** * Tracks the amount of funds reserved for each scheduled transfer, keyed by the transfer's identifier. **/ scheduleReservedAmounts: AugmentedQuery Observable>, [U8aFixed]> & QueryableStorageEntry; /** * Generic query **/ [key: string]: QueryableStorageEntry; }; 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, []> & QueryableStorageEntry; /** * The current time for the current block. **/ now: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Generic query **/ [key: string]: QueryableStorageEntry; }; transactionPayment: { nextFeeMultiplier: AugmentedQuery Observable, []> & QueryableStorageEntry; storageVersion: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Generic query **/ [key: string]: QueryableStorageEntry; }; treasury: { /** * Proposal indices that have been approved but not yet awarded. **/ approvals: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * The amount which has been reported as inactive to Currency. **/ deactivated: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Number of proposals that have been made. **/ proposalCount: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Proposals that have been made. **/ proposals: AugmentedQuery Observable>, [u32]> & QueryableStorageEntry; /** * The count of spends that have been made. **/ spendCount: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Spends that have been approved and being processed. **/ spends: AugmentedQuery Observable>, [u32]> & QueryableStorageEntry; /** * Generic query **/ [key: string]: QueryableStorageEntry; }; weightReclaim: { /** * Generic query **/ [key: string]: QueryableStorageEntry; }; } }