Overview of the IBC Rate Limit module
mainThe IBC Rate Limit module provides governance-configurable rate limits for IBC transfers on Neutron. It acts as a safety control to protect assets in the event of bugs or hacks on Neutron, the counter-party chain, or within the IBC protocol itself.
Architecture:
- Go Middleware: A minimal package that implements an IBC Middleware wrapping the ICS20 transfer application.
- CosmWasm Contract: The Go middleware calls into a Cosmwasm contract (found in the
rate-limiter-contractpackage) which contains the actual rate-limiting logic. This allows Neutron governance to adjust safety parameters via parameter change proposals without requiring hard forks.