chia_sdk_driver/primitives/mips/
restriction.rs1use clvm_utils::TreeHash;
2
3#[derive(Debug, Clone, Copy)]
4pub struct Restriction {
5 pub kind: RestrictionKind,
6 pub puzzle_hash: TreeHash,
7}
8
9#[derive(Debug, Clone, Copy)]
10pub enum RestrictionKind {
11 MemberCondition,
12 DelegatedPuzzleHash,
13 DelegatedPuzzleWrapper,
14}