package octez-smart-rollup-node-lib
val load :
path:string ->
'a Tezos_layer2_store.Store_sigs.mode ->
'a t Tezos_base.TzPervasives.tzresult Lwt.t
Load (or initializes) a singleton store in the file path
.
val read :
[> `Read ] t ->
Octez_smart_rollup.Sc_rollup_block.t option Tezos_base.TzPervasives.tzresult
Lwt.t
Reads the current value from the disk. Returns None
if the file does not exist.
val write :
[> `Write ] t ->
Octez_smart_rollup.Sc_rollup_block.t ->
unit Tezos_base.TzPervasives.tzresult Lwt.t
Write the value to disk.
val delete : [> `Write ] t -> unit Tezos_base.TzPervasives.tzresult Lwt.t
Deletes the value from the disk.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>