pub trait ProxyTrait: ProxyObjBase + Sized {
    // Provided methods
    fn stake(&mut self) -> ContractCallNoPayment<Self::Api, ()> { ... }
    fn unstake<Arg0: CodecInto<BigUint<Self::Api>>>(
        &mut self,
        unstake_amount: Arg0
    ) -> ContractCallNoPayment<Self::Api, ()> { ... }
    fn vote_slash_member<Arg0: CodecInto<ManagedAddress<Self::Api>>>(
        &mut self,
        member_to_slash: Arg0
    ) -> ContractCallNoPayment<Self::Api, ()> { ... }
    fn slash_member<Arg0: CodecInto<ManagedAddress<Self::Api>>>(
        &mut self,
        member_to_slash: Arg0
    ) -> ContractCallNoPayment<Self::Api, ()> { ... }
}

Provided Methods§

source

fn stake(&mut self) -> ContractCallNoPayment<Self::Api, ()>

source

fn unstake<Arg0: CodecInto<BigUint<Self::Api>>>( &mut self, unstake_amount: Arg0 ) -> ContractCallNoPayment<Self::Api, ()>

source

fn vote_slash_member<Arg0: CodecInto<ManagedAddress<Self::Api>>>( &mut self, member_to_slash: Arg0 ) -> ContractCallNoPayment<Self::Api, ()>

source

fn slash_member<Arg0: CodecInto<ManagedAddress<Self::Api>>>( &mut self, member_to_slash: Arg0 ) -> ContractCallNoPayment<Self::Api, ()>

Implementors§