Skip to content

v10 RC2 ToB

Compare
Choose a tag to compare
@grandizzy grandizzy released this 13 Feb 11:21
· 242 commits to master since this release
ec79122
  • Code maintenance: (#565)
    improve tests coverage
    apply same style for all tests
    port contracts deployment to use forge scripts
    update CI pipeline
    update README with token limitations

  • Code maintenance: LP tokens naming refactor to LPs (#543)

  • Code maintenance: Gas improvements (#542)

  • Bug fix: (Pools) Take underflows when full pool debt repaid (#551)

  • Bug fix: (ERC721Pool) settle leaves pledged collateral accumulator inconsistent (#567)

  • Sherlock 162: (ERC721Pool) taker callback misreports quote funds whenever there was collateral amount rounding (#568)

  • Bug fix: (Pools) Flashloans for non 18 decimals tokens should use token precision instead pool precision (#569)

  • Sherlock 104: (ERC721Pool) Settled collateral of a borrower aren't available for lenders until borrower's debt is fully cleared (#570)

  • Sherlock 105: (ERC721Pool) mergeOrRemoveCollateral allows to remove collateral while auction is clearable (#571)

  • Sherlock 101: (Pools) Flashloan end result isn't controlled (#572)

  • Sherlock 183: RewardsManager doesn't delete old bucket snapshot info on unstaking (#573)

  • Sherlock 151: (RewardsManager) Permanent freezing of unclaimed yield (#574 #596)

  • Sherlock 134: (PositionManager) Transferring funds to yourself reset balance to 0 (#575 #597)

  • Sherlock 075: (Pools - change function signatures) If borrower or kicker got blacklisted by asset contract their collateral or bond funds can be permanently frozen with the pool (#578)

  • Sherlock 139: (Pools) scaledQuoteTokenAmount isn't updated to be collateral sell value in the quote token constraint case of _calculateTakeFlowsAndBondChange (#579)

  • Sherlock 096: (Pool factories) Interest rate for pool is bounded wrongly (#580)

  • Sherlock 068: (ERC721Pool) take will proceed with truncated collateral amount and full debt when borrower's collateral is fractional (#581 #599)

  • Sherlock 120: (RewardsManger) Claiming accumulated rewards while the contract is underfunded can lead to a loss of rewards (#576)

  • Sherlock 121: (RewardsManger) Calculating new rewards is susceptible to precision loss due to division before multiplication (#576)

  • Sherlock 163 140 34 31: (ERC721Pool) Remove support for non standard NFTs (#585)

  • Sherlock 98: (PositionManager) Reentrancy possible in mint() function (#577)

  • Sherlock 145: (Pools) Take with atomic swap: Anyone who approved quote tokens to a pool can be forced to take (#589)

  • Sherlock 70: (Pools) user can drawDebt that is below dust amount (#598)

  • change safeTransferFrom to transferFrom to support Oasis (#592)

  • Sherlock 148: (Pools) Use pool debt when calculating MOMP in Loans.update (#586)

  • Bug fix: (PositionManager) Fix front running vulnerability in safeTransferFromWithPermit method (#593)

  • Sherlock 148 83. LPs and Exchange Rate with WAD precision to avoid rounding issues (#606)

  • Sherlock 39: (Pools - change function signatures) expiration timestamp and slippage control (#600)

  • Test improvement: Protocol invariants testing (#609)

  • Bug fix: Disallow auctioned borrowers to draw more debt or pull collateral if auction is not settled. (#611)

  • Sherlock 73: (ERC721Pool) unique constraint on subset erc721 pools can be bypassed (#591)