Mavryk_raw_protocol_alpha.Entrypoint_reprval default : tDefault entrypoint "default"
val is_default : t -> boolChecks whether an entrypoint is the default entrypoint
val root : tRoot entrypoint "root"
val is_root : t -> boolChecks whether an entrypoint is the root entrypoint
val do_ : tEntrypoint "do"
val set_delegate : tEntrypoint "set_delegate"
val remove_delegate : tEntrypoint "remove_delegate"
val deposit : tDeposit entrypoint "deposit"
val stake : tEntrypoint "stake"
val unstake : tEntrypoint "unstake"
val finalize_unstake : tEntrypoint "finalize_unstake"
val set_delegate_parameters : tEntrypoint "set_delegate_parameters"
val is_deposit : t -> boolChecks whether an entrypoint is the deposit entrypoint
val of_annot_strict :
loc:Script_repr.location ->
Non_empty_string.t ->
t Mavryk_protocol_environment_alpha.Error_monad.tzresultConverts 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 Mavryk_protocol_environment_alpha.Error_monad.tzresultConverts a string to an entrypoint. Returns an error if the string is too long or is "default". Converts "" to "default".
val of_string_strict_exn : string -> tConverts 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 Mavryk_protocol_environment_alpha.Error_monad.tzresultConverts an annot to an entrypoint. Returns an error if the string is too long. Accepts "default".
val of_annot_lax_opt : Non_empty_string.t -> t optionConverts an annot to an entrypoint. Returns None if the string is too long. Accepts "default".
val of_string_lax :
string ->
t Mavryk_protocol_environment_alpha.Error_monad.tzresultConverts a string to an entrypoint. Returns an error if the string is too long. Accepts "default" and converts "" to "default".
val to_non_empty_string : t -> Non_empty_string.tConverts an entrypoint to a non-empty string. "default" is kept as is.
val to_string : t -> stringConverts an entrypoint to a string. "default" is kept as is.
val to_address_suffix : t -> stringConverts 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.
val unparse_as_field_annot : t -> stringConverts 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".
val pp : Mavryk_protocol_environment_alpha.Format.formatter -> t -> unitPretty-print an entrypoint
val simple_encoding : t Mavryk_protocol_environment_alpha.Data_encoding.tAn encoding of entrypoints reusing the lax semantics. Decoding fails if the string is too long. "" is decoded into "default". "default" is encoded into "default".
val value_encoding : t Mavryk_protocol_environment_alpha.Data_encoding.tAn 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 "".
val smart_encoding : t Mavryk_protocol_environment_alpha.Data_encoding.tAn optimized encoding of entrypoints, used for operations.
val rpc_arg : t Mavryk_protocol_environment_alpha.RPC_arg.tEntrypoint RPC arg.
val in_memory_size : t -> Saturation_repr.may_saturate Saturation_repr.tIn-memory size of an entrypoint
module Set : Mavryk_protocol_environment_alpha.Set.S with type elt = tSet of entrypoints
module Map : Mavryk_protocol_environment_alpha.Map.S with type key = tMap of entrypoints