|
|
@ -152,7 +152,7 @@ function renderKnownTransaction (self, data) { |
|
|
|
gas: data.tx.gas, |
|
|
|
gas: data.tx.gas, |
|
|
|
hash: data.tx.has, |
|
|
|
hash: data.tx.has, |
|
|
|
input: data.tx.input, |
|
|
|
input: data.tx.input, |
|
|
|
logs: JSON.stringify(data.tx.logs) || '0', |
|
|
|
logs: JSON.stringify(data.logs) || '0', |
|
|
|
val: data.tx.value |
|
|
|
val: data.tx.value |
|
|
|
}) |
|
|
|
}) |
|
|
|
tx.appendChild(table) |
|
|
|
tx.appendChild(table) |
|
|
@ -185,7 +185,7 @@ function renderUnknownTransaction (self, data) { |
|
|
|
tx.removeChild(table) |
|
|
|
tx.removeChild(table) |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
table = createTable({ |
|
|
|
table = createTable({ |
|
|
|
from, to, val: data.tx.value, input: data.tx.input, hash: data.tx.hash, gas: data.tx.gas, logs: JSON.stringify(data.tx.logs) || '0' |
|
|
|
from, to, val: data.tx.value, input: data.tx.input, hash: data.tx.hash, gas: data.tx.gas, logs: JSON.stringify(data.logs) || '0' |
|
|
|
}) |
|
|
|
}) |
|
|
|
tx.appendChild(table) |
|
|
|
tx.appendChild(table) |
|
|
|
} |
|
|
|
} |
|
|
@ -202,7 +202,7 @@ function context (self, data) { |
|
|
|
var to = '' |
|
|
|
var to = '' |
|
|
|
if (executionContext.getProvider() === 'vm') { |
|
|
|
if (executionContext.getProvider() === 'vm') { |
|
|
|
if (data.resolvedData.to) { |
|
|
|
if (data.resolvedData.to) { |
|
|
|
to = `${data.resolvedData.contractName}.${data.resolvedData.fn}, ${helper.shortenHexData(data.resolvedData.to)}` |
|
|
|
to = `${data.resolvedData.contractName}.${data.resolvedData.fn} ${helper.shortenHexData(data.resolvedData.to)}` |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
to = `${data.resolvedData.contractName}.${data.resolvedData.fn}` |
|
|
|
to = `${data.resolvedData.contractName}.${data.resolvedData.fn}` |
|
|
|
} |
|
|
|
} |
|
|
|