IonInvariants
This contract will be deployed on mainnet and be used to check the invariants of the Ion system offchain every block.
State Variables
lens
Functions
constructor
Invariant1
Liquidity in pool + debt to pool >= total supply.
Invariant2
[Sum of all (ilk total normalized debt * ilk rate)] + unbacked debt >= debt to pool.
Invariant3
Invariant1 accrued
Invariant4
Invariant2 accrued