Skip to content

Commit

Permalink
emit event on metadata uri updates #270
Browse files Browse the repository at this point in the history
  • Loading branch information
mdtanrikulu committed Oct 17, 2023
1 parent 37a762b commit e5cd692
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contracts/ERC20MultiDelegate.sol
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ contract ERC20MultiDelegate is ERC1155, Ownable {

/** ### EVENTS ### */

event MetadataURIUpdated(string uri);
event ProxyDeployed(address indexed delegate, address proxyAddress);
event DelegationProcessed(
address indexed from,
Expand Down Expand Up @@ -155,6 +156,7 @@ contract ERC20MultiDelegate is ERC1155, Ownable {

function setUri(string memory uri) external onlyOwner {
_setURI(uri);
emit MetadataURIUpdated(uri);
}

function createProxyDelegatorAndTransfer(
Expand Down

0 comments on commit e5cd692

Please sign in to comment.