IFluidDexT1Admin ​
Title: Fluid DEX T1 Admin Interface
Admin module methods exposed by DEX T1 pools through the pool fallback. Callable only by DEX factory auths (global or per-dex).
older config contracts keep identical local declarations; migrate them here when next touched.
Functions ​
updateUserSupplyConfigs ​
solidity
function updateUserSupplyConfigs(AdminModuleStructs.UserSupplyConfig[] memory userSupplyConfigs_) external;updateUserBorrowConfigs ​
solidity
function updateUserBorrowConfigs(AdminModuleStructs.UserBorrowConfig[] memory userBorrowConfigs_) external;updateUserWithdrawalLimit ​
sets a new withdrawal limit as the current limit for a certain user
solidity
function updateUserWithdrawalLimit(address user_, uint256 newLimit_) external;Parameters
| Name | Type | Description |
|---|---|---|
user_ | address | user address for which to update the withdrawal limit |
newLimit_ | uint256 | new limit until which user supply can decrease to. Important: input in raw. Must account for exchange price in input param calculation. Note any limit that is < max expansion or > current user supply will set max expansion limit or current user supply as limit respectively. - set 0 to make maximum possible withdrawable: instant full expansion, and if that goes below base limit then fully down to 0. - set type(uint256).max to make current withdrawable 0 (sets current user supply as limit). |
updateMaxSupplyShares ​
solidity
function updateMaxSupplyShares(uint256 maxSupplyShares_) external;updateMaxBorrowShares ​
solidity
function updateMaxBorrowShares(uint256 maxBorrowShares_) external;pauseUser ​
side-level: both operations of a paused side are blocked.
solidity
function pauseUser(address user_, bool pauseSupply_, bool pauseBorrow_) external;unpauseUser ​
solidity
function unpauseUser(address user_, bool unpauseSupply_, bool unpauseBorrow_) external;pauseSwapAndArbitrage ​
solidity
function pauseSwapAndArbitrage() external;unpauseSwapAndArbitrage ​
solidity
function unpauseSwapAndArbitrage() external;updateFeeAndRevenueCut ​
solidity
function updateFeeAndRevenueCut(uint256 fee_, uint256 revenueCut_) external;updateRangePercents ​
solidity
function updateRangePercents(uint256 upperPercent_, uint256 lowerPercent_, uint256 shiftTime_) external;updateThresholdPercent ​
solidity
function updateThresholdPercent(
uint256 upperThresholdPercent_,
uint256 lowerThresholdPercent_,
uint256 thresholdShiftTime_,
uint256 shiftTime_
) external;