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§
fn launcher_id(&self) -> Bytes32
Sourcefn inner_puzzle_hash(&self) -> TreeHash
fn inner_puzzle_hash(&self) -> TreeHash
Calculates the inner puzzle hash of the singleton.
This does not include the SingletonLayer
.
Provided Methods§
Sourcefn puzzle_hash(&self) -> TreeHash
fn puzzle_hash(&self) -> TreeHash
Calculates the full puzzle hash of the the outer SingletonLayer
.