ABI.FunctionSelector.encode_type
You're seeing just the function
encode_type
, go back to ABI.FunctionSelector module for more information.
Link to this function
encode_type(single_type)
Encodes the given single type as a type-string.
Examples
iex> ABI.FunctionSelector.encode_type({:uint, 256})
"uint256"
iex> ABI.FunctionSelector.encode_type({:tuple, [:bool, :address]})
"(bool,address)"
iex> ABI.FunctionSelector.encode_type({:array, {:array, :address}, 3})
"address[][3]"