lib/cita/contract.rb
def function_data_with_ot(method_name, *params)
      web3 = Web3::Eth::Rpc.new host: @host, port: @port, connect_options: { use_ssl: https? }
      contract = web3.eth.contract(abi).at(address)
      contract.function_data(method_name, *params)
    end
def function_data_with_ot(method_name, *params)
      web3 = Web3::Eth::Rpc.new host: @host, port: @port, connect_options: { use_ssl: https? }
      contract = web3.eth.contract(abi).at(address)
      contract.function_data(method_name, *params)
    end
wrapper Web3::Eth abi encoder for encoded data