package octez-protocol-alpha-libs

  1. Overview
  2. Docs
Octez protocol alpha libraries

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-18.1.tar.gz
sha256=aa2f5bc99cc4ca2217c52a1af2a2cdfd3b383208cb859ca2e79ca0903396ca1d
sha512=d68bb3eb615e3dcccc845fddfc9901c95b3c6dc8e105e39522ce97637b1308a7fa7aa1d271351d5933febd7476b2819e1694f31198f1f0919681f1f9cc97cb3a

doc/octez-protocol-alpha-libs.test-helpers/Tezos_alpha_test_helpers/Big_map_helpers/index.html

Module Tezos_alpha_test_helpers.Big_map_helpersSource

Sourceval make_big_map : Block.t -> source:Tezos_protocol_alpha.Protocol.Alpha_context.Contract.t -> key_type:string -> value_type:string -> (Tezos_protocol_alpha.Protocol.Script_repr.expr * Tezos_protocol_alpha.Protocol.Script_repr.expr) list -> (Tezos_protocol_alpha.Protocol.Lazy_storage_kind.Big_map.Id.t * Tezos_protocol_alpha.Protocol.Alpha_context.context) Tezos_base.TzPervasives.tzresult Lwt.t

make_big_map block ~source ~key_type ~value_type key_values constructs a new big-map with the given key-type key_type and value type value_type.

The big-map is owned by a new contract that is originated from source, with script Op.dummy_script, and consists of a list of key-value pairs according to the given key_values list of Micheline expressions.

OCaml

Innovation. Community. Security.