pub trait ProxyTrait: ProxyObjBase + Sized + ProxyTrait + ProxyTrait {
Show 14 methods // Provided methods fn deposit_tokens_for_proposal<Arg0: CodecInto<ProposalId>>( &mut self, proposal_id: Arg0 ) -> ContractCallNoPayment<Self::Api, ()> { ... } fn claim_deposited_tokens<Arg0: CodecInto<usize>>( &mut self, proposal_id: Arg0 ) -> ContractCallNoPayment<Self::Api, ()> { ... } fn propose<Arg0: CodecInto<ManagedBuffer<Self::Api>>, Arg1: CodecInto<MultiValueEncoded<Self::Api, GovernanceActionAsMultiArg<Self::Api>>>>( &mut self, description: Arg0, actions: Arg1 ) -> ContractCallNoPayment<Self::Api, usize> { ... } fn vote<Arg0: CodecInto<usize>, Arg1: CodecInto<VoteType>>( &mut self, proposal_id: Arg0, vote: Arg1 ) -> ContractCallNoPayment<Self::Api, ()> { ... } fn queue<Arg0: CodecInto<usize>>( &mut self, proposal_id: Arg0 ) -> ContractCallNoPayment<Self::Api, ()> { ... } fn execute<Arg0: CodecInto<usize>>( &mut self, proposal_id: Arg0 ) -> ContractCallNoPayment<Self::Api, ()> { ... } fn cancel<Arg0: CodecInto<usize>>( &mut self, proposal_id: Arg0 ) -> ContractCallNoPayment<Self::Api, ()> { ... } fn get_proposal_status<Arg0: CodecInto<usize>>( &mut self, proposal_id: Arg0 ) -> ContractCallNoPayment<Self::Api, GovernanceProposalStatus> { ... } fn get_proposer<Arg0: CodecInto<usize>>( &mut self, proposal_id: Arg0 ) -> ContractCallNoPayment<Self::Api, OptionalValue<ManagedAddress<Self::Api>>> { ... } fn get_proposal_description<Arg0: CodecInto<usize>>( &mut self, proposal_id: Arg0 ) -> ContractCallNoPayment<Self::Api, OptionalValue<ManagedBuffer<Self::Api>>> { ... } fn get_proposal_actions<Arg0: CodecInto<usize>>( &mut self, proposal_id: Arg0 ) -> ContractCallNoPayment<Self::Api, MultiValueEncoded<Self::Api, GovernanceActionAsMultiArg<Self::Api>>> { ... } fn proposal_votes<Arg0: CodecInto<ProposalId>>( &mut self, proposal_id: Arg0 ) -> ContractCallNoPayment<Self::Api, SingleValueMapper<Self::Api, ProposalVotes<Self::Api>>> { ... } fn total_votes<Arg0: CodecInto<usize>>( &mut self, proposal_id: Arg0 ) -> ContractCallNoPayment<Self::Api, SingleValueMapper<Self::Api, BigUint<Self::Api>>> { ... } fn total_downvotes<Arg0: CodecInto<usize>>( &mut self, proposal_id: Arg0 ) -> ContractCallNoPayment<Self::Api, SingleValueMapper<Self::Api, BigUint<Self::Api>>> { ... }
}

Provided Methods§

source

fn deposit_tokens_for_proposal<Arg0: CodecInto<ProposalId>>( &mut self, proposal_id: Arg0 ) -> ContractCallNoPayment<Self::Api, ()>

source

fn claim_deposited_tokens<Arg0: CodecInto<usize>>( &mut self, proposal_id: Arg0 ) -> ContractCallNoPayment<Self::Api, ()>

source

fn propose<Arg0: CodecInto<ManagedBuffer<Self::Api>>, Arg1: CodecInto<MultiValueEncoded<Self::Api, GovernanceActionAsMultiArg<Self::Api>>>>( &mut self, description: Arg0, actions: Arg1 ) -> ContractCallNoPayment<Self::Api, usize>

source

fn vote<Arg0: CodecInto<usize>, Arg1: CodecInto<VoteType>>( &mut self, proposal_id: Arg0, vote: Arg1 ) -> ContractCallNoPayment<Self::Api, ()>

source

fn queue<Arg0: CodecInto<usize>>( &mut self, proposal_id: Arg0 ) -> ContractCallNoPayment<Self::Api, ()>

source

fn execute<Arg0: CodecInto<usize>>( &mut self, proposal_id: Arg0 ) -> ContractCallNoPayment<Self::Api, ()>

source

fn cancel<Arg0: CodecInto<usize>>( &mut self, proposal_id: Arg0 ) -> ContractCallNoPayment<Self::Api, ()>

source

fn get_proposal_status<Arg0: CodecInto<usize>>( &mut self, proposal_id: Arg0 ) -> ContractCallNoPayment<Self::Api, GovernanceProposalStatus>

source

fn get_proposer<Arg0: CodecInto<usize>>( &mut self, proposal_id: Arg0 ) -> ContractCallNoPayment<Self::Api, OptionalValue<ManagedAddress<Self::Api>>>

source

fn get_proposal_description<Arg0: CodecInto<usize>>( &mut self, proposal_id: Arg0 ) -> ContractCallNoPayment<Self::Api, OptionalValue<ManagedBuffer<Self::Api>>>

source

fn get_proposal_actions<Arg0: CodecInto<usize>>( &mut self, proposal_id: Arg0 ) -> ContractCallNoPayment<Self::Api, MultiValueEncoded<Self::Api, GovernanceActionAsMultiArg<Self::Api>>>

source

fn proposal_votes<Arg0: CodecInto<ProposalId>>( &mut self, proposal_id: Arg0 ) -> ContractCallNoPayment<Self::Api, SingleValueMapper<Self::Api, ProposalVotes<Self::Api>>>

source

fn total_votes<Arg0: CodecInto<usize>>( &mut self, proposal_id: Arg0 ) -> ContractCallNoPayment<Self::Api, SingleValueMapper<Self::Api, BigUint<Self::Api>>>

source

fn total_downvotes<Arg0: CodecInto<usize>>( &mut self, proposal_id: Arg0 ) -> ContractCallNoPayment<Self::Api, SingleValueMapper<Self::Api, BigUint<Self::Api>>>

Implementors§