Skip to content

v3.0.3

Compare
Choose a tag to compare
@Schlagonia Schlagonia released this 24 Sep 22:18
6e12ce0

CHANGES:

  • Add an optional maxLoss variable to the maxRedeem and maxWithdraw functions to match the multi strategy vault abi .
  • Change the domain separator to use "Yearn vault" instead of strategies name to match multi strategy and since name can be updated.

FEATURES:

  • Allow the strategy name to be updated post deployment.
  • Allow for max uint256 to be passed on deposits, will pull the full user balance.

FIXES:

  • Don't cache initial chain ID or initial domain separator since they can not be immutables.