Skip to content

AbhiXverse | Register for OpenGuild x Encode Club Solidity Challenges#19

Open
AbhiXverse wants to merge 5 commits into
openguild-labs:mainfrom
AbhiXverse:main
Open

AbhiXverse | Register for OpenGuild x Encode Club Solidity Challenges#19
AbhiXverse wants to merge 5 commits into
openguild-labs:mainfrom
AbhiXverse:main

Conversation

@AbhiXverse

@AbhiXverse AbhiXverse commented May 1, 2025

Copy link
Copy Markdown

Challenge 1. TokenVesting Contract

1.1 - Mock ERC-20 contract address: 0xB57ee0797C3fc0205714a577c02F7205bB89dF30
1.2 - TokenVesting contract address: 0x838F9b8228a5C95a7c431bcDAb58E289f5D2A4DC

Tested critical functionalities including:

  • Deployment – Ensured the token and owner were correctly set.
  • Whitelist Logic – Verified only the owner can whitelist beneficiaries.
  • Vesting Schedule Creation – Tested creation and access restrictions.
  • Token Claiming – Validated behavior before and after cliff periods.
  • Revoking Vesting – Ensured owner-only revoking and correct token return.
  • Pause Functionality – Confirmed contract respects paused state.
vesting-test

Challenge 2. YieldFarm Contract

2.1 - Reward-token mock ERC-20 address: 0xEc29164D68c4992cEdd1D386118A47143fdcF142
2.2 - LP-token mock ERC-20 address: 0xE5f2A565Ee0Aa9836B4c80a07C8b32aAd7978e22
2.3 - Yield-farm contract address: 0x9396B453Fad71816cA9f152Ae785276a1D578492

Validated key features of a staking and reward system:

  • Deployment – Correct token and reward rate setup.
  • Staking Mechanics – Checked staking constraints and events.
  • Reward Calculations – Verified base rewards and boost multipliers.
  • Withdrawals – Ensured accurate and safe withdrawal behavior.
  • Admin Functions – Confirmed access control on reward rate updates.
yield-test

@chungquantin

Copy link
Copy Markdown
Contributor

Awesome work! Thanks for the great test coverage. Just a friendly reminder that you need to join discord!

@AbhiXverse

Copy link
Copy Markdown
Author

Thank you so much! I’ve already joined the discord since the day I started.

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