UNPKG

@moonbeam-network/api-augment

Version:
1,400 lines (1,396 loc) 80.8 kB
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit /* eslint-disable */ // import type lookup before we augment - in some environments // this is required to allow for ambient/previous definitions import "@polkadot/api-base/types/storage"; import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from "@polkadot/api-base/types"; import type { Data } from "@polkadot/types"; import type { BTreeMap, BTreeSet, Bytes, Null, Option, Struct, U256, U8aFixed, Vec, bool, u128, u16, u32, u64 } from "@polkadot/types-codec"; import type { AnyNumber, ITuple } from "@polkadot/types-codec/types"; import type { AccountId20, Call, H160, H256, Perbill, Percent } from "@polkadot/types/interfaces/runtime"; import type { CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemUnincludedSegmentAncestor, CumulusPalletParachainSystemUnincludedSegmentSegmentTracker, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesCoreAggregateMessageOrigin, EthereumBlock, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, MoonriverRuntimeRuntimeHoldReason, MoonriverRuntimeRuntimeParamsRuntimeParametersKey, MoonriverRuntimeRuntimeParamsRuntimeParametersValue, MoonriverRuntimeXcmConfigAssetType, NimbusPrimitivesNimbusCryptoPublic, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletAuthorMappingRegistrationInfo, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletCollectiveVotes, PalletConvictionVotingVoteVoting, PalletCrowdloanRewardsRewardInfo, PalletEmergencyParaXcmXcmMode, PalletEvmCodeMetadata, PalletIdentityAuthorityProperties, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMoonbeamForeignAssetsAssetDepositDetails, PalletMoonbeamForeignAssetsAssetStatus, PalletMoonbeamLazyMigrationsForeignAssetForeignAssetMigrationStatus, PalletMoonbeamLazyMigrationsStateMigrationStatus, PalletMoonbeamOrbitersCollatorPoolInfo, PalletMultisigMultisig, PalletParachainStakingAutoCompoundAutoCompoundConfig, PalletParachainStakingBond, PalletParachainStakingCandidateMetadata, PalletParachainStakingCollatorSnapshot, PalletParachainStakingDelayedPayout, PalletParachainStakingDelegationRequestsScheduledRequest, PalletParachainStakingDelegations, PalletParachainStakingDelegator, PalletParachainStakingInflationDistributionAccount, PalletParachainStakingInflationDistributionConfig, PalletParachainStakingInflationInflationInfo, PalletParachainStakingRoundInfo, PalletParachainStakingSetBoundedOrderedSet, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRandomnessRandomnessResult, PalletRandomnessRequestState, PalletRandomnessRequestType, PalletReferendaReferendumInfo, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmTransactorRelayIndicesRelayChainIndices, PalletXcmTransactorRemoteTransactInfoWithMaxWeight, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV8AbridgedHostConfiguration, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, SpRuntimeDigest, SpTrieStorageProof, SpWeightsWeightV2Weight, StagingXcmV4Instruction, StagingXcmV4Location, XcmVersionedAssetId, XcmVersionedLocation } from "@polkadot/types/lookup"; import type { Observable } from "@polkadot/types/types"; export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>; export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>; declare module "@polkadot/api-base/types/storage" { interface AugmentedQueries<ApiType extends ApiTypes> { assetManager: { /** * Mapping from an asset id to asset type. * This is mostly used when receiving transaction specifying an asset directly, * like transferring an asset from this chain to another. **/ assetIdType: AugmentedQuery< ApiType, ( arg: u128 | AnyNumber | Uint8Array ) => Observable<Option<MoonriverRuntimeXcmConfigAssetType>>, [u128] > & QueryableStorageEntry<ApiType, [u128]>; /** * Reverse mapping of AssetIdType. Mapping from an asset type to an asset id. * This is mostly used when receiving a multilocation XCM message to retrieve * the corresponding asset in which tokens should me minted. **/ assetTypeId: AugmentedQuery< ApiType, ( arg: MoonriverRuntimeXcmConfigAssetType | { Xcm: any } | string | Uint8Array ) => Observable<Option<u128>>, [MoonriverRuntimeXcmConfigAssetType] > & QueryableStorageEntry<ApiType, [MoonriverRuntimeXcmConfigAssetType]>; /** * Generic query **/ [key: string]: QueryableStorageEntry<ApiType>; }; assets: { /** * The holdings of a specific account for a specific asset. **/ account: AugmentedQuery< ApiType, ( arg1: u128 | AnyNumber | Uint8Array, arg2: AccountId20 | string | Uint8Array ) => Observable<Option<PalletAssetsAssetAccount>>, [u128, AccountId20] > & QueryableStorageEntry<ApiType, [u128, AccountId20]>; /** * Approved balance transfers. First balance is the amount approved for transfer. Second * is the amount of `T::Currency` reserved for storing this. * First key is the asset ID, second key is the owner and third key is the delegate. **/ approvals: AugmentedQuery< ApiType, ( arg1: u128 | AnyNumber | Uint8Array, arg2: AccountId20 | string | Uint8Array, arg3: AccountId20 | string | Uint8Array ) => Observable<Option<PalletAssetsApproval>>, [u128, AccountId20, AccountId20] > & QueryableStorageEntry<ApiType, [u128, AccountId20, AccountId20]>; /** * Details of an asset. **/ asset: AugmentedQuery< ApiType, (arg: u128 | AnyNumber | Uint8Array) => Observable<Option<PalletAssetsAssetDetails>>, [u128] > & QueryableStorageEntry<ApiType, [u128]>; /** * Metadata of an asset. **/ metadata: AugmentedQuery< ApiType, (arg: u128 | AnyNumber | Uint8Array) => Observable<PalletAssetsAssetMetadata>, [u128] > & QueryableStorageEntry<ApiType, [u128]>; /** * The asset ID enforced for the next asset creation, if any present. Otherwise, this storage * item has no effect. * * This can be useful for setting up constraints for IDs of the new assets. For example, by * providing an initial [`NextAssetId`] and using the [`crate::AutoIncAssetId`] callback, an * auto-increment model can be applied to all new asset IDs. * * The initial next asset ID can be set using the [`GenesisConfig`] or the * [SetNextAssetId](`migration::next_asset_id::SetNextAssetId`) migration. **/ nextAssetId: AugmentedQuery<ApiType, () => Observable<Option<u128>>, []> & QueryableStorageEntry<ApiType, []>; /** * Generic query **/ [key: string]: QueryableStorageEntry<ApiType>; }; asyncBacking: { /** * First tuple element is the highest slot that has been seen in the history of this chain. * Second tuple element is the number of authored blocks so far. * This is a strictly-increasing value if T::AllowMultipleBlocksPerSlot = false. **/ slotInfo: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u64, u32]>>>, []> & QueryableStorageEntry<ApiType, []>; /** * Generic query **/ [key: string]: QueryableStorageEntry<ApiType>; }; authorFilter: { /** * The number of active authors that will be eligible at each height. **/ eligibleCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>; eligibleRatio: AugmentedQuery<ApiType, () => Observable<Percent>, []> & QueryableStorageEntry<ApiType, []>; /** * Generic query **/ [key: string]: QueryableStorageEntry<ApiType>; }; authorInherent: { /** * Author of current block. **/ author: AugmentedQuery<ApiType, () => Observable<Option<AccountId20>>, []> & QueryableStorageEntry<ApiType, []>; /** * Check if the inherent was included **/ inherentIncluded: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>; /** * Generic query **/ [key: string]: QueryableStorageEntry<ApiType>; }; authorMapping: { /** * We maintain a mapping from the NimbusIds used in the consensus layer * to the AccountIds runtime. **/ mappingWithDeposit: AugmentedQuery< ApiType, ( arg: NimbusPrimitivesNimbusCryptoPublic | string | Uint8Array ) => Observable<Option<PalletAuthorMappingRegistrationInfo>>, [NimbusPrimitivesNimbusCryptoPublic] > & QueryableStorageEntry<ApiType, [NimbusPrimitivesNimbusCryptoPublic]>; /** * We maintain a reverse mapping from AccountIds to NimbusIDS **/ nimbusLookup: AugmentedQuery< ApiType, ( arg: AccountId20 | string | Uint8Array ) => Observable<Option<NimbusPrimitivesNimbusCryptoPublic>>, [AccountId20] > & QueryableStorageEntry<ApiType, [AccountId20]>; /** * Generic query **/ [key: string]: QueryableStorageEntry<ApiType>; }; balances: { /** * The Balances pallet example of storing the balance of an account. * * # Example * * ```nocompile * impl pallet_balances::Config for Runtime { * type AccountStore = StorageMapShim<Self::Account<Runtime>, frame_system::Provider<Runtime>, AccountId, Self::AccountData<Balance>> * } * ``` * * 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< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [AccountId20] > & QueryableStorageEntry<ApiType, [AccountId20]>; /** * Freeze locks on account balances. **/ freezes: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmount>>, [AccountId20] > & QueryableStorageEntry<ApiType, [AccountId20]>; /** * Holds on account balances. **/ holds: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable< Vec< { readonly id: MoonriverRuntimeRuntimeHoldReason; readonly amount: u128; } & Struct > >, [AccountId20] > & QueryableStorageEntry<ApiType, [AccountId20]>; /** * The total units of outstanding deactivated balance in the system. **/ inactiveIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>; /** * 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< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [AccountId20] > & QueryableStorageEntry<ApiType, [AccountId20]>; /** * 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< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [AccountId20] > & QueryableStorageEntry<ApiType, [AccountId20]>; /** * The total units issued in the system. **/ totalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>; /** * Generic query **/ [key: string]: QueryableStorageEntry<ApiType>; }; convictionVoting: { /** * The voting classes which have a non-zero lock requirement and the lock amounts which they * require. The actual amount locked on behalf of this pallet should always be the maximum of * this list. **/ classLocksFor: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable<Vec<ITuple<[u16, u128]>>>, [AccountId20] > & QueryableStorageEntry<ApiType, [AccountId20]>; /** * All voting for a particular voter in a particular voting class. We store the balance for the * number of votes that we have recorded. **/ votingFor: AugmentedQuery< ApiType, ( arg1: AccountId20 | string | Uint8Array, arg2: u16 | AnyNumber | Uint8Array ) => Observable<PalletConvictionVotingVoteVoting>, [AccountId20, u16] > & QueryableStorageEntry<ApiType, [AccountId20, u16]>; /** * Generic query **/ [key: string]: QueryableStorageEntry<ApiType>; }; crowdloanRewards: { accountsPayable: AugmentedQuery< ApiType, ( arg: AccountId20 | string | Uint8Array ) => Observable<Option<PalletCrowdloanRewardsRewardInfo>>, [AccountId20] > & QueryableStorageEntry<ApiType, [AccountId20]>; claimedRelayChainIds: AugmentedQuery< ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<Null>>, [U8aFixed] > & QueryableStorageEntry<ApiType, [U8aFixed]>; /** * Vesting block height at the initialization of the pallet **/ endRelayBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>; initialized: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>; /** * Total initialized amount so far. We store this to make pallet funds == contributors reward * check easier and more efficient **/ initializedRewardAmount: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>; /** * Vesting block height at the initialization of the pallet **/ initRelayBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>; /** * Total number of contributors to aid hinting benchmarking **/ totalContributors: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>; unassociatedContributions: AugmentedQuery< ApiType, ( arg: U8aFixed | string | Uint8Array ) => Observable<Option<PalletCrowdloanRewardsRewardInfo>>, [U8aFixed] > & QueryableStorageEntry<ApiType, [U8aFixed]>; /** * Generic query **/ [key: string]: QueryableStorageEntry<ApiType>; }; emergencyParaXcm: { /** * Whether incoming XCM is enabled or paused **/ mode: AugmentedQuery<ApiType, () => Observable<PalletEmergencyParaXcmXcmMode>, []> & QueryableStorageEntry<ApiType, []>; /** * Generic query **/ [key: string]: QueryableStorageEntry<ApiType>; }; ethereum: { blockHash: AugmentedQuery< ApiType, (arg: U256 | AnyNumber | Uint8Array) => Observable<H256>, [U256] > & QueryableStorageEntry<ApiType, [U256]>; /** * Counter for the related counted storage map **/ counterForPending: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>; /** * The current Ethereum block. **/ currentBlock: AugmentedQuery<ApiType, () => Observable<Option<EthereumBlock>>, []> & QueryableStorageEntry<ApiType, []>; /** * The current Ethereum receipts. **/ currentReceipts: AugmentedQuery< ApiType, () => Observable<Option<Vec<EthereumReceiptReceiptV3>>>, [] > & QueryableStorageEntry<ApiType, []>; /** * The current transaction statuses. **/ currentTransactionStatuses: AugmentedQuery< ApiType, () => Observable<Option<Vec<FpRpcTransactionStatus>>>, [] > & QueryableStorageEntry<ApiType, []>; /** * Current building block's transactions and receipts. **/ pending: AugmentedQuery< ApiType, ( arg: u32 | AnyNumber | Uint8Array ) => Observable< Option< ITuple< [EthereumTransactionTransactionV2, FpRpcTransactionStatus, EthereumReceiptReceiptV3] > > >, [u32] > & QueryableStorageEntry<ApiType, [u32]>; /** * Generic query **/ [key: string]: QueryableStorageEntry<ApiType>; }; ethereumChainId: { /** * The EVM chain ID. **/ chainId: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>; /** * Generic query **/ [key: string]: QueryableStorageEntry<ApiType>; }; ethereumXcm: { /** * Whether or not Ethereum-XCM is suspended from executing **/ ethereumXcmSuspended: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>; /** * Global nonce used for building Ethereum transaction payload. **/ nonce: AugmentedQuery<ApiType, () => Observable<U256>, []> & QueryableStorageEntry<ApiType, []>; /** * Generic query **/ [key: string]: QueryableStorageEntry<ApiType>; }; evm: { accountCodes: AugmentedQuery< ApiType, (arg: H160 | string | Uint8Array) => Observable<Bytes>, [H160] > & QueryableStorageEntry<ApiType, [H160]>; accountCodesMetadata: AugmentedQuery< ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<PalletEvmCodeMetadata>>, [H160] > & QueryableStorageEntry<ApiType, [H160]>; accountStorages: AugmentedQuery< ApiType, (arg1: H160 | string | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<H256>, [H160, H256] > & QueryableStorageEntry<ApiType, [H160, H256]>; suicided: AugmentedQuery< ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<Null>>, [H160] > & QueryableStorageEntry<ApiType, [H160]>; /** * Generic query **/ [key: string]: QueryableStorageEntry<ApiType>; }; evmForeignAssets: { /** * Mapping from an asset id to a Foreign asset type. * This is mostly used when receiving transaction specifying an asset directly, * like transferring an asset from this chain to another. **/ assetsById: AugmentedQuery< ApiType, (arg: u128 | AnyNumber | Uint8Array) => Observable<Option<StagingXcmV4Location>>, [u128] > & QueryableStorageEntry<ApiType, [u128]>; /** * Reverse mapping of AssetsById. Mapping from a foreign asset to an asset id. * This is mostly used when receiving a multilocation XCM message to retrieve * the corresponding asset in which tokens should me minted. **/ assetsByLocation: AugmentedQuery< ApiType, ( arg: StagingXcmV4Location | { parents?: any; interior?: any } | string | Uint8Array ) => Observable<Option<ITuple<[u128, PalletMoonbeamForeignAssetsAssetStatus]>>>, [StagingXcmV4Location] > & QueryableStorageEntry<ApiType, [StagingXcmV4Location]>; /** * Mapping from an asset id to its creation details **/ assetsCreationDetails: AugmentedQuery< ApiType, ( arg: u128 | AnyNumber | Uint8Array ) => Observable<Option<PalletMoonbeamForeignAssetsAssetDepositDetails>>, [u128] > & QueryableStorageEntry<ApiType, [u128]>; /** * Counter for the related counted storage map **/ counterForAssetsById: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>; /** * Generic query **/ [key: string]: QueryableStorageEntry<ApiType>; }; identity: { /** * Reverse lookup from `username` to the `AccountId` that has registered it. The value should * be a key in the `IdentityOf` map, but it may not if the user has cleared their identity. * * Multiple usernames may map to the same `AccountId`, but `IdentityOf` will only map to one * primary username. **/ accountOfUsername: AugmentedQuery< ApiType, (arg: Bytes | string | Uint8Array) => Observable<Option<AccountId20>>, [Bytes] > & QueryableStorageEntry<ApiType, [Bytes]>; /** * Information that is pertinent to identify the entity behind an account. First item is the * registration, second is the account's primary username. * * TWOX-NOTE: OK ― `AccountId` is a secure hash. **/ identityOf: AugmentedQuery< ApiType, ( arg: AccountId20 | string | Uint8Array ) => Observable<Option<ITuple<[PalletIdentityRegistration, Option<Bytes>]>>>, [AccountId20] > & QueryableStorageEntry<ApiType, [AccountId20]>; /** * Usernames that an authority has granted, but that the account controller has not confirmed * that they want it. Used primarily in cases where the `AccountId` cannot provide a signature * because they are a pure proxy, multisig, etc. In order to confirm it, they should call * [`Call::accept_username`]. * * First tuple item is the account and second is the acceptance deadline. **/ pendingUsernames: AugmentedQuery< ApiType, (arg: Bytes | string | Uint8Array) => Observable<Option<ITuple<[AccountId20, u32]>>>, [Bytes] > & QueryableStorageEntry<ApiType, [Bytes]>; /** * The set of registrars. Not expected to get very big as can only be added through a * special origin (likely a council motion). * * The index into this can be cast to `RegistrarIndex` to get a valid value. **/ registrars: AugmentedQuery< ApiType, () => Observable<Vec<Option<PalletIdentityRegistrarInfo>>>, [] > & QueryableStorageEntry<ApiType, []>; /** * Alternative "sub" identities of this account. * * The first item is the deposit, the second is a vector of the accounts. * * TWOX-NOTE: OK ― `AccountId` is a secure hash. **/ subsOf: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable<ITuple<[u128, Vec<AccountId20>]>>, [AccountId20] > & QueryableStorageEntry<ApiType, [AccountId20]>; /** * The super-identity of an alternative "sub" identity together with its name, within that * context. If the account is not some other account's sub-identity, then just `None`. **/ superOf: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable<Option<ITuple<[AccountId20, Data]>>>, [AccountId20] > & QueryableStorageEntry<ApiType, [AccountId20]>; /** * A map of the accounts who are authorized to grant usernames. **/ usernameAuthorities: AugmentedQuery< ApiType, ( arg: AccountId20 | string | Uint8Array ) => Observable<Option<PalletIdentityAuthorityProperties>>, [AccountId20] > & QueryableStorageEntry<ApiType, [AccountId20]>; /** * Generic query **/ [key: string]: QueryableStorageEntry<ApiType>; }; maintenanceMode: { /** * Whether the site is in maintenance mode **/ maintenanceMode: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>; /** * Generic query **/ [key: string]: QueryableStorageEntry<ApiType>; }; messageQueue: { /** * The index of the first and last (non-empty) pages. **/ bookStateFor: AugmentedQuery< ApiType, ( arg: | CumulusPrimitivesCoreAggregateMessageOrigin | { Here: any } | { Parent: any } | { Sibling: any } | string | Uint8Array ) => Observable<PalletMessageQueueBookState>, [CumulusPrimitivesCoreAggregateMessageOrigin] > & QueryableStorageEntry<ApiType, [CumulusPrimitivesCoreAggregateMessageOrigin]>; /** * The map of page indices to pages. **/ pages: AugmentedQuery< ApiType, ( arg1: | CumulusPrimitivesCoreAggregateMessageOrigin | { Here: any } | { Parent: any } | { Sibling: any } | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array ) => Observable<Option<PalletMessageQueuePage>>, [CumulusPrimitivesCoreAggregateMessageOrigin, u32] > & QueryableStorageEntry<ApiType, [CumulusPrimitivesCoreAggregateMessageOrigin, u32]>; /** * The origin at which we should begin servicing. **/ serviceHead: AugmentedQuery< ApiType, () => Observable<Option<CumulusPrimitivesCoreAggregateMessageOrigin>>, [] > & QueryableStorageEntry<ApiType, []>; /** * Generic query **/ [key: string]: QueryableStorageEntry<ApiType>; }; migrations: { /** * True if all required migrations have completed **/ fullyUpgraded: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>; /** * MigrationState tracks the progress of a migration. * Maps name (Vec<u8>) -> whether or not migration has been completed (bool) **/ migrationState: AugmentedQuery< ApiType, (arg: Bytes | string | Uint8Array) => Observable<bool>, [Bytes] > & QueryableStorageEntry<ApiType, [Bytes]>; /** * Temporary value that is set to true at the beginning of the block during which the execution * of xcm messages must be paused. **/ shouldPauseXcm: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>; /** * Generic query **/ [key: string]: QueryableStorageEntry<ApiType>; }; moonbeamLazyMigrations: { approvedForeignAssets: AugmentedQuery< ApiType, (arg: u128 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [u128] > & QueryableStorageEntry<ApiType, [u128]>; foreignAssetMigrationStatusValue: AugmentedQuery< ApiType, () => Observable<PalletMoonbeamLazyMigrationsForeignAssetForeignAssetMigrationStatus>, [] > & QueryableStorageEntry<ApiType, []>; stateMigrationStatusValue: AugmentedQuery< ApiType, () => Observable<ITuple<[PalletMoonbeamLazyMigrationsStateMigrationStatus, u64]>>, [] > & QueryableStorageEntry<ApiType, []>; /** * Generic query **/ [key: string]: QueryableStorageEntry<ApiType>; }; moonbeamOrbiters: { /** * Account lookup override **/ accountLookupOverride: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable<Option<Option<AccountId20>>>, [AccountId20] > & QueryableStorageEntry<ApiType, [AccountId20]>; /** * Current orbiters, with their "parent" collator **/ collatorsPool: AugmentedQuery< ApiType, ( arg: AccountId20 | string | Uint8Array ) => Observable<Option<PalletMoonbeamOrbitersCollatorPoolInfo>>, [AccountId20] > & QueryableStorageEntry<ApiType, [AccountId20]>; /** * Counter for the related counted storage map **/ counterForCollatorsPool: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>; /** * Current round index **/ currentRound: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>; /** * If true, it forces the rotation at the next round. * A use case: when changing RotatePeriod, you need a migration code that sets this value to * true to avoid holes in OrbiterPerRound. **/ forceRotation: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>; /** * Minimum deposit required to be registered as an orbiter **/ minOrbiterDeposit: AugmentedQuery<ApiType, () => Observable<Option<u128>>, []> & QueryableStorageEntry<ApiType, []>; /** * Store active orbiter per round and per parent collator **/ orbiterPerRound: AugmentedQuery< ApiType, ( arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId20 | string | Uint8Array ) => Observable<Option<AccountId20>>, [u32, AccountId20] > & QueryableStorageEntry<ApiType, [u32, AccountId20]>; /** * Check if account is an orbiter **/ registeredOrbiter: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable<Option<bool>>, [AccountId20] > & QueryableStorageEntry<ApiType, [AccountId20]>; /** * Generic query **/ [key: string]: QueryableStorageEntry<ApiType>; }; multisig: { /** * The set of open multisig operations. **/ multisigs: AugmentedQuery< ApiType, ( arg1: AccountId20 | string | Uint8Array, arg2: U8aFixed | string | Uint8Array ) => Observable<Option<PalletMultisigMultisig>>, [AccountId20, U8aFixed] > & QueryableStorageEntry<ApiType, [AccountId20, U8aFixed]>; /** * Generic query **/ [key: string]: QueryableStorageEntry<ApiType>; }; openTechCommitteeCollective: { /** * The current members of the collective. This is stored sorted (just by value). **/ members: AugmentedQuery<ApiType, () => Observable<Vec<AccountId20>>, []> & QueryableStorageEntry<ApiType, []>; /** * The prime member that helps determine the default vote behavior in case of abstentions. **/ prime: AugmentedQuery<ApiType, () => Observable<Option<AccountId20>>, []> & QueryableStorageEntry<ApiType, []>; /** * Proposals so far. **/ proposalCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>; /** * Actual proposal for a given hash, if it's current. **/ proposalOf: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Call>>, [H256] > & QueryableStorageEntry<ApiType, [H256]>; /** * The hashes of the active proposals. **/ proposals: AugmentedQuery<ApiType, () => Observable<Vec<H256>>, []> & QueryableStorageEntry<ApiType, []>; /** * Votes on a given proposal, if it is ongoing. **/ voting: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletCollectiveVotes>>, [H256] > & QueryableStorageEntry<ApiType, [H256]>; /** * Generic query **/ [key: string]: QueryableStorageEntry<ApiType>; }; parachainInfo: { parachainId: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>; /** * Generic query **/ [key: string]: QueryableStorageEntry<ApiType>; }; parachainStaking: { /** * Snapshot of collator delegation stake at the start of the round **/ atStake: AugmentedQuery< ApiType, ( arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId20 | string | Uint8Array ) => Observable<Option<PalletParachainStakingCollatorSnapshot>>, [u32, AccountId20] > & QueryableStorageEntry<ApiType, [u32, AccountId20]>; /** * Stores auto-compounding configuration per collator. **/ autoCompoundingDelegations: AugmentedQuery< ApiType, ( arg: AccountId20 | string | Uint8Array ) => Observable<Vec<PalletParachainStakingAutoCompoundAutoCompoundConfig>>, [AccountId20] > & QueryableStorageEntry<ApiType, [AccountId20]>; /** * Points for each collator per round **/ awardedPts: AugmentedQuery< ApiType, ( arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId20 | string | Uint8Array ) => Observable<u32>, [u32, AccountId20] > & QueryableStorageEntry<ApiType, [u32, AccountId20]>; /** * Bottom delegations for collator candidate **/ bottomDelegations: AugmentedQuery< ApiType, ( arg: AccountId20 | string | Uint8Array ) => Observable<Option<PalletParachainStakingDelegations>>, [AccountId20] > & QueryableStorageEntry<ApiType, [AccountId20]>; /** * Get collator candidate info associated with an account if account is candidate else None **/ candidateInfo: AugmentedQuery< ApiType, ( arg: AccountId20 | string | Uint8Array ) => Observable<Option<PalletParachainStakingCandidateMetadata>>, [AccountId20] > & QueryableStorageEntry<ApiType, [AccountId20]>; /** * The pool of collator candidates, each with their total backing stake **/ candidatePool: AugmentedQuery< ApiType, () => Observable<Vec<PalletParachainStakingBond>>, [] > & QueryableStorageEntry<ApiType, []>; /** * Commission percent taken off of rewards for all collators **/ collatorCommission: AugmentedQuery<ApiType, () => Observable<Perbill>, []> & QueryableStorageEntry<ApiType, []>; /** * Delayed payouts **/ delayedPayouts: AugmentedQuery< ApiType, ( arg: u32 | AnyNumber | Uint8Array ) => Observable<Option<PalletParachainStakingDelayedPayout>>, [u32] > & QueryableStorageEntry<ApiType, [u32]>; /** * Stores outstanding delegation requests per collator. **/ delegationScheduledRequests: AugmentedQuery< ApiType, ( arg: AccountId20 | string | Uint8Array ) => Observable<Vec<PalletParachainStakingDelegationRequestsScheduledRequest>>, [AccountId20] > & QueryableStorageEntry<ApiType, [AccountId20]>; /** * Get delegator state associated with an account if account is delegating else None **/ delegatorState: AugmentedQuery< ApiType, ( arg: AccountId20 | string | Uint8Array ) => Observable<Option<PalletParachainStakingDelegator>>, [AccountId20] > & QueryableStorageEntry<ApiType, [AccountId20]>; /** * Killswitch to enable/disable marking offline feature. **/ enableMarkingOffline: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>; /** * Inflation configuration **/ inflationConfig: AugmentedQuery< ApiType, () => Observable<PalletParachainStakingInflationInflationInfo>, [] > & QueryableStorageEntry<ApiType, []>; /** * Inflation distribution configuration, including accounts that should receive inflation * before it is distributed to collators and delegators. * * The sum of the distribution percents must be less than or equal to 100. **/ inflationDistributionInfo: AugmentedQuery< ApiType, () => Observable<Vec<PalletParachainStakingInflationDistributionAccount>>, [] > & QueryableStorageEntry<ApiType, []>; /** * Total points awarded to collators for block production in the round **/ points: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32] > & QueryableStorageEntry<ApiType, [u32]>; /** * Current round index and next round scheduled transition **/ round: AugmentedQuery<ApiType, () => Observable<PalletParachainStakingRoundInfo>, []> & QueryableStorageEntry<ApiType, []>; /** * The collator candidates selected for the current round **/ selectedCandidates: AugmentedQuery<ApiType, () => Observable<Vec<AccountId20>>, []> & QueryableStorageEntry<ApiType, []>; /** * Top delegations for collator candidate **/ topDelegations: AugmentedQuery< ApiType, ( arg: AccountId20 | string | Uint8Array ) => Observable<Option<PalletParachainStakingDelegations>>, [AccountId20] > & QueryableStorageEntry<ApiType, [AccountId20]>; /** * Total capital locked by this staking pallet **/ total: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>; /** * The total candidates selected every round **/ totalSelected: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>; /** * Records collators' inactivity. * Data persists for MaxOfflineRounds + 1 rounds before being pruned. **/ wasInactive: AugmentedQuery< ApiType, ( arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId20 | string | Uint8Array ) => Observable<Option<Null>>, [u32, AccountId20] > & QueryableStorageEntry<ApiType, [u32, AccountId20]>; /** * Generic query **/ [key: string]: QueryableStorageEntry<ApiType>; }; 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< ApiType, () => Observable<Option<CumulusPalletParachainSystemUnincludedSegmentSegmentTracker>>, [] > & QueryableStorageEntry<ApiType, []>; /** * 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<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>; /** * 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<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>; /** * Were the validation data set to notify the relay chain? **/ didSetValidationCode: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>; /** * 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< ApiType, () => Observable<Option<PolkadotPrimitivesV8AbridgedHostConfiguration>>, [] > & QueryableStorageEntry<ApiType, []>; /** * HRMP messages that were sent in a block. * * This will be cleared in `on_initialize` of each new block. **/ hrmpOutboundMessages: AugmentedQuery< ApiType, () => Observable<Vec<PolkadotCorePrimitivesOutboundHrmpMessage>>, [] > & QueryableStorageEntry<ApiType, []>; /** * HRMP watermark that was set in a block. * * This will be cleared in `on_initialize` of each new block. **/ hrmpWatermark: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>; /** * 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<ApiType, () => Observable<H256>, []> & QueryableStorageEntry<ApiType, []>; /** * 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<ApiType, () => Observable<BTreeMap<u32, H256>>, []> & QueryableStorageEntry<ApiType, []>; /** * The relay chain block number associated with the last parachain block. * * This is updated in `on_finalize`. **/ lastRelayChainBlockNumber: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>; /** * 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<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>; /** * Upward messages that are still pending and not yet send to the relay chain. **/ pendingUpwardMessages: AugmentedQuery<ApiType, () => Observable<Vec<Bytes>>, []> & QueryableStorageEntry<ApiType, []>; /** * 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<ApiType, () => Observable<Bytes>, []> & QueryableStorageEntry<ApiType, []>; /** * Number of downward messages processed in a block. * * This will be cleared in `on_initialize` of each new block. **/ processedDownwardMessages: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>; /** * 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<ApiType, () => Observable<Option<SpTrieStorageProof>>, []> & QueryableStorageEntry<ApiType, []>; /** * 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< ApiType, () => Observable< Option<CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot> >, [] > & QueryableStorageEntry<ApiType, []>; /** * 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< ApiType, () => Observable<Option<SpWeightsWeightV2Weight>>, [] > & QueryableStorageEntry<ApiType, []>; /** * 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< ApiType, () => Observable<Option<SpWeightsWeightV2Weight>>, [] > & QueryableStorageEntry<ApiType, []>; /** * 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< ApiType, () => Observable<Vec<CumulusPalletParachainSystemUnincludedSegmentAncestor>>, [] > & QueryableStorageEntry<ApiType, []>; /** * 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< ApiType, () => Observable<Option<PolkadotPrimitivesV8UpgradeGoAhead>>, [] > & QueryableStorageEntry<ApiType, []>; /** * 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< ApiType, () => Observable<Option<PolkadotPrimitivesV8UpgradeRestriction>>, [] > & QueryableStorageEntry<ApiType, []>; /** * The factor to multiply the base delivery fee by for UMP. **/ upwardDeliveryFeeFactor: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>; /** * Upward messages that were sent in a block. * * This will be cleared in `on_initialize` of each new block. **/ upwardMessages: AugmentedQuery<ApiType, () => Observable<Vec<Bytes>>, []> & QueryableStorageEntry<ApiType, []>; /** * The [`PersistedValidationData`] set for this block. * This value is expected to be s