Type Alias pallet_pool_system::TrancheOf
source · pub type TrancheOf<T> = Tranche<<T as Config>::Balance, <T as Config>::Rate, <T as Config>::TrancheWeight, <T as Config>::TrancheCurrency>;
Expand description
Types alias for Tranche
Aliased Type§
struct TrancheOf<T> {
pub tranche_type: TrancheType<<T as Config>::Rate>,
pub seniority: u32,
pub currency: <T as Config>::TrancheCurrency,
pub debt: <T as Config>::Balance,
pub reserve: <T as Config>::Balance,
pub loss: <T as Config>::Balance,
pub ratio: Perquintill,
pub last_updated_interest: u64,
pub _phantom: PhantomData<<T as Config>::TrancheWeight>,
}
Fields§
§tranche_type: TrancheType<<T as Config>::Rate>
§seniority: u32
§currency: <T as Config>::TrancheCurrency
§debt: <T as Config>::Balance
§reserve: <T as Config>::Balance
§loss: <T as Config>::Balance
§ratio: Perquintill
§last_updated_interest: u64
§_phantom: PhantomData<<T as Config>::TrancheWeight>