SingletonInfo

Trait SingletonInfo 

Source
pub trait SingletonInfo {
    // Required methods
    fn launcher_id(&self) -> Bytes32;
    fn inner_puzzle_hash(&self) -> TreeHash;

    // Provided method
    fn puzzle_hash(&self) -> TreeHash { ... }
}

Required Methods§

Source

fn launcher_id(&self) -> Bytes32

Source

fn inner_puzzle_hash(&self) -> TreeHash

Calculates the inner puzzle hash of the singleton.

This does not include the SingletonLayer.

Provided Methods§

Source

fn puzzle_hash(&self) -> TreeHash

Calculates the full puzzle hash of the the outer SingletonLayer.

Implementors§