chia-blockchain/chia/wallet/cc_wallet/ccparent.py

15 lines
365 B
Python

from dataclasses import dataclass
from typing import Optional
from chia.types.blockchain_format.sized_bytes import bytes32
from chia.util.ints import uint64
from chia.util.streamable import Streamable, streamable
@dataclass(frozen=True)
@streamable
class CCParent(Streamable):
parent_name: bytes32
inner_puzzle_hash: Optional[bytes32]
amount: uint64