Trading assets, not used for actual transaction payment, together with the pool assets constitute a trading pair
poolToken
address
Pool assets, that is, the assets that traders actually use to pay for tradings
fee
uint24
This fee is the fee in the uniswap v3 pool, which uniquely determines a uniswap price feed source together with the trading pair. When this parameter is 0, a pool is built based on uniswap v2
reverse
bool
Whether it is reversed or not, it is used to identify whether the price of this trading pool is reversed
name
type
description
tradeToken
address
Trading assets, not used for actual transaction payment, together with the pool assets constitute a trading pair
poolToken
address
Pool assets, that is, the assets that traders actually use to pay for tradings
reverse
bool
Whether it is reversed or not, it is used to identify whether the price of this trading pool is reversed
name
type
description
tradeToken
address
Trading assets, not used for actual transaction payment, together with the pool assets constitute a trading pair
poolToken
address
Pool assets, that is, the assets that traders actually use to pay for tradings
fee
uint24
This fee is the fee in the uniswap v3 pool, which uniquely determines a uniswap price feed source together with the trading pair. When this parameter is 0, a pool is built based on uniswap v2
reverse
bool
Whether it is reversed or not, it is used to identify whether the price of this trading pool is reversed
user
address
Address of user
name
type
description
tradeToken
address
Trading assets, not used for actual transaction payment, together with the pool assets constitute a trading pair
poolToken
address
Pool assets, that is, the assets that traders actually use to pay for tradings
reverse
bool
Whether it is reversed or not, it is used to identify whether the price of this trading pool is reversed
user
address
Address of user
name
type
description
tradeToken
address
Trading assets, not used for actual transaction payment, together with the pool assets constitute a trading pair
poolToken
address
Pool assets, that is, the assets that traders actually use to pay for tradings
fee
uint24
This fee is the fee in the uniswap v3 pool, which uniquely determines a uniswap price feed source together with the trading pair. When this parameter is 0, a pool is built based on uniswap v2
reverse
bool
Whether it is reversed or not, it is used to identify whether the price of this trading pool is reversed
name
type
description
tradeToken
address
Trading assets, not used for actual transaction payment, together with the pool assets constitute a trading pair
poolToken
address
Pool assets, that is, the assets that traders actually use to pay for tradings
reverse
bool
Whether it is reversed or not, it is used to identify whether the price of this trading pool is reversed
name
type
description
tradeToken
address
Trading assets, not used for actual transaction payment, together with the pool assets constitute a trading pair
poolToken
address
Pool assets, that is, the assets that traders actually use to pay for tradings
fee
uint24
This fee is the fee in the uniswap v3 pool, which uniquely determines a uniswap price feed source together with the trading pair. When this parameter is 0, a pool is built based on uniswap v2
reverse
bool
Whether it is reversed or not, it is used to identify whether the price of this trading pool is reversed
amount
uint256
Amount of added liquidity (measured in pool tokens)
name
type
description
tradeToken
address
Trading assets, not used for actual transaction payment, together with the pool assets constitute a trading pair
poolToken
address
Pool assets, that is, the assets that traders actually use to pay for tradings
reverse
bool
Whether it is reversed or not, it is used to identify whether the price of this trading pool is reversed
amount
uint256
Amount of added liquidity (measured in pool tokens)
name
type
description
tradeToken
address
Trading assets, not used for actual transaction payment, together with the pool assets constitute a trading pair
poolToken
address
Pool assets, that is, the assets that traders actually use to pay for tradings
fee
uint24
This fee is the fee in the uniswap v3 pool, which uniquely determines a uniswap price feed source together with the trading pair. When this parameter is 0, a pool is built based on uniswap v2
reverse
bool
Whether it is reversed or not, it is used to identify whether the price of this trading pool is reversed
lsAmount
uint256
Amount of removed liquidity (measured in ls tokens)
bondsAmount
uint256
The amount of bond tokens used to offset debt when removing liquidity
receipt
address
Receiver address after removing liquidity
name
type
description
tradeToken
address
Trading assets, not used for actual transaction payment, together with the pool assets constitute a trading pair
poolToken
address
Pool assets, that is, the assets that traders actually use to pay for tradings
reverse
bool
Whether it is reversed or not, it is used to identify whether the price of this trading pool is reversed
lsAmount
uint256
Amount of removed liquidity (measured in ls tokens)
bondsAmount
uint256
The amount of bond tokens used to offset debt when removing liquidity
receipt
address
Receiver address after removing liquidity
name
type
description
tradeToken
address
Trading assets, not used for actual transaction payment, together with the pool assets constitute a trading pair
poolToken
address
Pool assets, that is, the assets that traders actually use to pay for tradings
fee
uint24
This fee is the fee in the uniswap v3 pool, which uniquely determines a uniswap price feed source together with the trading pair. When this parameter is 0, a pool is built based on uniswap v2
reverse
bool
Whether it is reversed or not, it is used to identify whether the price of this trading pool is reversed
direction
uint8
Trading direction,1: buy long,2: buy short
leverage
uint16
Leverage
position
uint256
Initial margin size of position
name
type
description
tradeToken
address
Trading assets, not used for actual transaction payment, together with the pool assets constitute a trading pair
poolToken
address
Pool assets, that is, the assets that traders actually use to pay for tradings
reverse
bool
Whether it is reversed or not, it is used to identify whether the price of this trading pool is reversed
direction
uint8
Trading direction,1: buy long,2: buy short
leverage
uint16
Leverage
position
uint256
Initial margin size of position
name
type
description
tokenId
uint32
Used to map this position to a router
margin
uint256
Amount of margin added
name
type
description
tokenId
uint32
Used to map this position to a router
receipt
address
Address of token receiver
name
type
description
tokenId
uint32
Used to map this position to a router
receipt
address
Address of token receiver
name
type
description
poolAddress
address
Address of pool
positionId
uint32
Position ID
receipt
address
Address of token receiver
name
type
description
poolToken
address
Token address to be withdrawed
name
type
description
tradeToken
address
Trading assets, not used for actual transaction payment, together with the pool assets constitute a trading pair
poolToken
address
Pool assets, that is, the assets that traders actually use to pay for tradings
fee
uint24
This fee is the fee in the uniswap v3 pool, which uniquely determines a uniswap price feed source together with the trading pair. When this parameter is 0, a pool is built based on uniswap v2
reverse
bool
Whether it is reversed or not, it is used to identify whether the price of this trading pool is reversed
amount
uint256
Amount of repaid token
receipt
address
Address of token receiver
name
type
description
tradeToken
address
Trading assets, not used for actual transaction payment, together with the pool assets constitute a trading pair
poolToken
address
Pool assets, that is, the assets that traders actually use to pay for tradings
reverse
bool
Whether it is reversed or not, it is used to identify whether the price of this trading pool is reversed