Skip to content

IFluidConfigHandler ​

Git Source

Functions ​

relativeConfigPercentDiff ​

returns how much the new config would be different from current config in percent (100 = 1%, 1 = 0.01%).

solidity
function relativeConfigPercentDiff() external view returns (uint256 relativeConfigPercentDiff_);

absoluteConfigDiff ​

returns how much the new config would be different from current config.

solidity
function absoluteConfigDiff() external view returns (uint256 absoluteConfigDiff_);

newConfig ​

returns the new config.

solidity
function newConfig() external view returns (uint256 newConfig_);

currentConfig ​

returns the current config.

solidity
function currentConfig() external view returns (uint256 currentConfig_);

rebalance ​

Rebalances the configs at Fluid Liquidity based on config handler target. Reverts if no update is needed. Can only be called by an authorized rebalancer.

solidity
function rebalance() external;