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.
Merge pull request #58 from rnsdomains/feat/createAbstractOwner
feat: add abstract nodeowner interface
- Loading branch information
Showing
4 changed files
with
1,288 additions
and
82 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
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
Oops, something went wrong.