Rehypothecation Module
RehypothecationModule defines the idle/vault ratio parameters that control how FW tokens balance reserves and yield deployment.
Last updated
RehypothecationModule defines the idle/vault ratio parameters that control how FW tokens balance reserves and yield deployment.
Source: src/fira_bonding/RehypothecationModule.sol
A configuration contract that stores three parameters (in basis points) controlling the FW idle ratio:
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()
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