Skip to main content
Archived documentation for @eco-incorp/sauce@1.0.0. Install this release with npm install --save-exact @eco-incorp/sauce@1.0.0. Links to guides outside this tab open current documentation.
Liquid staking and restaking protocol for Ethereum. Offers swETH for liquid staking and rswETH for liquid restaking via EigenLayer.

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() payable
  • rswETHToETHRate() view returns (uint256)
  • balanceOf(address account) view returns (uint256)

SwETHABI

import SwETHABI from "./protocols/swell/SwETHABI.json"; Speaks for: swETH.
  • deposit() payable
  • swETHToETHRate() view returns (uint256)
  • balanceOf(address account) view returns (uint256)

Next steps