package tezos-protocol-015-PtLimaPt
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=ad9e08819871c75ba6f4530b125f7d157799398e4d77a1e6bfea9d91ff37ff55
sha512=c5dc4d40cc09bc6980fbbdb5c2e105bf4252cf9cfcb2b49660b0ebe4dc789f6709ec3b3bf2f87d81580d3eed9521eeb1c960f24d9b14eb0285aaba1f84d10a9b
doc/tezos-protocol-015-PtLimaPt.raw/Tezos_raw_protocol_015_PtLimaPt/Alpha_context/Entrypoint/index.html
Module Alpha_context.Entrypoint
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