pub type TrancheSalt<PoolId> = (TrancheIndex, PoolId);
Expand description

The salt type for tranches

This type is used to generate unique but deterministic ids for tranches of a pool.

The assumption for uniqueness only holds as long as pool-ids are not reusable!