import { ITuple } from '@chainx-v2/types/types'; import { Compact, Enum, Int, Struct, U8aFixed, Vec } from '@chainx-v2/types/codec'; import { GenericAccountId, GenericAccountIndex, GenericAddress, GenericBlock, GenericCall, GenericConsensusEngineId } from '@chainx-v2/types/generic'; import { Bytes, DoNotConstruct, Null, StorageKey, u128, u32, u64, u8 } from '@chainx-v2/types/primitive'; import { AuthorityId } from '@chainx-v2/types/interfaces/consensus'; import { Signature } from '@chainx-v2/types/interfaces/extrinsics'; /** @name AccountId */ export interface AccountId extends GenericAccountId { } /** @name AccountIdOf */ export interface AccountIdOf extends AccountId { } /** @name AccountIndex */ export interface AccountIndex extends GenericAccountIndex { } /** @name Address */ export interface Address extends GenericAddress { } /** @name AssetId */ export interface AssetId extends u32 { } /** @name Balance */ export interface Balance extends u128 { } /** @name BalanceOf */ export interface BalanceOf extends Balance { } /** @name Block */ export interface Block extends GenericBlock { } /** @name BlockNumber */ export interface BlockNumber extends u32 { } /** @name Call */ export interface Call extends GenericCall { } /** @name ChangesTrieConfiguration */ export interface ChangesTrieConfiguration extends Struct { readonly digestInterval: u32; readonly digestLevels: u32; } /** @name Consensus */ export interface Consensus extends ITuple<[ConsensusEngineId, Bytes]> { } /** @name ConsensusEngineId */ export interface ConsensusEngineId extends GenericConsensusEngineId { } /** @name Digest */ export interface Digest extends Struct { readonly logs: Vec; } /** @name DigestItem */ export interface DigestItem extends Enum { readonly isOther: boolean; readonly asOther: Bytes; readonly isAuthoritiesChange: boolean; readonly asAuthoritiesChange: Vec; readonly isChangesTrieRoot: boolean; readonly asChangesTrieRoot: Hash; readonly isSealV0: boolean; readonly asSealV0: SealV0; readonly isConsensus: boolean; readonly asConsensus: Consensus; readonly isSeal: boolean; readonly asSeal: Seal; readonly isPreRuntime: boolean; readonly asPreRuntime: PreRuntime; } /** @name ExtrinsicsWeight */ export interface ExtrinsicsWeight extends Struct { readonly normal: Weight; readonly operational: Weight; } /** @name Fixed128 */ export interface Fixed128 extends Int { } /** @name Fixed64 */ export interface Fixed64 extends Int { } /** @name H160 */ export interface H160 extends U8aFixed { } /** @name H256 */ export interface H256 extends U8aFixed { } /** @name H512 */ export interface H512 extends U8aFixed { } /** @name Hash */ export interface Hash extends H256 { } /** @name Header */ export interface Header extends Struct { readonly parentHash: Hash; readonly number: Compact; readonly stateRoot: Hash; readonly extrinsicsRoot: Hash; readonly digest: Digest; } /** @name Index */ export interface Index extends u32 { } /** @name Justification */ export interface Justification extends Bytes { } /** @name KeyTypeId */ export interface KeyTypeId extends u32 { } /** @name KeyValue */ export interface KeyValue extends ITuple<[StorageKey, StorageData]> { } /** @name LockIdentifier */ export interface LockIdentifier extends U8aFixed { } /** @name LookupSource */ export interface LookupSource extends Address { } /** @name LookupTarget */ export interface LookupTarget extends AccountId { } /** @name ModuleId */ export interface ModuleId extends LockIdentifier { } /** @name Moment */ export interface Moment extends u64 { } /** @name OpaqueCall */ export interface OpaqueCall extends Bytes { } /** @name Origin */ export interface Origin extends DoNotConstruct { } /** @name Pays */ export interface Pays extends Enum { readonly isYes: boolean; readonly isNo: boolean; } /** @name Perbill */ export interface Perbill extends u32 { } /** @name Percent */ export interface Percent extends u8 { } /** @name Permill */ export interface Permill extends u32 { } /** @name Perquintill */ export interface Perquintill extends u64 { } /** @name Phantom */ export interface Phantom extends Null { } /** @name PhantomData */ export interface PhantomData extends Null { } /** @name PreRuntime */ export interface PreRuntime extends ITuple<[ConsensusEngineId, Bytes]> { } /** @name ProxyType */ export interface ProxyType extends Enum { readonly isAny: boolean; readonly isNonTransfer: boolean; readonly isGovernance: boolean; readonly isStaking: boolean; } /** @name Releases */ export interface Releases extends Enum { readonly isV1: boolean; readonly isV2: boolean; readonly isV3: boolean; readonly isV4: boolean; readonly isV5: boolean; readonly isV6: boolean; readonly isV7: boolean; readonly isV8: boolean; readonly isV9: boolean; readonly isV10: boolean; } /** @name RuntimeDbWeight */ export interface RuntimeDbWeight extends Struct { readonly read: Weight; readonly write: Weight; } /** @name Seal */ export interface Seal extends ITuple<[ConsensusEngineId, Bytes]> { } /** @name SealV0 */ export interface SealV0 extends ITuple<[u64, Signature]> { } /** @name SignedBlock */ export interface SignedBlock extends Struct { readonly block: Block; readonly justification: Justification; } /** @name StorageData */ export interface StorageData extends Bytes { } /** @name ValidatorId */ export interface ValidatorId extends AccountId { } /** @name Weight */ export interface Weight extends u64 { } /** @name WeightMultiplier */ export interface WeightMultiplier extends Fixed64 { } export declare type PHANTOM_RUNTIME = 'runtime';