cacti icon indicating copy to clipboard operation
cacti copied to clipboard

feat(sapt-hermes): multi gateway metrics

Open RafaelAPB opened this issue 4 months ago • 3 comments

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:

  1. M1 capturing G1 -> G2;
  2. M1 capturing G1 -> G3;
  3. 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.

RafaelAPB avatar Oct 02 '25 17:10 RafaelAPB

@JJSantos22 could you provide an update for this issue?

RafaelAPB avatar Oct 18 '25 17:10 RafaelAPB

@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

JJSantos22 avatar Oct 21 '25 14:10 JJSantos22

@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)

AndreAugusto11 avatar Nov 03 '25 14:11 AndreAugusto11