File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -8,15 +8,15 @@ contract DeviceNFT is ERC721Upgradeable, OwnableUpgradeable {
88 event MinterConfigured (address indexed minter , uint256 minterAllowedAmount );
99 event MinterRemoved (address indexed minter );
1010 event MinterAllowanceIncremented (address indexed owner , address indexed minter , uint256 allowanceIncrement );
11- event SetBastURI (string uri );
11+ event SetBaseURI (string uri );
1212
1313 mapping (address => bool ) internal minters;
1414 mapping (address => uint256 ) internal minterAllowed;
1515 string internal uri;
1616 uint256 public total;
1717
1818 function initialize (string memory _name , string memory _symbol ) external initializer {
19- __Ownable_init ();
19+ __Ownable_init (msg . sender );
2020 __ERC721_init (_name, _symbol);
2121 uri = "" ;
2222 }
@@ -65,7 +65,7 @@ contract DeviceNFT is ERC721Upgradeable, OwnableUpgradeable {
6565
6666 function setBaseURI (string calldata _uri ) external onlyOwner {
6767 uri = _uri;
68- emit SetBastURI (_uri);
68+ emit SetBaseURI (_uri);
6969 }
7070
7171 function _baseURI () internal view virtual override returns (string memory ) {
You can’t perform that action at this time.
0 commit comments