@@ -26,6 +26,7 @@ export function DelegatesSystemInfo({
26
26
className ?: string ;
27
27
} ) : React . ReactElement {
28
28
const delegateFactoryAddress = useContractAddress ( 'voteDelegateFactory' ) ;
29
+ const oldDelegateFactoryAddress = useContractAddress ( 'voteDelegateFactoryOld' ) ;
29
30
const { network } = useWeb3 ( ) ;
30
31
31
32
const { data : totalMkr } = useTotalSupply ( Tokens . MKR ) ;
@@ -64,7 +65,7 @@ export function DelegatesSystemInfo({
64
65
)
65
66
} ,
66
67
{
67
- title : 'Total Delegators ' ,
68
+ title : 'Total delegators ' ,
68
69
id : 'total-delegators-system-info' ,
69
70
value : stats . totalDelegators
70
71
}
@@ -78,7 +79,7 @@ export function DelegatesSystemInfo({
78
79
< Card variant = "compact" >
79
80
< StackLayout gap = { 3 } >
80
81
< Flex sx = { { justifyContent : 'space-between' , flexDirection : 'row' } } >
81
- < Text sx = { { fontSize : 3 , color : 'textSecondary' } } > Delegate Factory </ Text >
82
+ < Text sx = { { fontSize : 3 , color : 'textSecondary' } } > V2 delegate factory </ Text >
82
83
{ delegateFactoryAddress ? (
83
84
< EtherscanLink type = "address" showAddress hash = { delegateFactoryAddress } network = { network } />
84
85
) : (
@@ -87,6 +88,16 @@ export function DelegatesSystemInfo({
87
88
</ Box >
88
89
) }
89
90
</ Flex >
91
+ < Flex sx = { { justifyContent : 'space-between' , flexDirection : 'row' } } >
92
+ < Text sx = { { fontSize : 3 , color : 'textSecondary' } } > V1 delegate factory</ Text >
93
+ { oldDelegateFactoryAddress ? (
94
+ < EtherscanLink type = "address" showAddress hash = { oldDelegateFactoryAddress } network = { network } />
95
+ ) : (
96
+ < Box sx = { { width : 6 } } >
97
+ < SkeletonThemed />
98
+ </ Box >
99
+ ) }
100
+ </ Flex >
90
101
{ statsItems . map ( item => (
91
102
< Flex key = { item . id } sx = { { justifyContent : 'space-between' , flexDirection : 'row' } } >
92
103
< Text sx = { { fontSize : 3 , color : 'textSecondary' } } > { item . title } </ Text >
0 commit comments