Skip to content

Releases: yieldprotocol/vault-v2

RC11 - Deployed to mainnet

20 Oct 08:46
Compare
Choose a tag to compare
  • tweak: use numerals as assetIds, and uppercase RATE and CHI
  • fix: return the baseAmount as quoteAmount in get wen baseId == quoteId
  • fix: witch dust
  • module: v1 liquidity burn
  • fix: check vault exists for give, tweak and destroy (ecca37b)
  • fix: return the remainder after repayFrom*
  • fix: return assets in ladle if no debt was repaid

RC10 - Submitted to Trail of Bits

14 Sep 05:45
819a713
Compare
Choose a tag to compare
  • Fix level in Cauldron, where the reverse spot price was being pulled
  • Manage decimals properly in compound-related oracles.
  • Set reverse paths in composite oracle automatically
  • Fix oracle pragmas
  • If the amount to redeem is 0, the fyToken contract redeems its own balance, as with uniswap v2.
  • Implemented a closeFromLadle function
  • Stop managing oracle sources in Wand
  • cToken oracle overhaul
  • chainlink oracles overhaul
  • use point as reorchestration function
  • fix witch payAll bug
  • rename cauldron.rateOracles as cauldron.lendingOracles
  • don't charge the borrowing fee if base == ilk
  • require that the ilk has been set in the witch before making such ilk in the wand

RC9

19 Aug 03:35
a6b170f
Compare
Choose a tag to compare
RC9
  • Fix ladle.build infinite loop
  • Ladle.router refactor
  • Reorganize math and cast libraries
  • Set reverse paths in composite oracle automatically
  • C4 fixes, mostly managing decimals properly in compound-related oracles.

Submitted to Code Arena

19 Aug 03:04
a6b170f
Compare
Choose a tag to compare
Merge pull request #256 from yieldprotocol/revert/transfer-to-module

revert: transferToModule

RC8

10 Aug 18:16
42aefe8
Compare
Choose a tag to compare
RC8
  • Use a factory to deploy FYToken
  • Control access to contract factories to avoid DoS attacks
  • Parameterize liquidations per collateral
  • Remove Witch's dependency on Ladle
  • Composite oracles
  • ENS multicall
  • Cache only vaultId via storage
  • cToken oracles
  • Wand can be re-orchestrated
  • Transfer asset to module

RC7

15 Jul 05:38
Compare
Choose a tag to compare
RC7

Release with the fixes to the C4 audit

  • Check seriesId, ilkId, and vaultId can't be zero
  • Random vault ids
  • Block stir to the same address
  • Replace public auth with external auth
  • Make JoinFactory use CREATE and wand.addAsset deploys the Join
  • Only receive Ether from WETH
  • PoolRouter.batch returns the return values of the batch actions
  • Check for function signature collisions in CI

Full list

Code Arena

12 Jul 11:25
c2c5334
Compare
Choose a tag to compare

Version sent to Code Arena

RC6

26 May 08:37
998fe17
Compare
Choose a tag to compare
RC6
  • fix: give permission to the fyToken to transfer base from the join
  • fix: fyToken burn behaviour
  • Weth is now an immutable variable of Ladle
  • Symmetrical source set
  • Get chainlink inverse price
  • Use AccessControl for MultiOracles
  • Implement dust limits
  • Flash loan size to debt size as a parameter in roll
  • fix: borrowing fees when rolling are applied with the new maturity
  • remove and repay, remove and redeem
  • BUSL license

RC5

21 May 09:32
Compare
Choose a tag to compare
RC5
  • Better README
  • Return vaults after liquidation
  • Support for Chainlink oracles with 18 decimals
  • Guard against Chainlink stale data
  • Uniswap v3 spot oracles
  • Remove liquidity and repay debt
  • Casting and empty data fixes in MultiOracles
  • Updated yieldspace interfaces to 2.0.14 (baseToken -> base)
  • Wand as governance bundler

RC4

05 May 09:04
Compare
Choose a tag to compare
RC4

NPM: 0.4.1

Changes with possible fronted impact:

  • MultiOracles
  • pool functions in ladleWrapper
  • fix: merge stirTo and stirFrom

Other changes:

  • Borrowing fees.
  • Fix: zero ids are no longer allowed
  • vault[vaultId].owner == address(0) is no longer used
  • Make roll change protocol debt and user balances through _pour
  • settable chi oracle
  • upgraded AccessControl.sol to have revokeRoles()
  • settable auction protection interval and initial collateral proportion at auction
  • removed msg.sender from cauldron.grab
  • NFT-ready oracle use