Trait scrypto::resource::proof::ScryptoProof
source · 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 { ... }
}