Skip to content

Commit

Permalink
Rearrange files
Browse files Browse the repository at this point in the history
  • Loading branch information
kvinwang committed Jun 27, 2024
1 parent 8e3b559 commit 3ddb5e8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! The Phat Contract tokenomic module
//! The pallet managing the wapod workers.

pub use self::pallet::*;

Expand Down Expand Up @@ -139,6 +139,10 @@ pub mod pallet {
#[pallet::storage]
pub type WorkerLists<T> = StorageMap<_, Twox64Concat, ListId, WorkerListInfo>;

#[pallet::storage]
pub type WorkerListWorkers<T> =
StorageDoubleMap<_, Twox64Concat, ListId, Twox64Concat, WorkerPublicKey, ()>;

#[pallet::storage]
pub type WorkerDescriptions<T> =
StorageMap<_, Twox64Concat, WorkerPublicKey, WorkerDescription>;
Expand Down Expand Up @@ -384,4 +388,4 @@ pub mod pallet {
Ok(())
}
}
}
}
3 changes: 0 additions & 3 deletions pallets/phala/src/wapod_workers/mod.rs

This file was deleted.

Empty file.

0 comments on commit 3ddb5e8

Please sign in to comment.