|
|
|
@ -73,6 +73,7 @@ export default class ConfirmApproveContent extends Component { |
|
|
|
|
assetStandard: PropTypes.string, |
|
|
|
|
isSetApproveForAll: PropTypes.bool, |
|
|
|
|
setApproveForAllArg: PropTypes.bool, |
|
|
|
|
userAddress: PropTypes.string, |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
state = { |
|
|
|
@ -454,6 +455,7 @@ export default class ConfirmApproveContent extends Component { |
|
|
|
|
assetStandard, |
|
|
|
|
tokenSymbol, |
|
|
|
|
isSetApproveForAll, |
|
|
|
|
userAddress, |
|
|
|
|
} = this.props; |
|
|
|
|
const { t } = this.context; |
|
|
|
|
let titleTokenDescription = t('token'); |
|
|
|
@ -462,6 +464,7 @@ export default class ConfirmApproveContent extends Component { |
|
|
|
|
tokenAddress, |
|
|
|
|
chainId, |
|
|
|
|
null, |
|
|
|
|
userAddress, |
|
|
|
|
{ |
|
|
|
|
blockExplorerUrl: rpcPrefs?.blockExplorerUrl ?? null, |
|
|
|
|
}, |
|
|
|
@ -500,6 +503,7 @@ export default class ConfirmApproveContent extends Component { |
|
|
|
|
tokenAddress, |
|
|
|
|
chainId, |
|
|
|
|
null, |
|
|
|
|
userAddress, |
|
|
|
|
{ |
|
|
|
|
blockExplorerUrl: rpcPrefs?.blockExplorerUrl ?? null, |
|
|
|
|
}, |
|
|
|
@ -581,6 +585,7 @@ export default class ConfirmApproveContent extends Component { |
|
|
|
|
rpcPrefs, |
|
|
|
|
isContract, |
|
|
|
|
assetStandard, |
|
|
|
|
userAddress, |
|
|
|
|
} = this.props; |
|
|
|
|
const { showFullTxDetails } = this.state; |
|
|
|
|
|
|
|
|
@ -667,7 +672,7 @@ export default class ConfirmApproveContent extends Component { |
|
|
|
|
className="confirm-approve-content__etherscan-link" |
|
|
|
|
onClick={() => { |
|
|
|
|
const blockExplorerTokenLink = isContract |
|
|
|
|
? getTokenTrackerLink(toAddress, chainId, null, null, { |
|
|
|
|
? getTokenTrackerLink(toAddress, chainId, null, userAddress, { |
|
|
|
|
blockExplorerUrl: rpcPrefs?.blockExplorerUrl ?? null, |
|
|
|
|
}) |
|
|
|
|
: getAccountLink( |
|
|
|
|