Skip to content

Commit

Permalink
✨ Implement new AUSD supply Merit incentives (#2309)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinGbz authored Jan 13, 2025
1 parent 5e0c19e commit 5c47b4a
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"dependencies": {
"@aave/contract-helpers": "1.30.5",
"@aave/math-utils": "1.30.5",
"@bgd-labs/aave-address-book": "4.7.0",
"@bgd-labs/aave-address-book": "4.7.3",
"@emotion/cache": "11.10.3",
"@emotion/react": "11.10.4",
"@emotion/server": "latest",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const MeritIncentivesTooltipContent = ({
href={
meritIncentives.customForumLink
? meritIncentives.customForumLink
: 'https://governance.aave.com/t/arfc-merit-a-new-aave-alignment-user-reward-system/16646'
: 'https://governance.aave.com/t/arfc-set-aci-as-emission-manager-for-liquidity-mining-programs/17898'
}
sx={{ textDecoration: 'underline' }}
variant="caption"
Expand Down
11 changes: 11 additions & 0 deletions src/hooks/useMeritIncentives.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export enum MeritAction {
AVALANCHE_SUPPLY_USDC = 'avalanche-supply-usdc',
AVALANCHE_SUPPLY_USDT = 'avalanche-supply-usdt',
AVALANCHE_SUPPLY_SAVAX = 'avalanche-supply-savax',
AVALANCHE_SUPPLY_AUSD = 'avalanche-supply-ausd',
}

type MeritIncentives = {
Expand Down Expand Up @@ -50,6 +51,8 @@ const MERIT_DATA_MAP: Record<string, Record<string, MeritReserveIncentiveData[]>
action: MeritAction.ETHEREUM_STKGHO,
rewardTokenAddress: AaveV3Ethereum.ASSETS.GHO.UNDERLYING,
rewardTokenSymbol: 'GHO',
customForumLink:
'https://governance.aave.com/t/arfc-merit-a-new-aave-alignment-user-reward-system/16646',
},
],
cbBTC: [
Expand Down Expand Up @@ -166,6 +169,14 @@ const MERIT_DATA_MAP: Record<string, Record<string, MeritReserveIncentiveData[]>
protocolAction: ProtocolAction.supply,
},
],
AUSD: [
{
action: MeritAction.AVALANCHE_SUPPLY_AUSD,
rewardTokenAddress: AaveV3Avalanche.ASSETS.AUSD.A_TOKEN,
rewardTokenSymbol: 'aAvaSAVAX',
protocolAction: ProtocolAction.supply,
},
],
},
};

Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1066,10 +1066,10 @@
resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39"
integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==

"@bgd-labs/aave-address-book@4.7.0":
version "4.7.0"
resolved "https://registry.yarnpkg.com/@bgd-labs/aave-address-book/-/aave-address-book-4.7.0.tgz#4d64ff67dd83f32fcff71ffe7498bf9477c8586f"
integrity sha512-oxLDYy36woE1AuW97aXI7bk+v+/my0YAqaWbGokLJGc+An7/ABfF89cbn9aJqAx3fyT8DDRojGyrcGIeocnNBg==
"@bgd-labs/aave-address-book@4.7.3":
version "4.7.3"
resolved "https://registry.yarnpkg.com/@bgd-labs/aave-address-book/-/aave-address-book-4.7.3.tgz#8a2ca1ca3b2e67474c0b07ea8e681a1400f3bc5b"
integrity sha512-4/QS5hLcjKuHAfdOAgaxSWVvi6RKu/U5ZHyndptvvKcNmzcC60tczN3NALCqWNXCBmzFY5e6cg82KsZJqVEjOQ==

"@coinbase/wallet-sdk@4.2.3":
version "4.2.3"
Expand Down

0 comments on commit 5c47b4a

Please sign in to comment.