Type Alias pallet_pool_system::PoolDetailsOf
source · pub type PoolDetailsOf<T> = PoolDetails<<T as Config>::CurrencyId, <T as Config>::TrancheCurrency, <T as Config>::EpochId, <T as Config>::Balance, <T as Config>::Rate, <T as Config>::TrancheWeight, <T as Config>::TrancheId, <T as Config>::PoolId, <T as Config>::MaxTranches>;
Expand description
Type alias to ease function signatures
Aliased Type§
struct PoolDetailsOf<T> {
pub currency: <T as Config>::CurrencyId,
pub tranches: Tranches<<T as Config>::Balance, <T as Config>::Rate, <T as Config>::TrancheWeight, <T as Config>::TrancheCurrency, <T as Config>::TrancheId, <T as Config>::PoolId, <T as Config>::MaxTranches>,
pub parameters: PoolParameters,
pub status: PoolStatus,
pub epoch: EpochState<<T as Config>::EpochId>,
pub reserve: ReserveDetails<<T as Config>::Balance>,
}
Fields§
§currency: <T as Config>::CurrencyId
Currency that the pool is denominated in (immutable).
tranches: Tranches<<T as Config>::Balance, <T as Config>::Rate, <T as Config>::TrancheWeight, <T as Config>::TrancheCurrency, <T as Config>::TrancheId, <T as Config>::PoolId, <T as Config>::MaxTranches>
List of tranches, ordered junior to senior.
parameters: PoolParameters
Details about the parameters of the pool.
status: PoolStatus
The status the pool is currently in.
epoch: EpochState<<T as Config>::EpochId>
Details about the epochs of the pool.
reserve: ReserveDetails<<T as Config>::Balance>
Details about the reserve (unused capital) in the pool.