sla_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 closure_delay_seconds: i64, // 8 bytes - Closure delay for all final states
8 pub refund_cooldown_seconds: i64, // 8 bytes - Cooldown for buyer-initiated refunds (0 = disabled)
9 pub updated_at: i64, // 8 bytes - Last update timestamp
10 // Total: 8+8+8 = 24 bytes
11}
12
13account!(EscrowAccount, Config);