UNPKG

@sonicxchain/soxswap-sdk

Version:

An SDK for building applications on top of Soxswap.

24 lines (23 loc) 810 B
/** * Indicates that the pair has insufficient reserves for a desired output amount. I.e. the amount of output cannot be * obtained by sending any amount of input. */ export declare class InsufficientReservesError extends Error { readonly isInsufficientReservesError: true; constructor(); } /** * Indicates that the input amount is too small to produce any amount of output. I.e. the amount of input sent is less * than the price of a single unit of output after fees. */ export declare class InsufficientInputAmountError extends Error { readonly isInsufficientInputAmountError: true; constructor(); } /** * Indicates that the pair doesn't exist */ export declare class InvalidPairError extends Error { readonly isInvalidPairError: true; constructor(); }