Commit Graph

7 Commits

Author SHA1 Message Date
Fernando Torres effdf54a39 Add deployments for v2
Co-authored-by: walker-16 <agpazos85@gmail.com>
2023-10-06 10:57:28 -03:00
walker-16 5c31ca35ca Add sns vaa topic to fly (#662)
* Add sns vaa topic to fly

* Add vaa sns push function

* Add trackID to signed-vaa event

* Add metrics about send notification to pipeline

* Enable vaa backfiller to push sns topic

* Add SNS_URL to deploy

* uncomment sns local configuration
2023-10-06 10:57:28 -03:00
ftocal 22c5f0ee22
Get token and app id from vaa payload parser to calculate price and volume measurement (#708) 2023-09-25 16:56:05 -03:00
ftocal c3d418a084
Add prometheus metrics in analytics (#488) 2023-07-03 11:51:20 -03:00
gipsh 78bd0cbd75
add prefix to chacheable and fix deploy (#479) 2023-06-29 15:54:45 -03:00
agodnic 598db1b876
Persist symbol and price for VAAs (#384)
### Description

Tracking issue: https://github.com/wormhole-foundation/wormhole-explorer/issues/377

This pull request modifies the analytics service so that it persists price information for a VAA in MongoDB. Data is stored only for token bridge VAAs, and only if the price is cached for the symbol being used.

A new collection `transferPrices` has been created, with the following document model:
```
{
  "_id": "22/0000000000000000000000000000000000000000000000000000000000000001/18087",
  "price": "0.999684",
  "symbol": "USDC",
  "timestamp": 2023-06-06T14:04:47.000+00:00
  "tokenAmount": "0.1",
  "usdAmount": "0.0999684"
}
```
2023-06-07 12:18:38 -03:00
ftocal 112ad51c69
Fix and refactor of analytics (#376)
Fix vaa-volume metric backfiller
Rename analytic to analytics
Move influx-backfiller as part of analytics
2023-06-01 16:32:00 -03:00