class Web3::Eth::Contract

Public Instance Methods

function_data(method_name, args) click to toggle source
# File lib/web3_eth/contract.rb, line 20
def function_data(method_name, args)
  function = functions[method_name]
  raise "No method found in ABI: #{method_name}" unless function

  function.function_data args
end