Skip to content

Commit

Permalink
add TLDs
Browse files Browse the repository at this point in the history
  • Loading branch information
aquiladev committed Jun 16, 2021
1 parent 3cc265f commit b93edf3
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions contracts/MintingManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,12 @@ contract MintingManager is Initializable, ContextUpgradeable, OwnableUpgradeable
_tlds[0x0f4a10a4f46c288cea365fcf45cccf0e9d901b945b9829ccdb54c10dc3cb7a6f] = 'crypto';
_tlds[0x1e3f482b3363eb4710dae2cb2183128e272eafbe137f686851c1caea32502230] = 'wallet';
_tlds[0x7674e7282552c15f203b9c4a6025aeaf28176ef7f5451b280f9bada3f8bc98e2] = 'coin';
_tlds[0x241e7e2b7fd7333b3c0c049b326316b811af0c01cfc0c7a90b466fda3a70fc2d] = 'x';
_tlds[0xb75cf4f3d8bc3deb317ed5216d898899d5cc6a783f65f6768eb9bcb89428670d] = 'nft';
_tlds[0x4118ebbd893ecbb9f5d7a817c7d8039c1bd991b56ea243e2ae84d0a1b2c950a7] = 'blockchain';
_tlds[0x042fb01c1e43fb4a32f85b41c821e17d2faeac58cfc5fb23f80bc00c940f85e3] = 'bitcoin';
_tlds[0x5c828ec285c0bf152a30a325b3963661a80cb87641d60920344caf04d4a0f31e] = '888';
_tlds[0xb5f2bbf81da581299d4ff7af60560c0ac854196f5227328d2d0c2bb0df33e553] = 'dao';

if(!UnsRegistry.exists(0x1e3f482b3363eb4710dae2cb2183128e272eafbe137f686851c1caea32502230)) {
UnsRegistry.mint(address(0xdead), 0x1e3f482b3363eb4710dae2cb2183128e272eafbe137f686851c1caea32502230, 'wallet');
Expand All @@ -98,6 +104,30 @@ contract MintingManager is Initializable, ContextUpgradeable, OwnableUpgradeable
if(!UnsRegistry.exists(0x7674e7282552c15f203b9c4a6025aeaf28176ef7f5451b280f9bada3f8bc98e2)) {
UnsRegistry.mint(address(0xdead), 0x7674e7282552c15f203b9c4a6025aeaf28176ef7f5451b280f9bada3f8bc98e2, 'coin');
}

if(!UnsRegistry.exists(0x241e7e2b7fd7333b3c0c049b326316b811af0c01cfc0c7a90b466fda3a70fc2d)) {
UnsRegistry.mint(address(0xdead), 0x241e7e2b7fd7333b3c0c049b326316b811af0c01cfc0c7a90b466fda3a70fc2d, 'x');
}

if(!UnsRegistry.exists(0xb75cf4f3d8bc3deb317ed5216d898899d5cc6a783f65f6768eb9bcb89428670d)) {
UnsRegistry.mint(address(0xdead), 0xb75cf4f3d8bc3deb317ed5216d898899d5cc6a783f65f6768eb9bcb89428670d, 'nft');
}

if(!UnsRegistry.exists(0x4118ebbd893ecbb9f5d7a817c7d8039c1bd991b56ea243e2ae84d0a1b2c950a7)) {
UnsRegistry.mint(address(0xdead), 0x4118ebbd893ecbb9f5d7a817c7d8039c1bd991b56ea243e2ae84d0a1b2c950a7, 'blockchain');
}

if(!UnsRegistry.exists(0x042fb01c1e43fb4a32f85b41c821e17d2faeac58cfc5fb23f80bc00c940f85e3)) {
UnsRegistry.mint(address(0xdead), 0x042fb01c1e43fb4a32f85b41c821e17d2faeac58cfc5fb23f80bc00c940f85e3, 'bitcoin');
}

if(!UnsRegistry.exists(0x5c828ec285c0bf152a30a325b3963661a80cb87641d60920344caf04d4a0f31e)) {
UnsRegistry.mint(address(0xdead), 0x5c828ec285c0bf152a30a325b3963661a80cb87641d60920344caf04d4a0f31e, '888');
}

if(!UnsRegistry.exists(0xb5f2bbf81da581299d4ff7af60560c0ac854196f5227328d2d0c2bb0df33e553)) {
UnsRegistry.mint(address(0xdead), 0xb5f2bbf81da581299d4ff7af60560c0ac854196f5227328d2d0c2bb0df33e553, 'dao');
}
}

function mintSLD(address to, uint256 tld, string calldata label)
Expand Down

0 comments on commit b93edf3

Please sign in to comment.