IClearingHouseConfig
Functions
getMaxMarketsPerAccount
Return Values:
Name | Type | Description |
---|---|---|
| uint8 | Max value of total markets per account |
getImRatio
Return Values:
Name | Type | Description |
---|---|---|
| uint24 | Initial margin ratio |
getMmRatio
Return Values:
Name | Type | Description |
---|---|---|
| uint24 | Maintenance margin requirement ratio |
getLiquidationPenaltyRatio
Return Values:
Name | Type | Description |
---|---|---|
| uint24 | Liquidation penalty ratio |
getPartialCloseRatio
Return Values:
Name | Type | Description |
---|---|---|
| uint24 | Partial close ratio |
getTwapInterval
Return Values:
Name | Type | Description |
---|---|---|
| uint32 | TwapInterval for funding and prices (market & index) calculations |
getSettlementTokenBalanceCap
Return Values:
Name | Type | Description |
---|---|---|
| uint256 | Max value of settlement token balance |
getMaxFundingRate
Return Values:
Name | Type | Description |
---|---|---|
| uint24 | Max value of funding rate |
getMarkPriceConfig
Return Values:
Name | Type | Description |
---|---|---|
| uint32 | MarketTwapInterval is the interval of market twap used for mark price calculations |
| uint32 | PremiumInterval is the interval of premium used for mark price calculations |
Last updated