A helper library for Stader-related conversions.
Returns the amount of ETH needed to mint the given amount of ETHx.
Parameters
Name | Type | Description |
---|---|---|
Returns the amount of ETHx that can be minted with the given amount of ETH.
Parameters
Deposits ETH into the stader deposit contract and returns the amount of ETHx received.
Parameters
Deposits ETH into the stader deposit contract and returns the amount of ETHx received. This function parameterizes the address to receive the ETHx.
Parameters
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
staderDeposit
IStaderStakePoolsManager
address.
lstAmount
uint256
Desired output amount. [WAD]
staderDeposit
IStaderStakePoolsManager
address.
ethAmount
uint256
Amount of ETH to deposit. [WAD]
staderDeposit
IStaderStakePoolsManager
address.
ethAmount
uint256
Amount of ETH to deposit. [WAD]
staderDeposit
IStaderStakePoolsManager
address.
ethAmount
uint256
Amount of ETH to deposit. [WAD]
receiver
address
to receive the ETHx.