Skip to content

Commit 317d7cf

Browse files
authored
feat: add merit RLUSD campaign (#2443)
1 parent 21313b4 commit 317d7cf

File tree

4 files changed

+22
-5
lines changed

4 files changed

+22
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"dependencies": {
3434
"@aave/contract-helpers": "1.33.1",
3535
"@aave/math-utils": "1.33.1",
36-
"@bgd-labs/aave-address-book": "^4.17.2",
36+
"@bgd-labs/aave-address-book": "^4.18.1",
3737
"@emotion/cache": "11.10.3",
3838
"@emotion/react": "11.10.4",
3939
"@emotion/server": "latest",

src/components/incentives/IncentivesTooltipContent.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,11 @@ const IncentivesSymbolMap: {
7373
symbol: 'asAVAX',
7474
aToken: true,
7575
},
76+
aEthRLUSD: {
77+
tokenIconSymbol: 'RLUSD',
78+
symbol: 'aRLUSD',
79+
aToken: true,
80+
},
7681
aSonwS: {
7782
tokenIconSymbol: 'wS',
7883
symbol: 'awS',

src/hooks/useMeritIncentives.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export enum MeritAction {
1616
ETHEREUM_STKGHO = 'ethereum-stkgho',
1717
ETHEREUM_SUPPLY_PYUSD = 'ethereum-supply-pyusd',
1818
ETHEREUM_SUPPLY_ETHX = 'ethereum-supply-ethx',
19+
ETHEREUM_SUPPLY_RLUSD = 'ethereum-supply-rlusd',
1920
ETHEREUM_PRIME_SUPPLY_ETH = 'ethereum-prime-supply-weth',
2021
ETHEREUM_PRIME_SUPPLY_EZETH = 'ethereum-prime-supply-ezeth',
2122
SUPPLY_CBBTC_BORROW_USDC = 'ethereum-supply-cbbtc-borrow-usdc',
@@ -146,6 +147,17 @@ const MERIT_DATA_MAP: Record<string, Record<string, MeritReserveIncentiveData[]>
146147
protocolAction: ProtocolAction.supply,
147148
},
148149
],
150+
RLUSD: [
151+
{
152+
action: MeritAction.ETHEREUM_SUPPLY_RLUSD,
153+
rewardTokenAddress: AaveV3Ethereum.ASSETS.RLUSD.A_TOKEN,
154+
rewardTokenSymbol: 'aEthRLUSD',
155+
protocolAction: ProtocolAction.supply,
156+
customMessage: antiLoopMessage,
157+
customForumLink:
158+
'https://governance.aave.com/t/arfc-set-aci-as-emission-manager-for-liquidity-mining-programs/17898/85',
159+
},
160+
],
149161
},
150162
[CustomMarket.proto_lido_v3]: {
151163
ETH: [

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1066,10 +1066,10 @@
10661066
resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39"
10671067
integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==
10681068

1069-
"@bgd-labs/aave-address-book@^4.17.2":
1070-
version "4.17.2"
1071-
resolved "https://registry.yarnpkg.com/@bgd-labs/aave-address-book/-/aave-address-book-4.17.2.tgz#976823b4c825aeda33bd9375705260aef857c88c"
1072-
integrity sha512-UVVCaLlLBA5VHl+qip/9qH8yZnNyIvyeRd4nHgKAluNbjeyRPzqESqToGmWSvtWOYK2kUtOrWCu0z9ncq6t6IA==
1069+
"@bgd-labs/aave-address-book@^4.18.1":
1070+
version "4.18.1"
1071+
resolved "https://registry.yarnpkg.com/@bgd-labs/aave-address-book/-/aave-address-book-4.18.1.tgz#f31988f8cf607b56aa48a23b5dc29327c53eae1a"
1072+
integrity sha512-hM9AH6xu7tcqlKC95L3HonZnkoFfg2iyGkG//0a/QVVA5lv/Gfoyu/OV95c8HeOjtIQoSS/irHXK8LE99f6fYg==
10731073

10741074
"@coinbase/[email protected]":
10751075
version "4.2.3"

0 commit comments

Comments
 (0)