Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding notcoin #23

Merged
merged 4 commits into from
Jun 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added projects/icons/tokens_not.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions projects/tokens/NOT.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
from models.project import Token

NOT = Token(
name='NOT',
address='EQAvlWFDxGF2lXm67y4yzC17wYKD9A0guwPkMs1gOsM__NOT',
decimals=9,
is_meme=False
)
4 changes: 3 additions & 1 deletion seasons/s4.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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()
)
Expand Down
3 changes: 3 additions & 0 deletions validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading