Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 1.66 KB

Changelog after Code4rena Audit.md

File metadata and controls

23 lines (13 loc) · 1.66 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: