package tezos-protocol-008-PtEdoTez

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t =
  1. | Unaccounted
  2. | Limited of {
    1. remaining : Arith.fp;
    }
val encoding : t Tezos_base__TzPervasives.Data_encoding.t
val pp : Stdlib.Format.formatter -> t -> unit
type cost = Z.t
val cost_encoding : cost Tezos_base__TzPervasives.Data_encoding.t
val pp_cost : Stdlib.Format.formatter -> cost -> unit
type Tezos_protocol_environment_008_PtEdoTez__Environment.Error_monad.error +=
  1. | Block_quota_exceeded
type Tezos_protocol_environment_008_PtEdoTez__Environment.Error_monad.error +=
  1. | Operation_quota_exceeded
val raw_consume : Arith.fp -> t -> cost -> (Arith.fp * t, Tezos_protocol_environment_008_PtEdoTez__Environment.Error_monad.error list) Stdlib.result
val raw_check_enough : Arith.fp -> t -> cost -> (unit, Tezos_protocol_environment_008_PtEdoTez__Environment.Error_monad.error list) Stdlib.result
val free : cost
val atomic_step_cost : Z.t -> cost
val step_cost : Z.t -> cost
val alloc_cost : Z.t -> cost
val alloc_bytes_cost : int -> cost
val alloc_mbytes_cost : int -> cost
val read_bytes_cost : Z.t -> cost
val write_bytes_cost : Z.t -> cost
val (*@) : Z.t -> cost -> cost
val (+@) : cost -> cost -> cost
OCaml

Innovation. Community. Security.