@@ -73,6 +73,7 @@ export default class ConfirmApproveContent extends Component {
7373 assetStandard : PropTypes . string ,
7474 isSetApproveForAll : PropTypes . bool ,
7575 setApproveForAllArg : PropTypes . bool ,
76+ userAddress : PropTypes . string ,
7677 } ;
7778
7879 state = {
@@ -454,6 +455,7 @@ export default class ConfirmApproveContent extends Component {
454455 assetStandard,
455456 tokenSymbol,
456457 isSetApproveForAll,
458+ userAddress,
457459 } = this . props ;
458460 const { t } = this . context ;
459461 let titleTokenDescription = t ( 'token' ) ;
@@ -462,6 +464,7 @@ export default class ConfirmApproveContent extends Component {
462464 tokenAddress ,
463465 chainId ,
464466 null ,
467+ userAddress ,
465468 {
466469 blockExplorerUrl : rpcPrefs ?. blockExplorerUrl ?? null ,
467470 } ,
@@ -500,6 +503,7 @@ export default class ConfirmApproveContent extends Component {
500503 tokenAddress ,
501504 chainId ,
502505 null ,
506+ userAddress ,
503507 {
504508 blockExplorerUrl : rpcPrefs ?. blockExplorerUrl ?? null ,
505509 } ,
@@ -581,6 +585,7 @@ export default class ConfirmApproveContent extends Component {
581585 rpcPrefs,
582586 isContract,
583587 assetStandard,
588+ userAddress,
584589 } = this . props ;
585590 const { showFullTxDetails } = this . state ;
586591
@@ -667,7 +672,7 @@ export default class ConfirmApproveContent extends Component {
667672 className = "confirm-approve-content__etherscan-link"
668673 onClick = { ( ) => {
669674 const blockExplorerTokenLink = isContract
670- ? getTokenTrackerLink ( toAddress , chainId , null , null , {
675+ ? getTokenTrackerLink ( toAddress , chainId , null , userAddress , {
671676 blockExplorerUrl : rpcPrefs ?. blockExplorerUrl ?? null ,
672677 } )
673678 : getAccountLink (
0 commit comments