Trait scrypto::resource::auth_zone::ScryptoAuthZone
source · pub trait ScryptoAuthZone {
// Required methods
fn push<P: Into<Proof>>(&self, proof: P);
fn pop(&self) -> Option<Proof>;
fn create_proof_of_amount<A: Into<Decimal>>(
&self,
amount: A,
resource_address: ResourceAddress
) -> Proof;
fn create_proof_of_non_fungibles(
&self,
ids: IndexSet<NonFungibleLocalId>,
resource_address: ResourceAddress
) -> Proof;
fn create_proof_of_all(&self, resource_address: ResourceAddress) -> Proof;
fn drop_proofs(&self);
fn drop_signature_proofs(&self);
fn drop_regular_proofs(&self);
}
Required Methods§
fn push<P: Into<Proof>>(&self, proof: P)
fn pop(&self) -> Option<Proof>
fn create_proof_of_amount<A: Into<Decimal>>( &self, amount: A, resource_address: ResourceAddress ) -> Proof
fn create_proof_of_non_fungibles( &self, ids: IndexSet<NonFungibleLocalId>, resource_address: ResourceAddress ) -> Proof
fn create_proof_of_all(&self, resource_address: ResourceAddress) -> Proof
fn drop_proofs(&self)
fn drop_signature_proofs(&self)
fn drop_regular_proofs(&self)
Object Safety§
This trait is not object safe.