Trait multiversx_sc_modules::only_admin::ProxyTrait
source · pub trait ProxyTrait: ProxyObjBase + Sized {
// Provided methods
fn is_admin<Arg0: CodecInto<ManagedAddress<Self::Api>>>(
&mut self,
address: Arg0
) -> ContractCallNoPayment<Self::Api, bool> { ... }
fn add_admin<Arg0: CodecInto<ManagedAddress<Self::Api>>>(
&mut self,
address: Arg0
) -> ContractCallNoPayment<Self::Api, ()> { ... }
fn remove_admin<Arg0: CodecInto<ManagedAddress<Self::Api>>>(
&mut self,
address: Arg0
) -> ContractCallNoPayment<Self::Api, ()> { ... }
fn admins(
&mut self
) -> ContractCallNoPayment<Self::Api, UnorderedSetMapper<Self::Api, ManagedAddress<Self::Api>>> { ... }
}
Provided Methods§
fn is_admin<Arg0: CodecInto<ManagedAddress<Self::Api>>>( &mut self, address: Arg0 ) -> ContractCallNoPayment<Self::Api, bool>
fn add_admin<Arg0: CodecInto<ManagedAddress<Self::Api>>>( &mut self, address: Arg0 ) -> ContractCallNoPayment<Self::Api, ()>
fn remove_admin<Arg0: CodecInto<ManagedAddress<Self::Api>>>( &mut self, address: Arg0 ) -> ContractCallNoPayment<Self::Api, ()>
fn admins( &mut self ) -> ContractCallNoPayment<Self::Api, UnorderedSetMapper<Self::Api, ManagedAddress<Self::Api>>>
Object Safety§
This trait is not object safe.