src/index.js
function encodeMethod(method, values) {
  const paramsEncoded = encodeParams(utils.getKeys(method.inputs, 'type'), values).substring(2);

  return `${encodeSignature(method)}${paramsEncoded}`;
}
function encodeMethod(method, values) {
  const paramsEncoded = encodeParams(utils.getKeys(method.inputs, 'type'), values).substring(2);

  return `${encodeSignature(method)}${paramsEncoded}`;
}
encode method ABI object with values in an array, output bytecode