|
|
@ -59,6 +59,7 @@ UniversalDAppUI.prototype.renderInstance = function (contract, address, contract |
|
|
|
UniversalDAppUI.prototype.renderInstanceFromABI = function (contractABI, address, contractName) { |
|
|
|
UniversalDAppUI.prototype.renderInstanceFromABI = function (contractABI, address, contractName) { |
|
|
|
var self = this |
|
|
|
var self = this |
|
|
|
address = (address.slice(0, 2) === '0x' ? '' : '0x') + address.toString('hex') |
|
|
|
address = (address.slice(0, 2) === '0x' ? '' : '0x') + address.toString('hex') |
|
|
|
|
|
|
|
address = ethJSUtil.toChecksumAddress(address) |
|
|
|
var instance = yo`<div class="instance ${css.instance} ${css.hidesub}" id="instance${address}"></div>` |
|
|
|
var instance = yo`<div class="instance ${css.instance} ${css.hidesub}" id="instance${address}"></div>` |
|
|
|
var context = self.udapp.context() |
|
|
|
var context = self.udapp.context() |
|
|
|
|
|
|
|
|
|
|
|