Skip to content

Supporting Libraries

Sources:

  • CenturionBaselineCheckLib.sol
  • CenturionClaimPolicyLib.sol
  • CenturionClaimViewLib.sol
  • CenturionConsensusSmoothingLib.sol
  • CenturionDustAccountingLib.sol
  • CenturionFinalizeFlowLib.sol
  • CenturionPayoutLib.sol
  • CenturionReadinessLib.sol
  • CenturionReceiptAccountingLib.sol
  • CenturionReserveConfigLib.sol
  • CenturionRiskUpdateLib.sol
  • CenturionSettlementFinalizeLib.sol
  • CenturionSettlementFlowLib.sol
  • CenturionSmoothingFundingLib.sol

Responsibilities Summary

  • policy derivation and current-state views: ClaimPolicy, ClaimView
  • smoothing and reserve debt mechanics: ConsensusSmoothing, SmoothingFunding
  • dust classification and reserve locking sync: DustAccounting
  • receipt classification and accounting bucket updates: ReceiptAccounting
  • settlement proposal/finalization transitions: SettlementFlow, SettlementFinalize, FinalizeFlow
  • payout and drainage sequencing: Payout
  • reserve config mutation helpers: ReserveConfig
  • observation state updates and conflict handling: RiskUpdate
  • readiness object assembly: Readiness
  • canonical codehash derivation helpers: BaselineCheck

Risk Note

Library upgrades are still governance upgrades. A small library change can alter claimability, deficit handling, or settlement ordering across the protocol.