package tezos-protocol-007-PsDELPH1

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Alpha_context.GasSource

Sourcetype t = private
  1. | Unaccounted
  2. | Limited of {
    1. remaining : Arith.fp;
    }
Sourcetype cost
Sourceval free : cost
Sourceval alloc_bytes_cost : int -> cost
Sourceval alloc_mbytes_cost : int -> cost
Sourceval (+@) : cost -> cost -> cost
Sourceval set_limit : context -> 'a Arith.t -> context
Sourceval set_unlimited : context -> context
Sourceval level : context -> t
Sourceval consumed : since:context -> until:context -> Arith.fp
Sourceval block_level : context -> Arith.fp
Sourceval cost_of_repr : Gas_limit_repr.cost -> cost
OCaml

Innovation. Community. Security.