chia_sdk_driver/primitives/cat/
cat_spend.rs

1use crate::Spend;
2
3use super::Cat;
4
5#[derive(Debug, Clone, Copy)]
6pub struct CatSpend {
7    pub cat: Cat,
8    pub inner_spend: Spend,
9    pub revoke: bool,
10}
11
12impl CatSpend {
13    pub fn new(cat: Cat, inner_spend: Spend) -> Self {
14        Self {
15            cat,
16            inner_spend,
17            revoke: false,
18        }
19    }
20}