Other Exports

JSBI

import { JSBI } from 'vexchange-sdk'
// import JSBI from 'jsbi'

The default export from jsbi.

BigintIsh

import { BigintIsh } from 'vexchange-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 'vexchange-sdk'
// enum ChainId {
// TESTNET = 0x27
// MAINNET = 0x4a,
// }

A enum denominating supported chain IDs.

TradeType

import { TradeType } from 'vexchange-sdk'
// enum TradeType {
// EXACT_INPUT,
// EXACT_OUTPUT
// }

A enum denominating supported trade types.

Rounding

import { Rounding } from 'vexchange-sdk'
// enum Rounding {
// ROUND_DOWN,
// ROUND_HALF_UP,
// ROUND_UP
// }

A enum denominating supported rounding options.

FACTORY_ADDRESS

import { FACTORY_ADDRESS } from 'vexchange-sdk'

The factory address.

INIT_CODE_HASH

import { INIT_CODE_HASH } from 'vexchange-sdk'

See Pair Addresses.

MINIMUM_LIQUIDITY

import { MINIMUM_LIQUIDITY } from 'vexchange-sdk'

See Minimum Liquidity.

InsufficientReservesError

import { InsufficientReservesError } from 'vexchange-sdk'

InsufficientInputAmountError

import { InsufficientInputAmountError } from 'vexchange-sdk'

WVET

import { WVET } from 'vexchange-sdk'

An object whose values are WVET Token instances, indexed by ChainId.