FluidDexFeeHandlerHelpers ​
Inherits:DynamicFee
Functions ​
onlyRebalancer ​
solidity
modifier onlyRebalancer();
constructor ​
solidity
constructor(
uint256 minFee_,
uint256 maxFee_,
uint256 minDeviation_,
uint256 maxDeviation_,
address dex_,
address deployerContract_,
IFluidReserveContract reserveContract_,
bool centerPriceActive_
)
validAddress(address(reserveContract_))
DexHelpers(dex_, deployerContract_, centerPriceActive_)
DynamicFee(minFee_, maxFee_, minDeviation_, maxDeviation_);
getDexDynamicFee ​
returns the dynamic fee for the dex based on the last stored price of the pool
solidity
function getDexDynamicFee() public view returns (uint256);
_configPercentDiff ​
solidity
function _configPercentDiff(uint256 currentFee_, uint256 newFee_) internal pure returns (uint256 configPercentDiff_);