Asset

Trait Asset 

Source
pub trait Asset {
    // Required methods
    fn coin_id(&self) -> Bytes32;
    fn full_puzzle_hash(&self) -> Bytes32;
    fn p2_puzzle_hash(&self) -> Bytes32;
    fn amount(&self) -> u64;
    fn constraints(&self) -> OutputConstraints;
}

Required Methods§

Implementations on Foreign Types§

Source§

impl Asset for Coin

Implementors§