Skip to content

Instantly share code, notes, and snippets.

View AntonVoronezh's full-sized avatar

Anton AntonVoronezh

View GitHub Profile
@AntonVoronezh
AntonVoronezh / contracts...RegisterDomainName.sol
Last active September 11, 2024 16:33
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.22+commit.4fc1097e.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
contract RegisterDomainName {
address owner;
constructor() {
owner = msg.sender;
}
@AntonVoronezh
AntonVoronezh / contracts...RegisterDomainName.sol
Created September 11, 2024 16:25
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.22+commit.4fc1097e.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
contract RegisterDomainName{
struct DomainName {
address itemAddress;
uint itemDate;
uint itemPrice;
}
@AntonVoronezh
AntonVoronezh / contracts...RegisterDomainName.sol
Created September 9, 2024 16:08
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.22+commit.4fc1097e.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
contract RegisterDomainName{
struct DomainName {
address itemAddress;
uint itemDate;
uint itemPrice;
}
@AntonVoronezh
AntonVoronezh / contracts...RegisterENS.sol
Created September 9, 2024 15:43
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.22+commit.4fc1097e.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
contract RegisterENS {
struct NameItem {
address itemAddress;
uint itemDate;
uint itemPrice;
}