|
|
@ -171,6 +171,15 @@ UniversalDApp.prototype.getInstanceInterface = function (contract, address, $tar |
|
|
|
} |
|
|
|
} |
|
|
|
$instance.append( $title ); |
|
|
|
$instance.append( $title ); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Add the fallback function
|
|
|
|
|
|
|
|
$instance.append(self.getCallButton({ |
|
|
|
|
|
|
|
abi: { constant: false, inputs:[], name: '(fallback)', outputs: [], type: 'function' }, |
|
|
|
|
|
|
|
encode: function(args) { |
|
|
|
|
|
|
|
return ''; |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
address: address |
|
|
|
|
|
|
|
})); |
|
|
|
|
|
|
|
|
|
|
|
$.each(abi, function(i, funABI) { |
|
|
|
$.each(abi, function(i, funABI) { |
|
|
|
if (funABI.type != 'function') return; |
|
|
|
if (funABI.type != 'function') return; |
|
|
|
// @todo getData cannot be used with overloaded functions
|
|
|
|
// @todo getData cannot be used with overloaded functions
|
|
|
|