Expand description
Module containing a contract’s types and functions.
interface IStEth {
event TransferShares(address indexed from, address indexed to, uint256 sharesValue);
event SharesBurnt(address indexed account, uint256 preRebaseTokenAmount, uint256 postRebaseTokenAmount, uint256 sharesAmount);
function totalSupply() external view returns (uint256);
function getTotalPooledEther() external view returns (uint256);
function balanceOf(address _account) external view returns (uint256);
function getTotalShares() external view returns (uint256);
function sharesOf(address _account) external view returns (uint256);
function getSharesByPooledEth(uint256 _ethAmount) public view returns (uint256);
function getPooledEthByShares(uint256 _sharesAmount) public view returns (uint256);
function submit(address _referral) external payable returns (uint256);
function transferShares(address _recipient, uint256 _sharesAmount) external returns (uint256);
function transferSharesFrom(address _sender, address _recipient, uint256 _sharesAmount) external returns (uint256);
}
Structs§
- Event with signature
SharesBurnt(address,uint256,uint256,uint256)
and selector0x8b2a1e1ad5e0578c3dd82494156e985dade827a87c573b5c1c7716a32162ad64
. - Event with signature
TransferShares(address,address,uint256)
and selector0x9d9c909296d9c674451c0c24f02cb64981eb3b727f99865939192f880a755dcb
. - Function with signature
balanceOf(address)
and selector0x70a08231
. - Container type for the return parameters of the
balanceOf(address)
function. - Function with signature
getPooledEthByShares(uint256)
and selector0x7a28fb88
. - Container type for the return parameters of the
getPooledEthByShares(uint256)
function. - Function with signature
getSharesByPooledEth(uint256)
and selector0x19208451
. - Container type for the return parameters of the
getSharesByPooledEth(uint256)
function. - Function with signature
getTotalPooledEther()
and selector0x37cfdaca
. - Container type for the return parameters of the
getTotalPooledEther()
function. - Function with signature
getTotalShares()
and selector0xd5002f2e
. - Container type for the return parameters of the
getTotalShares()
function. - Function with signature
sharesOf(address)
and selector0xf5eb42dc
. - Container type for the return parameters of the
sharesOf(address)
function. - Function with signature
submit(address)
and selector0xa1903eab
. - Container type for the return parameters of the
submit(address)
function. - Function with signature
totalSupply()
and selector0x18160ddd
. - Container type for the return parameters of the
totalSupply()
function. - Function with signature
transferShares(address,uint256)
and selector0x8fcb4e5b
. - Function with signature
transferSharesFrom(address,address,uint256)
and selector0x6d780459
. - Container type for the return parameters of the
transferSharesFrom(address,address,uint256)
function. - Container type for the return parameters of the
transferShares(address,uint256)
function.