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 Bank {
    pub authority: Pubkey, // 32 bytes
    pub open_at: i64,      // 8 bytes
    pub fee_bps: u16,      // 2 bytes
    // Total: 32+8+2 = 42 bytes, need 6 bytes padding for 48-byte alignment
    pub _padding: [u8; 6], // 6 bytes padding
}

account!(EscrowAccount, Bank);