import { BytesSerializer } from "../basic"; import { uint256, uint64, uint8 } from "../basic/integers"; import { sha256With0xPrefix } from "../chain"; import { OptionalSerializer, StructSerializer, StaticVariantSerializer, VectorSerializer } from "../collections"; import { spvPmTrieNodesRlpData } from "./pmTrie"; import StructWithVariantKeysSerializer from "../collections/StructWithVariantKeys"; declare const logEntry: StructSerializer<{ logIndex: BytesSerializer, address: BytesSerializer, data: BytesSerializer, topics: VectorSerializer, }>; export const spvTransactionReceipt: StructWithVariantKeysSerializer<{ type: typeof uint8, transactionHash: typeof sha256With0xPrefix, transactionIndex: typeof uint64, cumulativeGasUsed: typeof uint256, logs: VectorSerializer, logsBloom: BytesSerializer, }, [{ keyIndexInStructure: number, serializersData: [[string, typeof uint8], [string, typeof sha256With0xPrefix]], }]>; export const spvEthBlockHeader: StructSerializer<{ parentHash: typeof sha256With0xPrefix, sha3Uncles: typeof sha256With0xPrefix, miner: BytesSerializer, stateRoot: typeof sha256With0xPrefix, transactionsRoot: typeof sha256With0xPrefix, receiptsRoot: typeof sha256With0xPrefix, logsBloom: BytesSerializer, difficulty: typeof uint256, number: typeof uint64, gasLimit: typeof uint256, gasUsed: typeof uint256, timestamp: typeof uint64, extraData: BytesSerializer, mixHash: typeof sha256With0xPrefix, nonce: BytesSerializer, baseFeePerGas: OptionalSerializer, }>; export const spvEthMerkleProof: StructSerializer<{ receipt: typeof spvTransactionReceipt, path_data: typeof spvPmTrieNodesRlpData, }>;