chia_sdk_driver/
spend.rs

1use clvmr::NodePtr;
2
3#[derive(Debug, Clone, Copy)]
4#[must_use]
5pub struct Spend {
6    pub puzzle: NodePtr,
7    pub solution: NodePtr,
8}
9
10impl Spend {
11    pub fn new(puzzle: NodePtr, solution: NodePtr) -> Self {
12        Self { puzzle, solution }
13    }
14}