Yearn Vaults Versions Save

Yearn Vault smart contracts

v0.3.2

3 years ago
  • Proxy Mode to BaseStrategy (#183)
  • Support for non-compliant ERC20s (USDT) (#186, #195)
  • fix vault debtRatio update on _reportLoss (#190)
  • management and Guardian should be able to harvest() a Strategy (#198)
  • Profit lock up that increases share price steadily over time (#167)
  • change "rate limit" feature to min/max harvest debt size params (#173)

v0.3.1

3 years ago
  • Updates for Audit (#154, #168)
  • Only charge mgmt fee on invested funds (#162)
  • Deploy script improvements (#166)
  • Add Metadata URI to BaseStrategy (#169)
  • Pull strategist rewards rather than push (#174)

v0.3.0

3 years ago
  • add TVL calculation api (#120)
  • standardize permit (#126)
  • check for strategy vault and want address matches on add (#127)
  • upgrade to Vyper 0.2.8 (#116)
  • add event logs for vault config updates (#131)
  • set correct access control for Vault.setEmergencyShutdown (#135)
  • incorporate manager entity in vault (#134)
  • migrateStrategy shouldn't reset activation time (#137)
  • consolidate BaseStrategy.exitPosition into BaseStrategy.liquidatePosition (#140)
  • set vault deposit limit to zero on initialization (#146)
  • use debt ratio vs. absolute debt limit (#141)
  • remove Vault.balanceSheetOfStrategy and Vault.totalBalanceSheet (#148)
  • protect against excessive losses on withdraw (#143)
  • audit fixes (#145)

v0.2.2

3 years ago
  • Upgrade Keeper Script (#92)
  • Natspec upgrades for BaseStrategy (#112)
  • Avoid transfer with distributeRewards if balance is 0 (#114)
  • Add Permit (#115)

v0.2.1

3 years ago
  • audit findings for Vault (#111)
  • store vault activation timestamp (#110)
  • audit findings for BaseStrategy (#107)
  • improve exitPosition logic (#100)
  • div by zero fix (#98)

v0.2.0

3 years ago
  • add sweep amount/ERC721 support (#58)
  • use deposit limit remaining when depositing all (#65)
  • separate strategist and reward roles in BaseStrategy (#68)
  • update performance and management fee defaults (#59)
  • add ability to report losses (#74)
  • add available deposit limit as view-only function (#79)
  • add guest list (#84)
  • move from block-based calculations to time-based (#81)
  • add Debt Payments to Vault.report() (#83)
  • add Rate Limit Disable (#94)

v0.1.3

3 years ago
  • add vault natspec (#56)
  • apply suggestions from code review

v0.1.2

3 years ago
  • add recipient support to deposit and withdraw functions
  • add "all assets" shortcut to deposit and withdraw functions
  • remove allowance == 0 check on approvals
  • add setName and setSymbol governance methods

v0.1.1

3 years ago
  • add ability to disable rate limiter
  • fix withdraw queue failures
  • add addStrategyToQueue
  • add Harvested event to BaseStrategy
  • remove withdrawal fee, add inflationary management fee

v0.1.0

3 years ago

Initial release