pub trait ProxyTrait:
ProxyObjBase
+ Sized
+ ProxyTrait
+ ProxyTrait {
Show 14 methods
// Provided methods
fn deposit_tokens_for_proposal<Arg0: ProxyArg<ProposalId>>(
&mut self,
proposal_id: Arg0,
) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>> { ... }
fn claim_deposited_tokens<Arg0: ProxyArg<usize>>(
&mut self,
proposal_id: Arg0,
) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>> { ... }
fn propose<Arg0: ProxyArg<ManagedBuffer<Self::Api>>, Arg1: ProxyArg<MultiValueEncoded<Self::Api, GovernanceActionAsMultiArg<Self::Api>>>>(
&mut self,
description: Arg0,
actions: Arg1,
) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<usize>> { ... }
fn vote<Arg0: ProxyArg<usize>, Arg1: ProxyArg<VoteType>>(
&mut self,
proposal_id: Arg0,
vote: Arg1,
) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>> { ... }
fn queue<Arg0: ProxyArg<usize>>(
&mut self,
proposal_id: Arg0,
) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>> { ... }
fn execute<Arg0: ProxyArg<usize>>(
&mut self,
proposal_id: Arg0,
) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>> { ... }
fn cancel<Arg0: ProxyArg<usize>>(
&mut self,
proposal_id: Arg0,
) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>> { ... }
fn get_proposal_status<Arg0: ProxyArg<usize>>(
&mut self,
proposal_id: Arg0,
) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<GovernanceProposalStatus>> { ... }
fn get_proposer<Arg0: ProxyArg<usize>>(
&mut self,
proposal_id: Arg0,
) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<OptionalValue<ManagedAddress<Self::Api>>>> { ... }
fn get_proposal_description<Arg0: ProxyArg<usize>>(
&mut self,
proposal_id: Arg0,
) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<OptionalValue<ManagedBuffer<Self::Api>>>> { ... }
fn get_proposal_actions<Arg0: ProxyArg<usize>>(
&mut self,
proposal_id: Arg0,
) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<MultiValueEncoded<Self::Api, GovernanceActionAsMultiArg<Self::Api>>>> { ... }
fn proposal_votes<Arg0: ProxyArg<ProposalId>>(
&mut self,
proposal_id: Arg0,
) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<SingleValueMapper<Self::Api, ProposalVotes<Self::Api>>>> { ... }
fn total_votes<Arg0: ProxyArg<usize>>(
&mut self,
proposal_id: Arg0,
) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<SingleValueMapper<Self::Api, BigUint<Self::Api>>>> { ... }
fn total_downvotes<Arg0: ProxyArg<usize>>(
&mut self,
proposal_id: Arg0,
) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<SingleValueMapper<Self::Api, BigUint<Self::Api>>>> { ... }
}
Provided Methods§
fn deposit_tokens_for_proposal<Arg0: ProxyArg<ProposalId>>( &mut self, proposal_id: Arg0, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>>
fn claim_deposited_tokens<Arg0: ProxyArg<usize>>( &mut self, proposal_id: Arg0, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>>
fn propose<Arg0: ProxyArg<ManagedBuffer<Self::Api>>, Arg1: ProxyArg<MultiValueEncoded<Self::Api, GovernanceActionAsMultiArg<Self::Api>>>>( &mut self, description: Arg0, actions: Arg1, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<usize>>
fn vote<Arg0: ProxyArg<usize>, Arg1: ProxyArg<VoteType>>( &mut self, proposal_id: Arg0, vote: Arg1, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>>
fn queue<Arg0: ProxyArg<usize>>( &mut self, proposal_id: Arg0, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>>
fn execute<Arg0: ProxyArg<usize>>( &mut self, proposal_id: Arg0, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>>
fn cancel<Arg0: ProxyArg<usize>>( &mut self, proposal_id: Arg0, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>>
fn get_proposal_status<Arg0: ProxyArg<usize>>( &mut self, proposal_id: Arg0, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<GovernanceProposalStatus>>
fn get_proposer<Arg0: ProxyArg<usize>>( &mut self, proposal_id: Arg0, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<OptionalValue<ManagedAddress<Self::Api>>>>
fn get_proposal_description<Arg0: ProxyArg<usize>>( &mut self, proposal_id: Arg0, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<OptionalValue<ManagedBuffer<Self::Api>>>>
fn get_proposal_actions<Arg0: ProxyArg<usize>>( &mut self, proposal_id: Arg0, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<MultiValueEncoded<Self::Api, GovernanceActionAsMultiArg<Self::Api>>>>
fn proposal_votes<Arg0: ProxyArg<ProposalId>>( &mut self, proposal_id: Arg0, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<SingleValueMapper<Self::Api, ProposalVotes<Self::Api>>>>
fn total_votes<Arg0: ProxyArg<usize>>( &mut self, proposal_id: Arg0, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<SingleValueMapper<Self::Api, BigUint<Self::Api>>>>
fn total_downvotes<Arg0: ProxyArg<usize>>( &mut self, proposal_id: Arg0, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<SingleValueMapper<Self::Api, BigUint<Self::Api>>>>
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.