VaultAPI
Functions
apiVersion
function apiVersion(
) external returns (string)
withdraw
function withdraw(
) external returns (uint256)
token
function token(
) external returns (address)
strategies
function strategies(
) external returns (struct StrategyParams)
creditAvailable
function creditAvailable(
) external returns (uint256)
View how much the Vault would increase this Strategy's borrow limit, based on its present performance (since its last report). Can be used to determine expectedReturn in your Strategy.
debtOutstanding
function debtOutstanding(
) external returns (uint256)
View how much the Vault would like to pull back from the Strategy, based on its present performance (since its last report). Can be used to determine expectedReturn in your Strategy.
expectedReturn
function expectedReturn(
) external returns (uint256)
View how much the Vault expect this Strategy to return at the current block, based on its present performance (since its last report). Can be used to determine expectedReturn in your Strategy.