IFluidDexT1Admin ​
Functions ​
updateRangePercents ​
updates the upper and lower percent configs for a dex
solidity
function updateRangePercents(uint256 upperPercent_, uint256 lowerPercent_, uint256 shiftTime_) external;
Parameters
Name | Type | Description |
---|---|---|
upperPercent_ | uint256 | in 4 decimals, 10000 = 1% |
lowerPercent_ | uint256 | in 4 decimals, 10000 = 1% |
shiftTime_ | uint256 | in 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
Name | Type | Description |
---|---|---|
upperThresholdPercent_ | uint256 | in 4 decimals, 10000 = 1% |
lowerThresholdPercent_ | uint256 | in 4 decimals, 10000 = 1% |
thresholdShiftTime_ | uint256 | in secs, in how much time the threshold percent should take to shift the ranges |
shiftTime_ | uint256 | in secs, in how much time the upper config changes should be fully done. |