package tezos-protocol-015-PtLimaPt
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=7062cd57addd452852598a2214ade393130efa087b99068d53713bdf912b3680
sha512=08e4091144a03ce3c107fb91a66501bd8b65ca3278917c455a2eaac6df3e108ade63f6ab8340a4bb152d60f404326e464d0ec95d26cafe8e82f870465d24a5fc
doc/tezos-protocol-015-PtLimaPt.raw/Tezos_raw_protocol_015_PtLimaPt/Entrypoint_repr/index.html
Module Tezos_raw_protocol_015_PtLimaPt.Entrypoint_repr
Source
An entrypoint is a non-empty string of at most 31 characters
val of_annot_strict :
loc:Script_repr.location ->
Non_empty_string.t ->
t Tezos_protocol_environment_015_PtLimaPt.Error_monad.tzresult
Converts an annot to an entrypoint. Returns an error if the string is too long or is "default".
val of_string_strict :
loc:Script_repr.location ->
string ->
t Tezos_protocol_environment_015_PtLimaPt.Error_monad.tzresult
Converts a string to an entrypoint. Returns an error if the string is too long or is "default". Converts "" to "default".
Converts a string to an entrypoint. Fails with Invalid_arg
if the string is too long or is "default". Converts "" to "default".
val of_annot_lax :
Non_empty_string.t ->
t Tezos_protocol_environment_015_PtLimaPt.Error_monad.tzresult
Converts an annot to an entrypoint. Returns an error if the string is too long. Accepts "default".
Converts an annot to an entrypoint. Returns None
if the string is too long. Accepts "default".
Converts a string to an entrypoint. Returns an error if the string is too long. Accepts "default" and converts "" to "default".
Converts an entrypoint to a non-empty string. "default" is kept as is.
Converts an entrypoint to a string used as an address suffix. For the default entrypoint, the result is the empty string. Otherwise it is "%" followed by the entrypoint.
Converts an entrypoint to a string used as a field annotation of a parameter union type. It is "%" followed by the entrypoint. The default entrypoint is converted to "%default".
Pretty-print an entrypoint
An encoding of entrypoints reusing the lax semantics. Decoding fails if the string is too long. "" is decoded into "default". "default" is encoded into "default".
An encoding of entrypoints reusing the strict semantics. Decoding fails if the string is too long or is "default". "" is decoded into "default". "default" is encoded into "".
An optimized encoding of entrypoints, used for operations.
Entrypoint RPC arg.
In-memory size of an entrypoint
Set of entrypoints
Map of entrypoints