Arcadia

Create account and deposit on Arcadia

Base
Base
Defi · Lending · Yield

Ready to run on Base

Arcadia is an onchain account for liquidity providers on Base: a smart account its owner deposits tokens and liquidity positions into, that can borrow against what it holds and hand its positions to automation that rebalances and compounds them.

Every account is its own contract, deployed by Arcadia's Factory and owned through an NFT. A Spot account holds anything and borrows nothing. A Margin account is opened against one of Arcadia's lending pools, for USDC, WETH or cbBTC, and can borrow that pool's asset against the tokens and Uniswap or Slipstream positions it holds, valued by Arcadia's own oracles; when the value it would fetch in a liquidation falls below its debt, an auction sells it down. Lenders earn the interest those accounts pay by supplying the pools' senior tranches.

Leverage on a liquidity position is a balance between the fees a range earns and the debt that funds it. The debt accrues every second, the collateral moves with the price, and a range that drifts out of the money stops earning while it keeps owing.

Every step of an account is a step in a plug. Opening one, depositing a token or a position into it, withdrawing either, borrowing against it and repaying run when a condition is met, with the amounts each step reports flowing into the next. A Margin account's health is read from the account itself at the block the plug runs, so a condition on it is never a number from an earlier block. An account opened beside other steps belongs to the Plug account, so every later step on it composes the same way; an account the wallet owns is worked by the wallet's own transactions.

Debt repaid the moment a health factor dips. Collateral topped up from a swap in the same run. A borrow drawn and deposited into a range as soon as the rate makes the carry worth it, and unwound when it stops.

Arcadia already lets an account's positions run themselves. The owners who get the most from it make the account's balance sheet run itself too.

More plugs on Base

Borrow on Base · 7 plugs

How to create account and deposit on Arcadia

  • Opens an Arcadia Account, a smart account its owner deposits assets into and, for a Margin account, borrows against.

    Reach for it to open an account and deposit into it in the same run, coiling the account into the deposit, the borrow, or a stored record of the account.

  • Deposits a token into an Arcadia Account.

    Reach for it to fund an account, as collateral before a borrow or as the balance an asset manager works with, coiling the amount from a swap or a withdrawal earlier in the run.

  • Borrows a lending pool's asset against an Arcadia Margin account.

    Reach for it to draw leverage against deposited collateral, coiling the amount into a swap or a deposit, with the account's data read after it in the same run to require its health factor stays above a floor.

  • Deposits a liquidity position into an Arcadia Account.

    Reach for it to put a range to work as collateral, or under an account's automation, right after minting it in the same run.

  • Repays an Arcadia Margin account's debt to the lending pool it borrowed from.

    Reach for it to close or shrink a loan before withdrawing collateral, or to defend an account's health factor the moment its account data reads it below a floor, coiling the amount from a swap or a withdrawal earlier in the run.

  • Withdraws a token from an Arcadia Account to its owner.

    Reach for it to take profits or idle balances out of an account, or to free collateral once a debt is repaid, coiling the amount into a swap, a transfer or a deposit elsewhere.

  • Withdraws a liquidity position from an Arcadia Account to its owner.

    Reach for it to take a range out of an account to close, move or manage it directly, composing the manager's own decrease and collect after it.