mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-21 15:35:42 +00:00
Restructure dispatch macro related exports (#1162)
* restructure dispatch macro related exports * moved Dispatchable to lib.rs * fix .gitignore final newline * ".git/.scripts/commands/fmt/fmt.sh" * fix rustdocs * wip --------- Co-authored-by: Liam Aharon <liam.aharon@hotmail.com> Co-authored-by: command-bot <> Co-authored-by: ordian <write@reusable.software>
This commit is contained in:
@@ -18,10 +18,10 @@
|
||||
//! Traits and associated data structures concerned with voting, and moving between tokens and
|
||||
//! votes.
|
||||
|
||||
use crate::dispatch::{DispatchError, Parameter};
|
||||
use crate::dispatch::Parameter;
|
||||
use codec::{HasCompact, MaxEncodedLen};
|
||||
use sp_arithmetic::Perbill;
|
||||
use sp_runtime::traits::Member;
|
||||
use sp_runtime::{traits::Member, DispatchError};
|
||||
use sp_std::prelude::*;
|
||||
|
||||
pub trait VoteTally<Votes, Class> {
|
||||
|
||||
Reference in New Issue
Block a user