Rehypothecation Module

RehypothecationModule defines the idle/vault ratio parameters that control how FW tokens balance reserves and yield deployment.

circle-info

Source: src/fira_bonding/RehypothecationModule.sol

Contract summary

A configuration contract that stores three parameters (in basis points) controlling the FW idle ratio:

Parameter
Purpose

phiMin

Minimum idle ratio — triggers vault withdrawal if breached

phiMax

Maximum idle ratio — triggers vault deposit if breached

phiTarget

Target idle ratio — used by forceRehypothecation()

How it's used

FW tokens reference this module when triggerRehypothecation() or forceRehypothecation() is called. The FW contract reads phiMin, phiMax, and phiTarget from the module and rebalances accordingly.

The module is set on the FW token by the owner. Setting it to address(0) disables rehypothecation entirely.

Last updated