git.delta.rocks / unique-network / refs/commits / 1e5b2476acbf

difftreelog

source

pallets/balances-adapter/src/lib.rs663 Bsourcehistory
1// #![doc = include_str!("../README.md")]2#![cfg_attr(not(feature = "std"), no_std)]3#![warn(missing_docs)]45pub use pallet::*;67pub mod erc;89#[frame_support::pallet]10pub mod pallet {11	use frame_support::traits::Get;12	use sp_core::U256;1314	#[pallet::config]15	pub trait Config: frame_system::Config + pallet_evm_coder_substrate::Config {16		type Currency: frame_support::traits::Currency<17			Self::AccountId,18			Balance = Self::CurrencyBalance,19		>;20		type CurrencyBalance: Into<U256>;2122		type Decimals: Get<u8>;23		type Name: Get<String>;24		type Symbol: Get<String>;25	}26	#[pallet::pallet]27	pub struct Pallet<T>(_);2829	#[pallet::call]30	impl<T: Config> Pallet<T> {}31}