package octez-protocol-017-PtNairob-libs
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >
  
  
  Octez protocol 017-PtNairob libraries
Install
    
    dune-project
 Dependency
Authors
Maintainers
Sources
  
    
      octez-19.1.tar.gz
    
    
        
    
  
  
  
    
  
  
    
  
        sha256=55ea1fb8bb3273a7fc270ca8f650d45c56449665619482aad9bc12f3ea736b7e
    
    
  sha512=fec850fc2d17d7490bbabd5147d62aad13b3aaed8774270f8a38ab419670ed03e0fd30cf8642a97984eca5c2446726fe590ad99c015f7ec50919dc7652f25053
    
    
  doc/octez-protocol-017-PtNairob-libs.smart-rollup/Tezos_smart_rollup_017_PtNairob/Game_helpers/index.html
Module Tezos_smart_rollup_017_PtNairob.Game_helpersSource
Source
val default_new_dissection : 
  default_number_of_sections:int ->
  start_chunk:
    Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Sc_rollup.Game.dissection_chunk ->
  our_stop_chunk:
    Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Sc_rollup.Game.dissection_chunk ->
  Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Sc_rollup.Tick.t listdefault_new_dissection ~default_number_of_sections ~start_chunk ~our_stop_chunk computes a list of intermediary ticks that can later be turned into new dissection from between start_chunk and our_stop_chunk with make_dissection. The algorithm satisfies the default predicate on dissection exported by the protocol.
Source
val make_dissection : 
  state_of_tick:
    (?start_state:'a ->
      Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Sc_rollup.Tick.t ->
      ('a option, 'trace) result Lwt.t) ->
  state_hash_of_eval_state:
    ('a ->
      Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Sc_rollup.State_hash.t) ->
  ?start_state:'a ->
  start_chunk:
    Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Sc_rollup.Dissection_chunk.t ->
  our_stop_chunk:
    Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Sc_rollup.Dissection_chunk.t ->
  Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Sc_rollup.Tick.t list ->
  (Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Sc_rollup.Dissection_chunk.t
     list,
    'trace)
    result
    Lwt.tmake_dissection ~state_hash_from_tick ~start_chunk ~our_stop_chunk intermediary_ticks computes a new dissection from a list of intermediary ticks between start_chunk and our_stop_chunk.
This function assumes intermediary_ticks encodes a valid dissection from start_chunk to our_stop_chunk, and recomputes the state hash associated to each ticks.
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >