JSBI
import { JSBI } from '@pegasys-fi/v3-sdk'
// import JSBI from 'jsbi'
The default export from jsbi.
BigintIsh
import { BigintIsh } from '@pegasys-fi/v3-sdk'
// type BigintIsh = JSBI | bigint | string
A union type comprised of all types that can be cast to a JSBI instance.
ChainId
import { ChainId } from '@pegasys-fi/v3-sdk'
// enum ChainId {
// MAINNET = 1,
// ROPSTEN = 3,
// RINKEBY = 4,
// GĂ–RLI = 5,
// KOVAN = 42
// }
A enum denominating supported chain IDs.
TradeType
import { TradeType } from '@pegasys-fi/v3-sdk'
// enum TradeType {
// EXACT_INPUT,
// EXACT_OUTPUT
// }
A enum denominating supported trade types.
Rounding
import { Rounding } from '@pegasys-fi/v3-sdk'
// enum Rounding {
// ROUND_DOWN,
// ROUND_HALF_UP,
// ROUND_UP
// }
A enum denominating supported rounding options.
FACTORY_ADDRESS
import { FACTORY_ADDRESS } from '@pegasys-fi/v3-sdk'
The factory address.
INIT_CODE_HASH
import { INIT_CODE_HASH } from '@pegasys-fi/v3-sdk'
See pair addresses.
MINIMUM_LIQUIDITY
import { MINIMUM_LIQUIDITY } from '@pegasys-fi/v3-sdk'
See minimum liquidity.
InsufficientReservesError
import { InsufficientReservesError } from '@pegasys-fi/v3-sdk'
InsufficientInputAmountError
import { InsufficientInputAmountError } from '@pegasys-fi/v3-sdk'
WETH
import { WETH } from '@pegasys-fi/v3-sdk'
An object whose values are WETH Token instances, indexed by ChainId.