What it offers
- deposit: Stake ETH and receive rETH
- burn: Burn rETH to redeem ETH (subject to pool liquidity)
Notes
- LST with permissionless node operators
- rETH is non-rebasing: value increases over time relative to ETH
- deposit() is payable - send ETH as msg.value, no parameters needed
- burn() may fail if insufficient liquidity in the deposit pool
- Exchange rate only goes up (barring slashing events)
Its names in a program
On Ethereum,RocketPool is a namespace: its contracts need no import.
Deployments
ABI
RETHABI
import RETHABI from "./protocols/rocket-pool/RETHABI.json"; Speaks for: rETH.
getExchangeRate() view returns (uint256)getRethValue(uint256 _ethAmount) view returns (uint256)getEthValue(uint256 _rethAmount) view returns (uint256)burn(uint256 _rethAmount)balanceOf(address account) view returns (uint256)
RocketDepositPoolABI
import RocketDepositPoolABI from "./protocols/rocket-pool/RocketDepositPoolABI.json"; Speaks for: rocketDepositPool.
deposit() payable
Next steps
- Protocols: the other protocols, by what they do.
- Protocols and tokens: calling a contract by its namespace, or through its ABI.
- Glossary: the words these pages use, in plain terms.
