FluidDexFeeHandler ​
Inherits:FluidDexFeeHandlerHelpers
Functions ​
constructor ​
solidity
constructor(
uint256 minFee_,
uint256 maxFee_,
uint256 minDeviation_,
uint256 maxDeviation_,
address dex_,
address deployerContract_,
IFluidReserveContract reserveContract_,
bool centerPriceActive_
)
FluidDexFeeHandlerHelpers(
minFee_,
maxFee_,
minDeviation_,
maxDeviation_,
dex_,
deployerContract_,
reserveContract_,
centerPriceActive_
);
rebalance ​
rebalances the fee
solidity
function rebalance() external onlyRebalancer;
relativeConfigPercentDiff ​
returns how much new config would be different from current config in percent (100 = 1%, 1 = 0.01%).
solidity
function relativeConfigPercentDiff() public view returns (uint256);
absoluteConfigDiff ​
returns how much new config would be different from current config.
solidity
function absoluteConfigDiff() public view returns (uint256);
newConfig ​
returns the new calculated fee
solidity
function newConfig() public view returns (uint256);
currentConfig ​
returns the currently configured fee
solidity
function currentConfig() public view returns (uint256);