sla-escrow-api 0.2.9

SLA-Escrow: Service Level Agreement Enforcer for AI Agents
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use super::EscrowAccount;
use steel::*;

#[repr(C)]
#[derive(Clone, Copy, Debug, PartialEq, Pod, Zeroable)]
pub struct Config {
    pub closure_delay_seconds: i64, // 8 bytes - Closure delay for all final states
    pub refund_cooldown_seconds: i64, // 8 bytes - Cooldown for buyer-initiated refunds (0 = disabled)
    pub delivery_cutoff_seconds: i64, // 8 bytes - Min seconds before expires_at for delivery submission
    pub updated_at: i64,              // 8 bytes - Last update timestamp
                                      // Total: 8+8+8+8 = 32 bytes
}

account!(EscrowAccount, Config);