|
|
@ -452,7 +452,6 @@ THE SOFTWARE. |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
var renderContracts = function(data, source) { |
|
|
|
var renderContracts = function(data, source) { |
|
|
|
console.log( "rendering ", data) |
|
|
|
|
|
|
|
for (var contractName in data.contracts) { |
|
|
|
for (var contractName in data.contracts) { |
|
|
|
var contract = data.contracts[contractName]; |
|
|
|
var contract = data.contracts[contractName]; |
|
|
|
var dapp = new UniversalDApp([{ |
|
|
|
var dapp = new UniversalDApp([{ |
|
|
@ -469,8 +468,7 @@ THE SOFTWARE. |
|
|
|
.append(textRow('Web3 deploy', gethDeploy(contractName.toLowerCase(),contract['interface'],contract.bytecode), 'deploy')) |
|
|
|
.append(textRow('Web3 deploy', gethDeploy(contractName.toLowerCase(),contract['interface'],contract.bytecode), 'deploy')) |
|
|
|
.append(textRow('uDApp', combined(contractName,contract['interface'],contract.bytecode), 'deploy')) |
|
|
|
.append(textRow('uDApp', combined(contractName,contract['interface'],contract.bytecode), 'deploy')) |
|
|
|
.append(getDetails(contract, source, contractName)); |
|
|
|
.append(getDetails(contract, source, contractName)); |
|
|
|
|
|
|
|
$('#txorigin').text('0x' + dapp.address.toString('hex')); |
|
|
|
console.log("contract output", $contractOutput ) |
|
|
|
|
|
|
|
$('#output').append( $contractOutput ); |
|
|
|
$('#output').append( $contractOutput ); |
|
|
|
} |
|
|
|
} |
|
|
|
$('.col2 input,textarea').click(function() { this.select(); }); |
|
|
|
$('.col2 input,textarea').click(function() { this.select(); }); |
|
|
|