diff --git a/remix-lib/src/execution/txHelper.js b/remix-lib/src/execution/txHelper.js index 8ad9879acc..69c0cb4cfa 100644 --- a/remix-lib/src/execution/txHelper.js +++ b/remix-lib/src/execution/txHelper.js @@ -75,6 +75,15 @@ module.exports = { return funABI }, + + serializeInputs: function (fnAbi) { + var serialized = '(' + if (fnAbi.inputs && fnAbi.inputs.length) { + serialized += fnAbi.inputs.map((input) => { return input.type }).join(',') + } + serialized += ')' + return serialized + }, getFunction: function (abi, fnName) { for (var i = 0; i < abi.length; i++) {