diff --git a/projects/icons/tokens_not.png b/projects/icons/tokens_not.png new file mode 100644 index 0000000..6b931c4 Binary files /dev/null and b/projects/icons/tokens_not.png differ diff --git a/projects/tokens/NOT.py b/projects/tokens/NOT.py new file mode 100644 index 0000000..0a271b0 --- /dev/null +++ b/projects/tokens/NOT.py @@ -0,0 +1,8 @@ +from models.project import Token + +NOT = Token( + name='NOT', + address='EQAvlWFDxGF2lXm67y4yzC17wYKD9A0guwPkMs1gOsM__NOT', + decimals=9, + is_meme=False +) \ No newline at end of file diff --git a/seasons/s4.py b/seasons/s4.py index adc32a0..9254c17 100644 --- a/seasons/s4.py +++ b/seasons/s4.py @@ -36,6 +36,7 @@ from projects.defi.Tradoor import Tradoor from projects.tokens.ARBUZ import ARBUZ from projects.tokens.KINGY import KINGY +from projects.tokens.NOT import NOT from projects.tokens.PUNK import PUNK from projects.tokens.GLINT import GLINT from projects.tokens.RECA import RECA @@ -163,7 +164,8 @@ durev, OPEN, TGRAM, MagicCrystal, TONG, SCALE, GRAM, VIRUS, JVT, BURN, UP, GEMSTON, SQD, CATS, RUSD, REDO, Bear, MEM, FNZ, SHIP, LAVE, TONK, CES, TON_STARS, SOX, COFE, PEPE, REGI, WIF, ANON, - KAKAXA, JETTON, FISH, DICK, LLAMA, TONALD, WON, HIF, RANDOM, INS, SHIT, POE, MITTENS + KAKAXA, JETTON, FISH, DICK, LLAMA, TONALD, WON, HIF, RANDOM, INS, SHIT, POE, MITTENS, + NOT ], score_model=TokenLeaderboardModelV4() ) diff --git a/validate.py b/validate.py index 74e5ea7..7f6bf44 100644 --- a/validate.py +++ b/validate.py @@ -19,7 +19,10 @@ # print(m.__dict__) for name, season_config in dict([(name, cls) for name, cls in m.__dict__.items() if isinstance(cls, SeasonConfig)]).items(): print(f"Checking {name} from {season_name}") + names = set() for project in season_config.projects: + assert project.name not in names, f"Duplicate found: {project.name}" + names.add(project.name) image = get_icon_name(season_config, project) if image.endswith(".svg"): continue