IFluidPauseAuthLiquidity ​
Title: Fluid Pause Auth Liquidity Interface
Interface for the Liquidity-layer pause auth helper used by FluidPauseAuth.
Functions ​
pauseVault ​
Pauses selected vault operations at the Liquidity layer.
function pauseVault(uint256 vaultId_, bool pauseSupply_, bool pauseWithdraw_, bool pauseBorrow_, bool pausePayback_)
external
returns (
address vault_,
bool actedSupply_,
bool actedWithdraw_,
bool actedBorrow_,
bool actedPayback_,
uint256 skippedUserClass_
);Parameters
| Name | Type | Description |
|---|---|---|
vaultId_ | uint256 | Vault ID to pause. |
pauseSupply_ | bool | Whether to pause supply/deposit operations. |
pauseWithdraw_ | bool | Whether to pause withdraw operations. |
pauseBorrow_ | bool | Whether to pause borrow operations. |
pausePayback_ | bool | Whether to pause payback operations. |
Returns
| Name | Type | Description |
|---|---|---|
vault_ | address | Resolved vault address. |
actedSupply_ | bool | Whether supply/deposit pause state changed. |
actedWithdraw_ | bool | Whether withdraw pause state changed. |
actedBorrow_ | bool | Whether borrow pause state changed. |
actedPayback_ | bool | Whether payback pause state changed. |
skippedUserClass_ | uint256 | Liquidity user class skipped by the helper, or zero if none. |
unpauseVault ​
Unpauses selected vault operations at the Liquidity layer.
function unpauseVault(
uint256 vaultId_,
bool unpauseSupply_,
bool unpauseWithdraw_,
bool unpauseBorrow_,
bool unpausePayback_
)
external
returns (
address vault_,
bool actedSupply_,
bool actedWithdraw_,
bool actedBorrow_,
bool actedPayback_,
uint256 skippedUserClass_
);Parameters
| Name | Type | Description |
|---|---|---|
vaultId_ | uint256 | Vault ID to unpause. |
unpauseSupply_ | bool | Whether to unpause supply/deposit operations. |
unpauseWithdraw_ | bool | Whether to unpause withdraw operations. |
unpauseBorrow_ | bool | Whether to unpause borrow operations. |
unpausePayback_ | bool | Whether to unpause payback operations. |
Returns
| Name | Type | Description |
|---|---|---|
vault_ | address | Resolved vault address. |
actedSupply_ | bool | Whether supply/deposit unpause state changed. |
actedWithdraw_ | bool | Whether withdraw unpause state changed. |
actedBorrow_ | bool | Whether borrow unpause state changed. |
actedPayback_ | bool | Whether payback unpause state changed. |
skippedUserClass_ | uint256 | Liquidity user class skipped by the helper, or zero if none. |
pauseDex ​
Pauses selected DEX-as-Liquidity-user operations.
function pauseDex(uint256 dexId_, bool pauseSupply_, bool pauseWithdraw_, bool pauseBorrow_, bool pausePayback_)
external
returns (
address dex_,
bool actedSupply_,
bool actedWithdraw_,
bool actedBorrow_,
bool actedPayback_,
uint256 skippedUserClass_
);Parameters
| Name | Type | Description |
|---|---|---|
dexId_ | uint256 | DEX ID to pause at the Liquidity layer. |
pauseSupply_ | bool | Whether to pause supply/deposit operations. |
pauseWithdraw_ | bool | Whether to pause withdraw operations. |
pauseBorrow_ | bool | Whether to pause borrow operations. |
pausePayback_ | bool | Whether to pause payback operations. |
Returns
| Name | Type | Description |
|---|---|---|
dex_ | address | Resolved DEX address. |
actedSupply_ | bool | Whether supply/deposit pause state changed. |
actedWithdraw_ | bool | Whether withdraw pause state changed. |
actedBorrow_ | bool | Whether borrow pause state changed. |
actedPayback_ | bool | Whether payback pause state changed. |
skippedUserClass_ | uint256 | Liquidity user class skipped by the helper, or zero if none. |
unpauseDex ​
Unpauses selected DEX-as-Liquidity-user operations.
function unpauseDex(
uint256 dexId_,
bool unpauseSupply_,
bool unpauseWithdraw_,
bool unpauseBorrow_,
bool unpausePayback_
)
external
returns (
address dex_,
bool actedSupply_,
bool actedWithdraw_,
bool actedBorrow_,
bool actedPayback_,
uint256 skippedUserClass_
);Parameters
| Name | Type | Description |
|---|---|---|
dexId_ | uint256 | DEX ID to unpause at the Liquidity layer. |
unpauseSupply_ | bool | Whether to unpause supply/deposit operations. |
unpauseWithdraw_ | bool | Whether to unpause withdraw operations. |
unpauseBorrow_ | bool | Whether to unpause borrow operations. |
unpausePayback_ | bool | Whether to unpause payback operations. |
Returns
| Name | Type | Description |
|---|---|---|
dex_ | address | Resolved DEX address. |
actedSupply_ | bool | Whether supply/deposit unpause state changed. |
actedWithdraw_ | bool | Whether withdraw unpause state changed. |
actedBorrow_ | bool | Whether borrow unpause state changed. |
actedPayback_ | bool | Whether payback unpause state changed. |
skippedUserClass_ | uint256 | Liquidity user class skipped by the helper, or zero if none. |
pauseTokens ​
Pauses selected token operations at the Liquidity layer.
function pauseTokens(
address[] calldata tokens_,
bool pauseSupply_,
bool pauseWithdraw_,
bool pauseBorrow_,
bool pausePayback_
)
external
returns (
bool[] memory actedSupply_,
bool[] memory actedWithdraw_,
bool[] memory actedBorrow_,
bool[] memory actedPayback_
);Parameters
| Name | Type | Description |
|---|---|---|
tokens_ | address[] | Token addresses to pause. |
pauseSupply_ | bool | Whether to pause supply operations. |
pauseWithdraw_ | bool | Whether to pause withdraw operations. |
pauseBorrow_ | bool | Whether to pause borrow operations. |
pausePayback_ | bool | Whether to pause payback operations. |
Returns
| Name | Type | Description |
|---|---|---|
actedSupply_ | bool[] | Per-token flags for supply pause state changes. |
actedWithdraw_ | bool[] | Per-token flags for withdraw pause state changes. |
actedBorrow_ | bool[] | Per-token flags for borrow pause state changes. |
actedPayback_ | bool[] | Per-token flags for payback pause state changes. |
unpauseTokens ​
Unpauses selected token operations at the Liquidity layer.
function unpauseTokens(
address[] calldata tokens_,
bool unpauseSupply_,
bool unpauseWithdraw_,
bool unpauseBorrow_,
bool unpausePayback_
)
external
returns (
bool[] memory actedSupply_,
bool[] memory actedWithdraw_,
bool[] memory actedBorrow_,
bool[] memory actedPayback_
);Parameters
| Name | Type | Description |
|---|---|---|
tokens_ | address[] | Token addresses to unpause. |
unpauseSupply_ | bool | Whether to unpause supply operations. |
unpauseWithdraw_ | bool | Whether to unpause withdraw operations. |
unpauseBorrow_ | bool | Whether to unpause borrow operations. |
unpausePayback_ | bool | Whether to unpause payback operations. |
Returns
| Name | Type | Description |
|---|---|---|
actedSupply_ | bool[] | Per-token flags for supply pause state changes. |
actedWithdraw_ | bool[] | Per-token flags for withdraw pause state changes. |
actedBorrow_ | bool[] | Per-token flags for borrow pause state changes. |
actedPayback_ | bool[] | Per-token flags for payback pause state changes. |
pauseUserSupply ​
Pauses a user's supply-side token operations at the Liquidity layer.
function pauseUserSupply(address user_, address[] calldata tokens_, bool pauseSupply_, bool pauseWithdraw_)
external
returns (bool[] memory actedSupply_, bool[] memory actedWithdraw_);Parameters
| Name | Type | Description |
|---|---|---|
user_ | address | Liquidity user address to pause. |
tokens_ | address[] | Supply tokens to pause. |
pauseSupply_ | bool | Whether to pause supply operations. |
pauseWithdraw_ | bool | Whether to pause withdraw operations. |
Returns
| Name | Type | Description |
|---|---|---|
actedSupply_ | bool[] | Per-token flags for supply pause state changes. |
actedWithdraw_ | bool[] | Per-token flags for withdraw pause state changes. |
pauseUserBorrow ​
Pauses a user's borrow-side token operations at the Liquidity layer.
function pauseUserBorrow(address user_, address[] calldata tokens_, bool pauseBorrow_, bool pausePayback_)
external
returns (bool[] memory actedBorrow_, bool[] memory actedPayback_);Parameters
| Name | Type | Description |
|---|---|---|
user_ | address | Liquidity user address to pause. |
tokens_ | address[] | Borrow tokens to pause. |
pauseBorrow_ | bool | Whether to pause borrow operations. |
pausePayback_ | bool | Whether to pause payback operations. |
Returns
| Name | Type | Description |
|---|---|---|
actedBorrow_ | bool[] | Per-token flags for borrow pause state changes. |
actedPayback_ | bool[] | Per-token flags for payback pause state changes. |
unpauseUserSupply ​
Unpauses a user's supply-side token operations at the Liquidity layer.
function unpauseUserSupply(address user_, address[] calldata tokens_, bool unpauseSupply_, bool unpauseWithdraw_)
external
returns (bool[] memory actedSupply_, bool[] memory actedWithdraw_);Parameters
| Name | Type | Description |
|---|---|---|
user_ | address | Liquidity user address to unpause. |
tokens_ | address[] | Supply tokens to unpause. |
unpauseSupply_ | bool | Whether to unpause supply operations. |
unpauseWithdraw_ | bool | Whether to unpause withdraw operations. |
Returns
| Name | Type | Description |
|---|---|---|
actedSupply_ | bool[] | Per-token flags for supply pause state changes. |
actedWithdraw_ | bool[] | Per-token flags for withdraw pause state changes. |
unpauseUserBorrow ​
Unpauses a user's borrow-side token operations at the Liquidity layer.
function unpauseUserBorrow(address user_, address[] calldata tokens_, bool unpauseBorrow_, bool unpausePayback_)
external
returns (bool[] memory actedBorrow_, bool[] memory actedPayback_);Parameters
| Name | Type | Description |
|---|---|---|
user_ | address | Liquidity user address to unpause. |
tokens_ | address[] | Borrow tokens to unpause. |
unpauseBorrow_ | bool | Whether to unpause borrow operations. |
unpausePayback_ | bool | Whether to unpause payback operations. |
Returns
| Name | Type | Description |
|---|---|---|
actedBorrow_ | bool[] | Per-token flags for borrow pause state changes. |
actedPayback_ | bool[] | Per-token flags for payback pause state changes. |