Module Alpha_context.Contract

This module re-exports definitions from Contract_repr and Contract_storage.

type t =
  1. | Implicit of public_key_hash
  2. | Originated of Contract_hash.t

Functions related to contracts address.

type Mavryk_protocol_environment_alpha.Error_monad.error +=
  1. | Non_existing_contract of t
include BASIC_DATA with type t := t
include Mavryk_protocol_environment_alpha.Compare.S with type t := t
val (=) : t -> t -> bool
val (<>) : t -> t -> bool
val (<) : t -> t -> bool
val (<=) : t -> t -> bool
val (>=) : t -> t -> bool
val (>) : t -> t -> bool
val compare : t -> t -> int
val equal : t -> t -> bool
val max : t -> t -> t
val min : t -> t -> t
val in_memory_size : t -> Cache_memory_helpers.sint
val to_b58check : t -> string

Functions related to contracts existence.

Functions related to both implicit accounts and originated contracts.

Functions related to implicit accounts.

Functions related to smart contracts.

type delegate_status =
  1. | Delegate
  2. | Delegated of Mavryk_protocol_environment_alpha.Signature.Public_key_hash.t
  3. | Undelegated
module Legacy_big_map_diff : sig ... end
module Delegate : sig ... end

Functions for handling the delegate of a contract.

module Internal_for_tests : sig ... end

This module discloses definitions that are only useful for tests and must not be used otherwise.

module For_RPC : sig ... end

Functions used exclusively for RPC calls