feat(sapt-hermes): multi gateway metrics
Is your feature request related to a problem? Please describe. The following metrics should be implemented for every pair of gateways, and for the total interactions: For every pair of gateways, and for every subset of gateways that share sessions: -Total volume (USD) of value in satp transfers (M1) -Total volume (native tokens) in satp transfers (M2) -Total volume (all tokens converted to native) in satp transfers (M3)
Example: On a scenario with 3 gateways, our gateway is G1 we would have:
- M1 capturing G1 -> G2;
- M1 capturing G1 -> G3;
- M1 capturing G1 -> G2 + G3;
Describe the solution you'd like Capture all value transferred via the gateway
Additional context Add any other context or screenshots about the feature request here.
@JJSantos22 could you provide an update for this issue?
@JJSantos22 could you provide an update for this issue?
Currently developing a mock mechanism to imitate the search of the value of a token. Overall, still in early stages of development
@RafaelAPB for calculating the Total volume (all tokens converted to native) in satp transfers (M3) we would need to have a mapping of native tokens to the blockchains (and what native token would we use? The source chain's or the target chain's). Can we have just the first 2 metrics (as this one can be derived from them), or do you find this one important as well? (cc @JJSantos22)