Strategy that deploys Base Token to earn yield denominated in Base Token.
owner() can call emergency functions and setters, only controller
can call deposit/withdraw.
amount Base Token into the strategy.
Assumes the StrategyController has given infinite spend approval to the strategy.
|amount||Amount of Base Token to deposit|
amount Base Token from the strategy to
This withdrawal is optimistic, returned amount might be less than the amount specified.
|recipient||Address to receive the Base Token|
|amount||Amount of Base Token to withdraw|
) external returns (uint256)
Returns the Base Token balance of this contract and the estimated value of deployed assets.
) external returns (contract IStrategyController)
Returns the Strategy Controller that intermediates interactions between a vault and this strategy.
Functions with the
onlyController modifier can only be called by
this Strategy Controller.
) external returns (contract IERC20)
The ERC20 asset that this strategy utilizes to earn yield and return profits with.