Skip to content

Commit

Permalink
Merge branch 'master' into chore/add-networks-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
garethfuller committed Jun 27, 2024
2 parents 80efe34 + 70c05ca commit ec9eb8f
Show file tree
Hide file tree
Showing 8 changed files with 138 additions and 5 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/frontend-v2",
"version": "1.144.105",
"version": "1.144.110",
"engines": {
"node": "=16",
"npm": ">=8"
Expand Down
58 changes: 58 additions & 0 deletions src/lib/config/arbitrum/pools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,8 @@ const pools: Pools = {
'0x395aad0582cd035c6c75ae32043bb83423ddd6f800020000000000000000054c',
'0x90e6cb5249f5e1572afbf8a96d8a1ca6acffd73900000000000000000000055c',
'0xcdcef9765d369954a4a936064535710f7235110a000200000000000000000558',
'0xd2b6e489ce64691cb46967df6963a49f92764ba9000200000000000000000545',
'0xfed111077e0905ef2b2fbf3060cfa9a34bab4383000200000000000000000544',
],
AllowList: [
'0x88e2c969e2a1c69c16d1dcd9f8acde4c6ab3838a0002000000000000000004c1',
Expand Down Expand Up @@ -351,6 +353,62 @@ const pools: Pools = {
},
],
},
'0x7272163a931dac5bbe1cb5fefaf959bb65f7346f000200000000000000000549': {
points: [
{
protocol: Protocol.Gyro,
multiple: '5',
description:
'LPs in this pool earn Gyroscope SPIN on the TVL of the pool.',
},
],
},
'0x6e822c64c00393b2078f2a5bb75c575ab505b55c000200000000000000000548': {
points: [
{
protocol: Protocol.Gyro,
multiple: '5',
description:
'LPs in this pool earn Gyroscope SPIN on the TVL of the pool.',
},
],
},
'0xef0c116a2818a5b1a5d836a291856a321f43c2fb00020000000000000000053a': {
points: [
{
protocol: Protocol.Gyro,
multiple: '1',
description:
'LPs in this pool earn Gyroscope SPIN on the TVL of the pool.',
},
],
},
'0x395aad0582cd035c6c75ae32043bb83423ddd6f800020000000000000000054c': {
points: [
{
protocol: Protocol.Gyro,
multiple: '5',
description:
'LPs in this pool earn 5x SPIN on the GYD portion (equivalently 1x on pool TVL) of the pool',
},
],
},
'0x90e6cb5249f5e1572afbf8a96d8a1ca6acffd73900000000000000000000055c': {
points: [
{
protocol: Protocol.Kelp,
multiple: '2',
description:
'LPs earn 2x miles. The Miles boost increases rewards based on the total pool capital, not just rsETH. Your daily Kelp Miles value is calculated by multiplying the effective rsETH balance by 10,000 times the boost value. Your Miles are then distributed based on your share of the liquidity pool.',
},
{
protocol: Protocol.Eigenlayer,
multiple: '1',
description:
'LPs in this pool get their share of Eigenlayer points depending on assets deposited in the pool.',
},
],
},
},
Deep: [
'0x077794c30afeccdf5ad2abc0588e8cee7197b71a000000000000000000000352', // bb-rf-usd (arbitrum)
Expand Down
1 change: 1 addition & 0 deletions src/lib/config/base/pools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ const pools: Pools = {
'0x98bedb6a3c0b6feebbe662e6419481a6877d9681000000000000000000000104',
'0xab99a3e856deb448ed99713dfce62f937e2d4d74000000000000000000000118',
'0x821afe819450a359e29a5209c48f2fa3321c8ad200020000000000000000010d',
'0x0dce7d1e1fbfc85c31bd04f890027738f00e580b000100000000000000000163',
],
AllowList: [
'0x868f0efc81a6c1df16298dcc82f7926b9099946b00020000000000000000000b', // Bald/weth
Expand Down
6 changes: 6 additions & 0 deletions src/lib/config/gnosis-chain/pools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const pools: Pools = {
'Investment',
'StablePhantom',
'ComposableStable',
'GyroE',
],
Stable: {
AllowList: [
Expand Down Expand Up @@ -100,6 +101,7 @@ const pools: Pools = {
'0xd87f44df0159dc78029ab9ca7d7e57e7249f5acd': 'composableStablePool', // ComposableStable V4
'0x4bdcc2fb18aeb9e2d281b0278d946445070eada7': 'composableStablePool', // ComposableStable V5
'0x47b489bf5836f83abd928c316f8e39bc0587b020': 'composableStablePool', // ComposableStable V6
'0x5d3be8aae57bf0d1986ff7766cc9607b6cc99b89': 'gyroE', // Gyro ECLP
},
Stakable: {
VotingGaugePools: [
Expand Down Expand Up @@ -129,6 +131,7 @@ const pools: Pools = {
'0xc9f00c3a713008ddf69b768d90d4978549bfdf9400000000000000000000006d',
'0x045200c6077f105023000d803f3f95b16b187d70000200000000000000000091',
'0x8dd4df4ce580b9644437f3375e54f1ab0980822800020000000000000000009c',
'0x71e1179c5e197fa551beec85ca2ef8693c61b85b0002000000000000000000a0',
],
AllowList: [],
},
Expand Down Expand Up @@ -164,6 +167,9 @@ const pools: Pools = {
description: 'deprecatedPool.hasNewPool.description',
},
},
BrandedRedirect: {
GyroE: 'gyro',
},
BoostedApr: [],
DisabledJoins: [...CSP_ISSUE_POOL_IDS[Network.GNOSIS]],
Issues: {
Expand Down
13 changes: 13 additions & 0 deletions src/lib/config/mainnet/pools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,7 @@ const pools: Pools = {
'0x897888115ada5773e02aa29f775430bfb5f34c51': 'weightedPool', // weighted pool v4
'0x5f43fba61f63fa6bff101a0a0458cea917f6b347': 'eulerLinear',
'0xdb8d758bcb971e482b2c45f7f8a7740283a1bd3a': 'composableStablePool', // ComposableStable v5
'0x5b42ec6d40f7b7965be5308c70e2603c0281c1e9': 'composableStablePool', // ComposableStable v6
'0x412a5b2e7a678471985542757a6855847d4931d5': 'gyroE',
'0x579653927bf509b361f6e3813f5d4b95331d98c9': 'gyroE',
'0xfb23bc0d2629268442cd6521cf4170698967105f': 'fx',
Expand Down Expand Up @@ -535,6 +536,8 @@ const pools: Pools = {
'0x47a4f5440ab097cf3ec7abeedf1afecc5749a4e200000000000000000000068d',
'0x38fe2b73612527eff3c5ac3bf2dcb73784ad927400000000000000000000068c',
'0xee3959fd00a0b996d801fc34b7ce566bd037f5f500020000000000000000063e',
'0x48a5bfb5bd44345db0b31fa4b5a204890695c9b4000000000000000000000697',
'0x5002eb99f569405987d56e53cec01fbb5da28968000200000000000000000696',
],
AllowList: [
'0x54ca50ee86616379420cc56718e12566aa75abbe000200000000000000000610', // wusdm/wsteth
Expand Down Expand Up @@ -734,6 +737,16 @@ const pools: Pools = {
},
],
},
'0xae2d97cbbc13b67988eced2aba0f6939655ed3de00020000000000000000068b': {
points: [
{
protocol: Protocol.Gyro,
multiple: '5',
description:
'LPs in this pool earn Gyroscope SPIN on the TVL of the pool.',
},
],
},
},
Deep: [
'0x7b50775383d3d6f0215a8f290f2c9e2eebbeceb20000000000000000000000fe', // bb-a-USD1 (mainnet)
Expand Down
15 changes: 14 additions & 1 deletion src/lib/config/polygon/pools.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { PoolWarning, Pools } from '@/types/pools';
import { Network } from '../types';
import { CSP_ISSUE_POOL_IDS } from '@/constants/pool-lists/csp-issue';
import { Protocol } from '@/composables/useProtocols';

const pools: Pools = {
IdsMap: {
Expand Down Expand Up @@ -797,12 +798,24 @@ const pools: Pools = {
'0xba773022202887379f0733f111e4580f53296ada000200000000000000000e76',
'0x4b7586a4f49841447150d3d92d9e9e000f766c30000000000000000000000e8a', // USDC/USDT/DAI
'0x1dcea0bfbbe6848f117640d534c9b60f41b9f2a8000100000000000000000ea1', // USDC/WBTC/WETH
'0x7c173e2a341faf5c90bf0ff448cd925d3731c604000200000000000000000eb8',
],
AllowList: [
'0xe6d8fcd23ed4e417d7e9d1195edf2ca634684e0e000200000000000000000caf',
],
},
Metadata: {},
Metadata: {
'0xee278d943584dd8640eaf4cc6c7a5c80c0073e85000200000000000000000bc7': {
points: [
{
protocol: Protocol.Gyro,
multiple: '1',
description:
'LPs in this pool earn Gyroscope SPIN on the TVL of the pool.',
},
],
},
},
Deep: [
'0x48e6b98ef6329f8f0a30ebb8c7c960330d64808500000000000000000000075b', // bb-am-USD (polygon)
'0xb54b2125b711cd183edd3dd09433439d5396165200000000000000000000075e', // miMATIC/bb-am-USD (polygon)
Expand Down
44 changes: 43 additions & 1 deletion src/lib/config/zkevm/pools.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { CSP_ISSUE_POOL_IDS } from '@/constants/pool-lists/csp-issue';
import { PoolWarning, Pools, RiskKey } from '@/types/pools';
import { Network } from '../types';
import { Protocol } from '@/composables/useProtocols';

const pools: Pools = {
IdsMap: {},
Expand Down Expand Up @@ -100,7 +101,48 @@ const pools: Pools = {
'0xa4475aa0a6971e3cc82de08e9ce432ecc8a562ad000200000000000000000029',
],
},
Metadata: {},
Metadata: {
'0xf596ac9c9b60f9c555b8290c2b039c275396afb4000200000000000000000068': {
points: [
{
protocol: Protocol.Gyro,
multiple: '5',
description:
'LPs in this pool earn Gyroscope SPIN on the TVL of the pool.',
},
],
},
'0xd4ec150896f1784b5be2b3af460d2cb2b8c0f522000200000000000000000069': {
points: [
{
protocol: Protocol.Gyro,
multiple: '5',
description:
'LPs in this pool earn Gyroscope SPIN on the TVL of the pool.',
},
],
},
'0xe58cd0c79cdff6252476b3445bee1400503e0ae0000200000000000000000066': {
points: [
{
protocol: Protocol.Gyro,
multiple: '1',
description:
'LPs in this pool earn Gyroscope SPIN on the TVL of the pool.',
},
],
},
'0x9f826c576b1f821df31ca6d58c9443db25a81d65000200000000000000000064': {
points: [
{
protocol: Protocol.Gyro,
multiple: '1',
description:
'LPs in this pool earn Gyroscope SPIN on the TVL of the pool.',
},
],
},
},
Deep: [
'0x68a69c596b3839023c0e08d09682314f582314e5000200000000000000000011',
'0xe274c9deb6ed34cfe4130f8d0a8a948dea5bb28600000000000000000000000d',
Expand Down

0 comments on commit ec9eb8f

Please sign in to comment.