Trait multiversx_sc_modules::only_admin::ProxyTrait

source ·
pub trait ProxyTrait: ProxyObjBase + Sized {
    // Provided methods
    fn is_admin<Arg0: ProxyArg<ManagedAddress<Self::Api>>>(
        &mut self,
        address: Arg0
    ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<bool>> { ... }
    fn add_admin<Arg0: ProxyArg<ManagedAddress<Self::Api>>>(
        &mut self,
        address: Arg0
    ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>> { ... }
    fn remove_admin<Arg0: ProxyArg<ManagedAddress<Self::Api>>>(
        &mut self,
        address: Arg0
    ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>> { ... }
    fn admins(
        &mut self
    ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<UnorderedSetMapper<Self::Api, ManagedAddress<Self::Api>>>> { ... }
}

Provided Methods§

source

fn is_admin<Arg0: ProxyArg<ManagedAddress<Self::Api>>>( &mut self, address: Arg0 ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<bool>>

source

fn add_admin<Arg0: ProxyArg<ManagedAddress<Self::Api>>>( &mut self, address: Arg0 ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>>

source

fn remove_admin<Arg0: ProxyArg<ManagedAddress<Self::Api>>>( &mut self, address: Arg0 ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>>

source

fn admins( &mut self ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<UnorderedSetMapper<Self::Api, ManagedAddress<Self::Api>>>>

Object Safety§

This trait is not object safe.

Implementors§