Skip to content

Commit

Permalink
hotfix: add veBal gauge address (#5256)
Browse files Browse the repository at this point in the history
  • Loading branch information
alter-eggo authored Feb 13, 2024
1 parent 09898e5 commit c90c2ab
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/components/contextual/pages/pool/PoolContractDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import useNumbers from '@/composables/useNumbers';
import { POOLS } from '@/constants/pools';
import { poolMetadata } from '@/lib/config/metadata';
import { shortenLabel } from '@/lib/utils';
import { usePoolStaking } from '@/providers/local/pool-staking.provider';
import { Pool, PoolType } from '@/services/pool/types';
import useWeb3 from '@/services/web3/useWeb3';
import { format } from 'date-fns';
Expand Down Expand Up @@ -38,6 +39,8 @@ function formSwapFeesHint(owner: string): string {
return t('poolAttrs.feesEditableOwner');
}
const { preferentialGaugeAddress } = usePoolStaking();
/**
* COMPUTED
*/
Expand Down Expand Up @@ -121,6 +124,13 @@ const data = computed(() => {
value: shortenLabel(address),
link: explorer.addressLink(address || ''),
},
preferentialGaugeAddress.value
? {
title: 'veBAL gauge',
value: shortenLabel(preferentialGaugeAddress.value),
link: explorer.addressLink(preferentialGaugeAddress.value),
}
: null,
{
title: t('createDate'),
value: format((createTime || 0) * 1000, 'dd MMMM yyyy'),
Expand Down

0 comments on commit c90c2ab

Please sign in to comment.