Skip to content

Commit

Permalink
hotfix: Update voting gauge list and whitelist stables (develop merge) (
Browse files Browse the repository at this point in the history
#2795)

* hotfix: adding ankrETH gauge (#2758)

* Update voting gauge list

* chore: remove env var

* chore: Bump version

---------

Co-authored-by: Gareth Fuller <[email protected]>

* Hotfix/no deep pools composition (#2765)

* Fix isDeepPool check in composition table

* hotfix: add new frxeth pool to whitelist (#2767)

* add new frxeth pool to whitelist

* chore: Bump lock version

---------

Co-authored-by: Gareth Fuller <[email protected]>

* Hotfix: default to tokenlists for pill symbols (#2771)

* fix: Default to tokenlist symbol and fallback to onchain

* chore: Bump version

* fix: Apply symbol logic to pool header and composition table

* hotfix: Add wUSDR/USDC stable pool (#2781)

* Add wUSDR/USDC stable pool to allowlist

* Bump version

---------

Co-authored-by: Daniel Kuppitz <[email protected]>

* Update voting gauge list and whitelist stables

* adding zusd euler to whitelist

* hotfix: Add pool transfers guard back (#2783)

* Add pool transfers guard back

* Remove transfers guard from withdraw page

* Add transfers guard to withdraw page

---------

Co-authored-by: Gareth Fuller <[email protected]>

* chore: Bump version

---------

Co-authored-by: ZeKraken <[email protected]>
Co-authored-by: Alberto Gualis <[email protected]>
Co-authored-by: Daniel Kuppitz <[email protected]>
Co-authored-by: Daniel Kuppitz <[email protected]>
Co-authored-by: zekraken <[email protected]>
Co-authored-by: Simeon Kerkola <[email protected]>
  • Loading branch information
7 people authored Feb 10, 2023
1 parent 35a96b6 commit 13b3052
Show file tree
Hide file tree
Showing 5 changed files with 175 additions and 33 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.88.6",
"version": "1.88.7",
"engines": {
"node": "=16",
"npm": ">=8"
Expand Down
8 changes: 7 additions & 1 deletion src/constants/pools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,12 @@ const POOLS_MAINNET: Pools = {
'0x8a34b5ad76f528bfec06c80d85ef3b53da7fc30000020000000000000000043e', // ankrETH/weth stable
'0x961764651931941f23cea5bab246607dc19ef224000200000000000000000444', // tetubal
'0xb08885e6026bab4333a80024ec25a1a3e1ff2b8a000200000000000000000445', // rETH (stafi ETH)/weth
'0x831261F44931B7DA8BA0DCC547223C60BB75B47F000200000000000000000460', // wUSDR/USDC stable pool
'0x831261f44931b7da8ba0dcc547223c60bb75b47f000200000000000000000460', // wUSDR/USDC stable pool
'0x5aee1e99fe86960377de9f88689616916d5dcabe000000000000000000000467', // sfrxeth/wsteth/reth (v3)
'0x50cf90b954958480b8df7958a9e965752f62712400000000000000000000046f', // bbeusd
'0x133d241f225750d2c92948e464a5a80111920331000000000000000000000476', // dola/bbeusd
'0x00c2a4be503869fa751c2dbcb7156cc970b5a8da000000000000000000000477', // euler-frax/euler-usdc
'0x3dbb8d974b82e82ce79c20c0f5995f4f1f533ede000000000000000000000470', // zUSD-bb-e-USD
],
},
Investment: {
Expand Down Expand Up @@ -536,6 +541,7 @@ const POOLS_ARBITRUM: Pools = {
'0x7bceaa9c5e7f4836fec3bce2d5346637c9b13970000000000000000000000102', // vesta new stable
'0xfb5e6d0c1dfed2ba000fbc040ab8df3615ac329c000000000000000000000159', // stETH
'0x36bf227d6bac96e2ab1ebb5492ecec69c691943f000200000000000000000316', // wsteth/weth stable
'0x077794c30afeccdf5ad2abc0588e8cee7197b71a000000000000000000000352', // bbrfusd
],
},
Investment: {
Expand Down
20 changes: 20 additions & 0 deletions src/constants/voting-gauge-pools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,26 @@ export const MAINNET_POOLS: Pool[] = [
id: '0x8a34b5ad76f528bfec06c80d85ef3b53da7fc30000020000000000000000043e',
network: Network.MAINNET,
},
{
id: '0xdb0cbcf1b8282dedc90e8c2cefe11041d6d1e9f0000200000000000000000431',
network: Network.MAINNET,
},
{
id: '0xe4010ef5e37dc23154680f23c4a0d48bfca91687000200000000000000000432',
network: Network.MAINNET,
},
{
id: '0xb08885e6026bab4333a80024ec25a1a3e1ff2b8a000200000000000000000445',
network: Network.MAINNET,
},
{
id: '0x384f67aa430376efc4f8987eabf7f3f84eb9ea5d00020000000000000000043d',
network: Network.MAINNET,
},
{
id: '0xad0e5e0778cac28f1ff459602b31351871b5754a0002000000000000000003ce',
network: Network.MAINNET,
},
];

export const GOERLI_POOLS: Pool[] = [
Expand Down
174 changes: 145 additions & 29 deletions src/data/voting-gauges.json
Original file line number Diff line number Diff line change
Expand Up @@ -2221,35 +2221,6 @@
"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2": "https://raw.githubusercontent.com/balancer-labs/assets/master/assets/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2.png"
}
},
{
"address": "0xe624E9E85A5728072313c4F4720cDF8fD4FFdAFC",
"network": 1,
"isKilled": true,
"relativeWeightCap": "null",
"addedTimestamp": 1670269367,
"pool": {
"id": "0x4edcb2b46377530bc18bb4d2c7fe46a992c73e100000000000000000000003ec",
"address": "0x4EdcB2B46377530Bc18BB4D2c7Fe46a992c73e10",
"poolType": "ComposableStable",
"symbol": "cbETH-wstETH-BPT",
"tokens": [
{
"address": "0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0",
"weight": "null",
"symbol": "wstETH"
},
{
"address": "0xBe9895146f7AF43049ca1c1AE358B0541Ea49704",
"weight": "null",
"symbol": "cbETH"
}
]
},
"tokenLogoURIs": {
"0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0": "https://raw.githubusercontent.com/balancer-labs/assets/master/assets/0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0.png",
"0xBe9895146f7AF43049ca1c1AE358B0541Ea49704": "https://raw.githubusercontent.com/balancer-labs/assets/master/assets/0xbe9895146f7af43049ca1c1ae358b0541ea49704.png"
}
},
{
"address": "0x5f2c3422a675860f0e019Ddd78C6fA681bE84bd4",
"network": 1,
Expand Down Expand Up @@ -2453,6 +2424,151 @@
"0xE95A203B1a91a908F9B9CE46459d101078c2c3cb": "https://raw.githubusercontent.com/balancer-labs/assets/master/assets/0xe95a203b1a91a908f9b9ce46459d101078c2c3cb.png"
}
},
{
"address": "0x4dC35eC8562596ddA6aEe8EceE59a76D4d72b83E",
"network": 1,
"isKilled": false,
"relativeWeightCap": "0.02",
"addedTimestamp": 1675955387,
"pool": {
"id": "0xdb0cbcf1b8282dedc90e8c2cefe11041d6d1e9f0000200000000000000000431",
"address": "0xDb0cBcF1b8282dedc90e8c2CEFe11041d6d1e9f0",
"poolType": "Weighted",
"symbol": "50SD-50USDC",
"tokens": [
{
"address": "0x30D20208d987713f46DFD34EF128Bb16C404D10f",
"weight": "0.5",
"symbol": "SD"
},
{
"address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"weight": "0.5",
"symbol": "USDC"
}
]
},
"tokenLogoURIs": {
"0x30D20208d987713f46DFD34EF128Bb16C404D10f": "https://raw.githubusercontent.com/balancer-labs/assets/master/assets/0x30d20208d987713f46dfd34ef128bb16c404d10f.png",
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png"
}
},
{
"address": "0x37eCa8DaaB052E722e3bf8ca861aa4e1C047143b",
"network": 1,
"isKilled": false,
"relativeWeightCap": "0.02",
"addedTimestamp": 1675955387,
"pool": {
"id": "0xe4010ef5e37dc23154680f23c4a0d48bfca91687000200000000000000000432",
"address": "0xE4010EF5E37dc23154680f23c4A0d48BFca91687",
"poolType": "Weighted",
"symbol": "80SD-20WETH",
"tokens": [
{
"address": "0x30D20208d987713f46DFD34EF128Bb16C404D10f",
"weight": "0.8",
"symbol": "SD"
},
{
"address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"weight": "0.2",
"symbol": "WETH"
}
]
},
"tokenLogoURIs": {
"0x30D20208d987713f46DFD34EF128Bb16C404D10f": "https://raw.githubusercontent.com/balancer-labs/assets/master/assets/0x30d20208d987713f46dfd34ef128bb16c404d10f.png",
"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2": "https://raw.githubusercontent.com/balancer-labs/assets/master/assets/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2.png"
}
},
{
"address": "0x10a361766e64D7983a97202ac3a0F4cee06Eb717",
"network": 1,
"isKilled": false,
"relativeWeightCap": "1",
"addedTimestamp": 1675955387,
"pool": {
"id": "0xb08885e6026bab4333a80024ec25a1a3e1ff2b8a000200000000000000000445",
"address": "0xB08885e6026bab4333A80024Ec25a1a3e1FF2b8A",
"poolType": "MetaStable",
"symbol": "B-staFiETH-WETH-Stable",
"tokens": [
{
"address": "0x9559Aaa82d9649C7A7b220E7c461d2E74c9a3593",
"weight": "null",
"symbol": "rETH"
},
{
"address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"weight": "null",
"symbol": "WETH"
}
]
},
"tokenLogoURIs": {
"0x9559Aaa82d9649C7A7b220E7c461d2E74c9a3593": "https://raw.githubusercontent.com/balancer-labs/assets/master/assets/0x9559aaa82d9649c7a7b220e7c461d2e74c9a3593.png",
"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2": "https://raw.githubusercontent.com/balancer-labs/assets/master/assets/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2.png"
}
},
{
"address": "0xFc4541437265945F13368F9F61c19dA427D41A02",
"network": 1,
"isKilled": false,
"relativeWeightCap": "1",
"addedTimestamp": 1675955387,
"pool": {
"id": "0x384f67aa430376efc4f8987eabf7f3f84eb9ea5d00020000000000000000043d",
"address": "0x384F67aA430376efc4f8987eaBf7F3f84eB9EA5d",
"poolType": "Stable",
"symbol": "DOLA-CUSD BSP",
"tokens": [
{
"address": "0x865377367054516e17014CcdED1e7d814EDC9ce4",
"weight": "null",
"symbol": "DOLA"
},
{
"address": "0xC285B7E09A4584D027E5BC36571785B515898246",
"weight": "null",
"symbol": "CUSD"
}
]
},
"tokenLogoURIs": {
"0x865377367054516e17014CcdED1e7d814EDC9ce4": "https://raw.githubusercontent.com/balancer-labs/assets/master/assets/0x865377367054516e17014ccded1e7d814edc9ce4.png",
"0xC285B7E09A4584D027E5BC36571785B515898246": "https://raw.githubusercontent.com/balancer-labs/assets/master/assets/0xc285b7e09a4584d027e5bc36571785b515898246.png"
}
},
{
"address": "0xE629c43BCad1029E12ED51432B9dd3432b656cc9",
"network": 1,
"isKilled": false,
"relativeWeightCap": "0.02",
"addedTimestamp": 1675955387,
"pool": {
"id": "0xad0e5e0778cac28f1ff459602b31351871b5754a0002000000000000000003ce",
"address": "0xAd0e5e0778cAC28f1ff459602b31351871B5754a",
"poolType": "FX",
"symbol": "BPT",
"tokens": [
{
"address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"weight": "null",
"symbol": "USDC"
},
{
"address": "0xdB25f211AB05b1c97D595516F45794528a807ad8",
"weight": "null",
"symbol": "EURS"
}
]
},
"tokenLogoURIs": {
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png",
"0xdB25f211AB05b1c97D595516F45794528a807ad8": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xdB25f211AB05b1c97D595516F45794528a807ad8/logo.png"
}
},
{
"address": "0x359EA8618c405023Fc4B98dAb1B01F373792a126",
"network": 42161,
Expand Down

0 comments on commit 13b3052

Please sign in to comment.