usesteel::*;usesuper::ProtobookAccount;/// A receipt tracks a deposit to fill an order.
#[repr(C)]#[derive(Clone, Copy, Debug, PartialEq, Pod, Zeroable)]pubstructReceipt{/// The holder of the receipt (order taker).
pubauthority: Pubkey,
/// The amount of token B deposited by the taker.
pubdeposit:u64,
/// The order this receipt is redeemable for.
puborder: Pubkey,
}account!(ProtobookAccount, Receipt);