Skip to content

Commit

Permalink
Merge pull request #4 from iotexproject/simonerom-patch-1
Browse files Browse the repository at this point in the history
Update DeviceNFT.sol
  • Loading branch information
ququzone authored Oct 30, 2024
2 parents 0ef9509 + 3432fff commit 2584142
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/examples/DeviceNFT.sol
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ contract DeviceNFT is ERC721Upgradeable, OwnableUpgradeable {
event MinterConfigured(address indexed minter, uint256 minterAllowedAmount);
event MinterRemoved(address indexed minter);
event MinterAllowanceIncremented(address indexed owner, address indexed minter, uint256 allowanceIncrement);
event SetBastURI(string uri);
event SetBaseURI(string uri);

mapping(address => bool) internal minters;
mapping(address => uint256) internal minterAllowed;
Expand Down Expand Up @@ -65,7 +65,7 @@ contract DeviceNFT is ERC721Upgradeable, OwnableUpgradeable {

function setBaseURI(string calldata _uri) external onlyOwner {
uri = _uri;
emit SetBastURI(_uri);
emit SetBaseURI(_uri);
}

function _baseURI() internal view virtual override returns (string memory) {
Expand Down

0 comments on commit 2584142

Please sign in to comment.