escrow_api/state/
config.rs

1use super::EscrowAccount;
2use steel::*;
3
4#[repr(C)]
5#[derive(Clone, Copy, Debug, PartialEq, Pod, Zeroable)]
6pub struct Config {
7    pub appeal_window_seconds: i64, // 8 bytes - Appeal window duration
8    pub closure_delay_seconds: i64, // 8 bytes - Closure delay for all final states
9    pub updated_at: i64,            // 8 bytes - Last update timestamp
10    pub max_appeals: u8,            // 1 byte - Maximum appeals allowed
11    // Total: 8+8+8+1 = 25 bytes, need 7 bytes padding for 32-byte alignment
12    pub _padding: [u8; 7], // 7 bytes padding
13}
14
15account!(EscrowAccount, Config);