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 Ens { | |
| address public owner; | |
| struct DomainInfo{ | |
| string name; | |
| address owner; | |
| uint price; | |
| uint timestamp; |
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 Ens { | |
| string public ens; | |
| address public adr; | |
| uint public price; | |
| uint public data; | |
| mapping(string => address) public addrEns; | |
| function ensDomen (string memory _ens) public payable { |
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 Ens { | |
| string public ens; | |
| address public adr; | |
| uint public price; | |
| uint public data; | |
| mapping(string => address) public addrEns; | |
| function ensDomen (string memory _ens) public payable { |