Trait scrypto::resource::vault::ScryptoFungibleVault
source · pub trait ScryptoFungibleVault {
// Required methods
fn lock_fee<A: Into<Decimal>>(&mut self, amount: A);
fn lock_contingent_fee<A: Into<Decimal>>(&mut self, amount: A);
fn create_proof_of_amount<A: Into<Decimal>>(
&self,
amount: A
) -> FungibleProof;
fn authorize_with_amount<A: Into<Decimal>, F: FnOnce() -> O, O>(
&self,
amount: A,
f: F
) -> O;
}
Required Methods§
fn lock_fee<A: Into<Decimal>>(&mut self, amount: A)
fn lock_contingent_fee<A: Into<Decimal>>(&mut self, amount: A)
fn create_proof_of_amount<A: Into<Decimal>>(&self, amount: A) -> FungibleProof
Object Safety§
This trait is not object safe.