|
|
|
@ -2,6 +2,9 @@ |
|
|
|
|
|
|
|
|
|
var yo = require('yo-yo') |
|
|
|
|
var css = require('./universal-dapp-styles') |
|
|
|
|
var copyToClipboard = require('./app/ui/copy-to-clipboard') |
|
|
|
|
var remixLib = require('remix-lib') |
|
|
|
|
var txFormat = remixLib.execution.txFormat |
|
|
|
|
|
|
|
|
|
class MultiParamManager { |
|
|
|
|
|
|
|
|
@ -147,6 +150,11 @@ class MultiParamManager { |
|
|
|
|
${this.multiFields} |
|
|
|
|
<div class="${css.group} ${css.multiArg}" > |
|
|
|
|
${button} |
|
|
|
|
${copyToClipboard(() => { |
|
|
|
|
var multiString = this.getMultiValsString() |
|
|
|
|
var multiJSON = JSON.parse('[' + multiString + ']') |
|
|
|
|
return txFormat.encodeData(this.funABI, multiJSON) |
|
|
|
|
})} |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div>` |
|
|
|
|