IMaverickV2PoolAdmin

Functions

adminAction

Perform pool admin action; this function can only be called by the pool factory contract. When called by other callers, this function will revert.

function adminAction(AdminAction action, uint256 value) external;

Parameters

NameTypeDescription

action

AdminAction

Selector of admin action from AdminAction enum.

value

uint256

Applicable for "setting" admin actions and is the new value of the parameter being set.

Events

PoolProtocolFeeCollected

event PoolProtocolFeeCollected(uint256 feeCollected, bool isTokenA);

PoolSetProtocolFeeRatio

event PoolSetProtocolFeeRatio(uint256 protocolFeeRatioD3);

PoolSetLendingFeeRate

event PoolSetLendingFeeRate(uint256 lendingFeeRateD18);

Enums

AdminAction

enum AdminAction {
    setProtocolFeeRatioD3,
    claimProtocolFeesA,
    claimProtocolFeesB,
    setLendingFeeRateD18
}

Last updated