Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add fraxtal and mode networks (dm) #5872

Merged
merged 344 commits into from
Jun 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
344 commits
Select commit Hold shift + click to select a range
69dff16
1.144.28
gh-action-bump-version May 6, 2024
7fcce1a
Merge branch 'master' into update-allowlist-polygon-0x99ea8823656aa63…
agualis May 6, 2024
0ae2bf3
Merge pull request #5650 from balancer/update-allowlist-polygon-0x99e…
agualis May 6, 2024
d779207
1.144.29
gh-action-bump-version May 6, 2024
8a36bc6
Update pools.ts (#5660)
Xeonus May 6, 2024
4fe0d37
1.144.30
gh-action-bump-version May 6, 2024
75a6e58
chore: Init (#5661)
garethfuller May 7, 2024
1c864a8
1.144.31
gh-action-bump-version May 7, 2024
a8204ca
chore: Add 50USDC-50USDT pool to polygon allowlist
balopco May 7, 2024
50bf9d9
Merge pull request #5663 from balancer/update-allowlist-polygon-0xd99…
agualis May 7, 2024
e4aee79
1.144.32
gh-action-bump-version May 7, 2024
69fe24d
chore: Add 33WMATIC-33WETH-33PORIGON pool to polygon allowlist (#5665)
github-actions[bot] May 8, 2024
1b7c5be
1.144.33
gh-action-bump-version May 8, 2024
eee0fa9
chore: Add 33WETH-33$KABOSUCHAN-33DOG pool to base allowlist
balopco May 8, 2024
f501ede
Merge pull request #5668 from balancer/update-allowlist-base-0x610dd4…
Xeonus May 8, 2024
ab6f038
1.144.34
gh-action-bump-version May 8, 2024
177a737
chore: Add 50GNO-50GNOBBY pool to gnosis-chain allowlist (#5669)
github-actions[bot] May 8, 2024
f06c440
1.144.35
gh-action-bump-version May 8, 2024
83f3f47
weekly gauges (#5670)
zekraken-bot May 8, 2024
194af42
1.144.36
gh-action-bump-version May 8, 2024
46f37d2
chore: Add 50USDC-50USDT pool to polygon allowlist
balopco May 8, 2024
b318c69
chore: Add 33GOLD-33USDC-33WETH pool to ethereum allowlist
balopco May 8, 2024
05cd25c
Merge pull request #5672 from balancer/update-allowlist-ethereum-0x0e…
Tritium-VLK May 8, 2024
0ac4874
1.144.37
gh-action-bump-version May 8, 2024
7253b25
chore: Add 50DOG-50USDbC pool to base allowlist
balopco May 9, 2024
2606c28
Merge pull request #5673 from balancer/update-allowlist-base-0x51549c…
agualis May 9, 2024
b7cd7a5
1.144.38
gh-action-bump-version May 9, 2024
56c1fa0
Merge pull request #5671 from balancer/update-allowlist-polygon-0x569…
agualis May 9, 2024
55e87f7
1.144.39
gh-action-bump-version May 9, 2024
e64d36e
chore: Add 10WMATIC-10WBTC-10GHST-30STARV4-40STAR-L/StarSeeds_Protoco…
balopco May 9, 2024
550b6bc
chore: Add 50EAV-50USDT pool to polygon allowlist
balopco May 10, 2024
c251d24
Update pools.ts (#5678)
zekraken-bot May 10, 2024
4a858df
1.144.40
gh-action-bump-version May 10, 2024
ec9a7a0
chore: Add 24WMATIC-8GHST-SS-16USDC-16GHST-8USD-SS-8STARV4-12WETH-8MA…
balopco May 11, 2024
1d3d925
chore: Add 12WMATIC-10AIMX-10BONSAI-12USD-SS-18STARV4-12WETH-16STAR-L…
balopco May 11, 2024
d7deb36
chore: Add 15WMATIC-15GHST-SS-12AI-15USDC-15STARV4-10BULL-10STAR-L-8S…
balopco May 11, 2024
c71ab22
chore: Add 51WETH-49USDC pool to base allowlist
balopco May 12, 2024
7f8d249
chore: Add 50WETH-50USDC pool to base allowlist
balopco May 12, 2024
569d661
chore: Add 45DAI-55USDC pool to base allowlist
balopco May 12, 2024
3b395d3
chore: Add 45WETH-55USDC pool to base allowlist
balopco May 13, 2024
7bbb0f8
chore: Add 43WETH-57DAI pool to base allowlist
balopco May 13, 2024
53aca82
chore: Add 47WETH-53USDC pool to base allowlist
balopco May 13, 2024
74a9f1f
Merge pull request #5687 from balancer/update-allowlist-base-0xcbceee…
agualis May 13, 2024
412843b
1.144.41
gh-action-bump-version May 13, 2024
c2be543
Merge branch 'master' into update-allowlist-base-0x38fdbbc14fac54d928…
agualis May 13, 2024
befed01
Merge pull request #5686 from balancer/update-allowlist-base-0x38fdbb…
agualis May 13, 2024
87682d6
1.144.42
gh-action-bump-version May 13, 2024
9ad3236
Merge pull request #5675 from balancer/update-allowlist-polygon-0xf33…
agualis May 13, 2024
fd647c4
1.144.43
gh-action-bump-version May 13, 2024
b5720fd
Merge branch 'master' into update-allowlist-polygon-0x37dae53197d3cc7…
agualis May 13, 2024
c856ad4
Merge pull request #5679 from balancer/update-allowlist-polygon-0x37d…
agualis May 13, 2024
f94802c
1.144.44
gh-action-bump-version May 13, 2024
f70e75a
chore: Add 56WETH-44USDC pool to base allowlist
balopco May 13, 2024
feebbac
Merge branch 'master' into update-allowlist-polygon-0xbc0144caf275099…
agualis May 13, 2024
01cefae
Merge pull request #5676 from balancer/update-allowlist-polygon-0xbc0…
agualis May 13, 2024
1573518
1.144.45
gh-action-bump-version May 13, 2024
0500479
Merge branch 'master' into update-allowlist-polygon-0xc7c9a198865abeb…
agualis May 13, 2024
a4dc8da
Merge pull request #5680 from balancer/update-allowlist-polygon-0xc7c…
agualis May 13, 2024
2355811
1.144.46
gh-action-bump-version May 13, 2024
971ac49
Merge branch 'master' into update-allowlist-polygon-0xf2c0bc92ce33b51…
agualis May 13, 2024
d724bd5
Merge pull request #5681 from balancer/update-allowlist-polygon-0xf2c…
agualis May 13, 2024
35ebd87
1.144.47
gh-action-bump-version May 13, 2024
0a3874d
Merge branch 'master' into update-allowlist-base-0x2cdb094493b51c849e…
agualis May 13, 2024
3e633e4
Merge pull request #5682 from balancer/update-allowlist-base-0x2cdb09…
agualis May 13, 2024
9f42ff8
1.144.48
gh-action-bump-version May 13, 2024
6a715b0
Merge branch 'master' into update-allowlist-base-0x0a9541cbc8fff42efc…
agualis May 13, 2024
a473a28
Merge pull request #5683 from balancer/update-allowlist-base-0x0a9541…
agualis May 13, 2024
5a1d82e
1.144.49
gh-action-bump-version May 13, 2024
6e881d9
Merge branch 'master' into update-allowlist-base-0xe948c9e9de65ae75bc…
agualis May 13, 2024
7343147
Merge pull request #5684 from balancer/update-allowlist-base-0xe948c9…
agualis May 13, 2024
6f205c7
1.144.50
gh-action-bump-version May 13, 2024
cf19295
Merge branch 'master' into update-allowlist-base-0x1628c2b8592d51b1e1…
agualis May 13, 2024
95daf6f
Merge pull request #5685 from balancer/update-allowlist-base-0x1628c2…
agualis May 13, 2024
4e2e893
1.144.51
gh-action-bump-version May 13, 2024
69dfe54
Merge pull request #5688 from balancer/update-allowlist-base-0xfffbcb…
agualis May 13, 2024
3cf0f83
1.144.52
gh-action-bump-version May 13, 2024
cb113c1
chore: Add 51WETH-49USDC pool to base allowlist
balopco May 13, 2024
347d7bb
Merge pull request #5689 from balancer/update-allowlist-base-0x250290…
agualis May 13, 2024
1c0f2c0
1.144.53
gh-action-bump-version May 13, 2024
ec91610
chore: Add 46WETH-54USDC pool to base allowlist
balopco May 13, 2024
6fe2258
chore: Add 40WETH-60DAI pool to base allowlist
balopco May 13, 2024
c127d7c
Merge pull request #5693 from balancer/update-allowlist-base-0x193904…
agualis May 13, 2024
ed88e95
1.144.54
gh-action-bump-version May 13, 2024
75605b3
Merge branch 'master' into update-allowlist-base-0x821f38c1e93be6debe…
agualis May 13, 2024
8e21b8a
Merge pull request #5691 from balancer/update-allowlist-base-0x821f38…
agualis May 13, 2024
6875dde
1.144.55
gh-action-bump-version May 13, 2024
679fa8b
chore: Add 40WMATIC-8GHST-SS-8USD-SS-12STARV4-8STAR-L-8MATIC-SS-8BTC-…
balopco May 13, 2024
4fff4a8
chore: Add 8GHST-SS-8USD-SS-12STARV4-8STAR-L-8MATIC-SS-8BTC-SS-8ETH-S…
balopco May 13, 2024
6e9968e
chore: Add ETHx/wstETH pool to arbitrum allowlist (#5707)
github-actions[bot] May 14, 2024
6b74550
1.144.56
gh-action-bump-version May 14, 2024
934cecb
Merge pull request #5697 from balancer/update-allowlist-polygon-0x617…
agualis May 14, 2024
2c65368
1.144.57
gh-action-bump-version May 14, 2024
9b4588b
Merge branch 'master' into update-allowlist-polygon-0x132c8c14179c495…
agualis May 14, 2024
cba0a64
Merge pull request #5706 from balancer/update-allowlist-polygon-0x132…
agualis May 14, 2024
6e17a25
1.144.58
gh-action-bump-version May 14, 2024
cebfc9b
chore: Increase Kelp points (#5720)
garethfuller May 14, 2024
5fbc8fa
1.144.59
gh-action-bump-version May 14, 2024
a2bc094
chore: Update points (#5721)
garethfuller May 14, 2024
417e4c0
1.144.60
gh-action-bump-version May 14, 2024
6255f93
chore: update sdk version
agualis May 15, 2024
8b0fcc1
chore: Add 8GHST-SS-40USDC-8USD-SS-12STARV4-8STAR-L-8MATIC-SS-8BTC-SS…
github-actions[bot] May 15, 2024
1a6400c
1.144.61
gh-action-bump-version May 15, 2024
0ded92b
chore: Add 8GHST-SS-40AIMX-8USD-SS-12STARV4-8STAR-L-8MATIC-SS-8BTC-SS…
github-actions[bot] May 15, 2024
74c1060
1.144.62
gh-action-bump-version May 15, 2024
7a2ec60
chore: Add 8GHST-SS-8USD-SS-12STARV4-40WETH-8STAR-L-8MATIC-SS-8BTC-SS…
github-actions[bot] May 15, 2024
3eae9f6
1.144.63
gh-action-bump-version May 15, 2024
3ee6039
chore: Add 8GHST-SS-40GHST-8USD-SS-12STARV4-8STAR-L-8MATIC-SS-8BTC-SS…
github-actions[bot] May 15, 2024
3612509
1.144.64
gh-action-bump-version May 15, 2024
aeb7c8b
chore: Add 8GHST-SS-40BONSAI-8USD-SS-12STARV4-8STAR-L-8MATIC-SS-8BTC-…
github-actions[bot] May 15, 2024
045ac69
1.144.65
gh-action-bump-version May 15, 2024
be615ef
chore: Add 8GHST-SS-8USD-SS-12STARV4-8STAR-L-8MATIC-SS-8BTC-SS-40OM-8…
github-actions[bot] May 15, 2024
c6e91c1
1.144.66
gh-action-bump-version May 15, 2024
04e9979
chore: Add 8GHST-SS-8USD-SS-12STARV4-40BULL-8STAR-L-8MATIC-SS-8BTC-SS…
github-actions[bot] May 15, 2024
fa67e8f
1.144.67
gh-action-bump-version May 15, 2024
5e03ec7
chore: Add 8GHST-SS-40AI-8USD-SS-12STARV4-8STAR-L-8MATIC-SS-8BTC-SS-8…
github-actions[bot] May 15, 2024
536e69a
1.144.68
gh-action-bump-version May 15, 2024
2145f02
chore: Add Vinu Farm pool to polygon allowlist (#5738)
github-actions[bot] May 15, 2024
be8f761
1.144.69
gh-action-bump-version May 15, 2024
8273f7f
chore: Add wBTC/wETH/USDC pool to polygon allowlist (#5739)
github-actions[bot] May 15, 2024
725fcc5
1.144.70
gh-action-bump-version May 15, 2024
3ab5374
Update pools.ts
zekraken-bot May 15, 2024
666181d
Merge pull request #5740 from balancer/zekraken-bot-patch-1
Zen-Maxi May 15, 2024
7d917da
1.144.71
gh-action-bump-version May 15, 2024
960b4bb
Update to latest version (beta 19)
agualis May 16, 2024
d665153
Merge pull request #5733 from balancer/update/sdk
agualis May 16, 2024
8108bf0
1.144.72
gh-action-bump-version May 16, 2024
bd05626
chore: Add 33USDC-33USDGLO-33SBC pool to polygon allowlist (#5770)
github-actions[bot] May 21, 2024
d48aef9
1.144.73
gh-action-bump-version May 21, 2024
75974fb
chore: Add 20WMATIC-10GHST-SS-10USD-SS-15STARV4-15STAR-L-10MATIC-SS-1…
github-actions[bot] May 21, 2024
fd8f62c
1.144.74
gh-action-bump-version May 21, 2024
8daea9b
chore: Add 10GHST-SS-20USDC-10USD-SS-15STARV4-15STAR-L-10MATIC-SS-10B…
github-actions[bot] May 21, 2024
bf2efe6
1.144.75
gh-action-bump-version May 21, 2024
7e49a32
chore: Add 10GHST-SS-20GHST-10USD-SS-15STARV4-15STAR-L-10MATIC-SS-10B…
github-actions[bot] May 21, 2024
5b6cc7f
1.144.76
gh-action-bump-version May 21, 2024
da077e7
chore: Add 10GHST-SS-10USD-SS-15STARV4-20RAW-15STAR-L-10MATIC-SS-10BT…
github-actions[bot] May 21, 2024
42c6325
1.144.77
gh-action-bump-version May 21, 2024
0a1c261
chore: Add 10GHST-SS-20AI-10USD-SS-15STARV4-15STAR-L-10MATIC-SS-10BTC…
github-actions[bot] May 21, 2024
1e75bde
1.144.78
gh-action-bump-version May 21, 2024
8696db5
chore: Add 20WMATIC-80RAW/StarSeeds_Protocol pool to polygon allowlis…
github-actions[bot] May 21, 2024
3f3a2a6
1.144.79
gh-action-bump-version May 21, 2024
622eaa6
chore: Add RDNT-WETH pool to base allowlist (#5758)
github-actions[bot] May 21, 2024
844ec08
1.144.80
gh-action-bump-version May 21, 2024
65a25a0
Update pools.ts
zekraken-bot May 22, 2024
c165b7b
Merge pull request #5775 from balancer/zekraken-bot-patch-2
Zen-Maxi May 22, 2024
d1b7d85
1.144.81
gh-action-bump-version May 22, 2024
d4332dc
chore: Update error message (#5782)
garethfuller May 22, 2024
a4c7b53
1.144.82
gh-action-bump-version May 22, 2024
cc3aa36
chore: Remove pool allowlisting (#5722)
garethfuller May 22, 2024
c7e33eb
1.144.83
gh-action-bump-version May 22, 2024
426d114
chore: Replace TRM with hypernative (#5787)
garethfuller May 22, 2024
0e52907
1.144.84
gh-action-bump-version May 22, 2024
279a656
chore: Add 50WBTC-50USDC pool to polygon allowlist
balopco May 23, 2024
06970a9
chore: Update points meta (#5793)
garethfuller May 23, 2024
bdb8623
1.144.85
gh-action-bump-version May 23, 2024
d0c32ce
Polygon-stakable-tripools
Zen-Maxi May 24, 2024
bc7237a
Merge pull request #5799 from balancer/Polygon-stakable-tripools
Tritium-VLK May 24, 2024
f6904ee
1.144.86
gh-action-bump-version May 24, 2024
db4b69a
Update rateProviders.ts
zekraken-bot May 25, 2024
5ade7ea
Merge pull request #5805 from balancer/zekraken-bot-patch-3
Zen-Maxi May 25, 2024
adc62ec
1.144.87
gh-action-bump-version May 25, 2024
85d10d9
chore: Update multiples (#5806)
garethfuller May 26, 2024
538bcc8
1.144.88
gh-action-bump-version May 26, 2024
9fb7cb1
Merge pull request #5790 from balancer/update-allowlist-polygon-0xc3b…
Tritium-VLK May 27, 2024
24b7332
1.144.89
gh-action-bump-version May 27, 2024
ac7f4c0
chore: Add veTHX as ve8020 pool (#5811)
garethfuller May 28, 2024
4f85d29
1.144.90
gh-action-bump-version May 28, 2024
77951b9
feat: add fraxtal and mode networks
alter-eggo May 29, 2024
8c439ae
feat: add icons
alter-eggo May 30, 2024
a0efc39
arb stakable (#5814)
zekraken-bot Jun 1, 2024
9384a52
1.144.91
gh-action-bump-version Jun 1, 2024
92a1d56
chore: Update multiple (#5848)
garethfuller Jun 3, 2024
c027692
1.144.92
gh-action-bump-version Jun 3, 2024
85f33ce
Update pools.ts
zekraken-bot Jun 4, 2024
3c7c7a4
Update pools.ts
zekraken-bot Jun 4, 2024
81c63e8
Update pools.ts
zekraken-bot Jun 4, 2024
d11c306
Update pools.ts
zekraken-bot Jun 4, 2024
f6f7617
Merge pull request #5851 from balancer/zekraken-bot-patch-1
Zen-Maxi Jun 4, 2024
1880c37
1.144.93
gh-action-bump-version Jun 4, 2024
7582607
feat: add rpc urls
alter-eggo Jun 6, 2024
a1101f0
add csp v6 factory (#5852)
mendesfabio Jun 6, 2024
22b6d8c
1.144.94
gh-action-bump-version Jun 6, 2024
dcd63d8
chore: Add multicalls
garethfuller Jun 6, 2024
168fb92
Merge branch 'master' into chore/add-networks-mode
garethfuller Jun 6, 2024
06be82d
fix: Rate providers
garethfuller Jun 6, 2024
3fbe854
chore: Add pool type labels
garethfuller Jun 6, 2024
70f26a4
chore: Fix Frax tokens
garethfuller Jun 6, 2024
d80e129
chore: Update mode tokens
garethfuller Jun 6, 2024
26552b4
update graph keys
mendesfabio Jun 12, 2024
c9dfa59
update balancer and gauges subgraphs
mendesfabio Jun 12, 2024
548d822
update aave subgraphs
mendesfabio Jun 12, 2024
85163fe
add blocks subgraphs
mendesfabio Jun 12, 2024
f06414b
weekly stakable (#5853)
zekraken-bot Jun 12, 2024
882e250
1.144.95
gh-action-bump-version Jun 12, 2024
d2b7480
fix: unit test snapshot
agualis Jun 12, 2024
d1e8c66
Merge pull request #5854 from balancer/studio-subgraphs
mendesfabio Jun 13, 2024
e56513e
1.144.96
gh-action-bump-version Jun 13, 2024
08889eb
Update pools.ts
zekraken-bot Jun 17, 2024
6542d45
Merge pull request #5858 from balancer/zekraken-bot-patch-1
Tritium-VLK Jun 17, 2024
57e79f7
1.144.97
gh-action-bump-version Jun 17, 2024
6a7e5fd
fix: old pools charts
alter-eggo Jun 20, 2024
73ad3f3
Make osETH pool stakable
Tritium-VLK Jun 20, 2024
cc67481
Merge pull request #5860 from balancer/Tritium-VLK-patch-2
Tritium-VLK Jun 20, 2024
a1b76d8
1.144.98
gh-action-bump-version Jun 20, 2024
50566c0
Add weETH/wstETH on Optimsim
Tritium-VLK Jun 20, 2024
4cb15a7
Update src/lib/config/optimism/pools.ts
Tritium-VLK Jun 20, 2024
24dba25
Merge pull request #5861 from balancer/Tritium-VLK-patch-3
franzns Jun 20, 2024
8c5ddaa
1.144.99
gh-action-bump-version Jun 20, 2024
b9df6da
Merge pull request #5859 from balancer/fix/chart-old-pool
alter-eggo Jun 21, 2024
431249f
1.144.100
gh-action-bump-version Jun 21, 2024
cde3f3f
Update pools.ts
zekraken-bot Jun 21, 2024
8f24630
Update pools.ts
zekraken-bot Jun 21, 2024
98c6bd5
Update pools.ts
zekraken-bot Jun 21, 2024
95f7d6f
Merge pull request #5862 from balancer/zekraken-bot-patch-2
Tritium-VLK Jun 21, 2024
5d6627a
1.144.101
gh-action-bump-version Jun 21, 2024
3dc0e41
Update pools.ts
zekraken-bot Jun 21, 2024
c9a2b0a
Update pools.ts
zekraken-bot Jun 21, 2024
b8b5e67
Merge pull request #5864 from balancer/zekraken-bot-patch-1
agualis Jun 21, 2024
8f2d272
1.144.102
gh-action-bump-version Jun 21, 2024
614a566
Merge pull request #5863 from balancer/zekraken-bot-patch-4
Tritium-VLK Jun 21, 2024
a3ab8c6
1.144.103
gh-action-bump-version Jun 21, 2024
09a1a97
add composable v6 to arb
zekraken-bot Jun 21, 2024
21a77e2
Merge pull request #5865 from balancer/zekrakenv1
Tritium-VLK Jun 21, 2024
5301376
1.144.104
gh-action-bump-version Jun 21, 2024
45a8cea
update lowercase
zekraken-bot Jun 21, 2024
7886101
fix csp v6 on arbitrum
mendesfabio Jun 21, 2024
8c2f3e1
Merge pull request #5867 from balancer/fix-csp-v6-arbitrum
mendesfabio Jun 21, 2024
7bed2bf
1.144.105
gh-action-bump-version Jun 21, 2024
3fa6e32
Merge branch 'master' of github.com:balancer/frontend-v2 into chore/a…
alter-eggo Jun 24, 2024
5dfbc65
chore: change fraxtal subgraph urls
alter-eggo Jun 24, 2024
a7fb70f
fix: types
alter-eggo Jun 24, 2024
24e30d6
add composable v6 to mainnet
zekraken-bot Jun 24, 2024
4272704
Merge pull request #5868 from balancer/zekraken-bot-patch-1
Zen-Maxi Jun 24, 2024
466ef5b
1.144.106
gh-action-bump-version Jun 24, 2024
76680fe
Merge pull request #5866 from balancer/zekrakenv1
Zen-Maxi Jun 25, 2024
80efe34
add pools to stakable
zekraken-bot Jun 25, 2024
e716dfb
1.144.107
gh-action-bump-version Jun 25, 2024
1288e0e
config gyro on gnosis
mendesfabio Jun 25, 2024
c77afca
Merge pull request #5869 from balancer/gyro-gnosis
mendesfabio Jun 25, 2024
c81881c
1.144.108
gh-action-bump-version Jun 25, 2024
4cd90a8
chore: Update points (#5870)
garethfuller Jun 25, 2024
9503e16
1.144.109
gh-action-bump-version Jun 25, 2024
52bc206
weekly stakable
zekraken-bot Jun 26, 2024
ed0c844
Update pools.ts
zekraken-bot Jun 26, 2024
db1c114
Update pools.ts
zekraken-bot Jun 26, 2024
2a350c0
Update pools.ts
zekraken-bot Jun 26, 2024
008dcd8
Update pools.ts
zekraken-bot Jun 26, 2024
4ee8e9e
Merge pull request #5871 from balancer/zekraken-bot-patch-2
Zen-Maxi Jun 26, 2024
70c05ca
1.144.110
gh-action-bump-version Jun 26, 2024
ec9eb8f
Merge branch 'master' into chore/add-networks-mode
garethfuller Jun 27, 2024
044a8f8
fix: Tests
garethfuller Jun 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 19 additions & 17 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@balancer/frontend-v2",
"version": "1.144.0",
"version": "1.144.110",
"engines": {
"node": "=16",
"npm": ">=8"
Expand Down Expand Up @@ -42,7 +42,7 @@
"devDependencies": {
"@aave/protocol-js": "^4.3.0",
"@balancer-labs/assets": "github:balancer-labs/assets#master",
"@balancer-labs/sdk": "^1.1.6-beta.14",
"@balancer-labs/sdk": "^1.1.6-beta.20",
"@balancer-labs/typechain": "^1.0.0",
"@balancer-labs/v2-deployments": "^3.2.0",
"@cowprotocol/contracts": "^1.3.1",
Expand Down
29 changes: 29 additions & 0 deletions src/assets/data/contracts/fraxtal.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"ComposableStablePoolFactory": "0x4bdCc2fb18AEb9e2d281b0278D946445070EAda7",
"ManagedPoolFactory": "0x7A2535f5fB47b8e44c02Ef5D9990588313fe8F05",
"WeightedPoolFactory": "0x9dA18982a33FD0c7051B19F0d7C76F2d5E7e017c",
"BalancerQueries": "0x4132f7AcC9dB7A6cF7BE2Dd3A9DC8b30C7E6E6c8",
"BalancerRelayer": "0xb541765F540447646A9545E0A4800A0Bacf9E13D",
"BatchRelayerLibrary": "0x662112B8CB18889e81459b92CA0f894a2ef2c1B8",
"ProtocolFeePercentagesProvider": "0xf23b4DB826DbA14c0e857029dfF076b1c0264843",
"Vault": "0xBA12222222228d8Ba445958a75a0704d566BF2C8",
"Authorizer": "0xE39B5e3B6D74016b2F6A9673D7d7493B6DF549d5",
"AuthorizerAdaptor": "0x36caC20dd805d128c1a6Dd16eeA845C574b5A17C",
"AuthorizerAdaptorEntrypoint": "0xb9F8AB3ED3F3aCBa64Bc6cd2DcA74B7F38fD7B88",
"AuthorizerWithAdaptorValidation": "0x6817149cb753BF529565B4D023d7507eD2ff4Bc0",
"ChildChainGauge": "0x4fb47126Fa83A8734991E41B942Ac29A3266C968",
"ChildChainGaugeFactory": "0xc3ccacE87f6d3A81724075ADcb5ddd85a8A1bB68",
"L2LayerZeroBridgeForwarder": "0xa523f47A933D5020b23629dDf689695AA94612Dc",
"ProtocolFeesCollector": "0xce88686553686DA562CE7Cea497CE749DA109f9F",
"ProtocolFeesWithdrawer": "0x85a80afee867aDf27B50BdB7b76DA70f1E853062",
"VotingEscrowDelegationProxy": "0xE3881627B8DeeBCCF9c23B291430a549Fc0bE5F7",
"BalancerHelpers": "0x8E9aa87E45e92bad84D5F8DD1bff34Fb92637dE9",
"BatchRelayerQueryLibrary": "0x4DdFc173C8F67808AE8F7913DccFfa6bdBFE5b0e",
"ChainlinkRateProviderFactory": "0x3f170631ed9821Ca51A59D996aB095162438DC10",
"GaugeWorkingBalanceHelper": "0x83E443EF4f9963C77bd860f94500075556668cb8",
"L2BalancerPseudoMinter": "0x9805dcfD25e6De36bad8fe9D3Fe2c9b44B764102",
"MockLiquidityBootstrappingPool": "0xaeace3B34BcA1BFe585e4B0Bb303e60e0771F139",
"NoProtocolFeeLiquidityBootstrappingPoolFactory": "0x956CCab09898C0AF2aCa5e6C229c3aD4E93d9288",
"NullVotingEscrow": "0x5cF4928a3205728bd12830E1840F7DB85c62a4B9",
"ProtocolIdRegistry": "0x9dd5Db2d38b50bEF682cE532bCca5DfD203915E1"
}
27 changes: 27 additions & 0 deletions src/assets/data/contracts/mode.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"ComposableStablePoolFactory": "0x5DbAd78818D4c8958EfF2d5b95b28385A22113Cd",
"ManagedPoolFactory": "0x043A2daD730d585C44FB79D2614F295D2d625412",
"WeightedPoolFactory": "0xc3ccacE87f6d3A81724075ADcb5ddd85a8A1bB68",
"BalancerQueries": "0x36caC20dd805d128c1a6Dd16eeA845C574b5A17C",
"BalancerRelayer": "0xb541765F540447646A9545E0A4800A0Bacf9E13D",
"BatchRelayerLibrary": "0x662112B8CB18889e81459b92CA0f894a2ef2c1B8",
"ProtocolFeePercentagesProvider": "0x85a80afee867aDf27B50BdB7b76DA70f1E853062",
"Vault": "0xBA12222222228d8Ba445958a75a0704d566BF2C8",
"Authorizer": "0xE39B5e3B6D74016b2F6A9673D7d7493B6DF549d5",
"AuthorizerAdaptor": "0xf23b4DB826DbA14c0e857029dfF076b1c0264843",
"AuthorizerAdaptorEntrypoint": "0x76578ecf9a141296Ec657847fb45B0585bCDa3a6",
"AuthorizerWithAdaptorValidation": "0x013D4382F291be5688AFBcc741Ee8A24C66B2C92",
"ChildChainGauge": "0xE3881627B8DeeBCCF9c23B291430a549Fc0bE5F7",
"ChildChainGaugeFactory": "0x4fb47126Fa83A8734991E41B942Ac29A3266C968",
"ProtocolFeesCollector": "0xce88686553686DA562CE7Cea497CE749DA109f9F",
"ProtocolFeesWithdrawer": "0x9Ac3E70dB606659Bf32D4BdFbb687AD193FD1F5B",
"VotingEscrowDelegationProxy": "0x9805dcfD25e6De36bad8fe9D3Fe2c9b44B764102",
"BalancerHelpers": "0x8E9aa87E45e92bad84D5F8DD1bff34Fb92637dE9",
"BatchRelayerQueryLibrary": "0x4DdFc173C8F67808AE8F7913DccFfa6bdBFE5b0e",
"ChainlinkRateProviderFactory": "0x96484f2aBF5e58b15176dbF1A799627B53F13B6d",
"L2BalancerPseudoMinter": "0x5cF4928a3205728bd12830E1840F7DB85c62a4B9",
"MockLiquidityBootstrappingPool": "0x197868C915E50cD7eB34EB2F56009E0BF9aa09EB",
"NoProtocolFeeLiquidityBootstrappingPoolFactory": "0xE42FFA682A26EF8F25891db4882932711D42e467",
"NullVotingEscrow": "0x9dd5Db2d38b50bEF682cE532bCca5DfD203915E1",
"ProtocolIdRegistry": "0xb9F8AB3ED3F3aCBa64Bc6cd2DcA74B7F38fD7B88"
}
1 change: 1 addition & 0 deletions src/assets/images/icons/networks/fraxtal.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/assets/images/icons/networks/mode.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
54 changes: 32 additions & 22 deletions src/components/contextual/pages/pool/PoolChart.vue
Original file line number Diff line number Diff line change
Expand Up @@ -240,15 +240,19 @@ function getFeesData(
isAllTimeSelected: boolean,
pariodLastSnapshotIdx: number
) {
const feesValues = periodSnapshots.map(
(snapshot, idx): readonly [string, number] => {
const feesValues = periodSnapshots
.map((snapshot, idx) => {
const value = parseFloat(snapshot.swapFees);
let prevValue: number;

// get value of prev snapshot
// if it is last value among all snapshots, then prev value is 0
if (idx === snapshotValues.value.length - 1) {
prevValue = 0;
if (isAllTimeSelected) {
return;
} else {
prevValue = 0;
}
} // if it is last value among certain period snapshots, then we get prev value from all snapshots
else if (idx === pariodLastSnapshotIdx) {
prevValue = parseFloat(snapshotValues.value[idx + 1].swapFees);
Expand All @@ -261,8 +265,8 @@ function getFeesData(
value - prevValue,
]);
return result;
}
);
})
.filter(Boolean) as (readonly [string, number])[];

// add 0 values in order to show chart properly
if (periodSnapshots.length < 30) {
Expand Down Expand Up @@ -296,23 +300,29 @@ function getVolumeData(
isAllTimeSelected: boolean,
pariodLastSnapshotIdx: number
): PoolChartData {
const volumeData = periodSnapshots.map((snapshot, idx) => {
const value = parseFloat(snapshot.swapVolume);
let prevValue: number;

// get value of prev snapshot
if (idx === snapshotValues.value.length - 1) {
prevValue = 0;
} else if (idx === pariodLastSnapshotIdx) {
prevValue = parseFloat(snapshotValues.value[idx + 1].swapVolume);
} else {
prevValue = parseFloat(periodSnapshots[idx + 1].swapVolume);
}
return Object.freeze<[string, number]>([
timestamps.value[idx],
value - prevValue,
]);
});
const volumeData = periodSnapshots
.map((snapshot, idx) => {
const value = parseFloat(snapshot.swapVolume);
let prevValue: number;

// get value of prev snapshot
if (idx === snapshotValues.value.length - 1) {
if (isAllTimeSelected) {
return;
} else {
prevValue = 0;
}
} else if (idx === pariodLastSnapshotIdx) {
prevValue = parseFloat(snapshotValues.value[idx + 1].swapVolume);
} else {
prevValue = parseFloat(periodSnapshots[idx + 1].swapVolume);
}
return Object.freeze<[string, number]>([
timestamps.value[idx],
value - prevValue,
]);
})
.filter(Boolean) as (readonly [string, number])[];

// add 0 values in order to show chart properly
if (periodSnapshots.length < 30) {
Expand Down
24 changes: 18 additions & 6 deletions src/components/contextual/pages/vebal/LMVoting/GaugesTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,14 @@ function getPickedTokens(tokens: VotingPool['tokens']) {
)
.map(item => item.address);
}

function voteDisabledFor(pool: VotingPool): boolean {
return (
hasUserVotes(pool) ||
isVotingTimeLocked(pool.lastUserVoteTime) ||
props.selectVotesDisabled
);
}
</script>

<template>
Expand All @@ -210,7 +218,9 @@ function getPickedTokens(tokens: VotingPool['tokens']) {
:square="upToLargeBreakpoint"
:isPaginated="isPaginated"
:href="{ getHref: gauge => getPoolExternalUrl(gauge) }"
:onRowClick="redirectToPool"
:onRowClick="
(pool, inNewTab) => !voteDisabledFor(pool) && toggleSelection(pool)
"
:getTableRowClass="getTableRowClass"
:initialState="{
sortColumn: 'nextPeriodVotes',
Expand Down Expand Up @@ -279,6 +289,12 @@ function getPickedTokens(tokens: VotingPool['tokens']) {
v-if="getIsGaugeExpired(pool.gauge.address)"
class="ml-2"
/>
<BalIcon
name="arrow-up-right"
size="sm"
class="ml-2 text-gray-500 hover:text-blue-500 transition-colors"
@click="redirectToPool(pool, true)"
/>
</div>
</template>
<template #nextPeriodVotesCell="pool: VotingPool">
Expand Down Expand Up @@ -327,11 +343,7 @@ function getPickedTokens(tokens: VotingPool['tokens']) {
name="expiredGaugesFilter"
noMargin
:modelValue="isSelected(pool)"
:disabled="
hasUserVotes(pool) ||
isVotingTimeLocked(pool.lastUserVoteTime) ||
selectVotesDisabled
"
:disabled="voteDisabledFor(pool)"
@click.stop
@input="toggleSelection(pool)"
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,5 +101,7 @@ it('calculates networkFilters', async () => {
expiredGauges
);

expect(networkFilters).toEqual([1, 10, 100, 137, 1101, 8453, 42161, 43114]);
expect(networkFilters).toEqual([
1, 10, 100, 137, 252, 1101, 8453, 42161, 43114,
]);
});
20 changes: 4 additions & 16 deletions src/components/pool/PoolPageHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -310,24 +310,12 @@ function symbolFor(titleTokenIndex: number): string {
</BalAlert>

<BalAlert
v-if="
disableJoinsReason.requiresAllowListing ||
disableJoinsReason.nonAllowedWeightedPoolAfterTimestamp
"
type="warning"
:title="$t('requiresAllowListing1')"
v-if="disableJoinsReason.isBlocked"
type="error"
:title="$t('blockedPool')"
class="mt-2"
block
>
{{ $t('Click') }}
<a
href="https://github.com/balancer/frontend-v2/wiki/How-tos#add-a-new-pool"
target="_blank"
class="underline"
>{{ $t('here') }}</a
>
{{ $t('requiresAllowListing2') }}
</BalAlert>
/>
</template>
<style scoped>
.pool-title {
Expand Down
2 changes: 1 addition & 1 deletion src/components/web3/SanctionedWalletModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function onClose() {
>
<p class="pb-3 text-sm">
Your wallet address cannot use this site because it has been flagged as
high risk by our compliance partner, TRM Labs.
high risk by our compliance partner, Hypernative.
</p>
<p class="pb-3 text-sm">
This website is open source and permissionless. Anyone can fork and run
Expand Down
2 changes: 1 addition & 1 deletion src/components/web3/ThirdPartyServicesModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const services = [
'the-graph',
'fathom-analytics',
'appzi',
'TRM-labs',
'hypernative',
'sentry',
'amazon-web-services',
];
Expand Down
13 changes: 12 additions & 1 deletion src/composables/queries/usePoolSnapshotsQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { PoolSnapshots } from '@/services/pool/types';

import useNetwork from '../useNetwork';
import usePoolQuery from './usePoolQuery';
import { oneDayInMs } from '../useTime';

type QueryOptions = QueryObserverOptions<PoolSnapshots>;

Expand Down Expand Up @@ -47,10 +48,20 @@ export default function usePoolSnapshotsQuery(
if (!pool.value && !storedPool) throw new Error('No pool');

const createTime = storedPool?.createTime || pool.value?.createTime || 0;

const nowTimestap = new Date().getTime();
const thousandDaysInMs = 1000 * oneDayInMs;

let timestamp = Math.floor((nowTimestap - thousandDaysInMs) / 1000);

if (timestamp < createTime) {
timestamp = createTime;
}

return await balancerSubgraphService.poolSnapshots.get({
where: {
pool: id.toLowerCase(),
timestamp_gt: createTime,
timestamp_gt: timestamp,
},
});
};
Expand Down
Loading
Loading