UNPKG

onesec-bridge

Version:
20 lines (19 loc) 831 B
import { _SERVICE as OneSec } from '../../generated/candid/onesec/onesec.did'; import { 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>; }