/* eslint-disable */ import '@polkadot/api-base/types/storage'; import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types'; import type { BTreeMap, Bytes, Null, Option, U8aFixed, bool, u128, u32, u64 } from '@polkadot/types-codec'; import type { AnyNumber, ITuple } from '@polkadot/types-codec/types'; import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime'; import type { Observable } from '@polkadot/types/types'; import { GearCommonCodeMetadata, GearCommonGasProviderNodeGasNode, GearCommonGasProviderNodeGasNodeId, GearCommonSchedulerTaskScheduledTask, GearCommonStorageComplicatedDequeueLinkedNode, GearCommonStoragePrimitivesInterval, GearCoreCodeInstrumentedInstrumentedCode, GearCoreMessageStoredStoredDelayedDispatch, GearCoreMessageStoredStoredDispatch, GearCoreMessageUserUserStoredMessage, GearCoreProgram, GprimitivesActorId, GprimitivesCodeId, GprimitivesMessageId, NumeratedTreeIntervalsTree, PalletGearBankBankAccount, PalletGearVoucherInternalVoucherId, PalletGearVoucherInternalVoucherInfo, } from '../lookup'; export type __AugmentedQuery = AugmentedQuery unknown>; export type __QueryableStorageEntry = QueryableStorageEntry; declare module '@polkadot/api-base/types/storage' { interface AugmentedQueries { gear: { /** * The current block number being processed. * * It shows block number in which queue is processed. * May be less than system pallet block number if panic occurred previously. **/ blockNumber: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * A flag indicating whether the message queue should be processed at the end of a block * * If not set, the inherent extrinsic that processes the queue will keep throwing an error * thereby making the block builder exclude it from the block. **/ executeInherent: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * A guard to prohibit all but the first execution of `pallet_gear::run()` call in a block. * * Set to `Some(())` if the extrinsic is executed for the first time in a block. * All subsequent attempts would fail with `Error::::GearRunAlreadyInBlock` error. * Set back to `None` in the `on_finalize()` hook at the end of the block. **/ gearRunInBlock: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * Generic query **/ [key: string]: QueryableStorageEntry; }; gearBank: { bank: AugmentedQuery< ApiType, (arg: AccountId32 | string | Uint8Array) => Observable>, [AccountId32] > & QueryableStorageEntry; onFinalizeTransfers: AugmentedQuery< ApiType, (arg: AccountId32 | string | Uint8Array) => Observable>, [AccountId32] > & QueryableStorageEntry; onFinalizeValue: AugmentedQuery Observable, []> & QueryableStorageEntry; unusedValue: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Generic query **/ [key: string]: QueryableStorageEntry; }; gearDebug: { debugMode: AugmentedQuery Observable, []> & QueryableStorageEntry; programsMap: AugmentedQuery Observable>, []> & QueryableStorageEntry; remapId: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Generic query **/ [key: string]: QueryableStorageEntry; }; gearGas: { allowance: AugmentedQuery Observable, []> & QueryableStorageEntry; gasNodes: AugmentedQuery< ApiType, ( arg: GearCommonGasProviderNodeGasNodeId | { Node: any } | { Reservation: any } | string | Uint8Array, ) => Observable>, [GearCommonGasProviderNodeGasNodeId] > & QueryableStorageEntry; totalIssuance: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * Generic query **/ [key: string]: QueryableStorageEntry; }; gearMessenger: { /** * Counter for the related counted storage map **/ counterForDispatches: AugmentedQuery Observable, []> & QueryableStorageEntry; dequeued: AugmentedQuery Observable>, []> & QueryableStorageEntry; dispatches: AugmentedQuery< ApiType, ( arg: GprimitivesMessageId | string | Uint8Array, ) => Observable>, [GprimitivesMessageId] > & QueryableStorageEntry; dispatchStash: AugmentedQuery< ApiType, ( arg: GprimitivesMessageId | string | Uint8Array, ) => Observable< Option> >, [GprimitivesMessageId] > & QueryableStorageEntry; head: AugmentedQuery Observable>, []> & QueryableStorageEntry; mailbox: AugmentedQuery< ApiType, ( arg1: AccountId32 | string | Uint8Array, arg2: GprimitivesMessageId | string | Uint8Array, ) => Observable>>, [AccountId32, GprimitivesMessageId] > & QueryableStorageEntry; queueProcessing: AugmentedQuery Observable>, []> & QueryableStorageEntry; sent: AugmentedQuery Observable>, []> & QueryableStorageEntry; tail: AugmentedQuery Observable>, []> & QueryableStorageEntry; waitlist: AugmentedQuery< ApiType, ( arg1: GprimitivesActorId | string | Uint8Array, arg2: GprimitivesMessageId | string | Uint8Array, ) => Observable>>, [GprimitivesActorId, GprimitivesMessageId] > & QueryableStorageEntry; /** * Generic query **/ [key: string]: QueryableStorageEntry; }; gearProgram: { allocationsStorage: AugmentedQuery< ApiType, (arg: GprimitivesActorId | string | Uint8Array) => Observable>, [GprimitivesActorId] > & QueryableStorageEntry; codeLenStorage: AugmentedQuery< ApiType, (arg: GprimitivesCodeId | string | Uint8Array) => Observable>, [GprimitivesCodeId] > & QueryableStorageEntry; codeStorage: AugmentedQuery< ApiType, (arg: GprimitivesCodeId | string | Uint8Array) => Observable>, [GprimitivesCodeId] > & QueryableStorageEntry; memoryPages: AugmentedQuery< ApiType, ( arg1: GprimitivesActorId | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: u32 | AnyNumber | Uint8Array, ) => Observable>, [GprimitivesActorId, u32, u32] > & QueryableStorageEntry; metadataStorage: AugmentedQuery< ApiType, (arg: GprimitivesCodeId | string | Uint8Array) => Observable>, [GprimitivesCodeId] > & QueryableStorageEntry; originalCodeStorage: AugmentedQuery< ApiType, (arg: GprimitivesCodeId | string | Uint8Array) => Observable>, [GprimitivesCodeId] > & QueryableStorageEntry; programStorage: AugmentedQuery< ApiType, (arg: GprimitivesActorId | string | Uint8Array) => Observable>, [GprimitivesActorId] > & QueryableStorageEntry; /** * Generic query **/ [key: string]: QueryableStorageEntry; }; gearScheduler: { firstIncompleteTasksBlock: AugmentedQuery Observable>, []> & QueryableStorageEntry; taskPool: AugmentedQuery< ApiType, ( arg1: u32 | AnyNumber | Uint8Array, arg2: | GearCommonSchedulerTaskScheduledTask | { PauseProgram: any } | { RemoveCode: any } | { RemoveFromMailbox: any } | { RemoveFromWaitlist: any } | { RemovePausedProgram: any } | { WakeMessage: any } | { SendDispatch: any } | { SendUserMessage: any } | { RemoveGasReservation: any } | { RemoveResumeSession: any } | string | Uint8Array, ) => Observable>, [u32, GearCommonSchedulerTaskScheduledTask] > & QueryableStorageEntry; /** * Generic query **/ [key: string]: QueryableStorageEntry; }; gearVoucher: { /** * Storage containing amount of the total vouchers issued. * * Used as nonce in voucher creation. **/ issued: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * Double map storage containing data of the voucher, * associated with some spender and voucher ids. **/ vouchers: AugmentedQuery< ApiType, ( arg1: AccountId32 | string | Uint8Array, arg2: PalletGearVoucherInternalVoucherId | string | Uint8Array, ) => Observable>, [AccountId32, PalletGearVoucherInternalVoucherId] > & QueryableStorageEntry; /** * Generic query **/ [key: string]: QueryableStorageEntry; }; } }