This doc specifies all changes in the Timeswap Core and Convenience Contracts after the most recent audit by Code4rena.
Repositories
- https://github.com/Timeswap-Labs/Timeswap-V1-Core
- 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
- 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:
- Core Repository: Merge pull request #85 from Timeswap-Labs/add-min 97e892b
- Convenience Repository: Merge pull request #85 from Timeswap-Labs/add-min 641c38d
- 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:
- Convenience Repository: Merge pull request #87 from Timeswap-Labs/verification-issue 5dc922e