

Reads onchain state
Reads an asset's isolation-mode debt ceiling in a Spark market and whether it is isolated. An isolated collateral can only back debt up to a ceiling Sky governance sets, denominated in USD with two decimals, and using it as collateral locks the position to isolation rules. isIsolated is true when the ceiling is non-zero. Reach for it before enabling an asset as collateral so a predicate can skip isolated assets when a strategy needs to borrow freely, or to compare the ceiling against isolation-mode debt from asset data and stop before the ceiling is hit.
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