What it offers
- stakeSwETH: Deposit ETH for swETH (liquid staking)
- stakeRswETH: Deposit ETH for rswETH (liquid restaking)
Notes
- Both tokens are non-rebasing (value accrues)
- swETH = standard liquid staking. rswETH = liquid restaking via EigenLayer
- Both deposit() functions are payable - send ETH as msg.value
Its names in a program
On Ethereum,Swell is a namespace: its contracts need no import.
Deployments
ABI
RswETHABI
import RswETHABI from "./protocols/swell/RswETHABI.json"; Speaks for: rswETH.
deposit() payablerswETHToETHRate() view returns (uint256)balanceOf(address account) view returns (uint256)
SwETHABI
import SwETHABI from "./protocols/swell/SwETHABI.json"; Speaks for: swETH.
deposit() payableswETHToETHRate() view returns (uint256)balanceOf(address account) view returns (uint256)
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.
