0
function callContract(ABI, Address, functionName) {
    var Contract = eth.contract(ABI).at(Address);
    var getData = Contract.functionName.getData(5);    

Is there any way to pass the functionName and use that functionName to call on the Contract object?

kquinn
  • 83
  • 7

0 Answers0