IClearingHouseConfig
Functions
getMaxMarketsPerAccount
function getMaxMarketsPerAccount(
) external returns (uint8 maxMarketsPerAccount)Return Values:
maxMarketsPerAccount
uint8
Max value of total markets per account
getImRatio
function getImRatio(
) external returns (uint24 imRatio)Return Values:
imRatio
uint24
Initial margin ratio
getMmRatio
function getMmRatio(
) external returns (uint24 mmRatio)Return Values:
mmRatio
uint24
Maintenance margin requirement ratio
getLiquidationPenaltyRatio
Return Values:
liquidationPenaltyRatio
uint24
Liquidation penalty ratio
getPartialCloseRatio
Return Values:
partialCloseRatio
uint24
Partial close ratio
getTwapInterval
Return Values:
twapInterval
uint32
TwapInterval for funding and prices (market & index) calculations
getSettlementTokenBalanceCap
Return Values:
settlementTokenBalanceCap
uint256
Max value of settlement token balance
getMaxFundingRate
Return Values:
maxFundingRate
uint24
Max value of funding rate
getMarkPriceConfig
Return Values:
marketTwapInterval
uint32
MarketTwapInterval is the interval of market twap used for mark price calculations
premiumInterval
uint32
PremiumInterval is the interval of premium used for mark price calculations
Last updated
Was this helpful?