Expand description
Module containing a contract’s types and functions.
interface IERC4626 {
function asset() external view returns (address assetTokenAddress);
function totalAssets() external view returns (uint256 totalManagedAssets);
function convertToShares(uint256 assets) external view returns (uint256 shares);
function convertToAssets(uint256 shares) external view returns (uint256 assets);
function maxDeposit(address receiver) external view returns (uint256 maxAssets);
function previewDeposit(uint256 assets) external view returns (uint256 shares);
function deposit(uint256 assets, address receiver) external returns (uint256 shares);
function maxMint(address receiver) external view returns (uint256 maxShares);
function previewMint(uint256 shares) external view returns (uint256 assets);
function mint(uint256 shares, address receiver) external returns (uint256 assets);
function maxWithdraw(address owner) external view returns (uint256 maxAssets);
function previewWithdraw(uint256 assets) external view returns (uint256 shares);
function withdraw(uint256 assets, address receiver, address owner) external returns (uint256 shares);
function maxRedeem(address owner) external view returns (uint256 maxShares);
function previewRedeem(uint256 shares) external view returns (uint256 assets);
function redeem(uint256 shares, address receiver, address owner) external returns (uint256 assets);
function name() external view returns (string);
function symbol() external view returns (string);
function decimals() external view returns (uint8);
function totalSupply() external view returns (uint256 shares);
function balanceOf(address owner) external view returns (uint256 shares);
function allowance(address owner, address spender) external view returns (uint256 shares);
}Structs§
- IERC4626
Instance - A
IERC4626instance. - allowance
Call - Function with signature
allowance(address,address)and selector0xdd62ed3e. - allowance
Return - Container type for the return parameters of the
allowance(address,address)function. - asset
Call - Function with signature
asset()and selector0x38d52e0f. - asset
Return - Container type for the return parameters of the
asset()function. - balance
OfCall - Function with signature
balanceOf(address)and selector0x70a08231. - balance
OfReturn - Container type for the return parameters of the
balanceOf(address)function. - convert
ToAssets Call - Function with signature
convertToAssets(uint256)and selector0x07a2d13a. - convert
ToAssets Return - Container type for the return parameters of the
convertToAssets(uint256)function. - convert
ToShares Call - Function with signature
convertToShares(uint256)and selector0xc6e6f592. - convert
ToShares Return - Container type for the return parameters of the
convertToShares(uint256)function. - decimals
Call - Function with signature
decimals()and selector0x313ce567. - decimals
Return - Container type for the return parameters of the
decimals()function. - deposit
Call - Function with signature
deposit(uint256,address)and selector0x6e553f65. - deposit
Return - Container type for the return parameters of the
deposit(uint256,address)function. - maxDeposit
Call - Function with signature
maxDeposit(address)and selector0x402d267d. - maxDeposit
Return - Container type for the return parameters of the
maxDeposit(address)function. - maxMint
Call - Function with signature
maxMint(address)and selector0xc63d75b6. - maxMint
Return - Container type for the return parameters of the
maxMint(address)function. - maxRedeem
Call - Function with signature
maxRedeem(address)and selector0xd905777e. - maxRedeem
Return - Container type for the return parameters of the
maxRedeem(address)function. - maxWithdraw
Call - Function with signature
maxWithdraw(address)and selector0xce96cb77. - maxWithdraw
Return - Container type for the return parameters of the
maxWithdraw(address)function. - mint
Call - Function with signature
mint(uint256,address)and selector0x94bf804d. - mint
Return - Container type for the return parameters of the
mint(uint256,address)function. - name
Call - Function with signature
name()and selector0x06fdde03. - name
Return - Container type for the return parameters of the
name()function. - preview
Deposit Call - Function with signature
previewDeposit(uint256)and selector0xef8b30f7. - preview
Deposit Return - Container type for the return parameters of the
previewDeposit(uint256)function. - preview
Mint Call - Function with signature
previewMint(uint256)and selector0xb3d7f6b9. - preview
Mint Return - Container type for the return parameters of the
previewMint(uint256)function. - preview
Redeem Call - Function with signature
previewRedeem(uint256)and selector0x4cdad506. - preview
Redeem Return - Container type for the return parameters of the
previewRedeem(uint256)function. - preview
Withdraw Call - Function with signature
previewWithdraw(uint256)and selector0x0a28a477. - preview
Withdraw Return - Container type for the return parameters of the
previewWithdraw(uint256)function. - redeem
Call - Function with signature
redeem(uint256,address,address)and selector0xba087652. - redeem
Return - Container type for the return parameters of the
redeem(uint256,address,address)function. - symbol
Call - Function with signature
symbol()and selector0x95d89b41. - symbol
Return - Container type for the return parameters of the
symbol()function. - total
Assets Call - Function with signature
totalAssets()and selector0x01e1d114. - total
Assets Return - Container type for the return parameters of the
totalAssets()function. - total
Supply Call - Function with signature
totalSupply()and selector0x18160ddd. - total
Supply Return - Container type for the return parameters of the
totalSupply()function. - withdraw
Call - Function with signature
withdraw(uint256,address,address)and selector0xb460af94. - withdraw
Return - Container type for the return parameters of the
withdraw(uint256,address,address)function.
Enums§
- IERC4626
Calls - Container for all the
IERC4626function calls.