RiskProtocol / core-protocol

2 stars 0 forks source link

Implement Rate Limiting #38

Closed jiokeokwuosa closed 5 months ago

jiokeokwuosa commented 1 year ago

see -->https://consensys.github.io/smart-contract-best-practices/development-recommendations/precautions/rate-limiting/

mz7mz7mz7 commented 11 months ago

One example of how other projects does it https://umee.cc/blog/ibc-rate-limiting/ -- daily limit set to 600k USD equivalent

mz7mz7mz7 commented 11 months ago

Some existing implementations to study for inspiration:

  1. https://github.com/DeFi-Circuit-Breaker/v1-core
  2. https://github.com/diyahir/ETH-TOKYO-2023-Rate-Limits
  3. https://github.com/DeFi-Circuit-Breaker/EIPs/pull/3
  4. https://github.com/ethereum/EIPs/pull/7265/files