11import { Trans } from '@lingui/macro' ;
2- import { Alert , Box , Divider , SvgIcon , Typography } from '@mui/material' ;
2+ import { Alert , Box , Button , Divider , SvgIcon , Typography } from '@mui/material' ;
33import Paper from '@mui/material/Paper' ;
44import { FormattedNumber } from 'src/components/primitives/FormattedNumber' ;
55import CheckRoundedIcon from '@mui/icons-material/CheckRounded' ;
@@ -26,6 +26,7 @@ import { valueToBigNumber } from '@aave/math-utils';
2626import { ApyGraphContainer } from './graphs/ApyGraphContainer' ;
2727import { InteresetRateModelGraphContainer } from './graphs/InterestRateModelGraphContainer' ;
2828import { PanelRow , PanelTitle , PanelItem } from './ReservePanels' ;
29+ import { ExternalLinkIcon } from '@heroicons/react/solid' ;
2930
3031type ReserveConfigurationProps = {
3132 reserve : ComputedReserveData ;
@@ -613,6 +614,7 @@ export const ReserveConfiguration: React.FC<ReserveConfigurationProps> = ({ rese
613614 display : 'flex' ,
614615 alignItems : 'center' ,
615616 flexWrap : 'wrap' ,
617+ justifyContent : 'space-between' ,
616618 } }
617619 >
618620 < PanelItem title = { < Trans > Utilization Rate</ Trans > } >
@@ -623,6 +625,22 @@ export const ReserveConfiguration: React.FC<ReserveConfigurationProps> = ({ rese
623625 compact
624626 />
625627 </ PanelItem >
628+ < Button
629+ href = { currentNetworkConfig . explorerLinkBuilder ( {
630+ address : reserve . interestRateStrategyAddress ,
631+ } ) }
632+ endIcon = {
633+ < SvgIcon sx = { { width : 14 , height : 14 } } >
634+ < ExternalLinkIcon />
635+ </ SvgIcon >
636+ }
637+ component = { Link }
638+ size = "small"
639+ variant = "outlined"
640+ sx = { { verticalAlign : 'top' } }
641+ >
642+ < Trans > Interest rate strategy</ Trans >
643+ </ Button >
626644 </ Box >
627645 < InteresetRateModelGraphContainer reserve = { reserve } />
628646 </ Box >
0 commit comments