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>>> { ... }
}