Rehypothecation Module
RehypothecationModule defines the idle/vault ratio parameters that control how FW tokens balance reserves and yield deployment.
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.
Related pages
Last updated