Method: Eth::Contract::Event#input_types

Defined in:
lib/eth/contract/event.rb

#input_typesArray<String>

Returns the input types for the event.

Returns:

  • (Array<String>)

    An array of input type names.



38
39
40
# File 'lib/eth/contract/event.rb', line 38

def input_types
  @input_types ||= @data["inputs"].map { |x| type_name(x) }
end