Open Issues Need Help
View All on GitHubAI Summary: Create a Cairo smart contract that acts as a registry to track NFT puzzle claims. The contract should prevent duplicate claims by a user for a given puzzle ID, allowing only backend/admin users to write to the registry. It should include functions to mark a claim as made, check if a claim has been made, and emit an event when a claim is recorded.
AI Summary: Implement a reusable Cairo contract module for role-based access control. The module should manage admins, allowing only the contract owner to add or remove them. Thorough testing of edge cases is required.
AI Summary: Implement a Cairo smart contract that generates a pseudo-random puzzle ID for each user based on block timestamp, sender address, and nonce. The contract should store the assigned puzzle ID per user, prevent re-selection until the puzzle is solved, and emit a `PuzzleAssigned` event.
AI Summary: Implement an NFT upgrade system in Cairo. This involves tracking NFT upgrade levels using a mapping, creating a backend-only upgrade function, defining three upgrade levels (Bronze, Silver, Gold), and emitting an event upon successful upgrades.
AI Summary: Develop a Cairo smart contract, `StreakTracker.cairo`, to track user puzzle-solving streaks. The contract needs to store each user's current streak, update it daily via the `update_streak` function, reset the streak if a user hasn't solved a puzzle in 24 hours, and emit a `StreakUpdated` event.
AI Summary: Create a Cairo smart contract that implements a mint-only ERC721-style NFT representing user achievements. The contract should map token IDs to specific achievement types, prevent transfers, and include metadata URIs for each achievement badge.
AI Summary: Implement on-chain referral reward logic in Cairo. This involves storing referrer addresses during user registration, rewarding referrers after their invitees complete three puzzles, preventing multiple referrals per user, and emitting a `ReferralCompleted` event.
AI Summary: Develop a Cairo smart contract, `PuzzleEventEmitter`, that emits an event, `PuzzleSolved`, whenever a puzzle is completed. The event should include the user's address, the puzzle ID, and optionally, the source of the completion trigger (e.g., mobile app, web app, or another contract). The contract needs to be deployable and include a function `emit_puzzle_complete` to trigger the event.
AI Summary: Develop a Cairo 1.0 smart contract inheriting from OpenZeppelin's ERC721 standard. This contract, named `PuzzleNFT`, will mint NFTs as rewards for completing puzzles. The minting functionality will be restricted to a specific backend address. The contract must also implement metadata URI logic for each NFT and emit a `PuzzleCompleted` event upon successful minting.