UNPKG

@pollum-io/router-sdk

Version:

An sdk for routing swaps using Pegasys v1 and Pegasys v3.

16 lines (15 loc) 666 B
import { Interface } from '@ethersproject/abi'; import { Token } from '@pollum-io/sdk-core'; import { FeeOptions } from '@pollum-io/v3-sdk'; import JSBI from 'jsbi'; export declare abstract class PaymentsExtended { static INTERFACE: Interface; /** * Cannot be constructed. */ private constructor(); static encodeUnwrapWETH9(amountMinimum: JSBI, recipient?: string, feeOptions?: FeeOptions): string; static encodeSweepToken(token: Token, amountMinimum: JSBI, recipient?: string, feeOptions?: FeeOptions): string; static encodePull(token: Token, amount: JSBI): string; static encodeWrapETH(amount: JSBI): string; }