The Lib contracts serve as internal and external libraries that provide frequently used code logic for the Core contracts, helping to reduce the byte size of the Core contracts.
D3Commoncontains shared logic for other libraries.
FundingLibrarycontains the logic code for
LiquidationLibrarycontains the logic code for
PMMRangeOrderdetermines the price curve.