This repository has been archived by the owner on Nov 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add abstract nodeowner interface
- Loading branch information
1 parent
a33456c
commit b60d026
Showing
2 changed files
with
13 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
pragma solidity ^0.5.3; | ||
|
||
import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; | ||
|
||
/// @title NodeOwner interface | ||
/// @notice Defines an interface for the NodeOwner implementation. | ||
contract AbstractNodeOwner is IERC721 { | ||
function available (uint256 tokenId) public view returns(bool); | ||
function reclaim(uint256 tokenId, address newOwner) external; | ||
function removeExpired(uint256[] calldata tokenIds) external; | ||
} |
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