|
|
@ -331,7 +331,6 @@ export default class ConfirmTransactionBase extends Component { |
|
|
|
<InfoTooltip |
|
|
|
<InfoTooltip |
|
|
|
contentText={t('transactionDetailDappGasTooltip')} |
|
|
|
contentText={t('transactionDetailDappGasTooltip')} |
|
|
|
position="top" |
|
|
|
position="top" |
|
|
|
iconFillColor="#f66a0a" |
|
|
|
|
|
|
|
> |
|
|
|
> |
|
|
|
<i className="fa fa-info-circle" /> |
|
|
|
<i className="fa fa-info-circle" /> |
|
|
|
</InfoTooltip> |
|
|
|
</InfoTooltip> |
|
|
@ -379,17 +378,21 @@ export default class ConfirmTransactionBase extends Component { |
|
|
|
hideLabel |
|
|
|
hideLabel |
|
|
|
/> |
|
|
|
/> |
|
|
|
} |
|
|
|
} |
|
|
|
subText={t('editGasSubTextFee', [ |
|
|
|
subText={ |
|
|
|
<UserPreferencedCurrencyDisplay |
|
|
|
<strong> |
|
|
|
key="gas-subtext" |
|
|
|
{t('editGasSubTextFee', [ |
|
|
|
type={SECONDARY} |
|
|
|
<UserPreferencedCurrencyDisplay |
|
|
|
value={getHexGasTotal({ |
|
|
|
key="gas-subtext" |
|
|
|
gasPrice: txData.txParams.maxFeePerGas, |
|
|
|
type={SECONDARY} |
|
|
|
gasLimit: txData.txParams.gas, |
|
|
|
value={getHexGasTotal({ |
|
|
|
})} |
|
|
|
gasPrice: txData.txParams.maxFeePerGas, |
|
|
|
hideLabel |
|
|
|
gasLimit: txData.txParams.gas, |
|
|
|
/>, |
|
|
|
})} |
|
|
|
])} |
|
|
|
hideLabel |
|
|
|
|
|
|
|
/>, |
|
|
|
|
|
|
|
])} |
|
|
|
|
|
|
|
</strong> |
|
|
|
|
|
|
|
} |
|
|
|
subTitle={ |
|
|
|
subTitle={ |
|
|
|
<GasTiming |
|
|
|
<GasTiming |
|
|
|
maxPriorityFeePerGas={txData.txParams.maxPriorityFeePerGas} |
|
|
|
maxPriorityFeePerGas={txData.txParams.maxPriorityFeePerGas} |
|
|
@ -418,20 +421,24 @@ export default class ConfirmTransactionBase extends Component { |
|
|
|
secondaryTotalTextOverride || |
|
|
|
secondaryTotalTextOverride || |
|
|
|
t('transactionDetailGasTotalSubtitle') |
|
|
|
t('transactionDetailGasTotalSubtitle') |
|
|
|
} |
|
|
|
} |
|
|
|
subText={t('editGasSubTextAmount', [ |
|
|
|
subText={ |
|
|
|
<UserPreferencedCurrencyDisplay |
|
|
|
<strong> |
|
|
|
key="gas-total-subtext" |
|
|
|
{t('editGasSubTextAmount', [ |
|
|
|
type={SECONDARY} |
|
|
|
<UserPreferencedCurrencyDisplay |
|
|
|
value={addHexes( |
|
|
|
key="gas-total-subtext" |
|
|
|
txData.txParams.value, |
|
|
|
type={SECONDARY} |
|
|
|
getHexGasTotal({ |
|
|
|
value={addHexes( |
|
|
|
gasPrice: txData.txParams.maxFeePerGas, |
|
|
|
txData.txParams.value, |
|
|
|
gasLimit: txData.txParams.gas, |
|
|
|
getHexGasTotal({ |
|
|
|
}), |
|
|
|
gasPrice: txData.txParams.maxFeePerGas, |
|
|
|
)} |
|
|
|
gasLimit: txData.txParams.gas, |
|
|
|
hideLabel |
|
|
|
}), |
|
|
|
/>, |
|
|
|
)} |
|
|
|
])} |
|
|
|
hideLabel |
|
|
|
|
|
|
|
/>, |
|
|
|
|
|
|
|
])} |
|
|
|
|
|
|
|
</strong> |
|
|
|
|
|
|
|
} |
|
|
|
/>, |
|
|
|
/>, |
|
|
|
]} |
|
|
|
]} |
|
|
|
/> |
|
|
|
/> |
|
|
|