-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NFT: improvements to make production-ready (#217)
- Loading branch information
Showing
10 changed files
with
142 additions
and
63 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
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
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.26; | ||
|
||
contract Events { | ||
event SetCounterparty(address indexed newCounterparty); | ||
event TokenMinted(address indexed to, uint256 indexed tokenId, string uri); | ||
event TokenTransfer( | ||
uint256 indexed tokenId, | ||
address indexed receiver, | ||
address indexed destination, | ||
string uri | ||
); | ||
event TokenTransferReceived( | ||
uint256 indexed tokenId, | ||
address indexed receiver, | ||
string uri | ||
); | ||
event TokenTransferReverted( | ||
uint256 indexed tokenId, | ||
address indexed sender, | ||
string uri | ||
); | ||
event CounterpartySet(address indexed zrc20, bytes indexed contractAddress); | ||
event TokenTransferToDestination( | ||
uint256 indexed tokenId, | ||
address indexed sender, | ||
address indexed destination, | ||
string uri | ||
); | ||
} |
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
Oops, something went wrong.