Function: increaseOperatorApproval(address token, address operator, uint256 rateAllowanceIncrease, uint256 lockupAllowanceIncrease)
This function increases the rate and lockup allowances for an already approved operator for the token and caller.
Inputs
token
Control: Fully controlled by the caller.
Constraints: N/A.
Impact: Token namespace for existing operator approval.
operator
Control: Fully controlled by the caller.
Constraints: Must be nonzero and already approved.
Impact: Target operator whose allowances are increased.
rateAllowanceIncrease
Control: Fully controlled by the caller.
Constraints: N/A.
Impact: Amount to increase the operator’s rate allowance.
lockupAllowanceIncrease
Control: Fully controlled by the caller.
Constraints: N/A.
Impact: Amount to increase the operator’s lockup allowance.
Branches and code coverage
Intended branches
Success path (increases allowances, emits
OperatorApprovalUpdated
).Zero-operator-address revert.
Operator-not-approved revert.