package tezos-protocol-011-PtHangz2

  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_011_PtHangz2__Environment.Error_monad.error Tezos_protocol_environment_011_PtHangz2__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_011_PtHangz2__Environment.Error_monad.error Tezos_protocol_environment_011_PtHangz2__Environment.Error_monad.trace) Stdlib.result Lwt.t) -> (Raw_context.t * 'a list * escape_ema, Tezos_protocol_environment_011_PtHangz2__Environment.Error_monad.error Tezos_protocol_environment_011_PtHangz2__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.