Skip to content

Commit 937b265

Browse files
grothemMartinGbz
andauthored
✨ Implement new AUSD supply Merit incentives (#2312)
Co-authored-by: MartinGbz <[email protected]>
1 parent 5e0c19e commit 937b265

File tree

4 files changed

+17
-6
lines changed

4 files changed

+17
-6
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.30.5",
3535
"@aave/math-utils": "1.30.5",
36-
"@bgd-labs/aave-address-book": "4.7.0",
36+
"@bgd-labs/aave-address-book": "4.7.3",
3737
"@emotion/cache": "11.10.3",
3838
"@emotion/react": "11.10.4",
3939
"@emotion/server": "latest",

src/components/incentives/MeritIncentivesTooltipContent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export const MeritIncentivesTooltipContent = ({
3939
href={
4040
meritIncentives.customForumLink
4141
? meritIncentives.customForumLink
42-
: 'https://governance.aave.com/t/arfc-merit-a-new-aave-alignment-user-reward-system/16646'
42+
: 'https://governance.aave.com/t/arfc-set-aci-as-emission-manager-for-liquidity-mining-programs/17898'
4343
}
4444
sx={{ textDecoration: 'underline' }}
4545
variant="caption"

src/hooks/useMeritIncentives.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export enum MeritAction {
1717
AVALANCHE_SUPPLY_USDC = 'avalanche-supply-usdc',
1818
AVALANCHE_SUPPLY_USDT = 'avalanche-supply-usdt',
1919
AVALANCHE_SUPPLY_SAVAX = 'avalanche-supply-savax',
20+
AVALANCHE_SUPPLY_AUSD = 'avalanche-supply-ausd',
2021
}
2122

2223
type MeritIncentives = {
@@ -50,6 +51,8 @@ const MERIT_DATA_MAP: Record<string, Record<string, MeritReserveIncentiveData[]>
5051
action: MeritAction.ETHEREUM_STKGHO,
5152
rewardTokenAddress: AaveV3Ethereum.ASSETS.GHO.UNDERLYING,
5253
rewardTokenSymbol: 'GHO',
54+
customForumLink:
55+
'https://governance.aave.com/t/arfc-merit-a-new-aave-alignment-user-reward-system/16646',
5356
},
5457
],
5558
cbBTC: [
@@ -166,6 +169,14 @@ const MERIT_DATA_MAP: Record<string, Record<string, MeritReserveIncentiveData[]>
166169
protocolAction: ProtocolAction.supply,
167170
},
168171
],
172+
AUSD: [
173+
{
174+
action: MeritAction.AVALANCHE_SUPPLY_AUSD,
175+
rewardTokenAddress: AaveV3Avalanche.ASSETS.AUSD.A_TOKEN,
176+
rewardTokenSymbol: 'aAvaSAVAX',
177+
protocolAction: ProtocolAction.supply,
178+
},
179+
],
169180
},
170181
};
171182

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/[email protected].0":
1070-
version "4.7.0"
1071-
resolved "https://registry.yarnpkg.com/@bgd-labs/aave-address-book/-/aave-address-book-4.7.0.tgz#4d64ff67dd83f32fcff71ffe7498bf9477c8586f"
1072-
integrity sha512-oxLDYy36woE1AuW97aXI7bk+v+/my0YAqaWbGokLJGc+An7/ABfF89cbn9aJqAx3fyT8DDRojGyrcGIeocnNBg==
1069+
"@bgd-labs/[email protected].3":
1070+
version "4.7.3"
1071+
resolved "https://registry.yarnpkg.com/@bgd-labs/aave-address-book/-/aave-address-book-4.7.3.tgz#8a2ca1ca3b2e67474c0b07ea8e681a1400f3bc5b"
1072+
integrity sha512-4/QS5hLcjKuHAfdOAgaxSWVvi6RKu/U5ZHyndptvvKcNmzcC60tczN3NALCqWNXCBmzFY5e6cg82KsZJqVEjOQ==
10731073

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

0 commit comments

Comments
 (0)