diff --git a/.codeclimate.yml b/.codeclimate.yml index caf10f79bb..bb22d9db84 100644 --- a/.codeclimate.yml +++ b/.codeclimate.yml @@ -8,3 +8,4 @@ exclude_patterns: - "packages/typegen/scripts" - "packages/typegen/src" - "packages/types/src/interfaces/" +- "packages/types/src/interfaceAugment.ts" diff --git a/packages/api/src/checkTypes.manual.ts b/packages/api/src/checkTypes.manual.ts index 8264be5cfd..a53496d584 100644 --- a/packages/api/src/checkTypes.manual.ts +++ b/packages/api/src/checkTypes.manual.ts @@ -75,7 +75,7 @@ async function rpc (api: ApiPromise): Promise { }); } -function types (): void { +function types (api: ApiPromise): void { // check correct types with `createType` const balance = createType(registry, 'Balance', 2); const gas = createType(registry, 'Gas', 2); @@ -85,7 +85,7 @@ function types (): void { const gasUnsafe = createTypeUnsafe(registry, 'Gas', [2]); const overriddenUnsafe = createTypeUnsafe
(registry, 'Gas', [2]); - console.log(balance, gas, compact, gasUnsafe, overriddenUnsafe); + console.log(balance, gas, compact, gasUnsafe, overriddenUnsafe, api.createType('AccountData')); } async function tx (api: ApiPromise, keyring: TestKeyringMap): Promise { @@ -139,7 +139,7 @@ async function main (): Promise { derive(api); query(api, keyring); rpc(api); - types(); + types(api); tx(api, keyring); } diff --git a/packages/api/src/types/index.ts b/packages/api/src/types/index.ts index f3b3190f89..03ffdbcc53 100644 --- a/packages/api/src/types/index.ts +++ b/packages/api/src/types/index.ts @@ -3,7 +3,7 @@ // of the Apache-2.0 license. See the LICENSE file for details. // Module augmentation so that `api.{consts,query,rpc,tx}.*.*` work -import './augment'; +import '@polkadot/api/types/augment'; import BN from 'bn.js'; import { DeriveCustom, ExactDerive } from '@polkadot/api-derive'; diff --git a/packages/typegen/src/fromChain.ts b/packages/typegen/src/fromChain.ts index f8f1b20060..39135ce6b8 100644 --- a/packages/typegen/src/fromChain.ts +++ b/packages/typegen/src/fromChain.ts @@ -2,6 +2,7 @@ // This software may be modified and distributed under the terms // of the Apache-2.0 license. See the LICENSE file for details. +import fs from 'fs'; import path from 'path'; import yargs from 'yargs'; import getWSClass from '@polkadot/rpc-provider/ws/getWSClass'; @@ -20,15 +21,19 @@ function generate (metaHex: string, pkg: string | undefined, output: string, isS const extraTypes = pkg ? { [pkg]: require(path.join(process.cwd(), output, 'definitions')) } : {}; + const hasRegistry = fs.existsSync(path.join(process.cwd(), output, 'augment-registry.ts')); - generateConst(path.join(process.cwd(), output, 'augment.consts.ts'), metaHex, extraTypes, isStrict); - generateQuery(path.join(process.cwd(), output, 'augment.query.ts'), metaHex, extraTypes, isStrict); - generateTx(path.join(process.cwd(), output, 'augment.tx.ts'), metaHex, extraTypes, isStrict); + generateConst(path.join(process.cwd(), output, 'augment-consts.ts'), metaHex, extraTypes, isStrict); + generateQuery(path.join(process.cwd(), output, 'augment-query.ts'), metaHex, extraTypes, isStrict); + generateTx(path.join(process.cwd(), output, 'augment-tx.ts'), metaHex, extraTypes, isStrict); writeFile(path.join(process.cwd(), output, 'augment.ts'), (): string => [ HEADER, - ...['./augment.consts', './augment.query', './augment.tx', '@polkadot/api/types/augment/rpc'].map((path) => `import '${path}';\n`) + ...[ + '@polkadot/api/types/augment/rpc', + ...['consts', 'query', hasRegistry ? 'registry' : '', 'tx'].filter((key) => !!key).map((key) => `./augment-${key}`) + ].map((path) => `import '${path}';\n`) ].join('') ); diff --git a/packages/typegen/src/fromDefs.ts b/packages/typegen/src/fromDefs.ts index d514a2e5b5..e67e3d4ef1 100644 --- a/packages/typegen/src/fromDefs.ts +++ b/packages/typegen/src/fromDefs.ts @@ -49,5 +49,5 @@ export default function main (): void { }; generateTsDef(allDefs, path.join(process.cwd(), input), pkg); - generateInterfaceRegistry(allDefs, path.join(process.cwd(), input, 'interfaceRegistry.ts')); + generateInterfaceRegistry({ [pkg]: userDefs }, path.join(process.cwd(), input, 'augment-registry.ts'), true); } diff --git a/packages/typegen/src/generate/interfaceRegistry.ts b/packages/typegen/src/generate/interfaceRegistry.ts index c7c40add4c..d9b254631a 100644 --- a/packages/typegen/src/generate/interfaceRegistry.ts +++ b/packages/typegen/src/generate/interfaceRegistry.ts @@ -14,14 +14,13 @@ const primitiveClasses = { }; /** @internal */ -export function generateInterfaceRegistry (importDefinitions: { [importPath: string]: object }, dest: string): void { +export function generateInterfaceRegistry (importDefinitions: { [importPath: string]: object }, dest: string, skipPrimitives?: boolean): void { writeFile(dest, (): string => { Object.entries(importDefinitions).reduce((acc, def) => Object.assign(acc, def), {} as object); const imports = createImports(importDefinitions); const definitions = imports.definitions; - - const primitives = Object + const primitives = skipPrimitives ? '' : Object .keys(primitiveClasses) .filter((name): boolean => !!name.indexOf('Generic')) .reduce((accumulator, primitiveName): string => { @@ -29,7 +28,7 @@ export function generateInterfaceRegistry (importDefinitions: { [importPath: str return [ accumulator, - getDerivedTypes(definitions, primitiveName, primitiveName, imports).map(indent(2)).join('\n') + getDerivedTypes(definitions, primitiveName, primitiveName, imports).map(indent(4)).join('\n') ].join('\n'); }, ''); @@ -40,7 +39,7 @@ export function generateInterfaceRegistry (importDefinitions: { [importPath: str return [ accumulator, ...Object.keys(types).map((type): string => - getDerivedTypes(definitions, type, types[type], imports).map(indent(2)).join('\n') + getDerivedTypes(definitions, type, types[type], imports).map(indent(4)).join('\n') ) ].join('\n'); }, ''); @@ -52,8 +51,8 @@ export function generateInterfaceRegistry (importDefinitions: { [importPath: str })) ]); - const interfaceStart = 'export interface InterfaceRegistry {'; - const interfaceEnd = '\n}'; + const interfaceStart = "declare module '@polkadot/types/interfaceRegistry' {\n export interface InterfaceRegistry {"; + const interfaceEnd = '\n }\n}'; return header .concat(interfaceStart) @@ -68,6 +67,6 @@ export function generateInterfaceRegistry (importDefinitions: { [importPath: str export default function generateDefaultInterfaceRegistry (): void { generateInterfaceRegistry( { '@polkadot/types/interfaces': defaultDefinitions }, - 'packages/types/src/interfaceRegistry.ts' + 'packages/types/src/interfaceAugment.ts' ); } diff --git a/packages/types/src/create/createClass.ts b/packages/types/src/create/createClass.ts index f79675d9dd..03924f2e12 100644 --- a/packages/types/src/create/createClass.ts +++ b/packages/types/src/create/createClass.ts @@ -2,6 +2,7 @@ // This software may be modified and distributed under the terms // of the Apache-2.0 license. See the LICENSE file for details. +import { InterfaceRegistry } from '@polkadot/types/interfaceRegistry'; import { Codec, Constructor, InterfaceTypes, Registry } from '../types'; import { FromReg, TypeDef, TypeDefInfo } from './types'; @@ -22,7 +23,6 @@ import U8aFixed, { BitLength as U8aFixedBitLength } from '../codec/U8aFixed'; import UInt from '../codec/UInt'; import Vec from '../codec/Vec'; import VecFixed from '../codec/VecFixed'; -import { InterfaceRegistry } from '../interfaceRegistry'; import { getTypeDef } from './getTypeDef'; export function createClass (registry: Registry, type: K): Constructor> { diff --git a/packages/types/src/create/createType.ts b/packages/types/src/create/createType.ts index 6d036998cc..35710a8263 100644 --- a/packages/types/src/create/createType.ts +++ b/packages/types/src/create/createType.ts @@ -2,12 +2,12 @@ // This software may be modified and distributed under the terms // of the Apache-2.0 license. See the LICENSE file for details. +import { InterfaceRegistry } from '@polkadot/types/interfaceRegistry'; import { Codec, Constructor, InterfaceTypes, Registry } from '../types'; import { FromReg } from './types'; import { isU8a, u8aToHex } from '@polkadot/util'; -import { InterfaceRegistry } from '../interfaceRegistry'; import { createClass } from './createClass'; function u8aHasValue (value: Uint8Array): boolean { diff --git a/packages/types/src/create/types.ts b/packages/types/src/create/types.ts index 537352d731..59d19d7de3 100644 --- a/packages/types/src/create/types.ts +++ b/packages/types/src/create/types.ts @@ -2,10 +2,9 @@ // This software may be modified and distributed under the terms // of the Apache-2.0 license. See the LICENSE file for details. +import { InterfaceRegistry } from '@polkadot/types/interfaceRegistry'; import { Codec, InterfaceTypes } from '../types'; -import { InterfaceRegistry } from '../interfaceRegistry'; - // Type which says: if `K` is in the InterfaceRegistry, then return InterfaceRegistry[K], else fallback to T export type FromReg = K extends InterfaceTypes ? InterfaceRegistry[K] diff --git a/packages/types/src/interfaceAugment.ts b/packages/types/src/interfaceAugment.ts new file mode 100644 index 0000000000..696560c5cc --- /dev/null +++ b/packages/types/src/interfaceAugment.ts @@ -0,0 +1,1558 @@ +// Auto-generated via `yarn polkadot-types-from-defs`, do not edit +/* eslint-disable @typescript-eslint/no-empty-interface */ + +import { Compact, Option, Raw, Vec } from '@polkadot/types/codec'; +import { BitVec, Bytes, Data, Null, StorageKey, Text, Type, U256, Unconstructable, bool, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types/primitive'; +import { BlockAttestations, IncludedBlocks, MoreAttestations } from '@polkadot/types/interfaces/attestations'; +import { RawAuraPreDigest } from '@polkadot/types/interfaces/aura'; +import { InclusionHeight, Uncle, UncleEntryItem } from '@polkadot/types/interfaces/authorship'; +import { BabeAuthorityWeight, BabeBlockWeight, BabeWeight, MaybeVrf, RawBabePreDigest, RawBabePreDigestCompat, RawBabePreDigestPrimary, RawBabePreDigestPrimaryTo159, RawBabePreDigestSecondary, RawBabePreDigestSecondaryTo159, RawBabePreDigestTo159, SlotNumber, VrfData, VrfProof } from '@polkadot/types/interfaces/babe'; +import { AccountData, BalanceLock, BalanceLockTo212, Reasons, VestingSchedule, WithdrawReasons } from '@polkadot/types/interfaces/balances'; +import { EthereumAddress } from '@polkadot/types/interfaces/claims'; +import { MemberCount, ProposalIndex, Votes } from '@polkadot/types/interfaces/collective'; +import { AuthorityId } from '@polkadot/types/interfaces/consensus'; +import { AliveContractInfo, CodeHash, ContractCallRequest, ContractExecResult, ContractExecResultSuccess, ContractInfo, ContractStorageKey, Gas, PrefabWasmModule, PrefabWasmModuleReserved, Schedule, ScheduleTo212, SeedOf, TombstoneContractInfo, TrieId } from '@polkadot/types/interfaces/contracts'; +import { Conviction, PropIndex, Proposal, ProxyState, ReferendumIndex, ReferendumInfo } from '@polkadot/types/interfaces/democracy'; +import { Amount, AssetOf, ContractAccountInfo, InherentOfflineReport, LockPeriods, NewAccountOutcome, OpaqueKey, SessionKey } from '@polkadot/types/interfaces/deprecated'; +import { ApprovalFlag, SetIndex, Vote, VoteIndex, VoteThreshold, VoterInfo } from '@polkadot/types/interfaces/elections'; +import { CreatedBlock, ImportedAux } from '@polkadot/types/interfaces/engine'; +import { Account, Log } from '@polkadot/types/interfaces/evm'; +import { EcdsaSignature, Ed25519Signature, Extrinsic, ExtrinsicEra, ExtrinsicPayload, ExtrinsicPayloadUnknown, ExtrinsicPayloadV1, ExtrinsicPayloadV2, ExtrinsicPayloadV3, ExtrinsicPayloadV4, ExtrinsicSignatureV1, ExtrinsicSignatureV2, ExtrinsicSignatureV3, ExtrinsicSignatureV4, ExtrinsicUnknown, ExtrinsicV1, ExtrinsicV2, ExtrinsicV3, ExtrinsicV4, ImmortalEra, MortalEra, MultiSignature, Signature, SignerPayload, Sr25519Signature } from '@polkadot/types/interfaces/extrinsics'; +import { AssetOptions, Owner, PermissionLatest, PermissionVersions, PermissionsV1 } from '@polkadot/types/interfaces/genericAsset'; +import { AuthorityIndex, AuthorityList, AuthorityWeight, NextAuthority, PendingPause, PendingResume, SetId, StoredPendingChange, StoredState } from '@polkadot/types/interfaces/grandpa'; +import { IdentityFields, IdentityInfo, IdentityInfoAdditional, IdentityJudgement, RegistrarIndex, RegistrarInfo, Registration, RegistrationJudgement } from '@polkadot/types/interfaces/identity'; +import { AuthIndex, AuthoritySignature, Heartbeat, OpaqueMultiaddr, OpaqueNetworkState, OpaquePeerId } from '@polkadot/types/interfaces/imOnline'; +import { CallMetadataV0, DoubleMapTypeLatest, DoubleMapTypeV10, DoubleMapTypeV11, DoubleMapTypeV3, DoubleMapTypeV4, DoubleMapTypeV5, DoubleMapTypeV6, DoubleMapTypeV7, DoubleMapTypeV8, DoubleMapTypeV9, ErrorMetadataV10, ErrorMetadataV11, ErrorMetadataV8, ErrorMetadataV9, EventMetadataLatest, EventMetadataV0, EventMetadataV1, EventMetadataV10, EventMetadataV11, EventMetadataV2, EventMetadataV3, EventMetadataV4, EventMetadataV5, EventMetadataV6, EventMetadataV7, EventMetadataV8, EventMetadataV9, ExtrinsicMetadataLatest, ExtrinsicMetadataV11, FunctionArgumentMetadataLatest, FunctionArgumentMetadataV0, FunctionArgumentMetadataV1, FunctionArgumentMetadataV10, FunctionArgumentMetadataV11, FunctionArgumentMetadataV2, FunctionArgumentMetadataV3, FunctionArgumentMetadataV4, FunctionArgumentMetadataV5, FunctionArgumentMetadataV6, FunctionArgumentMetadataV7, FunctionArgumentMetadataV8, FunctionArgumentMetadataV9, FunctionMetadataLatest, FunctionMetadataV0, FunctionMetadataV1, FunctionMetadataV10, FunctionMetadataV11, FunctionMetadataV2, FunctionMetadataV3, FunctionMetadataV4, FunctionMetadataV5, FunctionMetadataV6, FunctionMetadataV7, FunctionMetadataV8, FunctionMetadataV9, MapTypeLatest, MapTypeV0, MapTypeV10, MapTypeV11, MapTypeV2, MapTypeV3, MapTypeV4, MapTypeV5, MapTypeV6, MapTypeV7, MapTypeV8, MapTypeV9, MetadataAll, MetadataLatest, MetadataV0, MetadataV1, MetadataV10, MetadataV11, MetadataV2, MetadataV3, MetadataV4, MetadataV5, MetadataV6, MetadataV7, MetadataV8, MetadataV9, ModuleConstantMetadataLatest, ModuleConstantMetadataV10, ModuleConstantMetadataV11, ModuleConstantMetadataV6, ModuleConstantMetadataV7, ModuleConstantMetadataV8, ModuleConstantMetadataV9, ModuleMetadataLatest, ModuleMetadataV0, ModuleMetadataV1, ModuleMetadataV10, ModuleMetadataV11, ModuleMetadataV2, ModuleMetadataV3, ModuleMetadataV4, ModuleMetadataV5, ModuleMetadataV6, ModuleMetadataV7, ModuleMetadataV8, ModuleMetadataV9, OuterDispatchCallV0, OuterDispatchMetadataV0, OuterEventEventMetadataEventsV0, OuterEventEventMetadataV0, OuterEventMetadataV0, PlainTypeLatest, PlainTypeV0, PlainTypeV10, PlainTypeV11, PlainTypeV2, PlainTypeV3, PlainTypeV4, PlainTypeV5, PlainTypeV6, PlainTypeV7, PlainTypeV8, PlainTypeV9, RuntimeModuleMetadataV0, StorageEntryMetadataLatest, StorageEntryMetadataV10, StorageEntryMetadataV11, StorageEntryMetadataV6, StorageEntryMetadataV7, StorageEntryMetadataV8, StorageEntryMetadataV9, StorageEntryModifierLatest, StorageEntryModifierV10, StorageEntryModifierV11, StorageEntryModifierV6, StorageEntryModifierV7, StorageEntryModifierV8, StorageEntryModifierV9, StorageEntryTypeLatest, StorageEntryTypeV10, StorageEntryTypeV11, StorageEntryTypeV6, StorageEntryTypeV7, StorageEntryTypeV8, StorageEntryTypeV9, StorageFunctionMetadataV0, StorageFunctionMetadataV1, StorageFunctionMetadataV2, StorageFunctionMetadataV3, StorageFunctionMetadataV4, StorageFunctionMetadataV5, StorageFunctionModifierV0, StorageFunctionModifierV1, StorageFunctionModifierV2, StorageFunctionModifierV3, StorageFunctionModifierV4, StorageFunctionModifierV5, StorageFunctionTypeV0, StorageFunctionTypeV1, StorageFunctionTypeV2, StorageFunctionTypeV3, StorageFunctionTypeV4, StorageFunctionTypeV5, StorageHasher, StorageHasherV10, StorageHasherV11, StorageHasherV4, StorageHasherV5, StorageHasherV6, StorageHasherV7, StorageHasherV8, StorageHasherV9, StorageMetadataLatest, StorageMetadataV0, StorageMetadataV10, StorageMetadataV11, StorageMetadataV7, StorageMetadataV8, StorageMetadataV9 } from '@polkadot/types/interfaces/metadata'; +import { Kind, OffenceDetails, Offender, OpaqueTimeSlot, ReportIdOf, Reporter } from '@polkadot/types/interfaces/offences'; +import { AttestedCandidate, AuctionIndex, Bidder, CandidateReceipt, CollatorId, CollatorSignature, EgressQueueRoot, HeadData, IncomingParachain, IncomingParachainDeploy, IncomingParachainFixed, LeasePeriod, LeasePeriodOf, NewBidder, ParaId, ParaIdOf, ParaInfo, ParaScheduling, ParachainDispatchOrigin, Retriable, SlotRange, SubId, UpwardMessage, ValidityAttestation, WinningData, WinningDataEntry } from '@polkadot/types/interfaces/parachains'; +import { ActiveRecovery, RecoveryConfig } from '@polkadot/types/interfaces/recovery'; +import { ApiId, BlockHash, ChainProperties, ExtrinsicOrHash, ExtrinsicStatus, Health, KeyValueOption, NetworkState, PeerInfo, RpcMethods, RuntimeDispatchInfo, RuntimeVersion, RuntimeVersionApi, StorageChangeSet } from '@polkadot/types/interfaces/rpc'; +import { AccountId, AccountIdOf, AccountIndex, Address, AssetId, Balance, BalanceOf, Block, BlockNumber, Call, ChangesTrieConfiguration, Consensus, ConsensusEngineId, Digest, DigestItem, DispatchClass, DispatchInfo, DispatchInfoTo190, Fixed64, H160, H256, H512, Hash, Header, Index, Justification, KeyTypeId, KeyValue, LockIdentifier, LookupSource, LookupTarget, Moment, Origin, Perbill, Percent, Permill, Perquintill, Phantom, PhantomData, PreRuntime, Seal, SealV0, SignedBlock, StorageData, ValidatorId, Weight, WeightMultiplier } from '@polkadot/types/interfaces/runtime'; +import { FullIdentification, IdentificationTuple, Keys, SessionIndex, SessionKeys1, SessionKeys2, SessionKeys3, SessionKeys4, SessionKeys5, SessionKeys6 } from '@polkadot/types/interfaces/session'; +import { Bid, BidKind, BidKindVouch, SocietyJudgement, SocietyVote, StrikeCount, VouchingStatus } from '@polkadot/types/interfaces/society'; +import { CompactAssignments, CompactScore, ElectionCompute, ElectionResult, ElectionStatus, EraIndex, EraPoints, EraRewards, Exposure, Forcing, IndividualExposure, KeyType, MomentOf, Nominations, PhragmenScore, Points, RewardDestination, SlashJournalEntry, SlashingSpans, SlashingSpansTo204, SpanIndex, SpanRecord, StakingLedger, UnappliedSlash, UnappliedSlashOther, UnlockChunk, ValidatorIndex, ValidatorPrefs, ValidatorPrefsTo145, ValidatorPrefsTo196 } from '@polkadot/types/interfaces/staking'; +import { AccountInfo, DigestOf, DispatchError, DispatchErrorModule, DispatchErrorTo198, DispatchResult, DispatchResultOf, DispatchResultTo198, Event, EventId, EventIndex, EventRecord, EventRecordTo76, Key, Phase, RefCount } from '@polkadot/types/interfaces/system'; +import { OpenTip, OpenTipFinder, OpenTipTip, TreasuryProposal } from '@polkadot/types/interfaces/treasury'; +import { Multiplier } from '@polkadot/types/interfaces/txpayment'; +import { Multisig, Timepoint } from '@polkadot/types/interfaces/utility'; +import { VestingInfo } from '@polkadot/types/interfaces/vesting'; + +declare module '@polkadot/types/interfaceRegistry' { + export interface InterfaceRegistry { + BitVec: BitVec; + 'Option': Option; + 'Vec': Vec; + bool: bool; + 'Option': Option; + 'Vec': Vec; + Bytes: Bytes; + 'Option': Option; + 'Vec': Vec; + Data: Data; + 'Option': Option; + 'Vec': Vec; + i8: i8; + 'Option': Option; + 'Vec': Vec; + i16: i16; + 'Option': Option; + 'Vec': Vec; + i32: i32; + 'Option': Option; + 'Vec': Vec; + i64: i64; + 'Option': Option; + 'Vec': Vec; + i128: i128; + 'Option': Option; + 'Vec': Vec; + i256: i256; + 'Option': Option; + 'Vec': Vec; + Null: Null; + 'Option': Option; + 'Vec': Vec; + StorageKey: StorageKey; + 'Option': Option; + 'Vec': Vec; + Text: Text; + 'Option': Option; + 'Vec': Vec; + Type: Type; + 'Option': Option; + 'Vec': Vec; + u8: u8; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + u16: u16; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + u32: u32; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + u64: u64; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + u128: u128; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + u256: u256; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + U256: U256; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + Unconstructable: Unconstructable; + 'Option': Option; + 'Vec': Vec; + usize: usize; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + Raw: Raw; + 'Option': Option; + 'Vec': Vec; + AccountId: AccountId; + 'Option': Option; + 'Vec': Vec; + AccountIdOf: AccountIdOf; + 'Option': Option; + 'Vec': Vec; + AccountIndex: AccountIndex; + 'Option': Option; + 'Vec': Vec; + Address: Address; + 'Option
': Option
; + 'Vec
': Vec
; + AssetId: AssetId; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + Balance: Balance; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + BalanceOf: BalanceOf; + 'Option': Option; + 'Vec': Vec; + Block: Block; + 'Option': Option; + 'Vec': Vec; + BlockNumber: BlockNumber; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + Call: Call; + 'Option': Option; + 'Vec': Vec; + ChangesTrieConfiguration: ChangesTrieConfiguration; + 'Option': Option; + 'Vec': Vec; + ConsensusEngineId: ConsensusEngineId; + 'Option': Option; + 'Vec': Vec; + Digest: Digest; + 'Option': Option; + 'Vec': Vec; + DigestItem: DigestItem; + 'Option': Option; + 'Vec': Vec; + DispatchClass: DispatchClass; + 'Option': Option; + 'Vec': Vec; + DispatchInfo: DispatchInfo; + 'Option': Option; + 'Vec': Vec; + DispatchInfoTo190: DispatchInfoTo190; + 'Option': Option; + 'Vec': Vec; + Fixed64: Fixed64; + 'Option': Option; + 'Vec': Vec; + H160: H160; + 'Option': Option; + 'Vec': Vec; + H256: H256; + 'Option': Option; + 'Vec': Vec; + H512: H512; + 'Option': Option; + 'Vec': Vec; + Hash: Hash; + 'Option': Option; + 'Vec': Vec; + Header: Header; + 'Option
': Option
; + 'Vec
': Vec
; + Index: Index; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + Justification: Justification; + 'Option': Option; + 'Vec': Vec; + KeyValue: KeyValue; + 'Option': Option; + 'Vec': Vec; + KeyTypeId: KeyTypeId; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + LockIdentifier: LockIdentifier; + 'Option': Option; + 'Vec': Vec; + LookupSource: LookupSource; + 'Option': Option; + 'Vec': Vec; + LookupTarget: LookupTarget; + 'Option': Option; + 'Vec': Vec; + Moment: Moment; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + Origin: Origin; + 'Option': Option; + 'Vec': Vec; + Perbill: Perbill; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + Percent: Percent; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + Permill: Permill; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + Perquintill: Perquintill; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + Phantom: Phantom; + 'Option': Option; + 'Vec': Vec; + PhantomData: PhantomData; + 'Option': Option; + 'Vec': Vec; + SignedBlock: SignedBlock; + 'Option': Option; + 'Vec': Vec; + StorageData: StorageData; + 'Option': Option; + 'Vec': Vec; + ValidatorId: ValidatorId; + 'Option': Option; + 'Vec': Vec; + Weight: Weight; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + WeightMultiplier: WeightMultiplier; + 'Option': Option; + 'Vec': Vec; + PreRuntime: PreRuntime; + 'Option': Option; + 'Vec': Vec; + SealV0: SealV0; + 'Option': Option; + 'Vec': Vec; + Seal: Seal; + 'Option': Option; + 'Vec': Vec; + Consensus: Consensus; + 'Option': Option; + 'Vec': Vec; + InclusionHeight: InclusionHeight; + 'Option': Option; + 'Vec': Vec; + Uncle: Uncle; + 'Option': Option; + 'Vec': Vec; + UncleEntryItem: UncleEntryItem; + 'Option': Option; + 'Vec': Vec; + RawAuraPreDigest: RawAuraPreDigest; + 'Option': Option; + 'Vec': Vec; + BabeAuthorityWeight: BabeAuthorityWeight; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + BabeBlockWeight: BabeBlockWeight; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + MaybeVrf: MaybeVrf; + 'Option': Option; + 'Vec': Vec; + BabeWeight: BabeWeight; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + RawBabePreDigest: RawBabePreDigest; + 'Option': Option; + 'Vec': Vec; + RawBabePreDigestPrimary: RawBabePreDigestPrimary; + 'Option': Option; + 'Vec': Vec; + RawBabePreDigestSecondary: RawBabePreDigestSecondary; + 'Option': Option; + 'Vec': Vec; + RawBabePreDigestTo159: RawBabePreDigestTo159; + 'Option': Option; + 'Vec': Vec; + RawBabePreDigestPrimaryTo159: RawBabePreDigestPrimaryTo159; + 'Option': Option; + 'Vec': Vec; + RawBabePreDigestSecondaryTo159: RawBabePreDigestSecondaryTo159; + 'Option': Option; + 'Vec': Vec; + RawBabePreDigestCompat: RawBabePreDigestCompat; + 'Option': Option; + 'Vec': Vec; + SlotNumber: SlotNumber; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + VrfData: VrfData; + 'Option': Option; + 'Vec': Vec; + VrfProof: VrfProof; + 'Option': Option; + 'Vec': Vec; + AccountData: AccountData; + 'Option': Option; + 'Vec': Vec; + BalanceLockTo212: BalanceLockTo212; + 'Option': Option; + 'Vec': Vec; + BalanceLock: BalanceLock; + 'Option': Option; + 'Vec': Vec; + Reasons: Reasons; + 'Option': Option; + 'Vec': Vec; + VestingSchedule: VestingSchedule; + 'Option': Option; + 'Vec': Vec; + WithdrawReasons: WithdrawReasons; + 'Option': Option; + 'Vec': Vec; + MemberCount: MemberCount; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + ProposalIndex: ProposalIndex; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + Votes: Votes; + 'Option': Option; + 'Vec': Vec; + AuthorityId: AuthorityId; + 'Option': Option; + 'Vec': Vec; + AliveContractInfo: AliveContractInfo; + 'Option': Option; + 'Vec': Vec; + CodeHash: CodeHash; + 'Option': Option; + 'Vec': Vec; + ContractCallRequest: ContractCallRequest; + 'Option': Option; + 'Vec': Vec; + ContractExecResultSuccess: ContractExecResultSuccess; + 'Option': Option; + 'Vec': Vec; + ContractExecResult: ContractExecResult; + 'Option': Option; + 'Vec': Vec; + ContractInfo: ContractInfo; + 'Option': Option; + 'Vec': Vec; + ContractStorageKey: ContractStorageKey; + 'Option': Option; + 'Vec': Vec; + Gas: Gas; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + PrefabWasmModule: PrefabWasmModule; + 'Option': Option; + 'Vec': Vec; + PrefabWasmModuleReserved: PrefabWasmModuleReserved; + 'Option': Option; + 'Vec': Vec; + ScheduleTo212: ScheduleTo212; + 'Option': Option; + 'Vec': Vec; + Schedule: Schedule; + 'Option': Option; + 'Vec': Vec; + SeedOf: SeedOf; + 'Option': Option; + 'Vec': Vec; + TombstoneContractInfo: TombstoneContractInfo; + 'Option': Option; + 'Vec': Vec; + TrieId: TrieId; + 'Option': Option; + 'Vec': Vec; + Conviction: Conviction; + 'Option': Option; + 'Vec': Vec; + PropIndex: PropIndex; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + Proposal: Proposal; + 'Option': Option; + 'Vec': Vec; + ProxyState: ProxyState; + 'Option': Option; + 'Vec': Vec; + ReferendumIndex: ReferendumIndex; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + ReferendumInfo: ReferendumInfo; + 'Option': Option; + 'Vec': Vec; + NewAccountOutcome: NewAccountOutcome; + 'Option': Option; + 'Vec': Vec; + Amount: Amount; + 'Option': Option; + 'Vec': Vec; + AssetOf: AssetOf; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + ContractAccountInfo: ContractAccountInfo; + 'Option': Option; + 'Vec': Vec; + LockPeriods: LockPeriods; + 'Option': Option; + 'Vec': Vec; + InherentOfflineReport: InherentOfflineReport; + 'Option': Option; + 'Vec': Vec; + SessionKey: SessionKey; + 'Option': Option; + 'Vec': Vec; + OpaqueKey: OpaqueKey; + 'Option': Option; + 'Vec': Vec; + ApprovalFlag: ApprovalFlag; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + SetIndex: SetIndex; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + Vote: Vote; + 'Option': Option; + 'Vec': Vec; + VoteIndex: VoteIndex; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + VoterInfo: VoterInfo; + 'Option': Option; + 'Vec': Vec; + VoteThreshold: VoteThreshold; + 'Option': Option; + 'Vec': Vec; + CreatedBlock: CreatedBlock; + 'Option': Option; + 'Vec': Vec; + ImportedAux: ImportedAux; + 'Option': Option; + 'Vec': Vec; + Account: Account; + 'Option': Option; + 'Vec': Vec; + Log: Log; + 'Option': Option; + 'Vec': Vec; + Extrinsic: Extrinsic; + 'Option': Option; + 'Vec': Vec; + ExtrinsicEra: ExtrinsicEra; + 'Option': Option; + 'Vec': Vec; + ExtrinsicPayload: ExtrinsicPayload; + 'Option': Option; + 'Vec': Vec; + ExtrinsicV1: ExtrinsicV1; + 'Option': Option; + 'Vec': Vec; + ExtrinsicPayloadV1: ExtrinsicPayloadV1; + 'Option': Option; + 'Vec': Vec; + ExtrinsicSignatureV1: ExtrinsicSignatureV1; + 'Option': Option; + 'Vec': Vec; + ExtrinsicV2: ExtrinsicV2; + 'Option': Option; + 'Vec': Vec; + ExtrinsicPayloadV2: ExtrinsicPayloadV2; + 'Option': Option; + 'Vec': Vec; + ExtrinsicSignatureV2: ExtrinsicSignatureV2; + 'Option': Option; + 'Vec': Vec; + ExtrinsicV3: ExtrinsicV3; + 'Option': Option; + 'Vec': Vec; + ExtrinsicPayloadV3: ExtrinsicPayloadV3; + 'Option': Option; + 'Vec': Vec; + ExtrinsicSignatureV3: ExtrinsicSignatureV3; + 'Option': Option; + 'Vec': Vec; + ExtrinsicV4: ExtrinsicV4; + 'Option': Option; + 'Vec': Vec; + ExtrinsicPayloadV4: ExtrinsicPayloadV4; + 'Option': Option; + 'Vec': Vec; + ExtrinsicSignatureV4: ExtrinsicSignatureV4; + 'Option': Option; + 'Vec': Vec; + ExtrinsicUnknown: ExtrinsicUnknown; + 'Option': Option; + 'Vec': Vec; + ExtrinsicPayloadUnknown: ExtrinsicPayloadUnknown; + 'Option': Option; + 'Vec': Vec; + ImmortalEra: ImmortalEra; + 'Option': Option; + 'Vec': Vec; + MortalEra: MortalEra; + 'Option': Option; + 'Vec': Vec; + MultiSignature: MultiSignature; + 'Option': Option; + 'Vec': Vec; + Signature: Signature; + 'Option': Option; + 'Vec': Vec; + SignerPayload: SignerPayload; + 'Option': Option; + 'Vec': Vec; + EcdsaSignature: EcdsaSignature; + 'Option': Option; + 'Vec': Vec; + Ed25519Signature: Ed25519Signature; + 'Option': Option; + 'Vec': Vec; + Sr25519Signature: Sr25519Signature; + 'Option': Option; + 'Vec': Vec; + AssetOptions: AssetOptions; + 'Option': Option; + 'Vec': Vec; + Owner: Owner; + 'Option': Option; + 'Vec': Vec; + PermissionsV1: PermissionsV1; + 'Option': Option; + 'Vec': Vec; + PermissionVersions: PermissionVersions; + 'Option': Option; + 'Vec': Vec; + PermissionLatest: PermissionLatest; + 'Option': Option; + 'Vec': Vec; + AuthorityIndex: AuthorityIndex; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + AuthorityList: AuthorityList; + 'Option': Option; + 'Vec': Vec; + AuthorityWeight: AuthorityWeight; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + NextAuthority: NextAuthority; + 'Option': Option; + 'Vec': Vec; + PendingPause: PendingPause; + 'Option': Option; + 'Vec': Vec; + PendingResume: PendingResume; + 'Option': Option; + 'Vec': Vec; + SetId: SetId; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + StoredPendingChange: StoredPendingChange; + 'Option': Option; + 'Vec': Vec; + StoredState: StoredState; + 'Option': Option; + 'Vec': Vec; + IdentityFields: IdentityFields; + 'Option': Option; + 'Vec': Vec; + IdentityInfoAdditional: IdentityInfoAdditional; + 'Option': Option; + 'Vec': Vec; + IdentityInfo: IdentityInfo; + 'Option': Option; + 'Vec': Vec; + IdentityJudgement: IdentityJudgement; + 'Option': Option; + 'Vec': Vec; + RegistrationJudgement: RegistrationJudgement; + 'Option': Option; + 'Vec': Vec; + Registration: Registration; + 'Option': Option; + 'Vec': Vec; + RegistrarIndex: RegistrarIndex; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + RegistrarInfo: RegistrarInfo; + 'Option': Option; + 'Vec': Vec; + AuthIndex: AuthIndex; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + AuthoritySignature: AuthoritySignature; + 'Option': Option; + 'Vec': Vec; + Heartbeat: Heartbeat; + 'Option': Option; + 'Vec': Vec; + OpaqueMultiaddr: OpaqueMultiaddr; + 'Option': Option; + 'Vec': Vec; + OpaquePeerId: OpaquePeerId; + 'Option': Option; + 'Vec': Vec; + OpaqueNetworkState: OpaqueNetworkState; + 'Option': Option; + 'Vec': Vec; + Kind: Kind; + 'Option': Option; + 'Vec': Vec; + OffenceDetails: OffenceDetails; + 'Option': Option; + 'Vec': Vec; + Offender: Offender; + 'Option': Option; + 'Vec': Vec; + OpaqueTimeSlot: OpaqueTimeSlot; + 'Option': Option; + 'Vec': Vec; + ReportIdOf: ReportIdOf; + 'Option': Option; + 'Vec': Vec; + Reporter: Reporter; + 'Option': Option; + 'Vec': Vec; + ActiveRecovery: ActiveRecovery; + 'Option': Option; + 'Vec': Vec; + RecoveryConfig: RecoveryConfig; + 'Option': Option; + 'Vec': Vec; + Keys: Keys; + 'Option': Option; + 'Vec': Vec; + SessionKeys1: SessionKeys1; + 'Option': Option; + 'Vec': Vec; + SessionKeys2: SessionKeys2; + 'Option': Option; + 'Vec': Vec; + SessionKeys3: SessionKeys3; + 'Option': Option; + 'Vec': Vec; + SessionKeys4: SessionKeys4; + 'Option': Option; + 'Vec': Vec; + SessionKeys5: SessionKeys5; + 'Option': Option; + 'Vec': Vec; + SessionKeys6: SessionKeys6; + 'Option': Option; + 'Vec': Vec; + FullIdentification: FullIdentification; + 'Option': Option; + 'Vec': Vec; + IdentificationTuple: IdentificationTuple; + 'Option': Option; + 'Vec': Vec; + SessionIndex: SessionIndex; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + Bid: Bid; + 'Option': Option; + 'Vec': Vec; + BidKindVouch: BidKindVouch; + 'Option': Option; + 'Vec': Vec; + BidKind: BidKind; + 'Option': Option; + 'Vec': Vec; + SocietyJudgement: SocietyJudgement; + 'Option': Option; + 'Vec': Vec; + SocietyVote: SocietyVote; + 'Option': Option; + 'Vec': Vec; + StrikeCount: StrikeCount; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + VouchingStatus: VouchingStatus; + 'Option': Option; + 'Vec': Vec; + CompactAssignments: CompactAssignments; + 'Option': Option; + 'Vec': Vec; + CompactScore: CompactScore; + 'Option': Option; + 'Vec': Vec; + ElectionCompute: ElectionCompute; + 'Option': Option; + 'Vec': Vec; + ElectionResult: ElectionResult; + 'Option': Option; + 'Vec': Vec; + ElectionStatus: ElectionStatus; + 'Option': Option; + 'Vec': Vec; + EraIndex: EraIndex; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + EraPoints: EraPoints; + 'Option': Option; + 'Vec': Vec; + EraRewards: EraRewards; + 'Option': Option; + 'Vec': Vec; + Exposure: Exposure; + 'Option': Option; + 'Vec': Vec; + Forcing: Forcing; + 'Option': Option; + 'Vec': Vec; + IndividualExposure: IndividualExposure; + 'Option': Option; + 'Vec': Vec; + KeyType: KeyType; + 'Option': Option; + 'Vec': Vec; + MomentOf: MomentOf; + 'Option': Option; + 'Vec': Vec; + Nominations: Nominations; + 'Option': Option; + 'Vec': Vec; + PhragmenScore: PhragmenScore; + 'Option': Option; + 'Vec': Vec; + Points: Points; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + RewardDestination: RewardDestination; + 'Option': Option; + 'Vec': Vec; + SlashJournalEntry: SlashJournalEntry; + 'Option': Option; + 'Vec': Vec; + SlashingSpansTo204: SlashingSpansTo204; + 'Option': Option; + 'Vec': Vec; + SlashingSpans: SlashingSpans; + 'Option': Option; + 'Vec': Vec; + SpanIndex: SpanIndex; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + SpanRecord: SpanRecord; + 'Option': Option; + 'Vec': Vec; + StakingLedger: StakingLedger; + 'Option': Option; + 'Vec': Vec; + UnappliedSlashOther: UnappliedSlashOther; + 'Option': Option; + 'Vec': Vec; + UnappliedSlash: UnappliedSlash; + 'Option': Option; + 'Vec': Vec; + UnlockChunk: UnlockChunk; + 'Option': Option; + 'Vec': Vec; + ValidatorIndex: ValidatorIndex; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + ValidatorPrefs: ValidatorPrefs; + 'Option': Option; + 'Vec': Vec; + ValidatorPrefsTo196: ValidatorPrefsTo196; + 'Option': Option; + 'Vec': Vec; + ValidatorPrefsTo145: ValidatorPrefsTo145; + 'Option': Option; + 'Vec': Vec; + AccountInfo: AccountInfo; + 'Option': Option; + 'Vec': Vec; + DigestOf: DigestOf; + 'Option': Option; + 'Vec': Vec; + DispatchError: DispatchError; + 'Option': Option; + 'Vec': Vec; + DispatchErrorModule: DispatchErrorModule; + 'Option': Option; + 'Vec': Vec; + DispatchErrorTo198: DispatchErrorTo198; + 'Option': Option; + 'Vec': Vec; + DispatchResult: DispatchResult; + 'Option': Option; + 'Vec': Vec; + DispatchResultOf: DispatchResultOf; + 'Option': Option; + 'Vec': Vec; + DispatchResultTo198: DispatchResultTo198; + 'Option': Option; + 'Vec': Vec; + Event: Event; + 'Option': Option; + 'Vec': Vec; + EventId: EventId; + 'Option': Option; + 'Vec': Vec; + EventIndex: EventIndex; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + EventRecord: EventRecord; + 'Option': Option; + 'Vec': Vec; + EventRecordTo76: EventRecordTo76; + 'Option': Option; + 'Vec': Vec; + Key: Key; + 'Option': Option; + 'Vec': Vec; + Phase: Phase; + 'Option': Option; + 'Vec': Vec; + RefCount: RefCount; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + OpenTipFinder: OpenTipFinder; + 'Option': Option; + 'Vec': Vec; + OpenTipTip: OpenTipTip; + 'Option': Option; + 'Vec': Vec; + OpenTip: OpenTip; + 'Option': Option; + 'Vec': Vec; + TreasuryProposal: TreasuryProposal; + 'Option': Option; + 'Vec': Vec; + Multiplier: Multiplier; + 'Option': Option; + 'Vec': Vec; + Timepoint: Timepoint; + 'Option': Option; + 'Vec': Vec; + Multisig: Multisig; + 'Option': Option; + 'Vec': Vec; + VestingInfo: VestingInfo; + 'Option': Option; + 'Vec': Vec; + BlockAttestations: BlockAttestations; + 'Option': Option; + 'Vec': Vec; + IncludedBlocks: IncludedBlocks; + 'Option': Option; + 'Vec': Vec; + MoreAttestations: MoreAttestations; + 'Option': Option; + 'Vec': Vec; + EthereumAddress: EthereumAddress; + 'Option': Option; + 'Vec': Vec; + AttestedCandidate: AttestedCandidate; + 'Option': Option; + 'Vec': Vec; + AuctionIndex: AuctionIndex; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + Bidder: Bidder; + 'Option': Option; + 'Vec': Vec; + CandidateReceipt: CandidateReceipt; + 'Option': Option; + 'Vec': Vec; + CollatorId: CollatorId; + 'Option': Option; + 'Vec': Vec; + CollatorSignature: CollatorSignature; + 'Option': Option; + 'Vec': Vec; + EgressQueueRoot: EgressQueueRoot; + 'Option': Option; + 'Vec': Vec; + HeadData: HeadData; + 'Option': Option; + 'Vec': Vec; + IncomingParachainDeploy: IncomingParachainDeploy; + 'Option': Option; + 'Vec': Vec; + IncomingParachainFixed: IncomingParachainFixed; + 'Option': Option; + 'Vec': Vec; + IncomingParachain: IncomingParachain; + 'Option': Option; + 'Vec': Vec; + LeasePeriod: LeasePeriod; + 'Option': Option; + 'Vec': Vec; + LeasePeriodOf: LeasePeriodOf; + 'Option': Option; + 'Vec': Vec; + NewBidder: NewBidder; + 'Option': Option; + 'Vec': Vec; + ParaId: ParaId; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + ParaIdOf: ParaIdOf; + 'Option': Option; + 'Vec': Vec; + ParaInfo: ParaInfo; + 'Option': Option; + 'Vec': Vec; + ParachainDispatchOrigin: ParachainDispatchOrigin; + 'Option': Option; + 'Vec': Vec; + ParaScheduling: ParaScheduling; + 'Option': Option; + 'Vec': Vec; + Retriable: Retriable; + 'Option': Option; + 'Vec': Vec; + SlotRange: SlotRange; + 'Option': Option; + 'Vec': Vec; + SubId: SubId; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; + UpwardMessage: UpwardMessage; + 'Option': Option; + 'Vec': Vec; + ValidityAttestation: ValidityAttestation; + 'Option': Option; + 'Vec': Vec; + WinningDataEntry: WinningDataEntry; + 'Option': Option; + 'Vec': Vec; + WinningData: WinningData; + 'Option': Option; + 'Vec': Vec; + CallMetadataV0: CallMetadataV0; + 'Option': Option; + 'Vec': Vec; + EventMetadataV0: EventMetadataV0; + 'Option': Option; + 'Vec': Vec; + FunctionArgumentMetadataV0: FunctionArgumentMetadataV0; + 'Option': Option; + 'Vec': Vec; + FunctionMetadataV0: FunctionMetadataV0; + 'Option': Option; + 'Vec': Vec; + MapTypeV0: MapTypeV0; + 'Option': Option; + 'Vec': Vec; + MetadataV0: MetadataV0; + 'Option': Option; + 'Vec': Vec; + ModuleMetadataV0: ModuleMetadataV0; + 'Option': Option; + 'Vec': Vec; + OuterDispatchCallV0: OuterDispatchCallV0; + 'Option': Option; + 'Vec': Vec; + OuterDispatchMetadataV0: OuterDispatchMetadataV0; + 'Option': Option; + 'Vec': Vec; + OuterEventEventMetadataEventsV0: OuterEventEventMetadataEventsV0; + 'Option': Option; + 'Vec': Vec; + OuterEventEventMetadataV0: OuterEventEventMetadataV0; + 'Option': Option; + 'Vec': Vec; + OuterEventMetadataV0: OuterEventMetadataV0; + 'Option': Option; + 'Vec': Vec; + PlainTypeV0: PlainTypeV0; + 'Option': Option; + 'Vec': Vec; + RuntimeModuleMetadataV0: RuntimeModuleMetadataV0; + 'Option': Option; + 'Vec': Vec; + StorageFunctionMetadataV0: StorageFunctionMetadataV0; + 'Option': Option; + 'Vec': Vec; + StorageFunctionModifierV0: StorageFunctionModifierV0; + 'Option': Option; + 'Vec': Vec; + StorageFunctionTypeV0: StorageFunctionTypeV0; + 'Option': Option; + 'Vec': Vec; + StorageMetadataV0: StorageMetadataV0; + 'Option': Option; + 'Vec': Vec; + EventMetadataV1: EventMetadataV1; + 'Option': Option; + 'Vec': Vec; + FunctionArgumentMetadataV1: FunctionArgumentMetadataV1; + 'Option': Option; + 'Vec': Vec; + FunctionMetadataV1: FunctionMetadataV1; + 'Option': Option; + 'Vec': Vec; + MetadataV1: MetadataV1; + 'Option': Option; + 'Vec': Vec; + ModuleMetadataV1: ModuleMetadataV1; + 'Option': Option; + 'Vec': Vec; + StorageFunctionMetadataV1: StorageFunctionMetadataV1; + 'Option': Option; + 'Vec': Vec; + StorageFunctionModifierV1: StorageFunctionModifierV1; + 'Option': Option; + 'Vec': Vec; + StorageFunctionTypeV1: StorageFunctionTypeV1; + 'Option': Option; + 'Vec': Vec; + EventMetadataV2: EventMetadataV2; + 'Option': Option; + 'Vec': Vec; + FunctionArgumentMetadataV2: FunctionArgumentMetadataV2; + 'Option': Option; + 'Vec': Vec; + FunctionMetadataV2: FunctionMetadataV2; + 'Option': Option; + 'Vec': Vec; + MapTypeV2: MapTypeV2; + 'Option': Option; + 'Vec': Vec; + MetadataV2: MetadataV2; + 'Option': Option; + 'Vec': Vec; + ModuleMetadataV2: ModuleMetadataV2; + 'Option': Option; + 'Vec': Vec; + PlainTypeV2: PlainTypeV2; + 'Option': Option; + 'Vec': Vec; + StorageFunctionMetadataV2: StorageFunctionMetadataV2; + 'Option': Option; + 'Vec': Vec; + StorageFunctionModifierV2: StorageFunctionModifierV2; + 'Option': Option; + 'Vec': Vec; + StorageFunctionTypeV2: StorageFunctionTypeV2; + 'Option': Option; + 'Vec': Vec; + DoubleMapTypeV3: DoubleMapTypeV3; + 'Option': Option; + 'Vec': Vec; + EventMetadataV3: EventMetadataV3; + 'Option': Option; + 'Vec': Vec; + FunctionArgumentMetadataV3: FunctionArgumentMetadataV3; + 'Option': Option; + 'Vec': Vec; + FunctionMetadataV3: FunctionMetadataV3; + 'Option': Option; + 'Vec': Vec; + MapTypeV3: MapTypeV3; + 'Option': Option; + 'Vec': Vec; + MetadataV3: MetadataV3; + 'Option': Option; + 'Vec': Vec; + ModuleMetadataV3: ModuleMetadataV3; + 'Option': Option; + 'Vec': Vec; + PlainTypeV3: PlainTypeV3; + 'Option': Option; + 'Vec': Vec; + StorageFunctionMetadataV3: StorageFunctionMetadataV3; + 'Option': Option; + 'Vec': Vec; + StorageFunctionModifierV3: StorageFunctionModifierV3; + 'Option': Option; + 'Vec': Vec; + StorageFunctionTypeV3: StorageFunctionTypeV3; + 'Option': Option; + 'Vec': Vec; + DoubleMapTypeV4: DoubleMapTypeV4; + 'Option': Option; + 'Vec': Vec; + EventMetadataV4: EventMetadataV4; + 'Option': Option; + 'Vec': Vec; + FunctionArgumentMetadataV4: FunctionArgumentMetadataV4; + 'Option': Option; + 'Vec': Vec; + FunctionMetadataV4: FunctionMetadataV4; + 'Option': Option; + 'Vec': Vec; + MapTypeV4: MapTypeV4; + 'Option': Option; + 'Vec': Vec; + MetadataV4: MetadataV4; + 'Option': Option; + 'Vec': Vec; + ModuleMetadataV4: ModuleMetadataV4; + 'Option': Option; + 'Vec': Vec; + PlainTypeV4: PlainTypeV4; + 'Option': Option; + 'Vec': Vec; + StorageFunctionMetadataV4: StorageFunctionMetadataV4; + 'Option': Option; + 'Vec': Vec; + StorageFunctionModifierV4: StorageFunctionModifierV4; + 'Option': Option; + 'Vec': Vec; + StorageFunctionTypeV4: StorageFunctionTypeV4; + 'Option': Option; + 'Vec': Vec; + StorageHasherV4: StorageHasherV4; + 'Option': Option; + 'Vec': Vec; + DoubleMapTypeV5: DoubleMapTypeV5; + 'Option': Option; + 'Vec': Vec; + EventMetadataV5: EventMetadataV5; + 'Option': Option; + 'Vec': Vec; + FunctionArgumentMetadataV5: FunctionArgumentMetadataV5; + 'Option': Option; + 'Vec': Vec; + FunctionMetadataV5: FunctionMetadataV5; + 'Option': Option; + 'Vec': Vec; + MapTypeV5: MapTypeV5; + 'Option': Option; + 'Vec': Vec; + MetadataV5: MetadataV5; + 'Option': Option; + 'Vec': Vec; + ModuleMetadataV5: ModuleMetadataV5; + 'Option': Option; + 'Vec': Vec; + PlainTypeV5: PlainTypeV5; + 'Option': Option; + 'Vec': Vec; + StorageFunctionMetadataV5: StorageFunctionMetadataV5; + 'Option': Option; + 'Vec': Vec; + StorageFunctionModifierV5: StorageFunctionModifierV5; + 'Option': Option; + 'Vec': Vec; + StorageFunctionTypeV5: StorageFunctionTypeV5; + 'Option': Option; + 'Vec': Vec; + StorageHasherV5: StorageHasherV5; + 'Option': Option; + 'Vec': Vec; + DoubleMapTypeV6: DoubleMapTypeV6; + 'Option': Option; + 'Vec': Vec; + EventMetadataV6: EventMetadataV6; + 'Option': Option; + 'Vec': Vec; + FunctionArgumentMetadataV6: FunctionArgumentMetadataV6; + 'Option': Option; + 'Vec': Vec; + FunctionMetadataV6: FunctionMetadataV6; + 'Option': Option; + 'Vec': Vec; + MapTypeV6: MapTypeV6; + 'Option': Option; + 'Vec': Vec; + MetadataV6: MetadataV6; + 'Option': Option; + 'Vec': Vec; + ModuleConstantMetadataV6: ModuleConstantMetadataV6; + 'Option': Option; + 'Vec': Vec; + ModuleMetadataV6: ModuleMetadataV6; + 'Option': Option; + 'Vec': Vec; + PlainTypeV6: PlainTypeV6; + 'Option': Option; + 'Vec': Vec; + StorageEntryModifierV6: StorageEntryModifierV6; + 'Option': Option; + 'Vec': Vec; + StorageEntryMetadataV6: StorageEntryMetadataV6; + 'Option': Option; + 'Vec': Vec; + StorageEntryTypeV6: StorageEntryTypeV6; + 'Option': Option; + 'Vec': Vec; + StorageHasherV6: StorageHasherV6; + 'Option': Option; + 'Vec': Vec; + DoubleMapTypeV7: DoubleMapTypeV7; + 'Option': Option; + 'Vec': Vec; + EventMetadataV7: EventMetadataV7; + 'Option': Option; + 'Vec': Vec; + FunctionArgumentMetadataV7: FunctionArgumentMetadataV7; + 'Option': Option; + 'Vec': Vec; + FunctionMetadataV7: FunctionMetadataV7; + 'Option': Option; + 'Vec': Vec; + MapTypeV7: MapTypeV7; + 'Option': Option; + 'Vec': Vec; + MetadataV7: MetadataV7; + 'Option': Option; + 'Vec': Vec; + ModuleConstantMetadataV7: ModuleConstantMetadataV7; + 'Option': Option; + 'Vec': Vec; + ModuleMetadataV7: ModuleMetadataV7; + 'Option': Option; + 'Vec': Vec; + PlainTypeV7: PlainTypeV7; + 'Option': Option; + 'Vec': Vec; + StorageEntryModifierV7: StorageEntryModifierV7; + 'Option': Option; + 'Vec': Vec; + StorageEntryMetadataV7: StorageEntryMetadataV7; + 'Option': Option; + 'Vec': Vec; + StorageEntryTypeV7: StorageEntryTypeV7; + 'Option': Option; + 'Vec': Vec; + StorageHasherV7: StorageHasherV7; + 'Option': Option; + 'Vec': Vec; + StorageMetadataV7: StorageMetadataV7; + 'Option': Option; + 'Vec': Vec; + DoubleMapTypeV8: DoubleMapTypeV8; + 'Option': Option; + 'Vec': Vec; + ErrorMetadataV8: ErrorMetadataV8; + 'Option': Option; + 'Vec': Vec; + EventMetadataV8: EventMetadataV8; + 'Option': Option; + 'Vec': Vec; + FunctionArgumentMetadataV8: FunctionArgumentMetadataV8; + 'Option': Option; + 'Vec': Vec; + FunctionMetadataV8: FunctionMetadataV8; + 'Option': Option; + 'Vec': Vec; + MapTypeV8: MapTypeV8; + 'Option': Option; + 'Vec': Vec; + MetadataV8: MetadataV8; + 'Option': Option; + 'Vec': Vec; + ModuleConstantMetadataV8: ModuleConstantMetadataV8; + 'Option': Option; + 'Vec': Vec; + ModuleMetadataV8: ModuleMetadataV8; + 'Option': Option; + 'Vec': Vec; + PlainTypeV8: PlainTypeV8; + 'Option': Option; + 'Vec': Vec; + StorageEntryModifierV8: StorageEntryModifierV8; + 'Option': Option; + 'Vec': Vec; + StorageEntryMetadataV8: StorageEntryMetadataV8; + 'Option': Option; + 'Vec': Vec; + StorageEntryTypeV8: StorageEntryTypeV8; + 'Option': Option; + 'Vec': Vec; + StorageHasherV8: StorageHasherV8; + 'Option': Option; + 'Vec': Vec; + StorageMetadataV8: StorageMetadataV8; + 'Option': Option; + 'Vec': Vec; + DoubleMapTypeV9: DoubleMapTypeV9; + 'Option': Option; + 'Vec': Vec; + ErrorMetadataV9: ErrorMetadataV9; + 'Option': Option; + 'Vec': Vec; + EventMetadataV9: EventMetadataV9; + 'Option': Option; + 'Vec': Vec; + FunctionArgumentMetadataV9: FunctionArgumentMetadataV9; + 'Option': Option; + 'Vec': Vec; + FunctionMetadataV9: FunctionMetadataV9; + 'Option': Option; + 'Vec': Vec; + MapTypeV9: MapTypeV9; + 'Option': Option; + 'Vec': Vec; + MetadataV9: MetadataV9; + 'Option': Option; + 'Vec': Vec; + ModuleConstantMetadataV9: ModuleConstantMetadataV9; + 'Option': Option; + 'Vec': Vec; + ModuleMetadataV9: ModuleMetadataV9; + 'Option': Option; + 'Vec': Vec; + PlainTypeV9: PlainTypeV9; + 'Option': Option; + 'Vec': Vec; + StorageEntryModifierV9: StorageEntryModifierV9; + 'Option': Option; + 'Vec': Vec; + StorageEntryMetadataV9: StorageEntryMetadataV9; + 'Option': Option; + 'Vec': Vec; + StorageEntryTypeV9: StorageEntryTypeV9; + 'Option': Option; + 'Vec': Vec; + StorageHasherV9: StorageHasherV9; + 'Option': Option; + 'Vec': Vec; + StorageMetadataV9: StorageMetadataV9; + 'Option': Option; + 'Vec': Vec; + DoubleMapTypeV10: DoubleMapTypeV10; + 'Option': Option; + 'Vec': Vec; + ErrorMetadataV10: ErrorMetadataV10; + 'Option': Option; + 'Vec': Vec; + EventMetadataV10: EventMetadataV10; + 'Option': Option; + 'Vec': Vec; + FunctionArgumentMetadataV10: FunctionArgumentMetadataV10; + 'Option': Option; + 'Vec': Vec; + FunctionMetadataV10: FunctionMetadataV10; + 'Option': Option; + 'Vec': Vec; + MapTypeV10: MapTypeV10; + 'Option': Option; + 'Vec': Vec; + MetadataV10: MetadataV10; + 'Option': Option; + 'Vec': Vec; + ModuleConstantMetadataV10: ModuleConstantMetadataV10; + 'Option': Option; + 'Vec': Vec; + ModuleMetadataV10: ModuleMetadataV10; + 'Option': Option; + 'Vec': Vec; + PlainTypeV10: PlainTypeV10; + 'Option': Option; + 'Vec': Vec; + StorageEntryModifierV10: StorageEntryModifierV10; + 'Option': Option; + 'Vec': Vec; + StorageEntryMetadataV10: StorageEntryMetadataV10; + 'Option': Option; + 'Vec': Vec; + StorageEntryTypeV10: StorageEntryTypeV10; + 'Option': Option; + 'Vec': Vec; + StorageMetadataV10: StorageMetadataV10; + 'Option': Option; + 'Vec': Vec; + StorageHasherV10: StorageHasherV10; + 'Option': Option; + 'Vec': Vec; + DoubleMapTypeV11: DoubleMapTypeV11; + 'Option': Option; + 'Vec': Vec; + ErrorMetadataV11: ErrorMetadataV11; + 'Option': Option; + 'Vec': Vec; + EventMetadataV11: EventMetadataV11; + 'Option': Option; + 'Vec': Vec; + ExtrinsicMetadataV11: ExtrinsicMetadataV11; + 'Option': Option; + 'Vec': Vec; + FunctionArgumentMetadataV11: FunctionArgumentMetadataV11; + 'Option': Option; + 'Vec': Vec; + FunctionMetadataV11: FunctionMetadataV11; + 'Option': Option; + 'Vec': Vec; + MapTypeV11: MapTypeV11; + 'Option': Option; + 'Vec': Vec; + MetadataV11: MetadataV11; + 'Option': Option; + 'Vec': Vec; + ModuleConstantMetadataV11: ModuleConstantMetadataV11; + 'Option': Option; + 'Vec': Vec; + ModuleMetadataV11: ModuleMetadataV11; + 'Option': Option; + 'Vec': Vec; + PlainTypeV11: PlainTypeV11; + 'Option': Option; + 'Vec': Vec; + StorageEntryModifierV11: StorageEntryModifierV11; + 'Option': Option; + 'Vec': Vec; + StorageEntryMetadataV11: StorageEntryMetadataV11; + 'Option': Option; + 'Vec': Vec; + StorageEntryTypeV11: StorageEntryTypeV11; + 'Option': Option; + 'Vec': Vec; + StorageMetadataV11: StorageMetadataV11; + 'Option': Option; + 'Vec': Vec; + StorageHasherV11: StorageHasherV11; + 'Option': Option; + 'Vec': Vec; + DoubleMapTypeLatest: DoubleMapTypeLatest; + 'Option': Option; + 'Vec': Vec; + EventMetadataLatest: EventMetadataLatest; + 'Option': Option; + 'Vec': Vec; + ExtrinsicMetadataLatest: ExtrinsicMetadataLatest; + 'Option': Option; + 'Vec': Vec; + FunctionArgumentMetadataLatest: FunctionArgumentMetadataLatest; + 'Option': Option; + 'Vec': Vec; + FunctionMetadataLatest: FunctionMetadataLatest; + 'Option': Option; + 'Vec': Vec; + MapTypeLatest: MapTypeLatest; + 'Option': Option; + 'Vec': Vec; + MetadataLatest: MetadataLatest; + 'Option': Option; + 'Vec': Vec; + ModuleConstantMetadataLatest: ModuleConstantMetadataLatest; + 'Option': Option; + 'Vec': Vec; + ModuleMetadataLatest: ModuleMetadataLatest; + 'Option': Option; + 'Vec': Vec; + PlainTypeLatest: PlainTypeLatest; + 'Option': Option; + 'Vec': Vec; + StorageEntryMetadataLatest: StorageEntryMetadataLatest; + 'Option': Option; + 'Vec': Vec; + StorageEntryModifierLatest: StorageEntryModifierLatest; + 'Option': Option; + 'Vec': Vec; + StorageEntryTypeLatest: StorageEntryTypeLatest; + 'Option': Option; + 'Vec': Vec; + StorageMetadataLatest: StorageMetadataLatest; + 'Option': Option; + 'Vec': Vec; + StorageHasher: StorageHasher; + 'Option': Option; + 'Vec': Vec; + MetadataAll: MetadataAll; + 'Option': Option; + 'Vec': Vec; + ApiId: ApiId; + 'Option': Option; + 'Vec': Vec; + BlockHash: BlockHash; + 'Option': Option; + 'Vec': Vec; + ChainProperties: ChainProperties; + 'Option': Option; + 'Vec': Vec; + ExtrinsicOrHash: ExtrinsicOrHash; + 'Option': Option; + 'Vec': Vec; + ExtrinsicStatus: ExtrinsicStatus; + 'Option': Option; + 'Vec': Vec; + Health: Health; + 'Option': Option; + 'Vec': Vec; + KeyValueOption: KeyValueOption; + 'Option': Option; + 'Vec': Vec; + NetworkState: NetworkState; + 'Option': Option; + 'Vec': Vec; + PeerInfo: PeerInfo; + 'Option': Option; + 'Vec': Vec; + RpcMethods: RpcMethods; + 'Option': Option; + 'Vec': Vec; + RuntimeDispatchInfo: RuntimeDispatchInfo; + 'Option': Option; + 'Vec': Vec; + RuntimeVersionApi: RuntimeVersionApi; + 'Option': Option; + 'Vec': Vec; + RuntimeVersion: RuntimeVersion; + 'Option': Option; + 'Vec': Vec; + StorageChangeSet: StorageChangeSet; + 'Option': Option; + 'Vec': Vec; + } +} diff --git a/packages/types/src/interfaceRegistry.ts b/packages/types/src/interfaceRegistry.ts index ed68b7a92d..3f5c87d456 100644 --- a/packages/types/src/interfaceRegistry.ts +++ b/packages/types/src/interfaceRegistry.ts @@ -1,1556 +1,6 @@ -// Auto-generated via `yarn polkadot-types-from-defs`, do not edit -/* eslint-disable @typescript-eslint/no-empty-interface */ +// Copyright 2017-2020 @polkadot/types authors & contributors +// This software may be modified and distributed under the terms +// of the Apache-2.0 license. See the LICENSE file for details. -import { Compact, Option, Raw, Vec } from '@polkadot/types/codec'; -import { BitVec, Bytes, Data, Null, StorageKey, Text, Type, U256, Unconstructable, bool, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types/primitive'; -import { BlockAttestations, IncludedBlocks, MoreAttestations } from '@polkadot/types/interfaces/attestations'; -import { RawAuraPreDigest } from '@polkadot/types/interfaces/aura'; -import { InclusionHeight, Uncle, UncleEntryItem } from '@polkadot/types/interfaces/authorship'; -import { BabeAuthorityWeight, BabeBlockWeight, BabeWeight, MaybeVrf, RawBabePreDigest, RawBabePreDigestCompat, RawBabePreDigestPrimary, RawBabePreDigestPrimaryTo159, RawBabePreDigestSecondary, RawBabePreDigestSecondaryTo159, RawBabePreDigestTo159, SlotNumber, VrfData, VrfProof } from '@polkadot/types/interfaces/babe'; -import { AccountData, BalanceLock, BalanceLockTo212, Reasons, VestingSchedule, WithdrawReasons } from '@polkadot/types/interfaces/balances'; -import { EthereumAddress } from '@polkadot/types/interfaces/claims'; -import { MemberCount, ProposalIndex, Votes } from '@polkadot/types/interfaces/collective'; -import { AuthorityId } from '@polkadot/types/interfaces/consensus'; -import { AliveContractInfo, CodeHash, ContractCallRequest, ContractExecResult, ContractExecResultSuccess, ContractInfo, ContractStorageKey, Gas, PrefabWasmModule, PrefabWasmModuleReserved, Schedule, ScheduleTo212, SeedOf, TombstoneContractInfo, TrieId } from '@polkadot/types/interfaces/contracts'; -import { Conviction, PropIndex, Proposal, ProxyState, ReferendumIndex, ReferendumInfo } from '@polkadot/types/interfaces/democracy'; -import { Amount, AssetOf, ContractAccountInfo, InherentOfflineReport, LockPeriods, NewAccountOutcome, OpaqueKey, SessionKey } from '@polkadot/types/interfaces/deprecated'; -import { ApprovalFlag, SetIndex, Vote, VoteIndex, VoteThreshold, VoterInfo } from '@polkadot/types/interfaces/elections'; -import { CreatedBlock, ImportedAux } from '@polkadot/types/interfaces/engine'; -import { Account, Log } from '@polkadot/types/interfaces/evm'; -import { EcdsaSignature, Ed25519Signature, Extrinsic, ExtrinsicEra, ExtrinsicPayload, ExtrinsicPayloadUnknown, ExtrinsicPayloadV1, ExtrinsicPayloadV2, ExtrinsicPayloadV3, ExtrinsicPayloadV4, ExtrinsicSignatureV1, ExtrinsicSignatureV2, ExtrinsicSignatureV3, ExtrinsicSignatureV4, ExtrinsicUnknown, ExtrinsicV1, ExtrinsicV2, ExtrinsicV3, ExtrinsicV4, ImmortalEra, MortalEra, MultiSignature, Signature, SignerPayload, Sr25519Signature } from '@polkadot/types/interfaces/extrinsics'; -import { AssetOptions, Owner, PermissionLatest, PermissionVersions, PermissionsV1 } from '@polkadot/types/interfaces/genericAsset'; -import { AuthorityIndex, AuthorityList, AuthorityWeight, NextAuthority, PendingPause, PendingResume, SetId, StoredPendingChange, StoredState } from '@polkadot/types/interfaces/grandpa'; -import { IdentityFields, IdentityInfo, IdentityInfoAdditional, IdentityJudgement, RegistrarIndex, RegistrarInfo, Registration, RegistrationJudgement } from '@polkadot/types/interfaces/identity'; -import { AuthIndex, AuthoritySignature, Heartbeat, OpaqueMultiaddr, OpaqueNetworkState, OpaquePeerId } from '@polkadot/types/interfaces/imOnline'; -import { CallMetadataV0, DoubleMapTypeLatest, DoubleMapTypeV10, DoubleMapTypeV11, DoubleMapTypeV3, DoubleMapTypeV4, DoubleMapTypeV5, DoubleMapTypeV6, DoubleMapTypeV7, DoubleMapTypeV8, DoubleMapTypeV9, ErrorMetadataV10, ErrorMetadataV11, ErrorMetadataV8, ErrorMetadataV9, EventMetadataLatest, EventMetadataV0, EventMetadataV1, EventMetadataV10, EventMetadataV11, EventMetadataV2, EventMetadataV3, EventMetadataV4, EventMetadataV5, EventMetadataV6, EventMetadataV7, EventMetadataV8, EventMetadataV9, ExtrinsicMetadataLatest, ExtrinsicMetadataV11, FunctionArgumentMetadataLatest, FunctionArgumentMetadataV0, FunctionArgumentMetadataV1, FunctionArgumentMetadataV10, FunctionArgumentMetadataV11, FunctionArgumentMetadataV2, FunctionArgumentMetadataV3, FunctionArgumentMetadataV4, FunctionArgumentMetadataV5, FunctionArgumentMetadataV6, FunctionArgumentMetadataV7, FunctionArgumentMetadataV8, FunctionArgumentMetadataV9, FunctionMetadataLatest, FunctionMetadataV0, FunctionMetadataV1, FunctionMetadataV10, FunctionMetadataV11, FunctionMetadataV2, FunctionMetadataV3, FunctionMetadataV4, FunctionMetadataV5, FunctionMetadataV6, FunctionMetadataV7, FunctionMetadataV8, FunctionMetadataV9, MapTypeLatest, MapTypeV0, MapTypeV10, MapTypeV11, MapTypeV2, MapTypeV3, MapTypeV4, MapTypeV5, MapTypeV6, MapTypeV7, MapTypeV8, MapTypeV9, MetadataAll, MetadataLatest, MetadataV0, MetadataV1, MetadataV10, MetadataV11, MetadataV2, MetadataV3, MetadataV4, MetadataV5, MetadataV6, MetadataV7, MetadataV8, MetadataV9, ModuleConstantMetadataLatest, ModuleConstantMetadataV10, ModuleConstantMetadataV11, ModuleConstantMetadataV6, ModuleConstantMetadataV7, ModuleConstantMetadataV8, ModuleConstantMetadataV9, ModuleMetadataLatest, ModuleMetadataV0, ModuleMetadataV1, ModuleMetadataV10, ModuleMetadataV11, ModuleMetadataV2, ModuleMetadataV3, ModuleMetadataV4, ModuleMetadataV5, ModuleMetadataV6, ModuleMetadataV7, ModuleMetadataV8, ModuleMetadataV9, OuterDispatchCallV0, OuterDispatchMetadataV0, OuterEventEventMetadataEventsV0, OuterEventEventMetadataV0, OuterEventMetadataV0, PlainTypeLatest, PlainTypeV0, PlainTypeV10, PlainTypeV11, PlainTypeV2, PlainTypeV3, PlainTypeV4, PlainTypeV5, PlainTypeV6, PlainTypeV7, PlainTypeV8, PlainTypeV9, RuntimeModuleMetadataV0, StorageEntryMetadataLatest, StorageEntryMetadataV10, StorageEntryMetadataV11, StorageEntryMetadataV6, StorageEntryMetadataV7, StorageEntryMetadataV8, StorageEntryMetadataV9, StorageEntryModifierLatest, StorageEntryModifierV10, StorageEntryModifierV11, StorageEntryModifierV6, StorageEntryModifierV7, StorageEntryModifierV8, StorageEntryModifierV9, StorageEntryTypeLatest, StorageEntryTypeV10, StorageEntryTypeV11, StorageEntryTypeV6, StorageEntryTypeV7, StorageEntryTypeV8, StorageEntryTypeV9, StorageFunctionMetadataV0, StorageFunctionMetadataV1, StorageFunctionMetadataV2, StorageFunctionMetadataV3, StorageFunctionMetadataV4, StorageFunctionMetadataV5, StorageFunctionModifierV0, StorageFunctionModifierV1, StorageFunctionModifierV2, StorageFunctionModifierV3, StorageFunctionModifierV4, StorageFunctionModifierV5, StorageFunctionTypeV0, StorageFunctionTypeV1, StorageFunctionTypeV2, StorageFunctionTypeV3, StorageFunctionTypeV4, StorageFunctionTypeV5, StorageHasher, StorageHasherV10, StorageHasherV11, StorageHasherV4, StorageHasherV5, StorageHasherV6, StorageHasherV7, StorageHasherV8, StorageHasherV9, StorageMetadataLatest, StorageMetadataV0, StorageMetadataV10, StorageMetadataV11, StorageMetadataV7, StorageMetadataV8, StorageMetadataV9 } from '@polkadot/types/interfaces/metadata'; -import { Kind, OffenceDetails, Offender, OpaqueTimeSlot, ReportIdOf, Reporter } from '@polkadot/types/interfaces/offences'; -import { AttestedCandidate, AuctionIndex, Bidder, CandidateReceipt, CollatorId, CollatorSignature, EgressQueueRoot, HeadData, IncomingParachain, IncomingParachainDeploy, IncomingParachainFixed, LeasePeriod, LeasePeriodOf, NewBidder, ParaId, ParaIdOf, ParaInfo, ParaScheduling, ParachainDispatchOrigin, Retriable, SlotRange, SubId, UpwardMessage, ValidityAttestation, WinningData, WinningDataEntry } from '@polkadot/types/interfaces/parachains'; -import { ActiveRecovery, RecoveryConfig } from '@polkadot/types/interfaces/recovery'; -import { ApiId, BlockHash, ChainProperties, ExtrinsicOrHash, ExtrinsicStatus, Health, KeyValueOption, NetworkState, PeerInfo, RpcMethods, RuntimeDispatchInfo, RuntimeVersion, RuntimeVersionApi, StorageChangeSet } from '@polkadot/types/interfaces/rpc'; -import { AccountId, AccountIdOf, AccountIndex, Address, AssetId, Balance, BalanceOf, Block, BlockNumber, Call, ChangesTrieConfiguration, Consensus, ConsensusEngineId, Digest, DigestItem, DispatchClass, DispatchInfo, DispatchInfoTo190, Fixed64, H160, H256, H512, Hash, Header, Index, Justification, KeyTypeId, KeyValue, LockIdentifier, LookupSource, LookupTarget, Moment, Origin, Perbill, Percent, Permill, Perquintill, Phantom, PhantomData, PreRuntime, Seal, SealV0, SignedBlock, StorageData, ValidatorId, Weight, WeightMultiplier } from '@polkadot/types/interfaces/runtime'; -import { FullIdentification, IdentificationTuple, Keys, SessionIndex, SessionKeys1, SessionKeys2, SessionKeys3, SessionKeys4, SessionKeys5, SessionKeys6 } from '@polkadot/types/interfaces/session'; -import { Bid, BidKind, BidKindVouch, SocietyJudgement, SocietyVote, StrikeCount, VouchingStatus } from '@polkadot/types/interfaces/society'; -import { CompactAssignments, CompactScore, ElectionCompute, ElectionResult, ElectionStatus, EraIndex, EraPoints, EraRewards, Exposure, Forcing, IndividualExposure, KeyType, MomentOf, Nominations, PhragmenScore, Points, RewardDestination, SlashJournalEntry, SlashingSpans, SlashingSpansTo204, SpanIndex, SpanRecord, StakingLedger, UnappliedSlash, UnappliedSlashOther, UnlockChunk, ValidatorIndex, ValidatorPrefs, ValidatorPrefsTo145, ValidatorPrefsTo196 } from '@polkadot/types/interfaces/staking'; -import { AccountInfo, DigestOf, DispatchError, DispatchErrorModule, DispatchErrorTo198, DispatchResult, DispatchResultOf, DispatchResultTo198, Event, EventId, EventIndex, EventRecord, EventRecordTo76, Key, Phase, RefCount } from '@polkadot/types/interfaces/system'; -import { OpenTip, OpenTipFinder, OpenTipTip, TreasuryProposal } from '@polkadot/types/interfaces/treasury'; -import { Multiplier } from '@polkadot/types/interfaces/txpayment'; -import { Multisig, Timepoint } from '@polkadot/types/interfaces/utility'; -import { VestingInfo } from '@polkadot/types/interfaces/vesting'; - -export interface InterfaceRegistry { - BitVec: BitVec; - 'Option': Option; - 'Vec': Vec; - bool: bool; - 'Option': Option; - 'Vec': Vec; - Bytes: Bytes; - 'Option': Option; - 'Vec': Vec; - Data: Data; - 'Option': Option; - 'Vec': Vec; - i8: i8; - 'Option': Option; - 'Vec': Vec; - i16: i16; - 'Option': Option; - 'Vec': Vec; - i32: i32; - 'Option': Option; - 'Vec': Vec; - i64: i64; - 'Option': Option; - 'Vec': Vec; - i128: i128; - 'Option': Option; - 'Vec': Vec; - i256: i256; - 'Option': Option; - 'Vec': Vec; - Null: Null; - 'Option': Option; - 'Vec': Vec; - StorageKey: StorageKey; - 'Option': Option; - 'Vec': Vec; - Text: Text; - 'Option': Option; - 'Vec': Vec; - Type: Type; - 'Option': Option; - 'Vec': Vec; - u8: u8; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - u16: u16; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - u32: u32; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - u64: u64; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - u128: u128; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - u256: u256; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - U256: U256; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - Unconstructable: Unconstructable; - 'Option': Option; - 'Vec': Vec; - usize: usize; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - Raw: Raw; - 'Option': Option; - 'Vec': Vec; - AccountId: AccountId; - 'Option': Option; - 'Vec': Vec; - AccountIdOf: AccountIdOf; - 'Option': Option; - 'Vec': Vec; - AccountIndex: AccountIndex; - 'Option': Option; - 'Vec': Vec; - Address: Address; - 'Option
': Option
; - 'Vec
': Vec
; - AssetId: AssetId; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - Balance: Balance; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - BalanceOf: BalanceOf; - 'Option': Option; - 'Vec': Vec; - Block: Block; - 'Option': Option; - 'Vec': Vec; - BlockNumber: BlockNumber; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - Call: Call; - 'Option': Option; - 'Vec': Vec; - ChangesTrieConfiguration: ChangesTrieConfiguration; - 'Option': Option; - 'Vec': Vec; - ConsensusEngineId: ConsensusEngineId; - 'Option': Option; - 'Vec': Vec; - Digest: Digest; - 'Option': Option; - 'Vec': Vec; - DigestItem: DigestItem; - 'Option': Option; - 'Vec': Vec; - DispatchClass: DispatchClass; - 'Option': Option; - 'Vec': Vec; - DispatchInfo: DispatchInfo; - 'Option': Option; - 'Vec': Vec; - DispatchInfoTo190: DispatchInfoTo190; - 'Option': Option; - 'Vec': Vec; - Fixed64: Fixed64; - 'Option': Option; - 'Vec': Vec; - H160: H160; - 'Option': Option; - 'Vec': Vec; - H256: H256; - 'Option': Option; - 'Vec': Vec; - H512: H512; - 'Option': Option; - 'Vec': Vec; - Hash: Hash; - 'Option': Option; - 'Vec': Vec; - Header: Header; - 'Option
': Option
; - 'Vec
': Vec
; - Index: Index; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - Justification: Justification; - 'Option': Option; - 'Vec': Vec; - KeyValue: KeyValue; - 'Option': Option; - 'Vec': Vec; - KeyTypeId: KeyTypeId; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - LockIdentifier: LockIdentifier; - 'Option': Option; - 'Vec': Vec; - LookupSource: LookupSource; - 'Option': Option; - 'Vec': Vec; - LookupTarget: LookupTarget; - 'Option': Option; - 'Vec': Vec; - Moment: Moment; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - Origin: Origin; - 'Option': Option; - 'Vec': Vec; - Perbill: Perbill; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - Percent: Percent; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - Permill: Permill; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - Perquintill: Perquintill; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - Phantom: Phantom; - 'Option': Option; - 'Vec': Vec; - PhantomData: PhantomData; - 'Option': Option; - 'Vec': Vec; - SignedBlock: SignedBlock; - 'Option': Option; - 'Vec': Vec; - StorageData: StorageData; - 'Option': Option; - 'Vec': Vec; - ValidatorId: ValidatorId; - 'Option': Option; - 'Vec': Vec; - Weight: Weight; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - WeightMultiplier: WeightMultiplier; - 'Option': Option; - 'Vec': Vec; - PreRuntime: PreRuntime; - 'Option': Option; - 'Vec': Vec; - SealV0: SealV0; - 'Option': Option; - 'Vec': Vec; - Seal: Seal; - 'Option': Option; - 'Vec': Vec; - Consensus: Consensus; - 'Option': Option; - 'Vec': Vec; - InclusionHeight: InclusionHeight; - 'Option': Option; - 'Vec': Vec; - Uncle: Uncle; - 'Option': Option; - 'Vec': Vec; - UncleEntryItem: UncleEntryItem; - 'Option': Option; - 'Vec': Vec; - RawAuraPreDigest: RawAuraPreDigest; - 'Option': Option; - 'Vec': Vec; - BabeAuthorityWeight: BabeAuthorityWeight; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - BabeBlockWeight: BabeBlockWeight; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - MaybeVrf: MaybeVrf; - 'Option': Option; - 'Vec': Vec; - BabeWeight: BabeWeight; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - RawBabePreDigest: RawBabePreDigest; - 'Option': Option; - 'Vec': Vec; - RawBabePreDigestPrimary: RawBabePreDigestPrimary; - 'Option': Option; - 'Vec': Vec; - RawBabePreDigestSecondary: RawBabePreDigestSecondary; - 'Option': Option; - 'Vec': Vec; - RawBabePreDigestTo159: RawBabePreDigestTo159; - 'Option': Option; - 'Vec': Vec; - RawBabePreDigestPrimaryTo159: RawBabePreDigestPrimaryTo159; - 'Option': Option; - 'Vec': Vec; - RawBabePreDigestSecondaryTo159: RawBabePreDigestSecondaryTo159; - 'Option': Option; - 'Vec': Vec; - RawBabePreDigestCompat: RawBabePreDigestCompat; - 'Option': Option; - 'Vec': Vec; - SlotNumber: SlotNumber; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - VrfData: VrfData; - 'Option': Option; - 'Vec': Vec; - VrfProof: VrfProof; - 'Option': Option; - 'Vec': Vec; - AccountData: AccountData; - 'Option': Option; - 'Vec': Vec; - BalanceLockTo212: BalanceLockTo212; - 'Option': Option; - 'Vec': Vec; - BalanceLock: BalanceLock; - 'Option': Option; - 'Vec': Vec; - Reasons: Reasons; - 'Option': Option; - 'Vec': Vec; - VestingSchedule: VestingSchedule; - 'Option': Option; - 'Vec': Vec; - WithdrawReasons: WithdrawReasons; - 'Option': Option; - 'Vec': Vec; - MemberCount: MemberCount; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - ProposalIndex: ProposalIndex; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - Votes: Votes; - 'Option': Option; - 'Vec': Vec; - AuthorityId: AuthorityId; - 'Option': Option; - 'Vec': Vec; - AliveContractInfo: AliveContractInfo; - 'Option': Option; - 'Vec': Vec; - CodeHash: CodeHash; - 'Option': Option; - 'Vec': Vec; - ContractCallRequest: ContractCallRequest; - 'Option': Option; - 'Vec': Vec; - ContractExecResultSuccess: ContractExecResultSuccess; - 'Option': Option; - 'Vec': Vec; - ContractExecResult: ContractExecResult; - 'Option': Option; - 'Vec': Vec; - ContractInfo: ContractInfo; - 'Option': Option; - 'Vec': Vec; - ContractStorageKey: ContractStorageKey; - 'Option': Option; - 'Vec': Vec; - Gas: Gas; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - PrefabWasmModule: PrefabWasmModule; - 'Option': Option; - 'Vec': Vec; - PrefabWasmModuleReserved: PrefabWasmModuleReserved; - 'Option': Option; - 'Vec': Vec; - ScheduleTo212: ScheduleTo212; - 'Option': Option; - 'Vec': Vec; - Schedule: Schedule; - 'Option': Option; - 'Vec': Vec; - SeedOf: SeedOf; - 'Option': Option; - 'Vec': Vec; - TombstoneContractInfo: TombstoneContractInfo; - 'Option': Option; - 'Vec': Vec; - TrieId: TrieId; - 'Option': Option; - 'Vec': Vec; - Conviction: Conviction; - 'Option': Option; - 'Vec': Vec; - PropIndex: PropIndex; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - Proposal: Proposal; - 'Option': Option; - 'Vec': Vec; - ProxyState: ProxyState; - 'Option': Option; - 'Vec': Vec; - ReferendumIndex: ReferendumIndex; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - ReferendumInfo: ReferendumInfo; - 'Option': Option; - 'Vec': Vec; - NewAccountOutcome: NewAccountOutcome; - 'Option': Option; - 'Vec': Vec; - Amount: Amount; - 'Option': Option; - 'Vec': Vec; - AssetOf: AssetOf; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - ContractAccountInfo: ContractAccountInfo; - 'Option': Option; - 'Vec': Vec; - LockPeriods: LockPeriods; - 'Option': Option; - 'Vec': Vec; - InherentOfflineReport: InherentOfflineReport; - 'Option': Option; - 'Vec': Vec; - SessionKey: SessionKey; - 'Option': Option; - 'Vec': Vec; - OpaqueKey: OpaqueKey; - 'Option': Option; - 'Vec': Vec; - ApprovalFlag: ApprovalFlag; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - SetIndex: SetIndex; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - Vote: Vote; - 'Option': Option; - 'Vec': Vec; - VoteIndex: VoteIndex; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - VoterInfo: VoterInfo; - 'Option': Option; - 'Vec': Vec; - VoteThreshold: VoteThreshold; - 'Option': Option; - 'Vec': Vec; - CreatedBlock: CreatedBlock; - 'Option': Option; - 'Vec': Vec; - ImportedAux: ImportedAux; - 'Option': Option; - 'Vec': Vec; - Account: Account; - 'Option': Option; - 'Vec': Vec; - Log: Log; - 'Option': Option; - 'Vec': Vec; - Extrinsic: Extrinsic; - 'Option': Option; - 'Vec': Vec; - ExtrinsicEra: ExtrinsicEra; - 'Option': Option; - 'Vec': Vec; - ExtrinsicPayload: ExtrinsicPayload; - 'Option': Option; - 'Vec': Vec; - ExtrinsicV1: ExtrinsicV1; - 'Option': Option; - 'Vec': Vec; - ExtrinsicPayloadV1: ExtrinsicPayloadV1; - 'Option': Option; - 'Vec': Vec; - ExtrinsicSignatureV1: ExtrinsicSignatureV1; - 'Option': Option; - 'Vec': Vec; - ExtrinsicV2: ExtrinsicV2; - 'Option': Option; - 'Vec': Vec; - ExtrinsicPayloadV2: ExtrinsicPayloadV2; - 'Option': Option; - 'Vec': Vec; - ExtrinsicSignatureV2: ExtrinsicSignatureV2; - 'Option': Option; - 'Vec': Vec; - ExtrinsicV3: ExtrinsicV3; - 'Option': Option; - 'Vec': Vec; - ExtrinsicPayloadV3: ExtrinsicPayloadV3; - 'Option': Option; - 'Vec': Vec; - ExtrinsicSignatureV3: ExtrinsicSignatureV3; - 'Option': Option; - 'Vec': Vec; - ExtrinsicV4: ExtrinsicV4; - 'Option': Option; - 'Vec': Vec; - ExtrinsicPayloadV4: ExtrinsicPayloadV4; - 'Option': Option; - 'Vec': Vec; - ExtrinsicSignatureV4: ExtrinsicSignatureV4; - 'Option': Option; - 'Vec': Vec; - ExtrinsicUnknown: ExtrinsicUnknown; - 'Option': Option; - 'Vec': Vec; - ExtrinsicPayloadUnknown: ExtrinsicPayloadUnknown; - 'Option': Option; - 'Vec': Vec; - ImmortalEra: ImmortalEra; - 'Option': Option; - 'Vec': Vec; - MortalEra: MortalEra; - 'Option': Option; - 'Vec': Vec; - MultiSignature: MultiSignature; - 'Option': Option; - 'Vec': Vec; - Signature: Signature; - 'Option': Option; - 'Vec': Vec; - SignerPayload: SignerPayload; - 'Option': Option; - 'Vec': Vec; - EcdsaSignature: EcdsaSignature; - 'Option': Option; - 'Vec': Vec; - Ed25519Signature: Ed25519Signature; - 'Option': Option; - 'Vec': Vec; - Sr25519Signature: Sr25519Signature; - 'Option': Option; - 'Vec': Vec; - AssetOptions: AssetOptions; - 'Option': Option; - 'Vec': Vec; - Owner: Owner; - 'Option': Option; - 'Vec': Vec; - PermissionsV1: PermissionsV1; - 'Option': Option; - 'Vec': Vec; - PermissionVersions: PermissionVersions; - 'Option': Option; - 'Vec': Vec; - PermissionLatest: PermissionLatest; - 'Option': Option; - 'Vec': Vec; - AuthorityIndex: AuthorityIndex; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - AuthorityList: AuthorityList; - 'Option': Option; - 'Vec': Vec; - AuthorityWeight: AuthorityWeight; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - NextAuthority: NextAuthority; - 'Option': Option; - 'Vec': Vec; - PendingPause: PendingPause; - 'Option': Option; - 'Vec': Vec; - PendingResume: PendingResume; - 'Option': Option; - 'Vec': Vec; - SetId: SetId; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - StoredPendingChange: StoredPendingChange; - 'Option': Option; - 'Vec': Vec; - StoredState: StoredState; - 'Option': Option; - 'Vec': Vec; - IdentityFields: IdentityFields; - 'Option': Option; - 'Vec': Vec; - IdentityInfoAdditional: IdentityInfoAdditional; - 'Option': Option; - 'Vec': Vec; - IdentityInfo: IdentityInfo; - 'Option': Option; - 'Vec': Vec; - IdentityJudgement: IdentityJudgement; - 'Option': Option; - 'Vec': Vec; - RegistrationJudgement: RegistrationJudgement; - 'Option': Option; - 'Vec': Vec; - Registration: Registration; - 'Option': Option; - 'Vec': Vec; - RegistrarIndex: RegistrarIndex; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - RegistrarInfo: RegistrarInfo; - 'Option': Option; - 'Vec': Vec; - AuthIndex: AuthIndex; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - AuthoritySignature: AuthoritySignature; - 'Option': Option; - 'Vec': Vec; - Heartbeat: Heartbeat; - 'Option': Option; - 'Vec': Vec; - OpaqueMultiaddr: OpaqueMultiaddr; - 'Option': Option; - 'Vec': Vec; - OpaquePeerId: OpaquePeerId; - 'Option': Option; - 'Vec': Vec; - OpaqueNetworkState: OpaqueNetworkState; - 'Option': Option; - 'Vec': Vec; - Kind: Kind; - 'Option': Option; - 'Vec': Vec; - OffenceDetails: OffenceDetails; - 'Option': Option; - 'Vec': Vec; - Offender: Offender; - 'Option': Option; - 'Vec': Vec; - OpaqueTimeSlot: OpaqueTimeSlot; - 'Option': Option; - 'Vec': Vec; - ReportIdOf: ReportIdOf; - 'Option': Option; - 'Vec': Vec; - Reporter: Reporter; - 'Option': Option; - 'Vec': Vec; - ActiveRecovery: ActiveRecovery; - 'Option': Option; - 'Vec': Vec; - RecoveryConfig: RecoveryConfig; - 'Option': Option; - 'Vec': Vec; - Keys: Keys; - 'Option': Option; - 'Vec': Vec; - SessionKeys1: SessionKeys1; - 'Option': Option; - 'Vec': Vec; - SessionKeys2: SessionKeys2; - 'Option': Option; - 'Vec': Vec; - SessionKeys3: SessionKeys3; - 'Option': Option; - 'Vec': Vec; - SessionKeys4: SessionKeys4; - 'Option': Option; - 'Vec': Vec; - SessionKeys5: SessionKeys5; - 'Option': Option; - 'Vec': Vec; - SessionKeys6: SessionKeys6; - 'Option': Option; - 'Vec': Vec; - FullIdentification: FullIdentification; - 'Option': Option; - 'Vec': Vec; - IdentificationTuple: IdentificationTuple; - 'Option': Option; - 'Vec': Vec; - SessionIndex: SessionIndex; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - Bid: Bid; - 'Option': Option; - 'Vec': Vec; - BidKindVouch: BidKindVouch; - 'Option': Option; - 'Vec': Vec; - BidKind: BidKind; - 'Option': Option; - 'Vec': Vec; - SocietyJudgement: SocietyJudgement; - 'Option': Option; - 'Vec': Vec; - SocietyVote: SocietyVote; - 'Option': Option; - 'Vec': Vec; - StrikeCount: StrikeCount; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - VouchingStatus: VouchingStatus; - 'Option': Option; - 'Vec': Vec; - CompactAssignments: CompactAssignments; - 'Option': Option; - 'Vec': Vec; - CompactScore: CompactScore; - 'Option': Option; - 'Vec': Vec; - ElectionCompute: ElectionCompute; - 'Option': Option; - 'Vec': Vec; - ElectionResult: ElectionResult; - 'Option': Option; - 'Vec': Vec; - ElectionStatus: ElectionStatus; - 'Option': Option; - 'Vec': Vec; - EraIndex: EraIndex; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - EraPoints: EraPoints; - 'Option': Option; - 'Vec': Vec; - EraRewards: EraRewards; - 'Option': Option; - 'Vec': Vec; - Exposure: Exposure; - 'Option': Option; - 'Vec': Vec; - Forcing: Forcing; - 'Option': Option; - 'Vec': Vec; - IndividualExposure: IndividualExposure; - 'Option': Option; - 'Vec': Vec; - KeyType: KeyType; - 'Option': Option; - 'Vec': Vec; - MomentOf: MomentOf; - 'Option': Option; - 'Vec': Vec; - Nominations: Nominations; - 'Option': Option; - 'Vec': Vec; - PhragmenScore: PhragmenScore; - 'Option': Option; - 'Vec': Vec; - Points: Points; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - RewardDestination: RewardDestination; - 'Option': Option; - 'Vec': Vec; - SlashJournalEntry: SlashJournalEntry; - 'Option': Option; - 'Vec': Vec; - SlashingSpansTo204: SlashingSpansTo204; - 'Option': Option; - 'Vec': Vec; - SlashingSpans: SlashingSpans; - 'Option': Option; - 'Vec': Vec; - SpanIndex: SpanIndex; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - SpanRecord: SpanRecord; - 'Option': Option; - 'Vec': Vec; - StakingLedger: StakingLedger; - 'Option': Option; - 'Vec': Vec; - UnappliedSlashOther: UnappliedSlashOther; - 'Option': Option; - 'Vec': Vec; - UnappliedSlash: UnappliedSlash; - 'Option': Option; - 'Vec': Vec; - UnlockChunk: UnlockChunk; - 'Option': Option; - 'Vec': Vec; - ValidatorIndex: ValidatorIndex; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - ValidatorPrefs: ValidatorPrefs; - 'Option': Option; - 'Vec': Vec; - ValidatorPrefsTo196: ValidatorPrefsTo196; - 'Option': Option; - 'Vec': Vec; - ValidatorPrefsTo145: ValidatorPrefsTo145; - 'Option': Option; - 'Vec': Vec; - AccountInfo: AccountInfo; - 'Option': Option; - 'Vec': Vec; - DigestOf: DigestOf; - 'Option': Option; - 'Vec': Vec; - DispatchError: DispatchError; - 'Option': Option; - 'Vec': Vec; - DispatchErrorModule: DispatchErrorModule; - 'Option': Option; - 'Vec': Vec; - DispatchErrorTo198: DispatchErrorTo198; - 'Option': Option; - 'Vec': Vec; - DispatchResult: DispatchResult; - 'Option': Option; - 'Vec': Vec; - DispatchResultOf: DispatchResultOf; - 'Option': Option; - 'Vec': Vec; - DispatchResultTo198: DispatchResultTo198; - 'Option': Option; - 'Vec': Vec; - Event: Event; - 'Option': Option; - 'Vec': Vec; - EventId: EventId; - 'Option': Option; - 'Vec': Vec; - EventIndex: EventIndex; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - EventRecord: EventRecord; - 'Option': Option; - 'Vec': Vec; - EventRecordTo76: EventRecordTo76; - 'Option': Option; - 'Vec': Vec; - Key: Key; - 'Option': Option; - 'Vec': Vec; - Phase: Phase; - 'Option': Option; - 'Vec': Vec; - RefCount: RefCount; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - OpenTipFinder: OpenTipFinder; - 'Option': Option; - 'Vec': Vec; - OpenTipTip: OpenTipTip; - 'Option': Option; - 'Vec': Vec; - OpenTip: OpenTip; - 'Option': Option; - 'Vec': Vec; - TreasuryProposal: TreasuryProposal; - 'Option': Option; - 'Vec': Vec; - Multiplier: Multiplier; - 'Option': Option; - 'Vec': Vec; - Timepoint: Timepoint; - 'Option': Option; - 'Vec': Vec; - Multisig: Multisig; - 'Option': Option; - 'Vec': Vec; - VestingInfo: VestingInfo; - 'Option': Option; - 'Vec': Vec; - BlockAttestations: BlockAttestations; - 'Option': Option; - 'Vec': Vec; - IncludedBlocks: IncludedBlocks; - 'Option': Option; - 'Vec': Vec; - MoreAttestations: MoreAttestations; - 'Option': Option; - 'Vec': Vec; - EthereumAddress: EthereumAddress; - 'Option': Option; - 'Vec': Vec; - AttestedCandidate: AttestedCandidate; - 'Option': Option; - 'Vec': Vec; - AuctionIndex: AuctionIndex; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - Bidder: Bidder; - 'Option': Option; - 'Vec': Vec; - CandidateReceipt: CandidateReceipt; - 'Option': Option; - 'Vec': Vec; - CollatorId: CollatorId; - 'Option': Option; - 'Vec': Vec; - CollatorSignature: CollatorSignature; - 'Option': Option; - 'Vec': Vec; - EgressQueueRoot: EgressQueueRoot; - 'Option': Option; - 'Vec': Vec; - HeadData: HeadData; - 'Option': Option; - 'Vec': Vec; - IncomingParachainDeploy: IncomingParachainDeploy; - 'Option': Option; - 'Vec': Vec; - IncomingParachainFixed: IncomingParachainFixed; - 'Option': Option; - 'Vec': Vec; - IncomingParachain: IncomingParachain; - 'Option': Option; - 'Vec': Vec; - LeasePeriod: LeasePeriod; - 'Option': Option; - 'Vec': Vec; - LeasePeriodOf: LeasePeriodOf; - 'Option': Option; - 'Vec': Vec; - NewBidder: NewBidder; - 'Option': Option; - 'Vec': Vec; - ParaId: ParaId; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - ParaIdOf: ParaIdOf; - 'Option': Option; - 'Vec': Vec; - ParaInfo: ParaInfo; - 'Option': Option; - 'Vec': Vec; - ParachainDispatchOrigin: ParachainDispatchOrigin; - 'Option': Option; - 'Vec': Vec; - ParaScheduling: ParaScheduling; - 'Option': Option; - 'Vec': Vec; - Retriable: Retriable; - 'Option': Option; - 'Vec': Vec; - SlotRange: SlotRange; - 'Option': Option; - 'Vec': Vec; - SubId: SubId; - 'Compact': Compact; - 'Option': Option; - 'Vec': Vec; - UpwardMessage: UpwardMessage; - 'Option': Option; - 'Vec': Vec; - ValidityAttestation: ValidityAttestation; - 'Option': Option; - 'Vec': Vec; - WinningDataEntry: WinningDataEntry; - 'Option': Option; - 'Vec': Vec; - WinningData: WinningData; - 'Option': Option; - 'Vec': Vec; - CallMetadataV0: CallMetadataV0; - 'Option': Option; - 'Vec': Vec; - EventMetadataV0: EventMetadataV0; - 'Option': Option; - 'Vec': Vec; - FunctionArgumentMetadataV0: FunctionArgumentMetadataV0; - 'Option': Option; - 'Vec': Vec; - FunctionMetadataV0: FunctionMetadataV0; - 'Option': Option; - 'Vec': Vec; - MapTypeV0: MapTypeV0; - 'Option': Option; - 'Vec': Vec; - MetadataV0: MetadataV0; - 'Option': Option; - 'Vec': Vec; - ModuleMetadataV0: ModuleMetadataV0; - 'Option': Option; - 'Vec': Vec; - OuterDispatchCallV0: OuterDispatchCallV0; - 'Option': Option; - 'Vec': Vec; - OuterDispatchMetadataV0: OuterDispatchMetadataV0; - 'Option': Option; - 'Vec': Vec; - OuterEventEventMetadataEventsV0: OuterEventEventMetadataEventsV0; - 'Option': Option; - 'Vec': Vec; - OuterEventEventMetadataV0: OuterEventEventMetadataV0; - 'Option': Option; - 'Vec': Vec; - OuterEventMetadataV0: OuterEventMetadataV0; - 'Option': Option; - 'Vec': Vec; - PlainTypeV0: PlainTypeV0; - 'Option': Option; - 'Vec': Vec; - RuntimeModuleMetadataV0: RuntimeModuleMetadataV0; - 'Option': Option; - 'Vec': Vec; - StorageFunctionMetadataV0: StorageFunctionMetadataV0; - 'Option': Option; - 'Vec': Vec; - StorageFunctionModifierV0: StorageFunctionModifierV0; - 'Option': Option; - 'Vec': Vec; - StorageFunctionTypeV0: StorageFunctionTypeV0; - 'Option': Option; - 'Vec': Vec; - StorageMetadataV0: StorageMetadataV0; - 'Option': Option; - 'Vec': Vec; - EventMetadataV1: EventMetadataV1; - 'Option': Option; - 'Vec': Vec; - FunctionArgumentMetadataV1: FunctionArgumentMetadataV1; - 'Option': Option; - 'Vec': Vec; - FunctionMetadataV1: FunctionMetadataV1; - 'Option': Option; - 'Vec': Vec; - MetadataV1: MetadataV1; - 'Option': Option; - 'Vec': Vec; - ModuleMetadataV1: ModuleMetadataV1; - 'Option': Option; - 'Vec': Vec; - StorageFunctionMetadataV1: StorageFunctionMetadataV1; - 'Option': Option; - 'Vec': Vec; - StorageFunctionModifierV1: StorageFunctionModifierV1; - 'Option': Option; - 'Vec': Vec; - StorageFunctionTypeV1: StorageFunctionTypeV1; - 'Option': Option; - 'Vec': Vec; - EventMetadataV2: EventMetadataV2; - 'Option': Option; - 'Vec': Vec; - FunctionArgumentMetadataV2: FunctionArgumentMetadataV2; - 'Option': Option; - 'Vec': Vec; - FunctionMetadataV2: FunctionMetadataV2; - 'Option': Option; - 'Vec': Vec; - MapTypeV2: MapTypeV2; - 'Option': Option; - 'Vec': Vec; - MetadataV2: MetadataV2; - 'Option': Option; - 'Vec': Vec; - ModuleMetadataV2: ModuleMetadataV2; - 'Option': Option; - 'Vec': Vec; - PlainTypeV2: PlainTypeV2; - 'Option': Option; - 'Vec': Vec; - StorageFunctionMetadataV2: StorageFunctionMetadataV2; - 'Option': Option; - 'Vec': Vec; - StorageFunctionModifierV2: StorageFunctionModifierV2; - 'Option': Option; - 'Vec': Vec; - StorageFunctionTypeV2: StorageFunctionTypeV2; - 'Option': Option; - 'Vec': Vec; - DoubleMapTypeV3: DoubleMapTypeV3; - 'Option': Option; - 'Vec': Vec; - EventMetadataV3: EventMetadataV3; - 'Option': Option; - 'Vec': Vec; - FunctionArgumentMetadataV3: FunctionArgumentMetadataV3; - 'Option': Option; - 'Vec': Vec; - FunctionMetadataV3: FunctionMetadataV3; - 'Option': Option; - 'Vec': Vec; - MapTypeV3: MapTypeV3; - 'Option': Option; - 'Vec': Vec; - MetadataV3: MetadataV3; - 'Option': Option; - 'Vec': Vec; - ModuleMetadataV3: ModuleMetadataV3; - 'Option': Option; - 'Vec': Vec; - PlainTypeV3: PlainTypeV3; - 'Option': Option; - 'Vec': Vec; - StorageFunctionMetadataV3: StorageFunctionMetadataV3; - 'Option': Option; - 'Vec': Vec; - StorageFunctionModifierV3: StorageFunctionModifierV3; - 'Option': Option; - 'Vec': Vec; - StorageFunctionTypeV3: StorageFunctionTypeV3; - 'Option': Option; - 'Vec': Vec; - DoubleMapTypeV4: DoubleMapTypeV4; - 'Option': Option; - 'Vec': Vec; - EventMetadataV4: EventMetadataV4; - 'Option': Option; - 'Vec': Vec; - FunctionArgumentMetadataV4: FunctionArgumentMetadataV4; - 'Option': Option; - 'Vec': Vec; - FunctionMetadataV4: FunctionMetadataV4; - 'Option': Option; - 'Vec': Vec; - MapTypeV4: MapTypeV4; - 'Option': Option; - 'Vec': Vec; - MetadataV4: MetadataV4; - 'Option': Option; - 'Vec': Vec; - ModuleMetadataV4: ModuleMetadataV4; - 'Option': Option; - 'Vec': Vec; - PlainTypeV4: PlainTypeV4; - 'Option': Option; - 'Vec': Vec; - StorageFunctionMetadataV4: StorageFunctionMetadataV4; - 'Option': Option; - 'Vec': Vec; - StorageFunctionModifierV4: StorageFunctionModifierV4; - 'Option': Option; - 'Vec': Vec; - StorageFunctionTypeV4: StorageFunctionTypeV4; - 'Option': Option; - 'Vec': Vec; - StorageHasherV4: StorageHasherV4; - 'Option': Option; - 'Vec': Vec; - DoubleMapTypeV5: DoubleMapTypeV5; - 'Option': Option; - 'Vec': Vec; - EventMetadataV5: EventMetadataV5; - 'Option': Option; - 'Vec': Vec; - FunctionArgumentMetadataV5: FunctionArgumentMetadataV5; - 'Option': Option; - 'Vec': Vec; - FunctionMetadataV5: FunctionMetadataV5; - 'Option': Option; - 'Vec': Vec; - MapTypeV5: MapTypeV5; - 'Option': Option; - 'Vec': Vec; - MetadataV5: MetadataV5; - 'Option': Option; - 'Vec': Vec; - ModuleMetadataV5: ModuleMetadataV5; - 'Option': Option; - 'Vec': Vec; - PlainTypeV5: PlainTypeV5; - 'Option': Option; - 'Vec': Vec; - StorageFunctionMetadataV5: StorageFunctionMetadataV5; - 'Option': Option; - 'Vec': Vec; - StorageFunctionModifierV5: StorageFunctionModifierV5; - 'Option': Option; - 'Vec': Vec; - StorageFunctionTypeV5: StorageFunctionTypeV5; - 'Option': Option; - 'Vec': Vec; - StorageHasherV5: StorageHasherV5; - 'Option': Option; - 'Vec': Vec; - DoubleMapTypeV6: DoubleMapTypeV6; - 'Option': Option; - 'Vec': Vec; - EventMetadataV6: EventMetadataV6; - 'Option': Option; - 'Vec': Vec; - FunctionArgumentMetadataV6: FunctionArgumentMetadataV6; - 'Option': Option; - 'Vec': Vec; - FunctionMetadataV6: FunctionMetadataV6; - 'Option': Option; - 'Vec': Vec; - MapTypeV6: MapTypeV6; - 'Option': Option; - 'Vec': Vec; - MetadataV6: MetadataV6; - 'Option': Option; - 'Vec': Vec; - ModuleConstantMetadataV6: ModuleConstantMetadataV6; - 'Option': Option; - 'Vec': Vec; - ModuleMetadataV6: ModuleMetadataV6; - 'Option': Option; - 'Vec': Vec; - PlainTypeV6: PlainTypeV6; - 'Option': Option; - 'Vec': Vec; - StorageEntryModifierV6: StorageEntryModifierV6; - 'Option': Option; - 'Vec': Vec; - StorageEntryMetadataV6: StorageEntryMetadataV6; - 'Option': Option; - 'Vec': Vec; - StorageEntryTypeV6: StorageEntryTypeV6; - 'Option': Option; - 'Vec': Vec; - StorageHasherV6: StorageHasherV6; - 'Option': Option; - 'Vec': Vec; - DoubleMapTypeV7: DoubleMapTypeV7; - 'Option': Option; - 'Vec': Vec; - EventMetadataV7: EventMetadataV7; - 'Option': Option; - 'Vec': Vec; - FunctionArgumentMetadataV7: FunctionArgumentMetadataV7; - 'Option': Option; - 'Vec': Vec; - FunctionMetadataV7: FunctionMetadataV7; - 'Option': Option; - 'Vec': Vec; - MapTypeV7: MapTypeV7; - 'Option': Option; - 'Vec': Vec; - MetadataV7: MetadataV7; - 'Option': Option; - 'Vec': Vec; - ModuleConstantMetadataV7: ModuleConstantMetadataV7; - 'Option': Option; - 'Vec': Vec; - ModuleMetadataV7: ModuleMetadataV7; - 'Option': Option; - 'Vec': Vec; - PlainTypeV7: PlainTypeV7; - 'Option': Option; - 'Vec': Vec; - StorageEntryModifierV7: StorageEntryModifierV7; - 'Option': Option; - 'Vec': Vec; - StorageEntryMetadataV7: StorageEntryMetadataV7; - 'Option': Option; - 'Vec': Vec; - StorageEntryTypeV7: StorageEntryTypeV7; - 'Option': Option; - 'Vec': Vec; - StorageHasherV7: StorageHasherV7; - 'Option': Option; - 'Vec': Vec; - StorageMetadataV7: StorageMetadataV7; - 'Option': Option; - 'Vec': Vec; - DoubleMapTypeV8: DoubleMapTypeV8; - 'Option': Option; - 'Vec': Vec; - ErrorMetadataV8: ErrorMetadataV8; - 'Option': Option; - 'Vec': Vec; - EventMetadataV8: EventMetadataV8; - 'Option': Option; - 'Vec': Vec; - FunctionArgumentMetadataV8: FunctionArgumentMetadataV8; - 'Option': Option; - 'Vec': Vec; - FunctionMetadataV8: FunctionMetadataV8; - 'Option': Option; - 'Vec': Vec; - MapTypeV8: MapTypeV8; - 'Option': Option; - 'Vec': Vec; - MetadataV8: MetadataV8; - 'Option': Option; - 'Vec': Vec; - ModuleConstantMetadataV8: ModuleConstantMetadataV8; - 'Option': Option; - 'Vec': Vec; - ModuleMetadataV8: ModuleMetadataV8; - 'Option': Option; - 'Vec': Vec; - PlainTypeV8: PlainTypeV8; - 'Option': Option; - 'Vec': Vec; - StorageEntryModifierV8: StorageEntryModifierV8; - 'Option': Option; - 'Vec': Vec; - StorageEntryMetadataV8: StorageEntryMetadataV8; - 'Option': Option; - 'Vec': Vec; - StorageEntryTypeV8: StorageEntryTypeV8; - 'Option': Option; - 'Vec': Vec; - StorageHasherV8: StorageHasherV8; - 'Option': Option; - 'Vec': Vec; - StorageMetadataV8: StorageMetadataV8; - 'Option': Option; - 'Vec': Vec; - DoubleMapTypeV9: DoubleMapTypeV9; - 'Option': Option; - 'Vec': Vec; - ErrorMetadataV9: ErrorMetadataV9; - 'Option': Option; - 'Vec': Vec; - EventMetadataV9: EventMetadataV9; - 'Option': Option; - 'Vec': Vec; - FunctionArgumentMetadataV9: FunctionArgumentMetadataV9; - 'Option': Option; - 'Vec': Vec; - FunctionMetadataV9: FunctionMetadataV9; - 'Option': Option; - 'Vec': Vec; - MapTypeV9: MapTypeV9; - 'Option': Option; - 'Vec': Vec; - MetadataV9: MetadataV9; - 'Option': Option; - 'Vec': Vec; - ModuleConstantMetadataV9: ModuleConstantMetadataV9; - 'Option': Option; - 'Vec': Vec; - ModuleMetadataV9: ModuleMetadataV9; - 'Option': Option; - 'Vec': Vec; - PlainTypeV9: PlainTypeV9; - 'Option': Option; - 'Vec': Vec; - StorageEntryModifierV9: StorageEntryModifierV9; - 'Option': Option; - 'Vec': Vec; - StorageEntryMetadataV9: StorageEntryMetadataV9; - 'Option': Option; - 'Vec': Vec; - StorageEntryTypeV9: StorageEntryTypeV9; - 'Option': Option; - 'Vec': Vec; - StorageHasherV9: StorageHasherV9; - 'Option': Option; - 'Vec': Vec; - StorageMetadataV9: StorageMetadataV9; - 'Option': Option; - 'Vec': Vec; - DoubleMapTypeV10: DoubleMapTypeV10; - 'Option': Option; - 'Vec': Vec; - ErrorMetadataV10: ErrorMetadataV10; - 'Option': Option; - 'Vec': Vec; - EventMetadataV10: EventMetadataV10; - 'Option': Option; - 'Vec': Vec; - FunctionArgumentMetadataV10: FunctionArgumentMetadataV10; - 'Option': Option; - 'Vec': Vec; - FunctionMetadataV10: FunctionMetadataV10; - 'Option': Option; - 'Vec': Vec; - MapTypeV10: MapTypeV10; - 'Option': Option; - 'Vec': Vec; - MetadataV10: MetadataV10; - 'Option': Option; - 'Vec': Vec; - ModuleConstantMetadataV10: ModuleConstantMetadataV10; - 'Option': Option; - 'Vec': Vec; - ModuleMetadataV10: ModuleMetadataV10; - 'Option': Option; - 'Vec': Vec; - PlainTypeV10: PlainTypeV10; - 'Option': Option; - 'Vec': Vec; - StorageEntryModifierV10: StorageEntryModifierV10; - 'Option': Option; - 'Vec': Vec; - StorageEntryMetadataV10: StorageEntryMetadataV10; - 'Option': Option; - 'Vec': Vec; - StorageEntryTypeV10: StorageEntryTypeV10; - 'Option': Option; - 'Vec': Vec; - StorageMetadataV10: StorageMetadataV10; - 'Option': Option; - 'Vec': Vec; - StorageHasherV10: StorageHasherV10; - 'Option': Option; - 'Vec': Vec; - DoubleMapTypeV11: DoubleMapTypeV11; - 'Option': Option; - 'Vec': Vec; - ErrorMetadataV11: ErrorMetadataV11; - 'Option': Option; - 'Vec': Vec; - EventMetadataV11: EventMetadataV11; - 'Option': Option; - 'Vec': Vec; - ExtrinsicMetadataV11: ExtrinsicMetadataV11; - 'Option': Option; - 'Vec': Vec; - FunctionArgumentMetadataV11: FunctionArgumentMetadataV11; - 'Option': Option; - 'Vec': Vec; - FunctionMetadataV11: FunctionMetadataV11; - 'Option': Option; - 'Vec': Vec; - MapTypeV11: MapTypeV11; - 'Option': Option; - 'Vec': Vec; - MetadataV11: MetadataV11; - 'Option': Option; - 'Vec': Vec; - ModuleConstantMetadataV11: ModuleConstantMetadataV11; - 'Option': Option; - 'Vec': Vec; - ModuleMetadataV11: ModuleMetadataV11; - 'Option': Option; - 'Vec': Vec; - PlainTypeV11: PlainTypeV11; - 'Option': Option; - 'Vec': Vec; - StorageEntryModifierV11: StorageEntryModifierV11; - 'Option': Option; - 'Vec': Vec; - StorageEntryMetadataV11: StorageEntryMetadataV11; - 'Option': Option; - 'Vec': Vec; - StorageEntryTypeV11: StorageEntryTypeV11; - 'Option': Option; - 'Vec': Vec; - StorageMetadataV11: StorageMetadataV11; - 'Option': Option; - 'Vec': Vec; - StorageHasherV11: StorageHasherV11; - 'Option': Option; - 'Vec': Vec; - DoubleMapTypeLatest: DoubleMapTypeLatest; - 'Option': Option; - 'Vec': Vec; - EventMetadataLatest: EventMetadataLatest; - 'Option': Option; - 'Vec': Vec; - ExtrinsicMetadataLatest: ExtrinsicMetadataLatest; - 'Option': Option; - 'Vec': Vec; - FunctionArgumentMetadataLatest: FunctionArgumentMetadataLatest; - 'Option': Option; - 'Vec': Vec; - FunctionMetadataLatest: FunctionMetadataLatest; - 'Option': Option; - 'Vec': Vec; - MapTypeLatest: MapTypeLatest; - 'Option': Option; - 'Vec': Vec; - MetadataLatest: MetadataLatest; - 'Option': Option; - 'Vec': Vec; - ModuleConstantMetadataLatest: ModuleConstantMetadataLatest; - 'Option': Option; - 'Vec': Vec; - ModuleMetadataLatest: ModuleMetadataLatest; - 'Option': Option; - 'Vec': Vec; - PlainTypeLatest: PlainTypeLatest; - 'Option': Option; - 'Vec': Vec; - StorageEntryMetadataLatest: StorageEntryMetadataLatest; - 'Option': Option; - 'Vec': Vec; - StorageEntryModifierLatest: StorageEntryModifierLatest; - 'Option': Option; - 'Vec': Vec; - StorageEntryTypeLatest: StorageEntryTypeLatest; - 'Option': Option; - 'Vec': Vec; - StorageMetadataLatest: StorageMetadataLatest; - 'Option': Option; - 'Vec': Vec; - StorageHasher: StorageHasher; - 'Option': Option; - 'Vec': Vec; - MetadataAll: MetadataAll; - 'Option': Option; - 'Vec': Vec; - ApiId: ApiId; - 'Option': Option; - 'Vec': Vec; - BlockHash: BlockHash; - 'Option': Option; - 'Vec': Vec; - ChainProperties: ChainProperties; - 'Option': Option; - 'Vec': Vec; - ExtrinsicOrHash: ExtrinsicOrHash; - 'Option': Option; - 'Vec': Vec; - ExtrinsicStatus: ExtrinsicStatus; - 'Option': Option; - 'Vec': Vec; - Health: Health; - 'Option': Option; - 'Vec': Vec; - KeyValueOption: KeyValueOption; - 'Option': Option; - 'Vec': Vec; - NetworkState: NetworkState; - 'Option': Option; - 'Vec': Vec; - PeerInfo: PeerInfo; - 'Option': Option; - 'Vec': Vec; - RpcMethods: RpcMethods; - 'Option': Option; - 'Vec': Vec; - RuntimeDispatchInfo: RuntimeDispatchInfo; - 'Option': Option; - 'Vec': Vec; - RuntimeVersionApi: RuntimeVersionApi; - 'Option': Option; - 'Vec': Vec; - RuntimeVersion: RuntimeVersion; - 'Option': Option; - 'Vec': Vec; - StorageChangeSet: StorageChangeSet; - 'Option': Option; - 'Vec': Vec; -} +// eslint-disable-next-line @typescript-eslint/no-empty-interface +export interface InterfaceRegistry { } diff --git a/packages/types/src/types/helpers.ts b/packages/types/src/types/helpers.ts index 70ca356b27..a45b8eb4e3 100644 --- a/packages/types/src/types/helpers.ts +++ b/packages/types/src/types/helpers.ts @@ -2,9 +2,11 @@ // This software may be modified and distributed under the terms // of the Apache-2.0 license. See the LICENSE file for details. -import BN from 'bn.js'; +// augment the registry +import '@polkadot/types/interfaceAugment'; +import { InterfaceRegistry } from '@polkadot/types/interfaceRegistry'; -import { InterfaceRegistry } from '../interfaceRegistry'; +import BN from 'bn.js'; export type InterfaceTypes = keyof InterfaceRegistry;