Parses s
as an address. Valid formats for addresses are:
Parse s
as a fully-qualified name: A Module ID (see
parse_iota_module_id
), followed by ::
, and then an identifier (for the
module member). Parsing succeeds if and only if s
matches this
format exactly, with no remaining input. This function is intended for use
within the authority codebases.
Parse s
as a Module ID: An address (see parse_iota_address
), followed by
::
, and then a module name (an identifier). Parsing succeeds if and only
if s
matches this format exactly, with no remaining input. This function
is intended for use within the authority codebases.
Parse s
as a struct type: A fully-qualified name, optionally followed by a
list of type parameters (types – see parse_iota_type_tag
, separated by
commas, surrounded by angle brackets). Parsing succeeds if and only if s
matches this format exactly, with no remaining input. This function is
intended for use within the authority codebase.
Parse s
as a type: Either a struct type (see parse_iota_struct_tag
), a
primitive type, or a vector with a type parameter. Parsing succeeds if and
only if s
matches this format exactly, with no remaining input. This
function is intended for use within the authority codebase.
Resolve well-known named addresses into numeric addresses.