IYearnVaultV2

Git Source

Functions

token

function token() external view returns (address);

deposit

function deposit(uint256 amount, address recipient) external returns (uint256 shares);

deposit

function deposit(uint256 amount) external returns (uint256 shares);

withdraw

function withdraw(uint256 shares, address recipient) external returns (uint256 amount);

pricePerShare

function pricePerShare() external view returns (uint256);

totalSupply

function totalSupply() external view returns (uint256);

totalAssets

function totalAssets() external view returns (uint256);

lastReport

function lastReport() external view returns (uint256);

lockedProfitDegradation

function lockedProfitDegradation() external view returns (uint256);

lockedProfit

function lockedProfit() external view returns (uint256);