use super::EscrowAccount;
use steel::*;
#[repr(C)]
#[derive(Clone, Copy, Debug, PartialEq, Pod, Zeroable)]
pub struct Payment {
pub payment_uid: [u8; 32], pub escrow: Pubkey, pub buyer: Pubkey, pub seller: Pubkey, pub mint: Pubkey, pub amount: u64, pub created_at: i64, pub expires_at: i64, pub closed_at: i64, pub reference: Pubkey, pub order_num: [u8; 32], pub oracle_authority: Pubkey, pub arbitration_deadline: i64, pub oracle_confirmed: u8, pub state: u8, pub is_fulfilled: u8, pub appeal_count: u8, pub _padding: [u8; 4], }
account!(EscrowAccount, Payment);