Mavryk_001_PtAtLas_test_helpers.Script_big_map
val update :
'key ->
'value option ->
('key, 'value) Mavryk_protocol_001_PtAtLas.Protocol.Script_typed_ir.big_map ->
Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.t ->
(('key, 'value) Mavryk_protocol_001_PtAtLas.Protocol.Script_typed_ir.big_map
* Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.t)
Mavryk_protocol_001_PtAtLas.Environment.Error_monad.tzresult
Lwt.t
Update a big map. See Script_typed_ir.big_map_get_and_update
for details.
val of_list :
'key Mavryk_protocol_001_PtAtLas.Protocol.Script_typed_ir.comparable_ty ->
('value, _) Mavryk_protocol_001_PtAtLas.Protocol.Script_typed_ir.ty ->
('key * 'value) list ->
Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.t ->
(('key, 'value) Mavryk_protocol_001_PtAtLas.Protocol.Script_typed_ir.big_map
* Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.t)
Mavryk_protocol_001_PtAtLas.Environment.Error_monad.tzresult
Lwt.t
Convert a list to a Script_big_map
. If the list contains duplicate keys, the first occurence is used.