Skip to content

Commit 8f59730

Browse files
Merge branch 'main' into feat/llama-breakpoints
2 parents d60671f + 40cb8c7 commit 8f59730

File tree

5 files changed

+44
-3
lines changed

5 files changed

+44
-3
lines changed

apps/main/src/dex/hooks/useTokenAlert.tsx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,21 @@ const useTokenAlert = (tokenAddressAll: string[]): PoolAlert | null =>
137137
</div>
138138
),
139139
},
140+
'0x97effb790f2fbb701d88f89db4521348a2b77be8': {
141+
alertType: 'danger',
142+
address: '0x97effb790f2fbb701d88f89db4521348a2b77be8',
143+
message: (
144+
<div>
145+
<Trans>
146+
A vulnerability in the CVXRewardDistributor contract was exploited allowing the hacker to mint 58m CVG
147+
intended for future emissions. CVG has been deprecated.{' '}
148+
<StyledExternalLink href="https://medium.com/@cvg_wireshark/post-mortem-08-01-2024-e80a49d108a0">
149+
Learn more here
150+
</StyledExternalLink>
151+
</Trans>
152+
</div>
153+
),
154+
},
140155
}
141156

142157
const tokenAddressWithAlert = (tokenAddressAll ?? []).find((tokenAddress) => !!alerts[tokenAddress])

packages/external-rewards/src/campaign-list.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"campaign": "Elixir.json"
2525
},
2626
{
27-
"campaign": "YieldNest.json"
27+
"campaign": "YieldNestSeeds.json"
2828
},
2929
{
3030
"campaign": "Fraxtal.json"
@@ -121,5 +121,8 @@
121121
},
122122
{
123123
"campaign": "Radius.json"
124+
},
125+
{
126+
"campaign": "YieldNestTokens.json"
124127
}
125128
]
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"campaignName": "YND",
3+
"platform": "YieldNest",
4+
"description": "External token rewards for providing liquidity.",
5+
"platformImageId": "yieldnest.png",
6+
"dashboardLink": "https://dao.yieldnest.finance/plugins/rewards/#/",
7+
"pools": [
8+
{
9+
"id": "null",
10+
"action": "lp",
11+
"description": "This pool is actively rewarded with YND. Please visit Yieldnest's Dapp for more information. No user action is required.",
12+
"campaignStart": "0",
13+
"campaignEnd": "1770000000",
14+
"address": "0x4daAcF1af85AB4728FCB63901EFc2E984b006D37",
15+
"network": "ink",
16+
"multiplier": "ynd",
17+
"tags": ["tokens"],
18+
"lock": "false"
19+
}
20+
]
21+
}

packages/external-rewards/src/campaigns/index.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ import TurtleTotems from './TurtleTotems.json'
3838
import Usual from './Usual.json'
3939
import Vnx from './Vnx.json'
4040
import YieldFi from './YieldFi.json'
41-
import YieldNest from './YieldNest.json'
41+
import YieldNestSeeds from './YieldNestSeeds.json'
42+
import YieldNestTokens from './YieldNestTokens.json'
4243

4344
export {
4445
DLCLink,
@@ -49,7 +50,7 @@ export {
4950
Mellow,
5051
Symbiotic,
5152
Usual,
52-
YieldNest,
53+
YieldNestSeeds,
5354
Fraxtal,
5455
Resolv,
5556
Lombard,
@@ -82,4 +83,5 @@ export {
8283
GoNuts,
8384
Kalypso,
8485
Radius,
86+
YieldNestTokens,
8587
}

0 commit comments

Comments
 (0)