Skip to main content

Proportional Share Calculation

variable side earnings are based on proportional ownership of total supply and total generated yield.
  • Uses mulDiv to avoid rounding loss and overflow

Liquidity Tolerance Protection

To prevent misconfiguration or malicious deviation in liquidity provisioning, adapters enforce strict tolerance bounds. Example: 100 bps tolerance (±1%)
  • Ensures the deployed liquidity matches expectations within an acceptable error window