-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add IBundleToken, some minor renamings
- Loading branch information
1 parent
8c56549
commit 8b95581
Showing
5 changed files
with
25 additions
and
6 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
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,16 @@ | ||
// SPDX-License-Identifier: Apache-2.0 | ||
pragma solidity ^0.8.0; | ||
|
||
import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; | ||
|
||
interface IBundleToken is | ||
IERC721 | ||
{ | ||
event LogBundleTokenMinted(uint256 bundleId, uint256 tokenId, address tokenOwner); | ||
event LogBundleTokenBurned(uint256 bundleId, uint256 tokenId); | ||
|
||
function burned(uint tokenId) external view returns(bool isBurned); | ||
function exists(uint256 tokenId) external view returns(bool doesExist); | ||
function getBundleId(uint256 tokenId) external view returns(uint256 bundleId); | ||
function tokens() external view returns(uint256 tokenCount); | ||
} |