teamscanworks / ibc-rate-limits

Apache License 2.0
0 stars 0 forks source link

Dual Queue PoC #6

Open bonedaddy opened 1 year ago

bonedaddy commented 1 year ago

Overview

Adds a POC for implementation of dual queue ibc rate limits, allowing authorized addresses to grant an address the ability to bypass rate limit evaluation up to a specific value.

Specification

For Osmosis Team

Possible Future Improvements

One possible improvement would be to automatically add 24 hour delays to transfers above a certain threshold. When delayed the assets being transferred can be held by the rate limit contract until the delay period is over and the transfer is finalized.

However I don't believe it would be possible to integrate such functionality into the current ibc middleware implementation so it's likely a v2 would need to be written.

Notes

/home/solidity/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-json-wasm-0.4.1/src/ser/mod.rs:403:9:
internal error: entered unreachable code