UNPKG

rubic-sdk

Version:
15 lines (14 loc) 843 B
import { CelerOnChainTrade } from "./celer-on-chain-trade"; import { DestinationCelerSwapInfo } from "../../models/destination-celer-swap-info"; import { v3LikeCelerSwapInfo } from "../../models/v3-like-celer-swap-info"; import { AlgebraTrade } from "../../../../../../../on-chain/calculation-manager/providers/dexes/polygon/algebra/algebra-trade"; export declare class CelerAlgebraTrade implements CelerOnChainTrade { private readonly algebraTrade; readonly defaultDeadline = 999999999999999; constructor(algebraTrade: AlgebraTrade); getFirstPath(): string; getSecondPath(): string[]; modifyArgumentsForProvider(methodArguments: unknown[][]): Promise<void>; getCelerSourceObject(): v3LikeCelerSwapInfo; getCelerDestinationObject(integratorAddress: string, receiverAddress: string): DestinationCelerSwapInfo; }