feat: show pool commission (#11517)

This commit is contained in:
Arjun Porwal 2025-04-29 18:40:14 +05:30 committed by GitHub
parent 1c6cfdccd9
commit 4d39977ad1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -72,6 +72,7 @@ function Pool ({ className = '', members, ownAccounts, params, poolId }: Props):
withLoading
/>
<td className='number media--1400'>{info && !info.rewardClaimable.isZero() && <FormatBalance value={info.rewardClaimable} />}</td>
<td className='number'>{info && info.bonded.commission.current.value && <div>{info.bonded.commission.current.value[0]?.toHuman()}</div>}</td>
<td className='number'>
{info && info.nominating.length !== 0 && (
<ExpanderScroll

View File

@ -51,6 +51,7 @@ function Pools ({ className, ids, ownPools, params }: Props): React.ReactElement
[t('state'), 'media--1100'],
[t('points')],
[t('claimable'), 'media--1400'],
[t('commission')],
[undefined, undefined, 3]
],
[t]