// 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, U256, Vec, bool, u256, u32, u64 } from '@polkadot/types-codec'; import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types'; 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 { CodeSource, CodeUploadResult, ContractExecResult, ContractInstantiateResult } from '@polkadot/types/interfaces/contracts'; import type { CollationInfo } from '@polkadot/types/interfaces/cumulus'; import type { BlockV2, EthReceiptV3, EthTransactionStatus, TransactionV2 } from '@polkadot/types/interfaces/eth'; import type { EvmAccount, EvmCallInfo, EvmCreateInfo } from '@polkadot/types/interfaces/evm'; import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics'; import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata'; import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment'; import type { AccountId, Balance, Block, Call, H160, H256, Header, Index, KeyTypeId, Permill, SlotDuration, WeightV2 } from '@polkadot/types/interfaces/runtime'; import type { RuntimeVersion } from '@polkadot/types/interfaces/state'; import type { ApplyExtrinsicResult, DispatchError } 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>; }; /** 0xdd718d5cc53262d4/1 */ auraApi: { /** * Return the current set of authorities. **/ authorities: AugmentedCall Observable>>; /** * Returns the slot duration for Aura. **/ slotDuration: AugmentedCall Observable>; }; /** 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>>; }; /** 0xea93e3f16f3d6962/2 */ collectCollationInfo: { /** * Collect information about a collation. **/ collectCollationInfo: AugmentedCall Observable>; }; /** 0x68b66ba122c93fa7/2 */ contractsApi: { /** * Perform a call from a specified account to a given contract. **/ call: AugmentedCall | null | Uint8Array | WeightV2 | { refTime?: any; proofSize?: any } | string, storageDepositLimit: Option | null | Uint8Array | Balance | AnyNumber, inputData: Bytes | string | Uint8Array) => Observable>; /** * Query a given storage key in a given contract. **/ getStorage: AugmentedCall Observable>>; /** * Instantiate a new contract. **/ instantiate: AugmentedCall | null | Uint8Array | WeightV2 | { refTime?: any; proofSize?: any } | string, storageDepositLimit: Option | null | Uint8Array | Balance | AnyNumber, code: CodeSource | { Upload: any } | { Existing: any } | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array) => Observable>; /** * Upload new code without instantiating a contract from it. **/ uploadCode: AugmentedCall | null | Uint8Array | Balance | AnyNumber) => Observable>; }; /** 0xe65b00e46cedd0aa/2 */ convertTransactionRuntimeApi: { /** * Converts an Ethereum-style transaction to Extrinsic **/ convertTransaction: AugmentedCall Observable>; }; /** 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>; }; /** 0x582211f65bb14b89/4 */ ethereumRuntimeRPCApi: { /** * Returns pallet_evm::Accounts by address. **/ accountBasic: AugmentedCall Observable>; /** * For a given account address, returns pallet_evm::AccountCodes. **/ accountCodeAt: AugmentedCall Observable>; /** * Returns the converted FindAuthor::find_author authority id. **/ author: AugmentedCall Observable>; /** * Returns a frame_ethereum::call response. If `estimate` is true, **/ call: AugmentedCall | null | Uint8Array | U256 | AnyNumber, maxPriorityFeePerGas: Option | null | Uint8Array | U256 | AnyNumber, nonce: Option | null | Uint8Array | U256 | AnyNumber, estimate: bool | boolean | Uint8Array, accessList: Option]>>> | null | Uint8Array | Vec]>> | ([H160 | string | Uint8Array, Vec | (H256 | string | Uint8Array)[]])[]) => Observable>>; /** * Returns runtime defined pallet_evm::ChainId. **/ chainId: AugmentedCall Observable>; /** * Returns a frame_ethereum::call response. If `estimate` is true, **/ create: AugmentedCall | null | Uint8Array | U256 | AnyNumber, maxPriorityFeePerGas: Option | null | Uint8Array | U256 | AnyNumber, nonce: Option | null | Uint8Array | U256 | AnyNumber, estimate: bool | boolean | Uint8Array, accessList: Option]>>> | null | Uint8Array | Vec]>> | ([H160 | string | Uint8Array, Vec | (H256 | string | Uint8Array)[]])[]) => Observable>>; /** * Return all the current data for a block in a single runtime call. **/ currentAll: AugmentedCall Observable, Option>, Option>]>>>; /** * Return the current block. **/ currentBlock: AugmentedCall Observable>; /** * Return the current receipt. **/ currentReceipts: AugmentedCall Observable>>>; /** * Return the current transaction status. **/ currentTransactionStatuses: AugmentedCall Observable>>>; /** * Return the elasticity multiplier. **/ elasticity: AugmentedCall Observable>>; /** * Receives a `Vec` and filters all the ethereum transactions. **/ extrinsicFilter: AugmentedCall | (Extrinsic | IExtrinsic | string | Uint8Array)[]) => Observable>>; /** * Returns FixedGasPrice::min_gas_price **/ gasPrice: AugmentedCall Observable>; /** * For a given account address and index, returns pallet_evm::AccountStorages. **/ storageAt: AugmentedCall Observable>; }; /** 0x37e397fc7c91f5e4/1 */ metadata: { /** * Returns the metadata of a runtime **/ metadata: AugmentedCall Observable>; }; /** 0xf78b278be53f454c/2 */ offchainWorkerApi: { /** * Starts the off-chain task for given block header. **/ offchainWorker: AugmentedCall Observable>; }; /** 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>; }; /** 0xd2bc9897eed08f15/3 */ taggedTransactionQueue: { /** * Validate the transaction. **/ validateTransaction: AugmentedCall Observable>; }; /** 0x37c8bb1350a9a2a8/2 */ transactionPaymentApi: { /** * The transaction fee details **/ queryFeeDetails: AugmentedCall Observable>; /** * The transaction info **/ queryInfo: AugmentedCall Observable>; }; /** 0xf3ff14d5ab527059/2 */ transactionPaymentCallApi: { /** * The call fee details **/ queryCallFeeDetails: AugmentedCall Observable>; /** * The call info **/ queryCallInfo: AugmentedCall Observable>; }; } // AugmentedCalls } // declare module