wormhole-explorer/api/handlers
agodnic a31d59822d
Add definitions to token dictionary (#292)
### Summary

In order to compute volume metrics for each token, we need metadata about the token that is not present in the VAAs (e.g.: decimals, symbol).

That information is statically defined in `common/domain/tokenbridge.go`. This pull request adds the most relevant tokens (i.e.: the tokens that contribute the most volume) to the existing definitions. It is very likely that more token definitions will be added in the future as needed.

The token metadata that was previously defined in the `notional` package (symbols, coingecko IDs) was also moved to `common/domain/tokenbridge.go`. 

Tracking issue https://github.com/wormhole-foundation/wormhole-explorer/issues/281
2023-05-08 17:51:18 -03:00
..
address Add route `GET /api/v1/address/{address}` (#228) 2023-04-12 15:51:33 -03:00
governor Sort the output of `GET /api/v1/vaas` by timestamp (#267) 2023-04-28 10:18:07 -03:00
guardian Handle guardianSet by p2p enviroment in fly/api (#112) 2023-01-31 11:38:17 -03:00
heartbeats [API/PARSER] Chain activity and last transaction endpoints (#175) 2023-03-07 16:25:42 -03:00
infrastructure [API] split api/v1 and v1 routing in different files (#101) 2023-01-27 12:58:37 -03:00
observations Sort the output of `GET /api/v1/vaas` by timestamp (#267) 2023-04-28 10:18:07 -03:00
transactions Add definitions to token dictionary (#292) 2023-05-08 17:51:18 -03:00
vaa Add 24h volume to scorecards (#274) 2023-05-04 20:17:03 -03:00