Common Types
#
BestTradeOptionsOptions used when determining the best trade in bestTradeExactIn(...) and bestTradeExactOut(...)
#
CurrencyDescribes a token
#
FeeOptionsFee configuration for encodeUnwrapWETH9(...) and encodeSweepToken(...)
#
FractionRepresents fraction, typically a percent.
#
MethodParametersTransaction calldata and an ether value to be sent with the transaction
#
MintAmountsThe minimum amounts that must be sent in order to mint the amount of liquidity held by the position at the current price for the pool
#
PermitOptionsParameters for a permit allowing the transfer of tokens. Either amount and deadline OR nonce and expiry are required.
#
PoolA liquidity pool involving two tokens which can be exchanged for a price determined by a price curve and market dynamics
#
PositionA liquidity position between two ticks in a pool
#
PriceRepresents price of a token in terms of another token. When used as a function argument, the 'price' property is ignored.
#
RouteAn ordered path of pools through which a swap can occur
#
SwapOptionsConfiguration for creating swap transaction calldata using swapCallParameters(...)
#
TickA pool tick marks a section of the price curve. A liquidity provider may hold a position on a tick, rather than the full curve.
#
TokenERC20-compliant token or Ether
#
TokenAmountAn amount of a token
#
TradeA trade contains the information necessary to create an on-chain exchange of tokens
#
TradeSwapA route, input, and output amount that compose the core elements of a trade