pub trait ScryptoProof {
    // Required methods
    fn contains_amount(&self, amount: Decimal) -> bool;
    fn amount(&self) -> Decimal;
    fn resource_address(&self) -> ResourceAddress;
    fn drop(self);
    fn clone(&self) -> Self;
    fn authorize<F: FnOnce() -> O, O>(&self, f: F) -> O;
    fn as_fungible(&self) -> CheckedFungibleProof;
    fn as_non_fungible(&self) -> CheckedNonFungibleProof;

    // Provided method
    fn resource_manager(&self) -> ResourceManager { ... }
}

Required Methods§

source

fn contains_amount(&self, amount: Decimal) -> bool

source

fn amount(&self) -> Decimal

source

fn resource_address(&self) -> ResourceAddress

source

fn drop(self)

source

fn clone(&self) -> Self

source

fn authorize<F: FnOnce() -> O, O>(&self, f: F) -> O

source

fn as_fungible(&self) -> CheckedFungibleProof

source

fn as_non_fungible(&self) -> CheckedNonFungibleProof

Provided Methods§

Implementors§