UNPKG

astra-router-sdk

Version:

An sdk for routing swaps using Astra Classic and Astra CL.

16 lines (15 loc) 659 B
import { Interface } from '@ethersproject/abi'; import { Token } from 'astra-sdk-core'; import { FeeOptions } from 'astra-cl-sdk-dev'; import JSBI from 'jsbi'; export declare abstract class PaymentsExtended { static INTERFACE: Interface; /** * Cannot be constructed. */ private constructor(); static encodeUnwrapSAMB(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 encodeWrapAMB(amount: JSBI): string; }