UNPKG

onesec-bridge

Version:
20 lines (19 loc) 841 B
import { type _SERVICE as OneSec } from "../../generated/candid/onesec/onesec.did"; import type { About, EvmChain, IcrcAccount, StepStatus, Token, TransferId } from "../../types"; import { BaseStep, GetEvmTx, GetTransferId } from "../baseStep"; export declare class ValidateReceiptStep extends BaseStep implements GetTransferId { private oneSecActor; private token; private evmChain; private icpAccount; private evmAmount; private evmAddress; private getEvmTx; private delayMs; private transferId?; constructor(oneSecActor: OneSec, token: Token, evmChain: EvmChain, icpAccount: IcrcAccount, evmAmount: bigint, evmAddress: string, getEvmTx: GetEvmTx, delayMs: number); about(): About; expectedDurationMs(): number; getTransferId(): TransferId | undefined; run(): Promise<StepStatus>; }