Pooled collateral can be locked up and used to borrow dai via records known as CDPs (Collateralized Debt Positions).
tub is the CDP record system. An individual CDP is called a
(i.e. a small container), and has:
lad: an owner
ink: locked SKR collateral
It is crucial to know whether a CDP is well collateralised or not:
safe(cup) returns a boolean indicating this.
safe aggregates price information from the
vox and the
compares the reference value of a CDPs debt and collateral.
None of the
tub acts are possible if they would transition a CDP