|
|
|
@ -180,7 +180,6 @@ UniversalDApp.prototype.getInstanceInterface = function (contract, address, $tar |
|
|
|
|
return 1; |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
var web3contract = this.web3.eth.contract(abi); |
|
|
|
|
var funABI = this.getConstructorInterface(abi); |
|
|
|
|
var $createInterface = $('<div class="createContract"/>'); |
|
|
|
|
|
|
|
|
@ -252,7 +251,7 @@ UniversalDApp.prototype.getInstanceInterface = function (contract, address, $tar |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
} else { |
|
|
|
|
var eventFilter = web3contract.at(address).allEvents(); |
|
|
|
|
var eventFilter = this.web3.eth.contract(abi).at(address).allEvents(); |
|
|
|
|
eventFilter.watch(parseLogs); |
|
|
|
|
} |
|
|
|
|
$instance.append($title); |
|
|
|
|