Learn
Rocket Pool

Rocket Pool

https://rocketpool.net/ (opens in a new tab)

Deployments

NameAddress
DepositPool0xDD3f50F8A6CafbE9b31a427582963f465E745AF8 (opens in a new tab)
rETH0xae78736Cd615f374D3085123A210448E74Fc6393 (opens in a new tab)
SwapRouter0x16D5A408e807db8eF7c578279BEeEe6b228f1c1C (opens in a new tab)

Action: deposit

Parameters

N/A.

rETH · approve (spender: SwapRouter)

Approve SwapRouter to spend rETH tokens on behalf of the avatar.

  • Contract: rETH

  • Function: approve(address,uint256)

    ParameterConstraint
    spenderequal to SwapRouter
    amount-

DepositPool · deposit

Deposit ETH and receive rETH.

  • Contract: DepositPool

  • Function: deposit() Ξ allow sending ETH

    ParameterConstraint
    N/AN/A

rETH · burn

Redeem rETH and receive ETH.

  • Contract: rETH

  • Function: burn(uint256)

    ParameterConstraint
    rethAmount-

SwapRouter · swapTo

When there is not enough rETH in the DepositPool in exchange for the ETH you are depositing, the SwapRouter swaps the ETH for rETH in secondary markets (Balancer and Uniswap).

  • Contract: SwapRouter

  • Function: swapTo(uint256,uint256,uint256,uint256) Ξ allow sending ETH

    ParameterConstraint
    uniswapPortion-
    balancerPortion-
    minTokensOut-
    idealTokensOut-

SwapRouter · swapFrom

When there is not enough ETH in the DepositPool in exchange for the rETH you are redeeming, the SwapRouter swaps the rETHfor ETH in secondary markets (Balancer and Uniswap).

  • Contract: SwapRouter

  • Function: swapFrom(uint256,uint256,uint256,uint256,uint256)

    ParameterConstraint
    uniswapPortion-
    balancerPortion-
    minTokensOut-
    idealTokensOut-
    tokensIn-