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
tokenControl: Fully controlled by the caller.
Constraints: N/A.
Impact: Token namespace for existing operator approval.
operatorControl: Fully controlled by the caller.
Constraints: Must be nonzero and already approved.
Impact: Target operator whose allowances are increased.
rateAllowanceIncreaseControl: Fully controlled by the caller.
Constraints: N/A.
Impact: Amount to increase the operator’s rate allowance.
lockupAllowanceIncreaseControl: 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.