fix docs. refactor sequencer logic to check size before executing

This commit is contained in:
Sergio Chouhy
2026-04-06 21:07:55 -03:00
parent ed1926b38a
commit d9ddd5e3f6
5 changed files with 59 additions and 60 deletions
@@ -7,7 +7,7 @@
//! Expected pre-states (in order):
//! 0 - pinata account (authorized, owned by this program)
//! 1 - winner account
//! 2 - clock account (read-only, e.g. `CLOCK_01`).
//! 2 - clock account `CLOCK_01`.
//!
//! Pinata account data layout (24 bytes):
//! [prize: u64 LE | `cooldown_ms`: u64 LE | `last_claim_timestamp`: u64 LE].