UManager
Inherits: Auth
State Variables
period
The period in seconds for the rate limit.
allowedCallsPerPeriod
The number of calls allowed per period.
callCountPerPeriod
The number of calls made in the current period.
manager
The ManagerWithMerkleVerification this uManager works with.
boringVault
The BoringVault this uManager works with.
Functions
enforceRateLimit
constructor
setPeriod
Sets the duration of the period.
Callable by MULTISIG_ROLE.
setAllowedCallsPerPeriod
Sets the number of calls allowed per period.
Callable by MULTISIG_ROLE.
revokeTokenApproval
Allows auth to set token approvals to zero.
Callable by STRATEGIST_ROLE.