pub trait NativeAuthZone {
    // Required methods
    fn drain<Y, E>(&self, api: &mut Y) -> Result<Vec<Proof>, E>
       where E: Debug + ScryptoCategorize + ScryptoDecode,
             Y: ClientApi<E>;
    fn drop_proofs<Y, E>(&self, api: &mut Y) -> Result<(), E>
       where E: Debug + ScryptoCategorize + ScryptoDecode,
             Y: ClientApi<E>;
    fn drop_regular_proofs<Y, E>(&self, api: &mut Y) -> Result<(), E>
       where E: Debug + ScryptoCategorize + ScryptoDecode,
             Y: ClientApi<E>;
    fn drop_signature_proofs<Y, E>(&self, api: &mut Y) -> Result<(), E>
       where E: Debug + ScryptoCategorize + ScryptoDecode,
             Y: ClientApi<E>;
    fn pop<Y, E>(&self, api: &mut Y) -> Result<Option<Proof>, E>
       where E: Debug + ScryptoCategorize + ScryptoDecode,
             Y: ClientApi<E>;
    fn create_proof_of_amount<Y, E>(
        &self,
        amount: Decimal,
        resource_address: ResourceAddress,
        api: &mut Y
    ) -> Result<Proof, E>
       where E: Debug + ScryptoCategorize + ScryptoDecode,
             Y: ClientApi<E>;
    fn create_proof_of_non_fungibles<Y, E>(
        &self,
        ids: &IndexSet<NonFungibleLocalId>,
        resource_address: ResourceAddress,
        api: &mut Y
    ) -> Result<Proof, E>
       where E: Debug + ScryptoCategorize + ScryptoDecode,
             Y: ClientApi<E>;
    fn create_proof_of_all<Y, E>(
        &self,
        resource_address: ResourceAddress,
        api: &mut Y
    ) -> Result<Proof, E>
       where E: Debug + ScryptoCategorize + ScryptoDecode,
             Y: ClientApi<E>;
    fn push<P, Y, E>(&self, proof: P, api: &mut Y) -> Result<(), E>
       where P: Into<Proof>,
             E: Debug + ScryptoCategorize + ScryptoDecode,
             Y: ClientApi<E>;
}

Required Methods§

fn drain<Y, E>(&self, api: &mut Y) -> Result<Vec<Proof>, E>

fn drop_proofs<Y, E>(&self, api: &mut Y) -> Result<(), E>

fn drop_regular_proofs<Y, E>(&self, api: &mut Y) -> Result<(), E>

fn drop_signature_proofs<Y, E>(&self, api: &mut Y) -> Result<(), E>

fn pop<Y, E>(&self, api: &mut Y) -> Result<Option<Proof>, E>

fn create_proof_of_amount<Y, E>( &self, amount: Decimal, resource_address: ResourceAddress, api: &mut Y ) -> Result<Proof, E>

fn create_proof_of_non_fungibles<Y, E>( &self, ids: &IndexSet<NonFungibleLocalId>, resource_address: ResourceAddress, api: &mut Y ) -> Result<Proof, E>

fn create_proof_of_all<Y, E>( &self, resource_address: ResourceAddress, api: &mut Y ) -> Result<Proof, E>

fn push<P, Y, E>(&self, proof: P, api: &mut Y) -> Result<(), E>

Object Safety§

This trait is not object safe.

Implementors§