pub trait EndpointWrappers:
ContractBase
+ GovernanceModule
+ EndpointWrappers
+ EndpointWrappers {
Show 17 methods
// Provided methods
fn call_deposit_tokens_for_proposal(&mut self) { ... }
fn call_claim_deposited_tokens(&mut self) { ... }
fn call_propose(&mut self) { ... }
fn call_vote(&mut self) { ... }
fn call_queue(&mut self) { ... }
fn call_execute(&mut self) { ... }
fn call_cancel(&mut self) { ... }
fn call_get_proposal_status(&mut self) { ... }
fn call_get_proposer(&mut self) { ... }
fn call_get_proposal_description(&mut self) { ... }
fn call_get_proposal_actions(&mut self) { ... }
fn call_proposal_votes(&mut self) { ... }
fn call_total_votes(&mut self) { ... }
fn call_total_downvotes(&mut self) { ... }
fn call(&mut self, fn_name: &str) -> bool { ... }
fn callback_selector(
&mut self,
___cb_closure___: &CallbackClosureForDeser<Self::Api>,
) -> CallbackSelectorResult { ... }
fn callback(&mut self) { ... }
}
Provided Methods§
fn call_deposit_tokens_for_proposal(&mut self)
fn call_claim_deposited_tokens(&mut self)
fn call_propose(&mut self)
fn call_vote(&mut self)
fn call_queue(&mut self)
fn call_execute(&mut self)
fn call_cancel(&mut self)
fn call_get_proposal_status(&mut self)
fn call_get_proposer(&mut self)
fn call_get_proposal_description(&mut self)
fn call_get_proposal_actions(&mut self)
fn call_proposal_votes(&mut self)
fn call_total_votes(&mut self)
fn call_total_downvotes(&mut self)
fn call(&mut self, fn_name: &str) -> bool
fn callback_selector( &mut self, ___cb_closure___: &CallbackClosureForDeser<Self::Api>, ) -> CallbackSelectorResult
fn callback(&mut self)
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.