mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 12:51:02 +00:00
Integrate the claims module (#355)
* Integrate the claims. * Remove accidetnal code. * Update runtime/src/lib.rs Co-Authored-By: thiolliere <gui.thiolliere@gmail.com> * Add Config. * Introduce claims to config * Expose claims module signing Prefix (#358) * Update parking_lot, bette trait args
This commit is contained in:
committed by
Bastian Köcher
parent
4d19de4bd9
commit
9b6e630816
@@ -68,11 +68,11 @@ impl EcdsaSignature {
|
||||
|
||||
decl_event!(
|
||||
pub enum Event<T> where
|
||||
B = BalanceOf<T>,
|
||||
A = <T as system::Trait>::AccountId
|
||||
Balance = BalanceOf<T>,
|
||||
AccountId = <T as system::Trait>::AccountId
|
||||
{
|
||||
/// Someone claimed some DOTs.
|
||||
Claimed(A, EthereumAddress, B),
|
||||
Claimed(AccountId, EthereumAddress, Balance),
|
||||
}
|
||||
);
|
||||
|
||||
@@ -96,6 +96,9 @@ decl_storage! {
|
||||
|
||||
decl_module! {
|
||||
pub struct Module<T: Trait> for enum Call where origin: T::Origin {
|
||||
/// The Prefix that is used in signed Ethereum messages for this network
|
||||
const Prefix: &[u8] = T::Prefix::get();
|
||||
|
||||
/// Deposit one of this module's events by using the default implementation.
|
||||
fn deposit_event<T>() = default;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user