Skip to content

Latest commit

 

History

History
31 lines (17 loc) · 2.07 KB

Changelog after Code4rena Audit.md

File metadata and controls

31 lines (17 loc) · 2.07 KB

Timeswap Changelog after the Code4rena Audit

Overview

This doc specifies all changes in the Timeswap Core and Convenience Contracts after the most recent audit by Code4rena.

Repositories

  1. https://github.com/Timeswap-Labs/Timeswap-V1-Core
  2. https://github.com/Timeswap-Labs/Timeswap-V1-Convenience/

Only the changes in the main branch are considered for the purpose of this documentation. Also only material changes in the Smart Contracts are considered for the purpose of this documentation.

CHANGES

  1. YMin : Interest decrease (in the case of a lend) and Interest increase (in the case of a borrow) must be greater than the minimum deltaY:

Timeswap Dapp did not have a Minimum DeltaY whenever a lend / borrow transaction was executed. Which resulted in the possibility that every single borrow transaction can be executed at 0% APR for that respective transaction; similarly every lend transaction had the option to choose maximum CDP with 0% APR. Further details regarding the YMin can be found over here in the case of a lending transaction and over here in the case of a borrowing transaction.

Commits in relation to the change:

  1. Circular imports: Refactored imports for proper compilation:

Timeswap Convenience interfaces failed verification on Polygonscan which is now fixed in the commit below.

Commits in relation to the change: