Leverage

One transaction instead of a dozen rounds.

Building a leveraged position by hand means supply, borrow, swap, supply again — repeated until you reach your target, paying gas and slippage each round. This does it once, atomically, with a health floor the contract enforces.

Read this first. Leverage is the fastest route to the liquidation that the rest of this desk exists to help you avoid. A 5× position is liquidated by a 20% move against you; the same move is survivable unlevered.

We publish this tool because people build these positions either way, and doing it in one atomic step with an enforced health floor is safer than looping by hand and mis-estimating the last round. It is not a recommendation to use leverage.

What the contract guarantees

A minimum health factor after the operation. You set it. If the position would end weaker than that, the transaction reverts and nothing has moved except gas. Looping by hand has no such check — the last round is where people overshoot.

A slippage bound on the purchase. The borrowed debt is swapped into collateral; you set the minimum you will accept out of that swap.

No custody, and no fee. The contract acts only for you, holds nothing between transactions, and charges nothing for this operation.

If the position moves against you

Use Close a position yourself before a liquidator does — that is the product this one makes more likely to be needed, and it is on the same contract.

Live on Ethereum and Base. Free to use.

See the API