universalsettle-api 0.2.1

X402-inspired settlement program for any token on Solana
Documentation
use steel::*;

use super::SettlementAccount;

/// FeeShard is a receptacle for collected fees to prevent lock contention on the main treasury wallet.
#[repr(C)]
#[derive(Clone, Copy, Debug, PartialEq, Pod, Zeroable)]
pub struct FeeShard {
    /// The index of this shard (0 to shard_count - 1)
    pub index: u64,

    /// PDA bump seed
    pub bump: u8,

    /// Reserved for future use
    pub _padding: [u8; 7],
}

account!(SettlementAccount, FeeShard);