Mavkit_smart_rollup.Gamemodule V1 : sig ... endinclude Versioned_data.S with type t = V1.tThe type of versioned values, including the one that is currently used and the previous ones.
val versioned_encoding : versioned Mavryk_base.TzPervasives.Data_encoding.tEncoding for versioned values, corresponds to the one defined by the protocol.
Conversion to the currently used representation. In practice this function must provide ways to translate values of older versions to the latest one.
include module type of V1
with type dissection_chunk = V1.dissection_chunk
and type step = V1.step
and type refutation = V1.refutation
and type index = V1.index
and type player = V1.player
and type game_state = V1.game_state
and type conflict = V1.conflict
and type t = V1.ttype refutation = V1.refutation = | Start of {player_commitment_hash : Mavkit_smart_rollup.Commitment.Hash.t;opponent_commitment_hash : Mavkit_smart_rollup.Commitment.Hash.t;}| Move of {choice : Z.t;step : step;}val dissection_chunk_encoding :
dissection_chunk Mavryk_base.TzPervasives.Data_encoding.tval dissection_encoding :
dissection_chunk list Mavryk_base.TzPervasives.Data_encoding.tval step_encoding : step Mavryk_base.TzPervasives.Data_encoding.tval refutation_encoding : refutation Mavryk_base.TzPervasives.Data_encoding.tval index_encoding : index Mavryk_base.TzPervasives.Data_encoding.tval make_index :
Mavryk_crypto.Signature.Public_key_hash.t ->
Mavryk_crypto.Signature.Public_key_hash.t ->
indextype game_state = V1.game_state = | Dissecting of {dissection : dissection_chunk list;default_number_of_sections : int;}| Final_move of {agreed_start_chunk : dissection_chunk;refuted_stop_chunk : dissection_chunk;}type t = V1.t = {turn : player;inbox_snapshot : Inbox.V1.history_proof;dal_snapshot : Dal.Slot_history.t;start_level : int32;inbox_level : int32;game_state : game_state;}type conflict = V1.conflict = {other : Mavryk_crypto.Signature.Public_key_hash.t;their_commitment : Commitment.t;our_commitment : Commitment.t;parent_commitment : Mavkit_smart_rollup.Commitment.Hash.t;}val game_state_equal : game_state -> game_state -> boolval player_encoding : player Mavryk_base.TzPervasives.Data_encoding.tval game_state_encoding : game_state Mavryk_base.TzPervasives.Data_encoding.tval encoding : t Mavryk_base.TzPervasives.Data_encoding.tval conflict_encoding : conflict Mavryk_base.TzPervasives.Data_encoding.t