class Eth::Abi::Type
def initialize(base_type, sub_type, dimensions, components = nil, component_name = nil)
-
(Eth::Abi::Type)
- an ABI type object.
Parameters:
-
component_name
(String
) -- the tuple component's name. -
components
(Array
) -- the components attribute. -
dimensions
(Array
) -- the dimension attribute. -
sub_type
(String
) -- the sub-type attribute. -
base_type
(String
) -- the base-type attribute.
def initialize(base_type, sub_type, dimensions, components = nil, component_name = nil) sub_type = sub_type.to_s @base_type = base_type @sub_type = sub_type @dimensions = dimensions @components = components @name = component_name end