Skip to content

Commit

Permalink
Add TLD's
Browse files Browse the repository at this point in the history
  • Loading branch information
DeRain committed May 31, 2024
1 parent 1927e7a commit 3c21df4
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 6 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
## v0.9.16

- Add `.witg` TLD
- TBD
- Add `.metropolis` TLD
- Add `.wrkx` TLD
- Add `.secret` TLD

## v0.9.15

Expand Down
4 changes: 2 additions & 2 deletions artifacts/MintingManager.json

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions contracts/MintingManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ contract MintingManager is ERC2771Context, MinterRole, Blocklist, Pausable, IMin
__ERC2771Context_init_unchained(forwarder);
__Pausable_init_unchained();

string[26] memory tlds = [
string[29] memory tlds = [
'crypto',
'wallet',
'x',
Expand All @@ -130,7 +130,10 @@ contract MintingManager is ERC2771Context, MinterRole, Blocklist, Pausable, IMin
'bitget',
'pog',
'clay',
'witg'
'witg',
'metropolis',
'wrkx',
'secret'
];
for (uint256 i = 0; i < tlds.length; i++) {
_addTld(tlds[i], false);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "uns",
"version": "0.9.15",
"version": "0.9.16",
"description": "UNS contracts and tools",
"repository": "https://github.com/unstoppabledomains/uns.git",
"main": "./dist/index.js",
Expand Down
3 changes: 3 additions & 0 deletions test/helpers/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ export const TLD = {
POG: BigInt('0xe76cc52c68a868af0cba676c92337a921cc721b45b6630e47f7ecb78e3e0edcc'),
CLAY: BigInt('0x58872a8ca9414ae0f3ab850f51efaf4c77b647d903f9ec89a03d3018bb42e4fa'),
WITG: BigInt('0xf72e00036d7ef2d56e70c6df1d619bcccb64c93ea5b96305e7d7f24c47b4b563'),
METROPOLIS: BigInt('0x46a29e7d78413806ab5b6e30bc360bbff329e7bec2fc3ddf6f62d8c6c17c45b6'),
WRKX: BigInt('0xacf08822cf871e802cb23fdb2224cb924878985b866b92e55aaae8c0a8a898eb'),
SECRET: BigInt('0x335f1d8a43ebd6d9277127e859f502a14bbe3ccbe2d3f89be38fd0086da4c396'),

// Expirable
COM: BigInt('0xac2c11ea5d4a4826f418d3befbf0537de7f13572d2a433edfe4a7314ea5dc896'),
Expand Down

0 comments on commit 3c21df4

Please sign in to comment.