Skip to content

IFluidDexT1Admin ​

Git Source

Functions ​

updateRangePercents ​

updates the upper and lower percent configs for a dex

solidity
function updateRangePercents(uint256 upperPercent_, uint256 lowerPercent_, uint256 shiftTime_) external;

Parameters

NameTypeDescription
upperPercent_uint256in 4 decimals, 10000 = 1%
lowerPercent_uint256in 4 decimals, 10000 = 1%
shiftTime_uint256in secs, in how much time the upper percent configs change should be fully done

updateThresholdPercent ​

solidity
function updateThresholdPercent(
    uint256 upperThresholdPercent_,
    uint256 lowerThresholdPercent_,
    uint256 thresholdShiftTime_,
    uint256 shiftTime_
) external;

Parameters

NameTypeDescription
upperThresholdPercent_uint256in 4 decimals, 10000 = 1%
lowerThresholdPercent_uint256in 4 decimals, 10000 = 1%
thresholdShiftTime_uint256in secs, in how much time the threshold percent should take to shift the ranges
shiftTime_uint256in secs, in how much time the upper config changes should be fully done.