-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into hotfix/sql_typo
- Loading branch information
Showing
4 changed files
with
66 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
from models.project import DeFi | ||
|
||
TONCO = DeFi( | ||
name="TONCO", | ||
defillama_slug="tonco", | ||
url="https://app.tonco.io/#/pools", | ||
) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
""" | ||
S6 season config | ||
""" | ||
from models.season_config import SeasonConfig, DexPool | ||
from projects.defi.Farmix import Farmix | ||
from projects.defi.Coffin import Coffin | ||
from projects.defi.SwapCoffee import SwapCoffeeVolume, SwapCoffeeTVL | ||
from projects.defi.AquaProtocol import AquaProtocol | ||
from projects.defi.DAOLama import DAOLama | ||
from projects.defi.GasPump import GasPumpDeFi | ||
from projects.defi.RainbowSwap import RainbowSwap | ||
from projects.defi.SettleTON import SettleTON | ||
from projects.defi.JVault import JVault | ||
from projects.defi.TONCO import TONCO | ||
from projects.defi.TONHedge import TONHedge | ||
from projects.defi.TonStable import TonStable | ||
from projects.defi.Parraton import Parraton | ||
from projects.defi.TonPools import TonPools | ||
from seasons.app_models import AppLeaderboardModelS6 | ||
from seasons.defi_models import DeFiTVLContribution, DeFiVolumeContribution | ||
from seasons.nfts_models import NFTLeaderboardModelV1 | ||
|
||
|
||
S7_START = 1732705200 # Wed Nov 27 2024 11:00:00 GMT+0000 | ||
S7_END = 1734433200 # Tue Dec 17 2024 11:00:00 GMT+0000 | ||
|
||
|
||
S7_defi_tvl = SeasonConfig( | ||
leaderboard=SeasonConfig.DEFI, | ||
name="S7", | ||
start_time=S7_START, | ||
end_time=S7_END, | ||
projects=[ | ||
DAOLama, SettleTON, JVault, | ||
TONHedge, TonStable, Parraton, TonPools, | ||
AquaProtocol, SwapCoffeeTVL, Coffin, TONCO, Farmix | ||
], | ||
score_model=DeFiTVLContribution(squads=[ | ||
(lambda tvl: tvl >= 5e6, "Over 5M$"), | ||
(lambda tvl: tvl >= 1e6, "Under 5M$"), | ||
(lambda tvl: True, "Under 1M$"), | ||
]), | ||
options={SeasonConfig.OPTION_DEFI_EXCLUDED_POOLS: []} | ||
) | ||
|
||
S7_defi_volume = SeasonConfig( | ||
leaderboard=SeasonConfig.DEFI, | ||
name="S7", | ||
start_time=S7_START, | ||
end_time=S7_END, | ||
projects=[ | ||
GasPumpDeFi, RainbowSwap, SwapCoffeeVolume | ||
], | ||
score_model=DeFiVolumeContribution(squads=[ | ||
(lambda tvl: tvl >= 50 * 1e6, "Over 50M$"), | ||
(lambda tvl: tvl >= 10 * 1e6, "Under 50M$"), | ||
(lambda tvl: True, "Under 10M$"), | ||
]) | ||
) |