SuperStaker
  • What is SuperStaker?
  • BASICS
    • Lido Staked Ether
    • stETH on Aave
    • WETH Debt on Aave
    • Risk
    • Recursive Leverage?
  • How It Works
    • Stake with Lido
    • Aave Flash Loan
    • Zero TVL
  • Developers
    • Deployed Contract
    • Roadmap
    • Source Code
    • Subgraph
  • SuperStaker App
  • Twitter
  • Discord
Powered by GitBook
On this page
  • Recursive Leverage Simulation
  • Flash Loan
  • Stake ETH with Lido
  • Deposit stETH with Aave
  • SuperStaker works on your Behalf
  1. How It Works

Aave Flash Loan

PreviousStake with LidoNextZero TVL

Last updated 2 years ago

Recursive Leverage Simulation

Rather than recursively leveraging by incrementally borrowing, staking, and depositing, the magic of SuperStaker simulates 15 levels of recursive leverage, and calculates the final amount of deposited stETH and WETH debt. This simulation happens in your browser, before any transactions are sent. Once the final loan amount is calculated, an Aave Flash Loan is trigger for the full amount.

Flash Loan

What is a flash loan? A flash loan is a loan that is usually repaid within the same transaction, and thus no collateral is required. Some types of flash loans -- as used by SuperStaker -- are not repaid at the end of the transaction, but rather incur debt as long as sufficient collateral is supplied before the end of the same transaction.

Stake ETH with Lido

Once the requested WETH loan has been provided to SuperStaker, the WETH is unwrapped to native ETH. This ETH is then added to the ETH you sent initially and the combined amount is staked via LIDO, returning 1 stETH for each ETH staked.

Deposit stETH with Aave

The final step is to deposit the stETH as collateral on Aave against the debt triggered by the flash loan.

SuperStaker works on your Behalf

The above steps are taken on your behalf, and you can then go the Aave Dashboard and see both the supplied stETH and borrowed WETH. The SuperStaker contract is designed to have Zero TVL.

Zero TVL