One place for the smart contract developer. This repo will have all the smart contract written in the remix ide .It contains all the source code with the screen shot.
Invalid modifier: The modifier name used in the code is 'onlyonwner' where it's used 'onlyowner' within the functions. This will just create a damn error. Looks like someone pasted this code without even compiling it down...
Gas consumption could be enhanced: That single is modifier is used frequently, thus taking more gas. Need to find a way we can resolve this...
Some Typos and grammatical errors down in the comments: heading self-defines the issue. won't be a big deal
👨💻 Changes proposed
changed the name of modifier onlyonwner to onlyOwner in all sections of code wherever it is used.
[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.
📄 Note to reviewers
Well, this was a pure buggy code, like a single typo mistake just made the contract go in vain. It's advised that these smart contracts must be checked thoroughly before merging them in the repo. Try pasting them in remix or some IDE before letting them be presented within this repository.
Although, I am going to check and go through the whole codebase..Maybe making some enhancements if possible!
🛠️ Fixes Issue
👨💻 Changes proposed
onlyonwner
toonlyOwner
in all sections of code wherever it is used.✔️ Check List (Check all the applicable boxes)
📄 Note to reviewers
Well, this was a pure buggy code, like a single typo mistake just made the contract go in vain. It's advised that these smart contracts must be checked thoroughly before merging them in the repo. Try pasting them in
remix
or some IDE before letting them be presented within this repository. Although, I am going to check and go through the whole codebase..Maybe making some enhancements if possible!