What it offers
- deposit: Stake ETH to receive ETHx
Notes
- ETHx is non-rebasing (value accrues over time)
- deposit() is payable - send ETH as msg.value, pass receiver address
- Compatible with EigenLayer restaking (can deposit into stETH/ETHx strategies)
Its names in a program
On Ethereum,Stader is a namespace: its contracts need no import.
Deployments
ABI
ETHxABI
import ETHxABI from "./protocols/stader/ETHxABI.json"; Speaks for: ETHx.
balanceOf(address account) view returns (uint256)approve(address spender, uint256 amount) returns (bool)
StakePoolManagerABI
import StakePoolManagerABI from "./protocols/stader/StakePoolManagerABI.json"; Speaks for: stakePoolManager.
deposit(address _receiver) payable returns (uint256)getExchangeRate() 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.
