package tezos-protocol-012-Psithaca

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val get_cpmm_address : Raw_context.t -> (Contract_repr.t, Tezos_protocol_environment_012_Psithaca__Environment.Error_monad.error Tezos_protocol_environment_012_Psithaca__Environment.Error_monad.trace) Stdlib.result Lwt.t
type escape_ema = int32
val on_subsidy_allowed : Raw_context.t -> escape_vote:bool -> (Raw_context.t -> Contract_repr.t -> (Raw_context.t * 'a list, Tezos_protocol_environment_012_Psithaca__Environment.Error_monad.error Tezos_protocol_environment_012_Psithaca__Environment.Error_monad.trace) Stdlib.result Lwt.t) -> (Raw_context.t * 'a list * escape_ema, Tezos_protocol_environment_012_Psithaca__Environment.Error_monad.error Tezos_protocol_environment_012_Psithaca__Environment.Error_monad.trace) Stdlib.result Lwt.t

Checks if below EMA threshold (after updating), sunset level, and if CPMM contract exists.

OCaml

Innovation. Community. Security.