hermes-v2-sdk
Version:
⚒️ An SDK for building applications on top of Hermes V2
16 lines (15 loc) • 638 B
TypeScript
import { Interface } from '@ethersproject/abi';
import JSBI from 'jsbi';
import { NativeToken } from 'maia-core-sdk';
import { FeeOptions } from '../../types/payment';
export declare abstract class Payments {
static readonly INTERFACE: Interface;
/**
* Cannot be constructed.
*/
private constructor();
private static encodeFeeBips;
static encodeUnwrapWETH9(amountMinimum: JSBI, recipient: string, feeOptions?: FeeOptions): string;
static encodeSweepToken(token: NativeToken, amountMinimum: JSBI, recipient: string, feeOptions?: FeeOptions): string;
static encodeRefundETH(): string;
}