SavingsXDaiAdapter

Variables

interestReceiver

contract IBridgeInterestReceiver interestReceiver

sDAI

contract SavingsXDai sDAI

wxdai

contract IWXDAI wxdai

Modifiers

claim

modifier claim()

Functions

constructor

constructor(address interestReceiver_, address payable sDAI_) public

Set the underlying asset contract. This must be an ERC20-compatible contract (ERC20 or ERC777).

deposit

function deposit(uint256 assets, address receiver) public returns (uint256)

mint

function mint(uint256 shares, address receiver) public returns (uint256)

withdraw

function withdraw(uint256 assets, address receiver) public returns (uint256)

redeem

function redeem(uint256 shares, address receiver) public returns (uint256)

depositXDAI

function depositXDAI(address receiver) public payable returns (uint256)

withdrawXDAI

function withdrawXDAI(uint256 assets, address receiver) public payable returns (uint256)

redeemXDAI

function redeemXDAI(uint256 shares, address receiver) public payable returns (uint256)

redeemAll

function redeemAll(address receiver) public returns (uint256)

redeemAllXDAI

function redeemAllXDAI(address receiver) public payable returns (uint256)

vaultAPY

function vaultAPY() external view returns (uint256)

receive

receive() external payable

Last updated