package octez-l2-libs
Octez layer2 libraries
Install
Dune Dependency
Authors
Maintainers
Sources
octez-19.1.tar.gz
sha256=55ea1fb8bb3273a7fc270ca8f650d45c56449665619482aad9bc12f3ea736b7e
sha512=fec850fc2d17d7490bbabd5147d62aad13b3aaed8774270f8a38ab419670ed03e0fd30cf8642a97984eca5c2446726fe590ad99c015f7ec50919dc7652f25053
doc/octez-l2-libs.smart-rollup/Octez_smart_rollup/Game/V1/index.html
Module Game.V1
Source
Source
type refutation =
| Start of {
player_commitment_hash : Octez_smart_rollup.Commitment.Hash.t;
opponent_commitment_hash : Octez_smart_rollup.Commitment.Hash.t;
}
| Move of {
choice : Z.t;
step : step;
}
Source
val make_index :
Tezos_crypto.Signature.Public_key_hash.t ->
Tezos_crypto.Signature.Public_key_hash.t ->
index
Source
type 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;
}
Source
type 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;
}
Source
type conflict = {
other : Tezos_crypto.Signature.Public_key_hash.t;
their_commitment : Commitment.t;
our_commitment : Commitment.t;
parent_commitment : Octez_smart_rollup.Commitment.Hash.t;
}
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>