https://github.com/jimlynchcodes/webinar-episode-1-extra-bonus-code-challenge
https://github.com/jimlynchcodes/webinar-episode-1-extra-bonus-code-challenge
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jimlynchcodes/webinar-episode-1-extra-bonus-code-challenge
- Owner: JimLynchCodes
- License: mit
- Created: 2021-05-26T19:36:36.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-05-26T20:04:41.000Z (about 5 years ago)
- Last Synced: 2025-07-02T08:11:16.788Z (12 months ago)
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Webinar-Episode-1-Extra-Bonus-Code-Challenge
_Assumes you're starting from a project that solves the code challenge from webinar episode 1._
## New Goals
- Make it so that rather than the users setting their number to ANY number, they can only increment it by 1.
- Allow contract owner to reset anyone's number back to zero (and only zero).
- Make the increment function only callable once per day, per user.
- Give users the ability to mint an ERC20 token and "own" the token.
- Create a view function that returns ALL tokens on the blockchain and their owner.
## TDD!
Don't forget to work through it TDD style- _test first!_
Good luck!