Skip to main content

Enum Types

ChainId#

Ethereum chain supported by the wrapper

enum ChainId {
MAINNET
ROPSTEN
RINKEBY
GOERLI
KOVAN
OPTIMISM
OPTIMISTIC_KOVAN
ARBITRUM_ONE
ARBITRUM_RINKEBY
POLYGON
POLYGON_MUMBAI
}

FeeAmount#

Pool swap fee amount

enum FeeAmount {
LOWEST
LOW
MEDIUM
HIGH
}

PermitV#

Valid v value of Permit

enum PermitV {
v_0
v_1
v_27
v_28
}

TradeType#

Type of trade, either exact input or exact output

enum TradeType {
EXACT_INPUT
EXACT_OUTPUT
}