๐งContract Interfaces
Function-level reference for integrating with SIR Protocol contracts.
Last updated
struct Reserves {
uint144 reserveApes; // Collateral belonging to APE holders
uint144 reserveLPers; // Collateral belonging to TEA holders (LPs)
int64 tickPriceX42; // Current price in Q21.42 fixed point
}struct VaultState {
uint144 reserve; // Total reserve (reserveApes + reserveLPers)
int64 tickPriceSatX42; // Saturation price in Q21.42 fixed point
uint48 vaultId; // Unique vault identifier
}struct Fees {
uint144 collateralInOrWithdrawn; // Net collateral deposited or withdrawn
uint144 collateralFeeToStakers; // Fee portion sent to SIR stakers
uint144 collateralFeeToLPers; // Fee portion sent to LPers / POL
}struct Auction {
address bidder; // Current highest bidder
uint96 bid; // Current highest bid amount
uint40 startTime; // Auction start timestamp
}