FluidVaultT3Admin ​
Fluid Vault protocol Admin Module contract. Implements admin related methods to set configs such as liquidation params, rates oracle address etc. Methods are limited to be called via delegateCall only. Vault CoreModule is expected to call the methods implemented here after checking the msg.sender is authorized. All methods update the exchange prices in storage before changing configs.
updateSupplyRateMagnifier ​
solidity
function updateSupplyRateMagnifier(uint256 supplyRateMagnifier_) public
updates the supply rate magnifier to supplyRateMagnifier_
. Input in 1e2 (1% = 100, 100% = 10_000).
updateBorrowRate ​
solidity
function updateBorrowRate(int256 borrowRate_) public
updates the borrow rate. Input in 1e2 (1% = 100, 100% = 10_000). If positive then charging else incentives
updateCoreSettings ​
solidity
function updateCoreSettings(uint256 supplyRateMagnifier_, int256 borrowRate_, uint256 collateralFactor_, uint256 liquidationThreshold_, uint256 liquidationMaxLimit_, uint256 withdrawGap_, uint256 liquidationPenalty_, uint256 borrowFee_) public
updates the all Vault core settings according to input params. All input values are expected in 1e2 (1% = 100, 100% = 10_000).