The IRateLimiterAdapter contract defines a way for managing rate limiters independent of the underlying technology and algorithm. This contract is not meant to be used directly, instead you should use IRateLimiterProvider contract.
IRateLimiterAdapter
IRateLimiterProvider
IMPORT_PATH: "@daiso-tech/core/rate-limiter/contracts"
"@daiso-tech/core/rate-limiter/contracts"
The getState method returns the state of the rate limiter.
getState
The reset method resets rate limiter to its initial state regardless of the current state.
reset
The updateState method updates the state of the rate limiter and returns the new state.
updateState
The
IRateLimiterAdaptercontract defines a way for managing rate limiters independent of the underlying technology and algorithm. This contract is not meant to be used directly, instead you should useIRateLimiterProvidercontract.IMPORT_PATH:
"@daiso-tech/core/rate-limiter/contracts"