chia_sdk_driver/
spend.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
use clvmr::NodePtr;

#[derive(Debug, Clone, Copy)]
#[must_use]
pub struct Spend {
    pub puzzle: NodePtr,
    pub solution: NodePtr,
}

impl Spend {
    pub fn new(puzzle: NodePtr, solution: NodePtr) -> Self {
        Self { puzzle, solution }
    }
}