UNPKG

@unruggable/gateways

Version:

Trustless Ethereum Multichain CCIP-Read Gateway

23 lines 1.03 kB
import type { RollupDeployment } from '../rollup.js'; import { type ArbitrumCommit, type ArbitrumConfig, AbstractArbitrumRollup } from './ArbitrumRollup.js'; import type { ProviderPair } from '../types.js'; export type NitroCommit = ArbitrumCommit & { readonly prevNum: bigint; }; export declare class NitroRollup extends AbstractArbitrumRollup<NitroCommit> { static readonly apeMainnetConfig: RollupDeployment<ArbitrumConfig>; constructor(providers: ProviderPair, config: ArbitrumConfig, minAgeBlocks?: number); private _getNode; private _countStakedZombies; private _ensureUsableNode; fetchLatestNode(minAgeBlocks?: number): Promise<bigint>; fetchNodeData(index: bigint): Promise<{ prevNum: any; blockHash: string; sendRoot: string; }>; fetchLatestCommitIndex(): Promise<bigint>; protected _fetchParentCommitIndex(commit: NitroCommit): Promise<bigint>; protected _fetchCommit(index: bigint): Promise<NitroCommit>; } //# sourceMappingURL=NitroRollup.d.ts.map