git.delta.rocks / unique-network / refs/commits / d5c411b79f24

difftreelog

source

pallets/balances-adapter/src/lib.rs549 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 sp_core::U256;1213	#[pallet::config]14	pub trait Config: frame_system::Config + pallet_evm_coder_substrate::Config {15		type Currency: frame_support::traits::Currency<16			Self::AccountId,17			Balance = Self::CurrencyBalance,18		>;19		type CurrencyBalance: Into<U256>;20	}21	#[pallet::pallet]22	pub struct Pallet<T>(_);2324	#[pallet::call]25	impl<T: Config> Pallet<T> {}26}