Skip to content

Commit

Permalink
added usda/eura price redirects to mainnet
Browse files Browse the repository at this point in the history
  • Loading branch information
Ncookiez committed Jun 4, 2024
1 parent b6620ca commit 2485e9e
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/hyperstructure-client-js/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@generationsoftware/hyperstructure-client-js",
"description": "Lightweight library for interacting with PoolTogether contracts",
"version": "1.13.1",
"version": "1.13.2",
"license": "MIT",
"main": "./dist/index.mjs",
"types": "./dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/hyperstructure-react-hooks/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@generationsoftware/hyperstructure-react-hooks",
"description": "React hooks library for interacting with PoolTogether contracts",
"version": "1.17.1",
"version": "1.17.2",
"license": "MIT",
"main": "./dist/index.mjs",
"types": "./dist/index.d.ts",
Expand Down
37 changes: 36 additions & 1 deletion shared/utilities/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,12 @@ export const TOKEN_PRICE_REDIRECTS: {
chainId: NETWORK.mainnet,
address: lower(POOL_TOKEN_ADDRESSES[NETWORK.mainnet])
},
/* agEUR */
/* USDA */
'0x0000206329b97db379d5e1bf586bbdb969c63274': {
chainId: NETWORK.mainnet,
address: '0x0000206329b97db379d5e1bf586bbdb969c63274'
},
/* EURA */
'0x9485aca5bbbe1667ad97c7fe7c4531a624c8b1ed': {
chainId: NETWORK.mainnet,
address: '0x1a7e4e63778b4f12a199c062f3efdd288afcbce8'
Expand All @@ -358,6 +363,16 @@ export const TOKEN_PRICE_REDIRECTS: {
[POOL_TOKEN_ADDRESSES[NETWORK.arbitrum].toLowerCase()]: {
chainId: NETWORK.mainnet,
address: lower(POOL_TOKEN_ADDRESSES[NETWORK.mainnet])
},
/* USDA */
'0x0000206329b97db379d5e1bf586bbdb969c63274': {
chainId: NETWORK.mainnet,
address: '0x0000206329b97db379d5e1bf586bbdb969c63274'
},
/* EURA */
'0xfa5ed56a203466cbbc2430a43c66b9d8723528e7': {
chainId: NETWORK.mainnet,
address: '0x1a7e4e63778b4f12a199c062f3efdd288afcbce8'
}
},
[NETWORK.base]: {
Expand All @@ -370,13 +385,33 @@ export const TOKEN_PRICE_REDIRECTS: {
'0xc1cba3fcea344f92d9239c08c0568f6f2f0ee452': {
chainId: NETWORK.mainnet,
address: '0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0'
},
/* USDA */
'0x0000206329b97db379d5e1bf586bbdb969c63274': {
chainId: NETWORK.mainnet,
address: '0x0000206329b97db379d5e1bf586bbdb969c63274'
},
/* EURA */
'0xa61beb4a3d02decb01039e378237032b351125b4': {
chainId: NETWORK.mainnet,
address: '0x1a7e4e63778b4f12a199c062f3efdd288afcbce8'
}
},
[NETWORK.polygon]: {
/* MATIC */
[DOLPHIN_ADDRESS]: {
chainId: NETWORK.polygon,
address: '0x0000000000000000000000000000000000001010'
},
/* USDA */
'0x0000206329b97db379d5e1bf586bbdb969c63274': {
chainId: NETWORK.mainnet,
address: '0x0000206329b97db379d5e1bf586bbdb969c63274'
},
/* EURA */
'0xe0b52e49357fd4daf2c15e02058dce6bc0057db4': {
chainId: NETWORK.mainnet,
address: '0x1a7e4e63778b4f12a199c062f3efdd288afcbce8'
}
},
[NETWORK.optimism_sepolia]: {
Expand Down

0 comments on commit 2485e9e

Please sign in to comment.