Skip to content
Snippets Groups Projects
lib.rs 602 B
Newer Older
Bryan Chen's avatar
Bryan Chen committed
#![cfg_attr(not(feature = "std"), no_std)]

use support::{decl_event, decl_module, decl_storage};
use traits::MultiCurrency;

pub trait Trait: system::Trait {
	type Event: From<Event<Self>> + Into<<Self as system::Trait>::Event>;
}

decl_storage! {
	trait Store for Module<T: Trait> as Tokens {

	}
}

decl_event!(
	pub enum Event<T> where
		<T as system::Trait>::AccountId
	{
		Dummy(AccountId),
	}
);

decl_module! {
	pub struct Module<T: Trait> for enum Call where origin: T::Origin {
		fn deposit_event() = default;

	}
}

impl<T: Trait> Module<T> {}

impl<T: Trait> MultiCurrency for Module<T> {}