Skip to main content
Module

x/polkadot/types/interfaces/mmr/definitions.ts

Package publishing for deno.land/x/polkadot
Go to Latest
File

/* eslint-disable sort-keys */
import type { Definitions } from '../../types/index.ts';
import { rpc } from './rpc.ts';import { runtime } from './runtime.ts';
export default { rpc, runtime, types: { MmrBatchProof: { leafIndices: 'Vec<MmrLeafIndex>', leafCount: 'MmrNodeIndex', items: 'Vec<Hash>' }, MmrEncodableOpaqueLeaf: 'Bytes', MmrError: { _enum: ['Push', 'GetRoot', 'Commit', 'GenerateProof', 'Verify', 'LeafNotFound', ' PalletNotIncluded', 'InvalidLeafIndex'] }, MmrHash: 'Hash', MmrLeafBatchProof: { blockHash: 'BlockHash', leaves: 'Bytes', proof: 'Bytes' }, MmrLeafIndex: 'u64', MmrLeafProof: { blockHash: 'BlockHash', leaf: 'Bytes', proof: 'Bytes' }, MmrNodeIndex: 'u64', MmrProof: { leafIndex: 'MmrLeafIndex', leafCount: 'MmrNodeIndex', items: 'Vec<Hash>' } }} as Definitions;