-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathmod.rs
41 lines (39 loc) · 952 Bytes
/
mod.rs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#[allow(clippy::wildcard_imports)]
use super::{traits::*, *};
use alloc::vec;
use core::ops::Not;
use frame_support::{
dispatch::{DispatchResult, DispatchResultWithPostInfo, PostDispatchInfo},
ensure,
pallet_prelude::*,
traits::{
fungible::{Mutate, MutateHold as FungibleMutateHold},
fungibles::{
metadata::{Inspect as MetadataInspect, Mutate as MetadataMutate},
Create, Mutate as FungiblesMutate,
},
tokens::{Precision, Preservation},
Get,
},
transactional,
};
use polimec_common::{
credentials::{Did, InvestorType},
USD_DECIMALS,
};
use sp_arithmetic::{traits::Zero, Percent, Perquintill};
use sp_runtime::traits::Convert;
#[path = "1_application.rs"]
mod application;
#[path = "3_auction.rs"]
mod auction;
#[path = "6_ct_migration.rs"]
mod ct_migration;
#[path = "2_evaluation.rs"]
mod evaluation;
#[path = "4_funding_end.rs"]
mod funding_end;
pub mod misc;
#[path = "5_settlement.rs"]
mod settlement;
pub mod runtime_api;