Skip to content

Commit

Permalink
chore: Remove zkevm promo (DM) (#3630)
Browse files Browse the repository at this point in the history
* 1.110.1

* weekly gauge add

* 1.110.2

* Remove sentry log when price is not found for a token, as it's very noisy

* Refetch allowances before getting required approvals again

* 1.110.3

* chore: Remove promo banner

---------

Co-authored-by: Tim Robinson <[email protected]>
Co-authored-by: Automated Version Bump <[email protected]>
Co-authored-by: ZeKraken <[email protected]>
Co-authored-by: Tim Robinson <[email protected]>
  • Loading branch information
5 people committed Jul 5, 2023
1 parent 389149f commit 18ec2d2
Show file tree
Hide file tree
Showing 10 changed files with 227 additions and 157 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.110.0",
"version": "1.110.3",
"engines": {
"node": "=16",
"npm": ">=8"
Expand Down
29 changes: 29 additions & 0 deletions public/data/hardcoded-gauges.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,34 @@
"0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270": "https://raw.githubusercontent.com/balancer/tokenlists/main/src/assets/images/tokens/0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270.png",
"0x3A58a54C066FdC0f2D55FC9C89F0415C92eBf3C4": "https://raw.githubusercontent.com/balancer/tokenlists/main/src/assets/images/tokens/0x3a58a54c066fdc0f2d55fc9c89f0415c92ebf3c4.png"
}
},
{
"address": "0x730A168cF6F501cf302b803FFc57FF3040f378Bf",
"network": 10,
"isKilled": false,
"addedTimestamp": 1688418508,
"relativeWeightCap": "0.10",
"pool": {
"id": "0x7ca75bdea9dede97f8b13c6641b768650cb837820002000000000000000000d5",
"address": "0x7Ca75bdEa9dEde97F8B13C6641B768650CB83782",
"poolType": "ComposableStable",
"symbol": "ECLP-wstETH-WETH",
"tokens": [
{
"address": "0x1F32b1c2345538c0c6f582fCB022739c4A194Ebb",
"weight": "null",
"symbol": "wstETH"
},
{
"address": "0x4200000000000000000000000000000000000006",
"weight": "null",
"symbol": "WETH"
}
]
},
"tokenLogoURIs": {
"0x1F32b1c2345538c0c6f582fCB022739c4A194Ebb": "https://raw.githubusercontent.com/balancer/tokenlists/main/src/assets/images/tokens/0x1f32b1c2345538c0c6f582fcb022739c4a194ebb.png",
"0x4200000000000000000000000000000000000006": "https://raw.githubusercontent.com/balancer/tokenlists/main/src/assets/images/tokens/0x4200000000000000000000000000000000000006.png"
}
}
]
Binary file removed public/images/backgrounds/zkevm-promo-bg.jpg
Binary file not shown.
56 changes: 0 additions & 56 deletions src/components/contextual/pages/pools/ZkevmPromo.vue

This file was deleted.

1 change: 1 addition & 0 deletions src/composables/approvals/useTokenApprovalActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ export default function useTokenApprovalActions() {
spender: string
): Promise<AmountToApprove[]> {
await injectSpenders([spender]);
await refetchAllowances();

return approvalsRequired(amountsToApprove, spender);
}
Expand Down
Loading

1 comment on commit 18ec2d2

@vercel
Copy link

@vercel vercel bot commented on 18ec2d2 Jul 5, 2023

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.