Skip to content

Commit

Permalink
Adding new Gauges (develop merge) (#2101)
Browse files Browse the repository at this point in the history
* Update voting gauge list

* re-generate voting gauges JSON file

* Bump version

* Prettier fix

Co-authored-by: zekraken <[email protected]>
Co-authored-by: Tim Robinson <[email protected]>
  • Loading branch information
3 people authored Aug 1, 2022
1 parent b80566a commit cc29c5a
Show file tree
Hide file tree
Showing 5 changed files with 65 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@balancer-labs/frontend-v2",
"version": "1.65.0",
"version": "1.65.1",
"engines": {
"node": "14.x",
"npm": ">=7"
Expand Down
52 changes: 52 additions & 0 deletions public/data/voting-gauges.json
Original file line number Diff line number Diff line change
Expand Up @@ -1329,6 +1329,32 @@
"0xBA485b556399123261a5F9c95d413B4f93107407": "https://raw.githubusercontent.com/balancer-labs/assets/master/assets/0xba485b556399123261a5f9c95d413b4f93107407.png"
}
},
{
"address": "0x7DfaDb8c3230890a81Dc9593110b63Bc088740d4",
"network": 1,
"pool": {
"id": "0x1b65fe4881800b91d4277ba738b567cbb200a60d0002000000000000000002cc",
"address": "0x1b65fe4881800B91d4277ba738b567CbB200A60d",
"poolType": "Weighted",
"symbol": "80TEMPLE-20DAI",
"tokens": [
{
"address": "0x470EBf5f030Ed85Fc1ed4C2d36B9DD02e77CF1b7",
"weight": "0.8",
"symbol": "TEMPLE"
},
{
"address": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
"weight": "0.2",
"symbol": "DAI"
}
]
},
"tokenLogoURIs": {
"0x470EBf5f030Ed85Fc1ed4C2d36B9DD02e77CF1b7": "",
"0x6B175474E89094C44Da98b954EedeAC495271d0F": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x6B175474E89094C44Da98b954EedeAC495271d0F/logo.png"
}
},
{
"address": "0xc77E5645Dbe48d54afC06655e39D3Fe17eB76C1c",
"network": 42161,
Expand Down Expand Up @@ -2461,6 +2487,32 @@
"0x7fC9E0Aa043787BFad28e29632AdA302C790Ce33": "https://raw.githubusercontent.com/balancer-labs/assets/refactor-for-multichain/assets/0x7fc9e0aa043787bfad28e29632ada302c790ce33.png"
}
},
{
"address": "0xD13A839BB48d69A296a1fa6D615B6C39B170096B",
"network": 137,
"pool": {
"id": "0x8f9dd2064eb38e8e40f2ab67bde27c0e16ea9b080002000000000000000004ca",
"address": "0x8f9Dd2064eb38E8E40F2aB67bDE27c0e16ea9B08",
"poolType": "Weighted",
"symbol": "50RBW-50WETH",
"tokens": [
{
"address": "0x431CD3C9AC9Fc73644BF68bF5691f4B83F9E104f",
"weight": "0.5",
"symbol": "RBW"
},
{
"address": "0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619",
"weight": "0.5",
"symbol": "WETH"
}
]
},
"tokenLogoURIs": {
"0x431CD3C9AC9Fc73644BF68bF5691f4B83F9E104f": "https://raw.githubusercontent.com/balancer-labs/assets/refactor-for-multichain/assets/0x431cd3c9ac9fc73644bf68bf5691f4b83f9e104f.png",
"0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/polygon/assets/0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619/logo.png"
}
},
{
"address": "0xE190E5363C925513228Bf25E4633C8cca4809C9a",
"network": 42,
Expand Down
2 changes: 2 additions & 0 deletions src/constants/pools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ const POOLS_MAINNET: Pools = {
'0x3dd0843a028c86e0b760b1a76929d1c5ef93a2dd000200000000000000000249',
'0x0578292cb20a443ba1cde459c985ce14ca2bdee5000100000000000000000269',
'0x8eb6c82c3081bbbd45dcac5afa631aac53478b7c000100000000000000000270',
'0x1b65fe4881800b91d4277ba738b567cbb200a60d0002000000000000000002cc',
],
},
};
Expand Down Expand Up @@ -335,6 +336,7 @@ const POOLS_POLYGON: Pools = {
'0xc17636e36398602dd37bb5d1b3a9008c7629005f0002000000000000000004c4',
'0x2dbc9ab0160087ae59474fb7bed95b9e808fa6bc0001000000000000000003db',
'0xb797adfb7b268faeaa90cadbfed464c76ee599cd0002000000000000000005ba',
'0x8f9dd2064eb38e8e40f2ab67bde27c0e16ea9b080002000000000000000004ca',
],
},
};
Expand Down
8 changes: 8 additions & 0 deletions src/constants/voting-gauge-pools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,10 @@ export const MAINNET_POOLS: Pool[] = [
id: '0x8eb6c82c3081bbbd45dcac5afa631aac53478b7c000100000000000000000270',
network: Network.MAINNET,
},
{
id: '0x1b65fe4881800b91d4277ba738b567cbb200a60d0002000000000000000002cc',
network: Network.MAINNET,
},
];

export const KOVAN_POOLS: Pool[] = [
Expand Down Expand Up @@ -378,6 +382,10 @@ export const POLYGON_POOLS: Pool[] = [
id: '0xb797adfb7b268faeaa90cadbfed464c76ee599cd0002000000000000000005ba',
network: Network.POLYGON,
},
{
id: '0x8f9dd2064eb38e8e40f2ab67bde27c0e16ea9b080002000000000000000004ca',
network: Network.POLYGON,
},
];

export const POOLS = [
Expand Down

5 comments on commit cc29c5a

@vercel
Copy link

@vercel vercel bot commented on cc29c5a Aug 1, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on cc29c5a Aug 1, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on cc29c5a Aug 1, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on cc29c5a Aug 1, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on cc29c5a Aug 1, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.