// 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/calls'; import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@polkadot/api-base/types'; import type { Bytes, Null, Option, Result, Vec, bool, u32 } from '@polkadot/types-codec'; import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types'; import type { BabeEquivocationProof, BabeGenesisConfiguration, Epoch, OpaqueKeyOwnershipProof } from '@polkadot/types/interfaces/babe'; import type { BeefyEquivocationProof, ValidatorSet, ValidatorSetId } from '@polkadot/types/interfaces/beefy'; import type { CheckInherentsResult, InherentData } from '@polkadot/types/interfaces/blockbuilder'; import type { BlockHash } from '@polkadot/types/interfaces/chain'; import type { AuthorityId } from '@polkadot/types/interfaces/consensus'; import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics'; import type { AuthorityList, GrandpaEquivocationProof, SetId } from '@polkadot/types/interfaces/grandpa'; import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata'; import type { MmrBatchProof, MmrEncodableOpaqueLeaf, MmrError } from '@polkadot/types/interfaces/mmr'; import type { NpPoolId } from '@polkadot/types/interfaces/nompools'; import type { CandidateCommitments, CandidateEvent, CandidateHash, CommittedCandidateReceipt, CoreState, DisputeState, ExecutorParams, GroupRotationInfo, InboundDownwardMessage, InboundHrmpMessage, OccupiedCoreAssumption, ParaId, ParaValidatorIndex, PersistedValidationData, PvfCheckStatement, ScrapedOnChainVotes, SessionInfo, ValidationCode, ValidationCodeHash, ValidatorSignature } from '@polkadot/types/interfaces/parachains'; import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment'; import type { AccountId, Balance, Block, BlockNumber, Call, Hash, Header, Index, KeyTypeId, Slot, ValidatorId, Weight } from '@polkadot/types/interfaces/runtime'; import type { SessionIndex } from '@polkadot/types/interfaces/session'; import type { RuntimeVersion } from '@polkadot/types/interfaces/state'; import type { ApplyExtrinsicResult } from '@polkadot/types/interfaces/system'; import type { TransactionSource, TransactionValidity } from '@polkadot/types/interfaces/txqueue'; import type { IExtrinsic, Observable } from '@polkadot/types/types'; export type __AugmentedCall = AugmentedCall; export type __DecoratedCallBase = DecoratedCallBase; declare module '@polkadot/api-base/types/calls' { interface AugmentedCalls { /** 0xbc9d89904f5b923f/1 */ accountNonceApi: { /** * The API to query account nonce (aka transaction index) **/ accountNonce: AugmentedCall Observable>; /** * Generic call **/ [key: string]: DecoratedCallBase; }; /** 0x687ad44ad37f03c2/1 */ authorityDiscoveryApi: { /** * Retrieve authority identifiers of the current and next authority set. **/ authorities: AugmentedCall Observable>>; /** * Generic call **/ [key: string]: DecoratedCallBase; }; /** 0xcbca25e39f142387/2 */ babeApi: { /** * Return the genesis configuration for BABE. The configuration is only read on genesis. **/ configuration: AugmentedCall Observable>; /** * Returns information regarding the current epoch. **/ currentEpoch: AugmentedCall Observable>; /** * Returns the slot that started the current epoch. **/ currentEpochStart: AugmentedCall Observable>; /** * Generates a proof of key ownership for the given authority in the current epoch. **/ generateKeyOwnershipProof: AugmentedCall Observable>>; /** * Returns information regarding the next epoch (which was already previously announced). **/ nextEpoch: AugmentedCall Observable>; /** * Submits an unsigned extrinsic to report an equivocation. **/ submitReportEquivocationUnsignedExtrinsic: AugmentedCall Observable>>; /** * Generic call **/ [key: string]: DecoratedCallBase; }; /** 0x49eaaf1b548a0cb0/2 */ beefyApi: { /** * Return the block number where BEEFY consensus is enabled/started **/ beefyGenesis: AugmentedCall Observable>>; /** * Generates a proof of key ownership for the given authority in the given set. **/ generateKeyOwnershipProof: AugmentedCall Observable>>; /** * Submits an unsigned extrinsic to report an equivocation. **/ submitReportEquivocationUnsignedExtrinsic: AugmentedCall Observable>>; /** * Return the current active BEEFY validator set **/ validatorSet: AugmentedCall Observable>>; /** * Generic call **/ [key: string]: DecoratedCallBase; }; /** 0x40fe3ad401f8959a/6 */ blockBuilder: { /** * Apply the given extrinsic. **/ applyExtrinsic: AugmentedCall Observable>; /** * Check that the inherents are valid. **/ checkInherents: AugmentedCall Observable>; /** * Finish the current block. **/ finalizeBlock: AugmentedCall Observable
>; /** * Generate inherent extrinsics. **/ inherentExtrinsics: AugmentedCall Observable>>; /** * Generic call **/ [key: string]: DecoratedCallBase; }; /** 0xdf6acb689907609b/4 */ core: { /** * Execute the given block. **/ executeBlock: AugmentedCall Observable>; /** * Initialize a block with the given header. **/ initializeBlock: AugmentedCall Observable>; /** * Returns the version of the runtime. **/ version: AugmentedCall Observable>; /** * Generic call **/ [key: string]: DecoratedCallBase; }; /** 0xed99c5acb25eedf5/3 */ grandpaApi: { /** * Get current GRANDPA authority set id. **/ currentSetId: AugmentedCall Observable>; /** * Generates a proof of key ownership for the given authority in the given set. **/ generateKeyOwnershipProof: AugmentedCall Observable>>; /** * Get the current GRANDPA authorities and weights. This should not change except for when changes are scheduled and the corresponding delay has passed. **/ grandpaAuthorities: AugmentedCall Observable>; /** * Submits an unsigned extrinsic to report an equivocation. **/ submitReportEquivocationUnsignedExtrinsic: AugmentedCall Observable>>; /** * Generic call **/ [key: string]: DecoratedCallBase; }; /** 0x37e397fc7c91f5e4/2 */ metadata: { /** * Returns the metadata of a runtime **/ metadata: AugmentedCall Observable>; /** * Returns the metadata at a given version. **/ metadataAtVersion: AugmentedCall Observable>>; /** * Returns the supported metadata versions. **/ metadataVersions: AugmentedCall Observable>>; /** * Generic call **/ [key: string]: DecoratedCallBase; }; /** 0x91d5df18b0d2cf58/2 */ mmrApi: { /** * Generate MMR proof for the given block numbers. **/ generateProof: AugmentedCall | (BlockNumber | AnyNumber | Uint8Array)[], bestKnownBlockNumber: Option | null | Uint8Array | BlockNumber | AnyNumber) => Observable, MmrBatchProof]>, MmrError>>>; /** * Return the on-chain MMR root hash. **/ root: AugmentedCall Observable>>; /** * Verify MMR proof against on-chain MMR. **/ verifyProof: AugmentedCall | (MmrEncodableOpaqueLeaf | string | Uint8Array)[], proof: MmrBatchProof | { leafIndices?: any; leafCount?: any; items?: any } | string | Uint8Array) => Observable, MmrError>>>; /** * Verify MMR proof against given root hash. **/ verifyProofStateless: AugmentedCall | (MmrEncodableOpaqueLeaf | string | Uint8Array)[], proof: MmrBatchProof | { leafIndices?: any; leafCount?: any; items?: any } | string | Uint8Array) => Observable, MmrError>>>; /** * Generic call **/ [key: string]: DecoratedCallBase; }; /** 0x17a6bc0d0062aeb3/1 */ nominationPoolsApi: { /** * Returns the equivalent points of `new_funds` for a given pool. **/ balanceToPoints: AugmentedCall Observable>; /** * Returns the pending rewards for the given member. **/ pendingRewards: AugmentedCall Observable>; /** * Returns the equivalent balance of `points` for a given pool. **/ pointsToBalance: AugmentedCall Observable>; /** * Generic call **/ [key: string]: DecoratedCallBase; }; /** 0xf78b278be53f454c/2 */ offchainWorkerApi: { /** * Starts the off-chain task for given block header. **/ offchainWorker: AugmentedCall Observable>; /** * Generic call **/ [key: string]: DecoratedCallBase; }; /** 0xaf2c0297a23e6d3d/4 */ parachainHost: { /** * Returns the persisted validation data for the given `ParaId` along with the corresponding validation code hash. **/ assumedValidationData: AugmentedCall Observable>>>; /** * Yields information on all availability cores as relevant to the child block. **/ availabilityCores: AugmentedCall Observable>>; /** * Get a vector of events concerning candidates that occurred within a block. **/ candidateEvents: AugmentedCall Observable>>; /** * Get the receipt of a candidate pending availability. **/ candidatePendingAvailability: AugmentedCall Observable>>; /** * Checks if the given validation outputs pass the acceptance criteria. **/ checkValidationOutputs: AugmentedCall Observable>; /** * Returns all onchain disputes. **/ disputes: AugmentedCall Observable>>>; /** * Get all the pending inbound messages in the downward message queue for a para. **/ dmqContents: AugmentedCall Observable>>; /** * Get the contents of all channels addressed to the given recipient. **/ inboundHrmpChannelsContents: AugmentedCall Observable>>; /** * Scrape dispute relevant from on-chain, backing votes and resolved disputes. **/ onChainVotes: AugmentedCall Observable>>; /** * Yields the persisted validation data for the given `ParaId` along with an assumption that should be used if the para currently occupies a core. **/ persistedValidationData: AugmentedCall Observable>>; /** * Returns code hashes of PVFs that require pre-checking by validators in the active set. **/ pvfsRequirePrecheck: AugmentedCall Observable>>; /** * Returns execution parameters for the session. **/ sessionExecutorParams: AugmentedCall Observable>>; /** * Returns the session index expected at a child of the block. **/ sessionIndexForChild: AugmentedCall Observable>; /** * Get the session info for the given session, if stored. **/ sessionInfo: AugmentedCall Observable>>; /** * Submits a PVF pre-checking statement into the transaction pool. **/ submitPvfCheckStatement: AugmentedCall Observable>; /** * Fetch the validation code used by a para, making the given `OccupiedCoreAssumption`. **/ validationCode: AugmentedCall Observable>; /** * Get the validation code from its hash. **/ validationCodeByHash: AugmentedCall Observable>>; /** * Fetch the hash of the validation code used by a para, making the given `OccupiedCoreAssumption`. **/ validationCodeHash: AugmentedCall Observable>>; /** * Returns the validator groups and rotation info localized based on the hypothetical child of a block whose state this is invoked on **/ validatorGroups: AugmentedCall Observable>, GroupRotationInfo]>>>; /** * Get the current validators. **/ validators: AugmentedCall Observable>>; /** * Generic call **/ [key: string]: DecoratedCallBase; }; /** 0xab3c0572291feb8b/1 */ sessionKeys: { /** * Decode the given public session keys. **/ decodeSessionKeys: AugmentedCall Observable>>>>; /** * Generate a set of session keys with optionally using the given seed. **/ generateSessionKeys: AugmentedCall | null | Uint8Array | Bytes | string) => Observable>; /** * Generic call **/ [key: string]: DecoratedCallBase; }; /** 0x18ef58a3b67ba770/1 */ stakingApi: { /** * Returns the nominations quota for a nominator with a given balance. **/ nominationsQuota: AugmentedCall Observable>; /** * Generic call **/ [key: string]: DecoratedCallBase; }; /** 0xd2bc9897eed08f15/3 */ taggedTransactionQueue: { /** * Validate the transaction. **/ validateTransaction: AugmentedCall Observable>; /** * Generic call **/ [key: string]: DecoratedCallBase; }; /** 0x37c8bb1350a9a2a8/4 */ transactionPaymentApi: { /** * The transaction fee details **/ queryFeeDetails: AugmentedCall Observable>; /** * The transaction info **/ queryInfo: AugmentedCall Observable>; /** * Query the output of the current LengthToFee given some input **/ queryLengthToFee: AugmentedCall Observable>; /** * Query the output of the current WeightToFee given some input **/ queryWeightToFee: AugmentedCall Observable>; /** * Generic call **/ [key: string]: DecoratedCallBase; }; /** 0xf3ff14d5ab527059/3 */ transactionPaymentCallApi: { /** * The call fee details **/ queryCallFeeDetails: AugmentedCall Observable>; /** * The call info **/ queryCallInfo: AugmentedCall Observable>; /** * Query the output of the current LengthToFee given some input **/ queryLengthToFee: AugmentedCall Observable>; /** * Query the output of the current WeightToFee given some input **/ queryWeightToFee: AugmentedCall Observable>; /** * Generic call **/ [key: string]: DecoratedCallBase; }; } // AugmentedCalls } // declare module