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§
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<()>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.