

Reads onchain state
Reads the LTV, liquidation threshold, and liquidation bonus of a Spark E-Mode category. E-Mode groups correlated assets and lets a position borrow at tighter risk parameters than the reserves' defaults. The three figures come back in basis points, straight from the pool's category configuration. Reach for it before setting your E-Mode to compare category terms against the standard LTV and decide whether opting in is worth it, or to feed the E-Mode liquidation threshold into a health-factor calculation that sizes a borrow at a chosen safety margin.
Plug lets you combine onchain actions like this one into a single transaction, without writing a smart contract. Use in App opens a new plug with this action already in it.
More on Spark · 25


























On other protocols · 1