pub type TrancheIndex = u64;
Expand description

The index type for tranches

The TrancheIndex can be seen as an normal index into a vector, just specified here as new-type to make this clear. U64 in order to keep the public api clear. In contrast to a TrancheId a TrancheIndex is not unique and does NOT refer to a specific tranche, but rather to a specific tranche-location in the tranche-structure of a pool.