+ ${insertValue(contractProperties, propertyName)}
+ `)
})
modalDialog(contractName, log, {label: ''}, {label: 'Close'})
}
}
-
+ function detailsHelpSection () {
+ return {
+ 'Assembly': 'Assembly opcodes describing the contract including corresponding solidity source code',
+ 'Opcodes': 'Assembly opcodes describing the contract',
+ 'Runtime Bytecode': 'Bytecode storing the state and being executed during normal contract call',
+ 'bytecode': 'Bytecode being executed during contract creation',
+ 'functionHashes': 'List of declared function and their corresponding hash',
+ 'gasEstimates': 'Gas estimation for each function call',
+ 'metadata': 'Contains all informations related to the compilation',
+ 'metadataHash': 'Hash representing all metadata information',
+ 'abi': 'ABI: describing all the functions (input/output params, scope, ...)',
+ 'name': 'Name of the compiled contract',
+ 'swarmLocation': 'Swarm url where all metadata information can be found (contract needs to be published first)',
+ 'web3Deploy': 'Copy/paste this code to any JavaScript/Web3 console to deploy this contract'
+ }
+ }
function insertValue (details, propertyName) {
var value = yo``
var node
@@ -254,7 +255,6 @@ class CompileTab {
if (node) value.appendChild(node)
return value
}
-
function publish () {
var selectContractNames = document.querySelector(`.${css.contractNames.classNames[0]}`)
if (selectContractNames.children.length > 0 && selectContractNames.selectedIndex >= 0) {
@@ -279,38 +279,10 @@ class CompileTab {
}
}
}
-
- var el = yo`
-