|
|
@ -16,8 +16,9 @@ export const GlobalVariables = ({ block, receipt, tx }) => { |
|
|
|
'msg.value': tx.value + ' Wei', |
|
|
|
'msg.value': tx.value + ' Wei', |
|
|
|
'tx.origin': tx.from |
|
|
|
'tx.origin': tx.from |
|
|
|
} |
|
|
|
} |
|
|
|
if (block.baseFeePerGas) |
|
|
|
if (block.baseFeePerGas) { |
|
|
|
globals['block.basefee'] = (new BN(block.baseFeePerGas.replace('0x', ''), 'hex')).toString(10) + ` Wei (${block.baseFeePerGas})` |
|
|
|
globals['block.basefee'] = (new BN(block.baseFeePerGas.replace('0x', ''), 'hex')).toString(10) + ` Wei (${block.baseFeePerGas})` |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<div id='globalvariable' data-id='globalvariable'> |
|
|
|
<div id='globalvariable' data-id='globalvariable'> |
|
|
|