-
Notifications
You must be signed in to change notification settings - Fork 58
/
s4.py
323 lines (317 loc) · 12.1 KB
/
s4.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
"""
S4 season config
"""
from models.season_config import SeasonConfig, DexPool
from projects.apps.Arbuz import Arbuz
from projects.apps.BountyBay import BountyBay
from projects.apps.CatGoldMiner import CatGoldMiner
from projects.apps.Catizen import Catizen
from projects.apps.ChickCoop import ChickCoop
from projects.apps.EdChess import EdChess
from projects.apps.Fanton import Fanton
from projects.apps.Fanzee import Fanzee
from projects.apps.GM import GM
from projects.apps.Gamee import Gamee
from projects.apps.Gatto import Gatto
from projects.apps.GetGems import GetGems
from projects.apps.Gleam import Gleam
from projects.apps.Gram import Gram
from projects.apps.GramillaWorld import GramillaWorld
from projects.apps.JetTon import JetTon
from projects.apps.MomoAI import MomoAI
from projects.apps.MoneyGardenAI import MoneyGardenAI
from projects.apps.PlayWallet import PlayWallet
from projects.apps.QuackQuack import QuackQuack
from projects.apps.RoyalFortress import RoyalFortress
from projects.apps.Shardify import Shardify
from projects.apps.SquidTG import SquidTG
from projects.apps.SwapCoffee import SwapCoffee
from projects.apps.TapFantasy import TapFantasy
from projects.apps.ThePixels import ThePixels
from projects.apps.TonMap import TonMap
from projects.apps.TonPunks import TonPunks
from projects.apps.TonUp import TonUP
from projects.apps.Tonano import Tonano
from projects.apps.Tongochi import Tongochi
from projects.apps.TonsOfFriends import TonsOfFriends
from projects.apps.Uniton import Uniton
from projects.apps.Vertus import Vertus
from projects.apps.XPLUS import XPLUS
from projects.apps.YesCoin import YesCoin
from projects.apps.xRare import xRare
from projects.defi.DAOLama import DAOLama
from projects.defi.DeDust import DeDust
from projects.defi.EVAA import EVAA
from projects.defi.StonFi import StonFi
from projects.defi.StormTrade import StormTrade
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
from projects.tokens.TIGER import TIGER
from projects.tokens.WALL import WALL
from projects.tokens.DFC import DFC
from projects.tokens.MEH import MEH
from projects.tokens.HYDRA import HYDRA
from projects.tokens.WEB3 import WEB3
from projects.tokens.STON import STON
from projects.tokens.BOLT import BOLT
from projects.tokens.durev import durev
from projects.tokens.OPEN import OPEN
from projects.tokens.TGRAM import TGRAM
from projects.tokens.MagicCrystal import MagicCrystal
from projects.tokens.TONG import TONG
from projects.tokens.SCALE import SCALE
from projects.tokens.GRAM import GRAM
from projects.tokens.VIRUS import VIRUS
from projects.tokens.JVT import JVT
from projects.tokens.BURN import BURN
from projects.tokens.UP import UP
from projects.tokens.GEMSTON import GEMSTON
from projects.tokens.SQD import SQD
from projects.tokens.CATS import CATS
from projects.tokens.RUSD import RUSD
from projects.tokens.REDO import REDO
from projects.tokens.Bear import Bear
from projects.tokens.MEM import MEM
from projects.tokens.FNZ import FNZ
from projects.tokens.SHIP import SHIP
from projects.tokens.LAVE import LAVE
from projects.tokens.TONK import TONK
from projects.tokens.CES import CES
from projects.tokens.TON_STARS import TON_STARS
from projects.tokens.SOX import SOX
from projects.tokens.COFE import COFE
from projects.tokens.PEPE import PEPE
from projects.tokens.REGI import REGI
from projects.tokens.WIF import WIF
from projects.tokens.ANON import ANON
from projects.tokens.KAKAXA import KAKAXA
from projects.tokens.JETTON import JETTON
from projects.tokens.FISH import FISH
from projects.tokens.DICK import DICK
from projects.tokens.LLAMA import LLAMA
from projects.tokens.TONALD import TONALD
from projects.tokens.MITTENS import MITTENS
from projects.tokens.WON import WON
from projects.tokens.HIF import HIF
from projects.tokens.RANDOM import RANDOM
from projects.tokens.INS import INS
from projects.tokens.SHIT import SHIT
from projects.tokens.POE import POE
from projects.nfts.TheMinersClubNFTs import TheMinersClubNFTsNFT
from projects.nfts.YNGEXPLRZ import YNGEXPLRZNFT
from projects.nfts.Gatto import GattoNFT
from projects.nfts.AnimalsRedList import AnimalsRedListNFT
from projects.nfts.Smeshariki import SmesharikiNFT
from projects.nfts.TONDiamonds import TONDiamondsNFT
from projects.nfts.NOTPunks import NOTPunksNFT
from projects.nfts.TONFISHBOX import TONFISHBOXNFT
from projects.nfts.PovelDurevNFT import PovelDurevNFTNFT
from projects.nfts.TONPunks import TONPunksNFT
from projects.nfts.TonedApeClub import TonedApeClubNFT
from projects.nfts.Runeston import RunestonNFT
from projects.nfts.FantonFantasyFootball import FantonFantasyFootballNFT
from projects.nfts.RoOLZ import RoOLZNFT
from projects.nfts.Glitches import GlitchesNFT
from projects.nfts.MarketMakers import MarketMakers
from projects.nfts.Parachute import Parachute
from projects.nfts.NFTWeb3TON import NFTWeb3TON
from projects.nfts.TONFrogs import TONFrogs
from projects.nfts.GBOTSSD import GBOTSSD
from projects.nfts.TonAlchemists import TonAlchemists
from projects.nfts.TONSharks import TONSharks
from seasons.app_models import AppLeaderboardModelV2
from seasons.defi_models import DeFiWeightedRewards
from seasons.nfts_models import NFTLeaderboardModelV1
from seasons.tokens_models import TokenLeaderboardModelV4
S4_START = 1718190000 # Wed Jun 12 2024 11:00:00 GMT+0000
S4_END = 1719399600 # Wed Jun 26 2024 11:00:00 GMT+0000
S4_apps = SeasonConfig(
leaderboard=SeasonConfig.APPS,
name="S4",
start_time=S4_START,
end_time=S4_END,
projects=[
QuackQuack,
Arbuz,
Fanzee,
Catizen,
GM,
JetTon,
SquidTG,
XPLUS,
xRare,
PlayWallet,
YesCoin,
GetGems,
Fanton,
Tonano,
TonPunks,
SwapCoffee,
Gram,
Gatto,
TonsOfFriends,
ChickCoop,
TonUP,
Tongochi,
Shardify,
TonMap,
Gamee,
MoneyGardenAI,
BountyBay,
CatGoldMiner,
Vertus,
Uniton,
EdChess,
GramillaWorld,
MomoAI,
Gleam,
],
score_model=AppLeaderboardModelV2()
)
S4_tokens = SeasonConfig(
leaderboard=SeasonConfig.TOKENS,
name="S4",
start_time=S4_START,
end_time=S4_END,
projects=[
ARBUZ, KINGY, PUNK, GLINT, RECA, TIGER, WALL, DFC, MEH, HYDRA, WEB3, STON, BOLT,
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,
NOT
],
score_model=TokenLeaderboardModelV4()
)
S4_nfts = SeasonConfig(
leaderboard=SeasonConfig.NFTS,
name="S4",
start_time=S4_START,
end_time=S4_END,
projects=[
TheMinersClubNFTsNFT, YNGEXPLRZNFT, GattoNFT, AnimalsRedListNFT, SmesharikiNFT,
TONDiamondsNFT, NOTPunksNFT, TONFISHBOXNFT, PovelDurevNFTNFT, TONPunksNFT,
TonedApeClubNFT, RunestonNFT, FantonFantasyFootballNFT, RoOLZNFT, GlitchesNFT,
MarketMakers, Parachute, NFTWeb3TON, TONFrogs, GBOTSSD, TonAlchemists, TONSharks
],
score_model=NFTLeaderboardModelV1()
)
S4_defi = SeasonConfig(
leaderboard=SeasonConfig.DEFI,
name="S4",
start_time=S4_START,
end_time=S4_END,
projects=[
DeDust, StonFi, DAOLama, StormTrade, EVAA, Tradoor
],
score_model=DeFiWeightedRewards(
total_prize_pool=150000,
max_prize=75000
),
options={
SeasonConfig.OPTION_DEFI_EXCLUDED_POOLS: [
DexPool( # USDT/TON
address='EQA-X_yo3fzzbDbJ_0bzFWKqtRuZFIRa1sJsveZJ1YpViO3r',
dex=DexPool.DEX_DEDUST,
asset_position=DexPool.POSITION_RIGHT,
asset_currency=DexPool.ASSET_USDT
),
DexPool( # USDT/TON
address='EQD8TJ8xEWB1SpnRE4d89YO3jl0W0EiBnNS4IBaHaUmdfizE',
dex=DexPool.DEX_STON,
asset_position=DexPool.POSITION_LEFT,
asset_currency=DexPool.ASSET_USDT
),
### TOL Projects boosts
### DeDust
DexPool( # BOLT/TON
address='EQABHkxndSnqrBgMIDR73LB0FBDDM0C_Up39EL1Rn3ao_54-',
dex=DexPool.DEX_DEDUST,
asset_position=DexPool.POSITION_LEFT,
asset_currency=DexPool.ASSET_TON
),
DexPool( # HYDRA/TON
address='EQBF-YYoDy6ue0J4K-v5L_HYzwWCLpwXSLsTFmT7hr2uqHf5',
dex=DexPool.DEX_DEDUST,
asset_position=DexPool.POSITION_LEFT,
asset_currency=DexPool.ASSET_TON
),
DexPool( # JVT/TON
address='EQB7zhVOQKkfoMtnGU4f_uf0f6HmgcHJj6vZ-NTyHhsaPHCo',
dex=DexPool.DEX_DEDUST,
asset_position=DexPool.POSITION_LEFT,
asset_currency=DexPool.ASSET_TON
),
DexPool( # KINGY/TON
address='EQDsIxN6kTHNTzkW-KDAFoOd7uK8IV_qhw8wR5NkYH1Gh_SQ',
dex=DexPool.DEX_DEDUST,
asset_position=DexPool.POSITION_LEFT,
asset_currency=DexPool.ASSET_TON
),
## Ston.fi
DexPool( # WEB3/TON
address='EQBeplxseh8R1QHlFwuCHiUnm7Mhp5aAQ7_n7-n5iXlhCThc',
dex=DexPool.DEX_STON,
asset_position=DexPool.POSITION_LEFT,
asset_currency=DexPool.ASSET_TON
),
DexPool( # FNZ/TON
address='EQAZFS5dJ8STrKcn5VnptYsoKILXbAYaDhdJJjbzUrNkDdH_',
dex=DexPool.DEX_STON,
asset_position=DexPool.POSITION_RIGHT,
asset_currency=DexPool.ASSET_TON
),
DexPool( # STON/TON
address='EQDtZHOtVWaf9UIU6rmjLPNLTGxNLNogvK5xUZlMRgZwQ4Gt',
dex=DexPool.DEX_STON,
asset_position=DexPool.POSITION_RIGHT,
asset_currency=DexPool.ASSET_TON
),
DexPool( # WALL/TON
address='EQAI2oFhkFupg6tHRpKwxbVNQbHwuD7HlSCkHD6vi2V--8_0',
dex=DexPool.DEX_STON,
asset_position=DexPool.POSITION_RIGHT,
asset_currency=DexPool.ASSET_TON
),
DexPool( # COFE/TON
address='EQDsMul-_xm99ien8PGbIg5BDBNhwI_RJAfzx8yxjZDiNgCA',
dex=DexPool.DEX_STON,
asset_position=DexPool.POSITION_RIGHT,
asset_currency=DexPool.ASSET_TON
),
DexPool( # JETTON/TON
address='EQATnq6W2xv10C19LNlC26xFtTV1fbzMkXmXQCWHqtv6Okf7',
dex=DexPool.DEX_STON,
asset_position=DexPool.POSITION_LEFT,
asset_currency=DexPool.ASSET_TON
),
DexPool( # DFC/TON
address='EQCmapEiLQO0uYEOmvDeXNR9i5R4kYVPEmyNJEcwSCTSUTTa',
dex=DexPool.DEX_STON,
asset_position=DexPool.POSITION_RIGHT,
asset_currency=DexPool.ASSET_TON
),
DexPool( # durev/TON
address='EQAIp9JcWs87eXXuaTaDXxzQSoN6yt4pffqxy1hXWBBmguqq',
dex=DexPool.DEX_STON,
asset_position=DexPool.POSITION_LEFT,
asset_currency=DexPool.ASSET_TON
),
DexPool( # LLAMA/TON
address='EQC6Tw4JSRKlqVx5Qn_-wgKXCn0E_ikza9MdtqSwzl-W65TR',
dex=DexPool.DEX_STON,
asset_position=DexPool.POSITION_RIGHT,
asset_currency=DexPool.ASSET_TON
),
]
},
# 2024-06-12 14:59:57.000 +0400
block_before_start_ref='-1,8000000000000000,38319277,6D29F1A684BDA0C354E309C6BD47DD64FF5A9406D714BEBD4F7C4684D77CF339,5AB65BBD48348225CC03725564DB27EEF0C6E4FA0B275DB21B80323BBE0940E1',
# 2024-06-26 14:59:59.000 +0400
block_before_end_ref='-1,8000000000000000,38613440,7C22FBC45816296A030216121CD4A4C8E09AE9B6A2B04B4552EB486B43022C5F,F8F2FD6C285FA0FC72211EFD9014D9701131DB58AF59FB2ACD9F0140361DAB25',
)