<tdclass="${css.td}"><iclass="fa fa-clipboard ${css.clipboardCopy}"aria-hidden="true"onclick=${function(){copy(opts.contractAddress)}}title='Copy to clipboard'></i>${opts.contractAddress}</td>
<tdclass="${css.td}"><iclass="fa fa-clipboard ${css.clipboardCopy}"aria-hidden="true"onclick=${function(){copy(opts.from)}}title='Copy to clipboard'></i>${opts.from}</td>
</trclass="${css.tr}">
`
if(opts.from)table.appendChild(from)
@ -276,7 +280,7 @@ function createTable (opts) {
varto=yo`
<trclass="${css.tr}">
<tdclass="${css.td}">to</td>
<tdclass="${css.td}">${toHash}</td>
<tdclass="${css.td}"><iclass="fa fa-clipboard ${css.clipboardCopy}"aria-hidden="true"onclick=${function(){copy(opts.toHash)}}title='Copy to clipboard'></i>${toHash}</td>
</trclass="${css.tr}">
`
if(opts.to)table.appendChild(to)
@ -284,7 +288,7 @@ function createTable (opts) {
vargas=yo`
<trclass="${css.tr}">
<tdclass="${css.td}">gas</td>
<tdclass="${css.td}">${opts.gas}</td>
<tdclass="${css.td}"><iclass="fa fa-clipboard ${css.clipboardCopy}"aria-hidden="true"onclick=${function(){copy(opts.gas)}}title='Copy to clipboard'></i>${opts.gas}</td>
</trclass="${css.tr}">
`
if(opts.gas)table.appendChild(gas)
@ -292,7 +296,7 @@ function createTable (opts) {
varhash=yo`
<trclass="${css.tr}">
<tdclass="${css.td}">hash</td>
<tdclass="${css.td}">${opts.hash}</td>
<tdclass="${css.td}"><iclass="fa fa-clipboard ${css.clipboardCopy}"aria-hidden="true"onclick=${function(){copy(opts.hash)}}title='Copy to clipboard'></i>${opts.hash}</td>
</trclass="${css.tr}">
`
if(opts.hash)table.appendChild(hash)
@ -300,7 +304,7 @@ function createTable (opts) {
varinput=yo`
<trclass="${css.tr}">
<tdclass="${css.td}">input</td>
<tdclass="${css.td}">${opts.input}</td>
<tdclass="${css.td}"><iclass="fa fa-clipboard ${css.clipboardCopy}"aria-hidden="true"onclick=${function(){copy(opts.input)}}title='Copy to clipboard'></i>${opts.input}</td>
<tdclass="${css.td}"><iclass="fa fa-clipboard ${css.clipboardCopy}"aria-hidden="true"onclick=${function(){copy(opts['decoded input'])}}title='Copy to clipboard'></i>${opts['decodedinput']}</td>
</trclass="${css.tr}">`
table.appendChild(inputDecoded)
}
@ -317,7 +321,7 @@ function createTable (opts) {
varlogs=yo`
<trclass="${css.tr}">
<tdclass="${css.td}">logs</td>
<tdclass="${css.td}">${opts.logs||'0'}</td>
<tdclass="${css.td}"><iclass="fa fa-clipboard ${css.clipboardCopy}"aria-hidden="true"onclick=${function(){copy(opts.logs||'0')}}title='Copy to clipboard'></i>${opts.logs||'0'}</td>
</trclass="${css.tr}">
`
if(opts.logs)table.appendChild(logs)
@ -326,7 +330,7 @@ function createTable (opts) {
val=yo`
<trclass="${css.tr}">
<tdclass="${css.td}">value</td>
<tdclass="${css.td}">${val}wei</td>
<tdclass="${css.td}"><iclass="fa fa-clipboard ${css.clipboardCopy}"aria-hidden="true"onclick=${function(){copy(`${val} wei`)}}title='Copy to clipboard'></i>${val}wei</td>