-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ import "@openzeppelin/contracts/access/Ownable.sol"; | |
contract Booster is Ownable, ERC721Enumerable,ERC721URIStorage { | ||
using Counters for Counters.Counter; | ||
Counters.Counter private _tokenIds; | ||
uint256 public boost; | ||
uint256 public immutable boost; | ||
constructor(string memory _name, string memory _symbol,uint256 _boost) | ||
Check notice Code scanning / Slither Local variable shadowing Low Check notice Code scanning / Slither Local variable shadowing Low |
||
ERC721(_name, _symbol) { | ||
boost=_boost; | ||
|
@@ -78,7 +78,7 @@ contract Booster is Ownable, ERC721Enumerable,ERC721URIStorage { | |
|
||
// The following functions are overrides required by Solidity. | ||
function _burn(uint256 tokenId) internal override(ERC721URIStorage,ERC721) { | ||
revert("Burning not allowed"); | ||
revert("Burning not allowed"); | ||
} | ||
Check warning Code scanning / Slither Dead-code Warning
Booster._burn(uint256) is never used and should be removed
|
||
|
||
|
||
|