use crate::blockchain::sized_bytes::Bytes32;
use dg_xch_macros::ChiaSerial;
use serde::{Deserialize, Serialize};
#[derive(ChiaSerial, Clone, PartialEq, Eq, Serialize, Deserialize, Debug)]
pub struct Spend {
pub coin_id: Bytes32,
pub puzzle_hash: Bytes32,
pub height_relative: Option<u32>,
pub seconds_relative: Option<u64>,
pub before_height_relative: Option<u32>,
pub before_seconds_relative: Option<u64>,
pub birth_height: Option<u32>,
pub birth_seconds: Option<u64>,
pub create_coin: Vec<(Bytes32, u64, Option<Vec<u8>>)>,
pub agg_sig_me: Vec<(Vec<u8>, Vec<u8>)>,
pub flags: u32,
}