Trait multiversx_sc_modules::staking::ProxyTrait

source ·
pub trait ProxyTrait: ProxyObjBase + Sized {
    // Provided methods
    fn stake(
        &mut self,
    ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>> { ... }
    fn unstake<Arg0: ProxyArg<BigUint<Self::Api>>>(
        &mut self,
        unstake_amount: Arg0,
    ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>> { ... }
    fn vote_slash_member<Arg0: ProxyArg<ManagedAddress<Self::Api>>>(
        &mut self,
        member_to_slash: Arg0,
    ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>> { ... }
    fn cancel_vote_slash_member<Arg0: ProxyArg<ManagedAddress<Self::Api>>>(
        &mut self,
        member_to_slash: Arg0,
    ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>> { ... }
    fn slash_member<Arg0: ProxyArg<ManagedAddress<Self::Api>>>(
        &mut self,
        member_to_slash: Arg0,
    ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>> { ... }
}

Provided Methods§

source

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

source

fn unstake<Arg0: ProxyArg<BigUint<Self::Api>>>( &mut self, unstake_amount: Arg0, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>>

source

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

source

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

source

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

Object Safety§

This trait is not object safe.

Implementors§