code: function encodeMethod(method, values) {
    const paramsEncoded = encodeParams(utils.getKeys(method.inputs, 'type'), values).substring(2);
  
    return `${encodeSignature(method)}${paramsEncoded}`;
  }
docs: encode method ABI object with values in an array, output bytecode