@unruggable/gateways
Version:
Trustless Ethereum Multichain CCIP-Read Gateway
16 lines • 939 B
TypeScript
import type { HexAddress, HexString, ProofSequence, ProviderPair } from './types.js';
import type { AbstractProver, LatestProverFactory } from './vm.js';
import { AbstractRollup, type RollupCommit } from './rollup.js';
import { Contract } from 'ethers/contract';
export declare class InteractiveRollup<P extends AbstractProver> extends AbstractRollup<RollupCommit<P>> {
readonly factory: LatestProverFactory<P>;
static readonly ABI: any;
readonly Rollup: Contract;
constructor(providers: ProviderPair, rollup: HexAddress, factory: LatestProverFactory<P>);
fetchLatestCommitIndex(): Promise<bigint>;
protected _fetchParentCommitIndex(commit: RollupCommit<P>): Promise<bigint>;
protected _fetchCommit(index: bigint): Promise<RollupCommit<P>>;
encodeWitness(commit: RollupCommit<P>, proofSeq: ProofSequence): HexString;
windowFromSec(_sec: number): number;
}
//# sourceMappingURL=InteractiveRollup.d.ts.map