📚
INIT Capital Developer Docs
  • Overview
  • Core Contracts
  • Guides
    • Basic Interaction
      • Deposit and Withdraw
      • Create Position
      • Add and Remove Collateral
      • Borrow and Repay
      • Changing Position Mode
    • Advanced Interaction
      • Liquidate Position
      • Flashloan
      • Multicall
      • Callback
    • Liquidity Hook
      • Multicall with Callback
      • Money Market Hook
      • Looping Hook
      • Margin Trading Hook
  • Contract References
    • InitCore
    • PosManager
    • LendingPool
    • Config
    • RiskManager
    • InitOracle
    • LiqIncentiveCalculator
    • DoubleSlopeIRM
    • InitErrors
    • MoneyMarketHook
    • LoopingHook
    • MarginTradingHook
  • Contract Addresses
    • Blast
    • Mantle
Powered by GitBook
On this page
  • View Functions
  • maxLiqIncentiveMultiplier_e18
  • minLiqIncentiveMultiplier_e18
  • modeLiqIncentiveMultiplier_e18
  • tokenLiqIncentiveMultiplier_e18
  1. Contract References

LiqIncentiveCalculator

Liquidation Incentive Calculator contract.

View Functions

maxLiqIncentiveMultiplier_e18

Get maximum liquidation incentive multiplier with 10^18 precision. (1e18 = 100%)

This configuration is global and applies to all modes.

function maxLiqIncentiveMultiplier_e18() external returns (uint maxLiqIncentiveMultiplier_e18);

minLiqIncentiveMultiplier_e18

Get a mode's minimum liquidation incentive multiplier with 10^18 precision. (1e18 = 100%)

function minLiqIncentiveMultiplier_e18(uint16 _mode) external returns (uint minLiqIncentiveMultiplier_e18);

modeLiqIncentiveMultiplier_e18

Get a mode's liquidation incentive multiplier with 10^18 precision. (1e18 = 100%)

This should be used in conjunction with tokenLiqIncentiveMultiplier_e18.

function modeLiqIncentiveMultiplier_e18(uint16 _mode) external returns (uint modeLiqIncentiveMultiplier_e18);

tokenLiqIncentiveMultiplier_e18

Get a mode's token liquidation incentive multiplier with 10^18 precision. (1e18 = 100%)

This should be used in conjunction with modeLiqIncentiveMultiplier_e18.

function tokenLiqIncentiveMultiplier_e18(uint16 _mode) external returns (uint tokenLiqIncentiveMultiplier_e18);

PreviousInitOracleNextDoubleSlopeIRM

Last updated 1 year ago