Skip to content

Comments

feat: Add Time-Locked ERC-20 Vault #6 or 🧱 Added TimeLockedVault contract and comprehensive test suite#21

Merged
martinvibes merged 1 commit intoWeb3Novalabs:mainfrom
sainath5001:feat/Add-Time-Locked-ERC-20-Vault
Jul 26, 2025
Merged

feat: Add Time-Locked ERC-20 Vault #6 or 🧱 Added TimeLockedVault contract and comprehensive test suite#21
martinvibes merged 1 commit intoWeb3Novalabs:mainfrom
sainath5001:feat/Add-Time-Locked-ERC-20-Vault

Conversation

@sainath5001
Copy link
Contributor

  • Created TimeLockedVault.sol smart contract to implement a time-locked ERC20 vault

  • Wrote a full Foundry test suite in TimeLockedVault.t.sol covering:

    • Deposit logic with lock durations
    • Withdrawal restrictions before/after unlock time
    • Edge cases and custom errors
    • Fuzz tests for dynamic values
      • Ensured 100% test pass rate
    • Follows the requirements from Issue Add Time-Locked ERC-20 Vault #6 of the OnlyDust bounty task

@martinvibes martinvibes self-requested a review July 26, 2025 21:33
Copy link
Contributor

@martinvibes martinvibes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@martinvibes martinvibes merged commit 67c6e93 into Web3Novalabs:main Jul 26, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants