Scale encoding of ibc events for internal dashboard
Closed this issue · 6 comments
Why
We need to track the usage of the bridge, and this can be done by scaling encoding of ibc events
What
Set up scale encoding of ibc events + create internal dashboard on:
- total number of transfers that the bridge has processed. success or fail
- volume (in $) transferred on the bridge each way. KSM>DOT, DOT>KSM
- asset type transferred. e.g KSM, PICA, DOT, USDT
- Source and destination
@vmarkushin in composable repo i sed reference to ibc-rs, but named it ibc-rs-scale to avoid double work on getting scale encodings. so will add ibc-rs-scale crate as deps and map events from centauri to this for starter
I making events in pallet-ibc resemble these https://github.com/cosmos/ibc-rs/blob/main/crates/ibc/src/applications/transfer/events.rs .
i will not be able to deliver $ now. until we have defined final oracle to use. pablo pool, coinbase what ever. can do next time. as soon as pools will be good, can use it. hope we will handle $ in next tickets.
ported to semantics of grafana and metrics https://github.com/ComposableFi/composable/blob/dz/74/submetrics/data-and-formulas.md
handled by gloria