Skip to content

Commit

Permalink
Added agEUR pricing redirect + logo
Browse files Browse the repository at this point in the history
  • Loading branch information
Ncookiez committed Oct 5, 2023
1 parent 274afb0 commit 05d76ce
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/hyperstructure-react-hooks/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@generationsoftware/hyperstructure-react-hooks",
"version": "1.4.9",
"version": "1.4.10",
"license": "MIT",
"main": "./dist/index.mjs",
"types": "./dist/index.d.ts",
Expand Down
6 changes: 4 additions & 2 deletions shared/react-components/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ const tokenLogoUrls = Object.freeze({
gusd: 'https://assets.coingecko.com/coins/images/5992/small/gemini-dollar-gusd.png?1536745278',
weth: 'https://etherscan.io/token/images/weth_28.png',
wbtc: 'https://etherscan.io/token/images/wbtc_28.png?v=1',
lusd: 'https://etherscan.io/token/images/liquitylusd_32.png'
lusd: 'https://etherscan.io/token/images/liquitylusd_32.png',
ageur: 'https://etherscan.io/token/images/ageur_32.png?=v982'
})

/**
Expand Down Expand Up @@ -44,7 +45,8 @@ export const TOKEN_LOGO_OVERRIDES: Record<NETWORK, { [address: Lowercase<string>
'0xda10009cbd5d07dd0cecc66161fc93d7c9000da1': tokenLogoUrls.dai,
'0x4200000000000000000000000000000000000006': tokenLogoUrls.weth,
'0x68f180fcce6836688e9084f035309e29bf0a2095': tokenLogoUrls.wbtc,
'0xc40f949f8a4e094d1b49a23ea9241d289b7b2819': tokenLogoUrls.lusd
'0xc40f949f8a4e094d1b49a23ea9241d289b7b2819': tokenLogoUrls.lusd,
'0x9485aca5bbbe1667ad97c7fe7c4531a624c8b1ed': tokenLogoUrls.ageur
},
[NETWORK['optimism-goerli']]: {
'0x2c75541abd0e0025ca13d0dd5ee5c9a697dd3802': tokenLogoUrls.usdc,
Expand Down
4 changes: 4 additions & 0 deletions shared/utilities/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,10 @@ export const TOKEN_PRICE_REDIRECTS: {
'0x395ae52bb17aef68c2888d941736a71dc6d4e125': {
chainId: NETWORK.mainnet,
address: POOL_TOKEN_ADDRESSES[NETWORK.mainnet].toLowerCase() as Address
},
'0x9485aca5bbbe1667ad97c7fe7c4531a624c8b1ed': {
chainId: NETWORK.mainnet,
address: '0x1a7e4e63778b4f12a199c062f3efdd288afcbce8'
}
}
}
Expand Down

0 comments on commit 05d76ce

Please sign in to comment.