Euler

Deposit on Euler

Ethereum
Ethereum
Base
Base
Lending · Defi

Ready to run on Base

Euler is a lending protocol built from vaults. Each vault holds one asset, lends it to borrowers, and is its own ERC-4626 share token, so a deposit is a share whose value only rises as borrowers pay interest. The vaults are linked by a connector that lets one vault accept another's shares as collateral, which makes every market a deliberate pairing rather than one shared pool.

That design puts the terms in plain view. A vault publishes which collateral vaults it accepts and at what loan-to-value, the oracle and unit of account it values them in, its supply and borrow caps, its interest rate model, and the fee it keeps. An account names its collateral and the one vault it borrows from, and that vault alone decides whether the account is healthy.

The flexibility is also the work. Rates move with utilization in every vault separately. A curator ramps a liquidation LTV down while the position sits. The borrow that was cheap at breakfast is not the borrow that is cheap at dinner, and the account that was healthy against one controller has to be re-reasoned before it moves to another.

Every number a vault keeps is a step in a plug: the share rate and total assets, the cash it can still lend, the interest it charges, an account's debt, and the collateral value its controller sees against that debt. Depositing, withdrawing, enabling collateral and a controller, borrowing and repaying run when a condition is met rather than when someone happens to be watching.

Debt repaid the moment the rate crosses a line. Collateral topped up before the controller's margin runs out, not after. A borrow moved to a cheaper vault the block the spread opens, controller released and re-enabled in order.

The accounts that do best in modular lending are the ones whose rules run themselves, and Euler's vaults expose every input those rules need.

More plugs on Base

Earn yield on Base · 12 plugs

How to deposit on Euler

  • Deposit

    Deposit on Euler

    Ethereum
    Ethereum
    Base
    Base

    Deposits an asset into an ERC-4626 vault and receives shares.

    Reach for it to put an asset to work in any standard vault, coiling the shares out into a following stake, transfer, or a stored record of the position size.

  • Borrow

    Borrow on Euler

    Ethereum
    Ethereum
    Base
    Base

    Borrows an asset from its Euler vault against the account's enabled collateral.

    Reach for it after enabling the vault as controller and a collateral vault as collateral, or to draw the asset a later swap or deposit needs, holding the account's liquidity above a floor with a read and a predicate.

  • Stops an Euler vault's shares counting as collateral for the sending account.

    Reach for it after repaying the debt a vault's shares backed, to keep that deposit out of liquidation's reach.

  • Releases the sending account from an Euler vault's control.

    Reach for it right after repaying a borrow in full, to close the position or to switch to borrowing from another vault.

  • Enables an Euler vault as collateral for the sending account.

    Reach for it right after a deposit so the new shares back the borrow that follows.

  • Enables an Euler vault as the sending account's controller, the vault it borrows from.

    Reach for it before the first borrow from a vault, alongside enabling the collateral the borrow rests on.

  • Mint

    Mint on Euler

    Ethereum
    Ethereum
    Base
    Base

    Mints an exact number of ERC-4626 vault shares, paying whatever asset the vault quotes.

    Reach for it when the share count is the target, such as matching a position to a round number or to another vault's share balance, and let the asset side float.

  • Redeem

    Redeem on Euler

    Ethereum
    Ethereum
    Base
    Base

    Redeems ERC-4626 vault shares for the underlying asset.

    Reach for it to exit a position by share count, coiling the assets received into a following swap, repay, or transfer so the exact proceeds flow through.

  • Repay

    Repay on Euler

    Ethereum
    Ethereum
    Base
    Base

    Repays the wallet's debt in an Euler vault from the socket's balance.

    Reach for it to clear debt before withdrawing collateral or releasing the vault as controller, to restore the account's health when a read says it is slipping, or to settle the borrow after an earlier swap has produced the asset.

  • Withdraw

    Withdraw on Euler

    Ethereum
    Ethereum
    Base
    Base

    Withdraws an asset amount from an ERC-4626 vault, burning whatever shares the vault quotes for it.

    Reach for it to take a set amount out of a vault, or to exit it entirely, coiling the proceeds into a following swap, repay, or transfer.

Posts · 2