This file contains hidden or 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
// SPDX-License-Identifier: GPL-3.0 | |
pragma solidity ^0.8.0; | |
contract domainRegistrator { | |
address public owner; | |
uint public price; | |
uint public renewalCoefficient; | |
modifier onlyOwner() { | |
require(msg.sender == owner, "NOT ELIGBLE!"); |
This file contains hidden or 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
// SPDX-License-Identifier: GPL-3.0 | |
pragma solidity ^0.8.0; | |
contract ENSReg { | |
address public owner = 0x5B38Da6a701c568545dCfcB03FcB875f56beddC4; | |
struct Domain { | |
address addr; | |
uint createdAt; | |
uint price; |