Expand description
Module containing a contract’s types and functions.
interface IWStEth {
function getWstETHByStETH(uint256 stETHAmount) external view returns (uint256);
function getStETHByWstETH(uint256 wstETHAmount) external view returns (uint256);
function stEthPerToken() returns (uint256);
function tokensPerStEth() returns (uint256);
function wrap(uint256 stETHAmount) returns (uint256);
function unwrap(uint256 wstETHAmount) returns (uint256);
}
Structs§
- Function with signature
getStETHByWstETH(uint256)
and selector0xbb2952fc
. - Container type for the return parameters of the
getStETHByWstETH(uint256)
function. - Function with signature
getWstETHByStETH(uint256)
and selector0xb0e38900
. - Container type for the return parameters of the
getWstETHByStETH(uint256)
function. - Function with signature
stEthPerToken()
and selector0x035faf82
. - Container type for the return parameters of the
stEthPerToken()
function. - Function with signature
tokensPerStEth()
and selector0x9576a0c8
. - Container type for the return parameters of the
tokensPerStEth()
function. - Function with signature
unwrap(uint256)
and selector0xde0e9a3e
. - Container type for the return parameters of the
unwrap(uint256)
function. - Function with signature
wrap(uint256)
and selector0xea598cb0
. - Container type for the return parameters of the
wrap(uint256)
function.
Enums§
- Container for all the
IWStEth
function calls.