

Spark is Sky's lending market, the open credit line of the balance sheet that has backed DAI since 2019: deposit and it earns from the block it lands, post collateral and the market lends against it, and the stablecoin borrow rate is published by governance ahead of time rather than set by whoever panicked last.
It runs the same over-collateralized machinery that has held the rest of lending together for years, an Aave v3 lineage with public loan-to-values, published liquidation lines, and one oracle pricing everyone alike, and behind it sits something no fork can copy: a direct liquidity line from Sky itself, so the borrow side is fed by the balance sheet that mints the stablecoin rather than by depositors who can leave. Billions sit in it because the terms are mechanical and the depth is structural.
None of that predictability transfers to the person holding the position. The stablecoin rate is calm; the collateral is not. ETH still moves eight percent while you sleep, the health factor still decays one block at a time, the leverage loop is still a dozen transactions pretending to be one decision, and a governance vote can still reprice the borrow you sized last month. The market keeps its rules every block. You keep yours only while you are awake.
Every number Spark keeps about a position is a step in a plug: the price of each asset, the loan-to-value assigned to it, the liquidation line, the remaining borrow capacity, the health factor, and any one of them can decide what happens next. Supply, borrow, repay, withdraw, flash loans, collateral and E-Mode switches fire when a condition is met rather than when a person is awake.
Debt that pays itself down when the health factor touches the line you set. Collateral pulled in from an idle balance before the market can test the position. A loop opened, resized, or unwound in one atomic transaction. A stablecoin borrow that closes when governance moves the rate past your number.
The positions that compound quietly on Spark are already run by rule, and the gap between a managed position and a merely open one only shows itself at the worst possible hour.


Borrows an asset from a Spark market against collateral you have supplied.
Reach for it after a supply in the same transaction to build leverage, to fund a swap or deposit elsewhere with borrowed capital, or inside a flash loan block to convert a temporary loan into lasting debt. Pair it with account data so a predicate holds the resulting health factor above your floor.


Borrows an asset from a Spark market with no collateral, repaid inside this transaction.
Reach for it to refinance debt between markets without capital, to unwind a leveraged position by repaying before withdrawing collateral, or to fund an arbitrage across venues. Coil owed into a comparison so a predicate requires the balance covers it before the block closes.


Repays borrowed assets to a Spark market from the socket's balance.
Reach for it to close or reduce a borrow before withdrawing collateral, to bring the health factor back above a floor when a predicate finds it has slipped, or to settle the debt leg after a swap has produced the repayment asset earlier in the transaction.


Repays debt in a Spark market using the spTokens your supply minted instead of wallet funds.
The pool burns the spTokens and cancels the debt of whoever sends the call, and has no form that acts on another account's behalf, so the repay runs as a plug of its own that your wallet sends directly. Reach for it to deleverage a looped position in one step, or to close debt against a supply of the same asset without touching wallet balance, ahead of a withdraw that is then no longer constrained.


Enables or disables an asset you have supplied as collateral in a Spark market.
Spark's pool only ever changes the position of whoever sends the call, so the switch runs as a plug of its own that your wallet sends directly. Reach for it once a supply has landed so the deposit backs the borrows that follow, or to disable collateral on an asset you want kept out of liquidation reach once the debt it supported has been repaid.


Opts your position into a Spark E-Mode category, or leaves E-Mode with category zero.
Spark's pool only ever changes the position of whoever sends the call, so the category change runs as a plug of its own that your wallet sends directly. Reach for it ahead of borrowing correlated assets, such as stablecoins against stablecoins or LSTs against ETH, to unlock the higher LTV, reading the E-Mode config first so the strategy sizes the borrow against the parameters that will actually apply.


Supplies an asset to a Spark market, minting spTokens to the wallet.
Reach for it to earn yield on idle balance, to post collateral before a borrow, or as the second half of a loop where borrowed funds are swapped and supplied again in the same transaction. Follow it with the collateral status action when the deposit needs to back a borrow.


Withdraws a supplied asset from a Spark market back to the socket.
Reach for it to exit a lending position, to free collateral after a repay earlier in the transaction, or to pull funds that a following swap or deposit needs, coiling the withdrawn amount into the next step so the exact figure flows through.


















Posts · 2