Exchange
InternalReplaySwapParams
struct InternalReplaySwapParams(
address baseToken
bool isBaseToQuote
bool isExactInput
uint256 amount
uint160 sqrtPriceLimitX96
address trader
)InternalSwapResponse
struct InternalSwapResponse(
int256 base
int256 quote
int256 exchangedPositionSize
int256 exchangedPositionNotional
uint256 fee
uint256 insuranceFundFee
int24 tick
)InternalRealizePnlParams
Functions
initialize
setAccountBalance
Name
Type
Description
setMaxTickCrossedWithinBlock
Name
Type
Description
uniswapV3SwapCallback
Name
Type
Description
swap
Name
Type
Description
Name
Type
Description
settleFunding
Name
Type
Description
getOrderBook
Name
Type
Description
getAccountBalance
Name
Type
Description
getClearingHouseConfig
Name
Type
Description
getMaxTickCrossedWithinBlock
Name
Type
Description
Name
Type
Description
getPnlToBeRealized
Name
Type
Description
Name
Type
Description
getAllPendingFundingPayment
Name
Type
Description
isOverPriceSpread
Name
Type
Description
Name
Type
Description
getSqrtMarkTwapX96
Name
Type
Description
Name
Type
Description
getSqrtMarketTwapX96
Name
Type
Description
Name
Type
Description
getPendingFundingPayment
Name
Type
Description
Last updated