-
High - 100 XP
-
Medium - 20 XP
-
Low - 2 XP
-
Starts: September, 26 2024 Noon UTC
-
Ends: October, 03 2024 Noon UTC
-
nSLOC: 86
MysteryBox is a thrilling protocol where users can purchase mystery boxes containing random rewards! Open your box to reveal amazing prizes, or trade them with others. Will you get lucky and find the rare treasures?
- Owner/Admin (Trusted) - Can set the price of boxes, add new rewards, and withdraw funds.
- User/Player - Can purchase mystery boxes, open them to receive rewards, and trade rewards with others.
All Contracts in src
are in scope.
src/
├── MysteryBox.sol
- Blockchains: EVM Equivalent Chains Only
- Tokens: Standard ERC20 Tokens Only
Clone the repo
git clone https://github.com/Cyfrin/2024-09-mystery-box.git
Open in VSCode
code 2024-09-mystery-box/
Build and run tests
forge test
- No known issues