Skip to content

Commit

Permalink
hotfix: Aura staked risk label (#4193)
Browse files Browse the repository at this point in the history
* Add missing avax logo (#4155)

* 1.122.1

* chore: Add ECLP-wstETH-rETH pool to ethereum allowlist (#4159)

Co-authored-by: balopco <balopco@users.noreply.github.com>

* 1.122.2

* chore: Add 50WETH-50cbXEN pool to base allowlist (#4151)

Co-authored-by: balopco <balopco@users.noreply.github.com>
Co-authored-by: ZeKraken <79888567+zekraken-bot@users.noreply.github.com>

* 1.122.3

* chore: Add B-50wstETH-50NEXT pool to gnosis-chain allowlist (#4163)

Co-authored-by: balopco <balopco@users.noreply.github.com>

* 1.122.4

* chore: Remove intro modal from create pool (#4169)

* 1.122.5

* chore: Add B-50USD-50bIB01 pool to gnosis-chain allowlist (#4171)

Co-authored-by: balopco <balopco@users.noreply.github.com>

* 1.122.6

* chore: Add B-50USD-50bCSPX pool to gnosis-chain allowlist (#4173)

Co-authored-by: balopco <balopco@users.noreply.github.com>
Co-authored-by: ZeKraken <79888567+zekraken-bot@users.noreply.github.com>

* 1.122.7

* chore: Add B-50USD-50bIBTA pool to gnosis-chain allowlist (#4174)

Co-authored-by: balopco <balopco@users.noreply.github.com>
Co-authored-by: ZeKraken <79888567+zekraken-bot@users.noreply.github.com>

* 1.122.8

* chore: Add 50GOLD/25WETH/25USDC pool to base allowlist (#4176)

Co-authored-by: balopco <balopco@users.noreply.github.com>

* 1.122.9

* chore: Add USDC/USDbC/axlUSDC pool to base allowlist (#4175)

Co-authored-by: balopco <balopco@users.noreply.github.com>

* 1.122.10

* chore: Add GOLD/BAL/USDC pool to base allowlist (#4177)

Co-authored-by: balopco <balopco@users.noreply.github.com>
Co-authored-by: ZeKraken <79888567+zekraken-bot@users.noreply.github.com>

* 1.122.11

* weekly gauge add (#4178)

* 1.122.12

* add 3pool to stakable (#4179)

* 1.122.13

* hotfix: Update BAL address (#4181)

* 1.122.14

* chore: Add 50USDbC-50axlUSDC pool to base allowlist (#4180)

Co-authored-by: balopco <balopco@users.noreply.github.com>

* 1.122.15

* chore: Add 50WETH-50USDbC pool to base allowlist (#4186)

Co-authored-by: balopco <balopco@users.noreply.github.com>

* 1.122.16

* chore: Add 20RBW-80UNIM pool to polygon allowlist (#4183)

Co-authored-by: balopco <balopco@users.noreply.github.com>

* 1.122.17

* chore: Add 50USDbC-50axlUSDC pool to base allowlist (#4184)

Co-authored-by: balopco <balopco@users.noreply.github.com>
Co-authored-by: Alberto Gualis <alberto@balancer.finance>

* 1.122.18

* chore: Add 50BAL-50DAI pool to base allowlist (#4185)

Co-authored-by: balopco <balopco@users.noreply.github.com>
Co-authored-by: Alberto Gualis <alberto@balancer.finance>

* 1.122.19

* Release/1.123.0 (#4188)

* Add missing avax logo (#4157)

Co-authored-by: Tim Robinson <tim@timjrobinson.com>

* Bump vue (#4167)

* Bump vue

* Fix compex extended type in props

* fix: use prop in prefetch links (#4168)

* hotfix: Remove create pool popup (dm) (#4170)

* Add missing avax logo (#4155)

* 1.122.1

* chore: Add ECLP-wstETH-rETH pool to ethereum allowlist (#4159)

Co-authored-by: balopco <balopco@users.noreply.github.com>

* 1.122.2

* chore: Add 50WETH-50cbXEN pool to base allowlist (#4151)

Co-authored-by: balopco <balopco@users.noreply.github.com>
Co-authored-by: ZeKraken <79888567+zekraken-bot@users.noreply.github.com>

* 1.122.3

* chore: Add B-50wstETH-50NEXT pool to gnosis-chain allowlist (#4163)

Co-authored-by: balopco <balopco@users.noreply.github.com>

* 1.122.4

* chore: Remove intro modal from create pool

---------

Co-authored-by: Tim Robinson <timjrobinson@users.noreply.github.com>
Co-authored-by: Automated Version Bump <gh-action-bump-version@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: balopco <balopco@users.noreply.github.com>
Co-authored-by: ZeKraken <79888567+zekraken-bot@users.noreply.github.com>

* hotfix: update bal address (dm) (#4182)

* Add missing avax logo (#4155)

* 1.122.1

* chore: Add ECLP-wstETH-rETH pool to ethereum allowlist (#4159)

Co-authored-by: balopco <balopco@users.noreply.github.com>

* 1.122.2

* chore: Add 50WETH-50cbXEN pool to base allowlist (#4151)

Co-authored-by: balopco <balopco@users.noreply.github.com>
Co-authored-by: ZeKraken <79888567+zekraken-bot@users.noreply.github.com>

* 1.122.3

* chore: Add B-50wstETH-50NEXT pool to gnosis-chain allowlist (#4163)

Co-authored-by: balopco <balopco@users.noreply.github.com>

* 1.122.4

* chore: Remove intro modal from create pool (#4169)

* 1.122.5

* chore: Add B-50USD-50bIB01 pool to gnosis-chain allowlist (#4171)

Co-authored-by: balopco <balopco@users.noreply.github.com>

* 1.122.6

* chore: Add B-50USD-50bCSPX pool to gnosis-chain allowlist (#4173)

Co-authored-by: balopco <balopco@users.noreply.github.com>
Co-authored-by: ZeKraken <79888567+zekraken-bot@users.noreply.github.com>

* 1.122.7

* chore: Add B-50USD-50bIBTA pool to gnosis-chain allowlist (#4174)

Co-authored-by: balopco <balopco@users.noreply.github.com>
Co-authored-by: ZeKraken <79888567+zekraken-bot@users.noreply.github.com>

* 1.122.8

* chore: Add 50GOLD/25WETH/25USDC pool to base allowlist (#4176)

Co-authored-by: balopco <balopco@users.noreply.github.com>

* 1.122.9

* chore: Add USDC/USDbC/axlUSDC pool to base allowlist (#4175)

Co-authored-by: balopco <balopco@users.noreply.github.com>

* 1.122.10

* chore: Add GOLD/BAL/USDC pool to base allowlist (#4177)

Co-authored-by: balopco <balopco@users.noreply.github.com>
Co-authored-by: ZeKraken <79888567+zekraken-bot@users.noreply.github.com>

* 1.122.11

* weekly gauge add (#4178)

* 1.122.12

* add 3pool to stakable (#4179)

* 1.122.13

* chore: Update BAL address

---------

Co-authored-by: Tim Robinson <timjrobinson@users.noreply.github.com>
Co-authored-by: Automated Version Bump <gh-action-bump-version@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: balopco <balopco@users.noreply.github.com>
Co-authored-by: ZeKraken <79888567+zekraken-bot@users.noreply.github.com>

* feat:  add improvements on portfolio page (#3700)

* feat: add staked pools gauges request

* feat: add check working balance for staked pools

* feat: add pools table selector

* feat: add checkpointer contract

* feat: add poke all gauges modal

* feat: add checkpoint logic on portfolio page

* feat: add proper checkpoint 1 gauge flow

* feat: add actions for unstaked pools table

* fix: review

* fix: test

* feat: add action enum

* feat: fix problem with tables

* fix: styles

* fix: align of actions column

* fix: remove overflow hidden

* feat: add isKilled in user gauges query

* fix: tests

* feat: hide actions for deprecated pools

* feat: remove actions if pool deprecated

* 1.123.0

---------

Co-authored-by: Gareth Fuller <gareth.a.f@gmail.com>
Co-authored-by: Tim Robinson <tim@timjrobinson.com>
Co-authored-by: Tim Robinson <timjrobinson@users.noreply.github.com>
Co-authored-by: Automated Version Bump <gh-action-bump-version@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: balopco <balopco@users.noreply.github.com>
Co-authored-by: ZeKraken <79888567+zekraken-bot@users.noreply.github.com>
Co-authored-by: Anastasios <anastas3993@gmail.com>

* hotfix: remove stake and migrate actions for branded redirect pools

* 1.123.1

* fix: Fix pool lookup for aura gauges

---------

Co-authored-by: Tim Robinson <timjrobinson@users.noreply.github.com>
Co-authored-by: Automated Version Bump <gh-action-bump-version@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: balopco <balopco@users.noreply.github.com>
Co-authored-by: ZeKraken <79888567+zekraken-bot@users.noreply.github.com>
Co-authored-by: Alberto Gualis <alberto@balancer.finance>
Co-authored-by: Tim Robinson <tim@timjrobinson.com>
Co-authored-by: Anastasios <anastas3993@gmail.com>
  • Loading branch information
9 people committed Sep 14, 2023
1 parent 2d6b0b5 commit cbafe0c
Show file tree
Hide file tree
Showing 4 changed files with 11 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.123.0",
"version": "1.123.1",
"engines": {
"node": "=16",
"npm": ">=8"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
import { PoolWarning } from '@/types/pools';
import { usePoolWarning } from '@/composables/usePoolWarning';
import { useDisabledJoinPool } from '@/composables/useDisabledJoinPool';
import { POOLS } from '@/constants/pools';
type Props = {
pool: Pool;
Expand Down Expand Up @@ -50,7 +51,8 @@ function isActionDisabled(action: PoolAction) {
Boolean(deprecatedDetails(props.pool.id)) ||
isAffectedBy(PoolWarning.PoolProtocolFeeVulnWarning) ||
isJoinsDisabled(props.pool.id) ||
shouldDisableJoins.value;
shouldDisableJoins.value ||
POOLS.BrandedRedirect?.[props.pool.poolType];
const actionsToDisable = [
PoolAction.Add,
Expand Down
6 changes: 5 additions & 1 deletion src/pages/recovery-exit/components/UnstakeTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ const { darkMode } = useDarkMode();
const poolIds = computed((): string[] => CSP_ISSUE_POOL_IDS[networkId.value]);
const poolAddresses = computed(() => poolIds.value.map(id => id.slice(0, 42)));
const addressToPoolIdMap = computed(
() => new Map(poolIds.value.map(id => [id.slice(0, 42), id]))
);
const enableBalanceFetching = computed(() => !!account.value);
Expand Down Expand Up @@ -269,7 +272,8 @@ function poolIdFor(token: TokenInfo): string {
const auraGauge = allAuraGauges.value.find(
gauge => gauge.address.toLowerCase() === token.address.toLowerCase()
);
if (auraGauge) return auraGauge.poolId;
if (auraGauge)
return addressToPoolIdMap.value.get(auraGauge.lpToken.address) || '';
return '';
}
Expand Down

1 comment on commit cbafe0c

@vercel
Copy link

@vercel vercel bot commented on cbafe0c Sep 14, 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.