whole_func_string: function encodeSignature(method) {
    const signature = `${method.name}(${utils.getKeys(method.inputs, 'type').join(',')})`;
    const signatureEncoded = `0x${(new Buffer(utils.keccak256(signature), 'hex')).slice(0, 4).toString('hex')}`;
  
    return signatureEncoded;
  }
func_code_string: function encodeSignature(method) {
    const signature = `${method.name}(${utils.getKeys(method.inputs, 'type').join(',')})`;
    const signatureEncoded = `0x${(new Buffer(utils.keccak256(signature), 'hex')).slice(0, 4).toString('hex')}`;
  
    return signatureEncoded;
  }
func_documentation_string: create an encoded method signature from an ABI object