Commit Graph

14 Commits

Author SHA1 Message Date
kev1n-peters 35b46ae205
cloud_functions: Performance enhancements to handle increased message volume (#1688)
TVL functions no longer scan the table for PythNet messages
Added a light-weight transaction-totals function
2022-10-07 09:33:10 -05:00
Kevin Peters 5c1a2fe182 cloud_functions: Use CoinGecko API IDs from allowlist in TVL calculations
Specify the CoinGecko API ID for tokens in the allowlist.
It's useful to manually specify the API ID to in certain cases.
2022-08-03 11:58:18 -04:00
Kevin Peters eacb7c3f06 cloud_functions: Added LOAD_CACHE env variable
Can be set to false to effectively rebuild cache files.
2022-07-20 16:09:11 -04:00
Kevin Peters c5a7d3e517 cloud_functions: use daily token prices to compute cumulative TVL
Use daily token prices to compute TVL instead of the prices fetched
at token transfer time, if available.

Added inactive tokenlist to exclude tokens that have essentially been
deactivated by CoinGecko (market data no longer available).
2022-07-19 16:45:21 -04:00
kev1n-peters c97a8f6f45
cloud_functions: tokenAllowlist implementation (#1339) 2022-07-11 12:56:30 -05:00
kev1n-peters 6b20aab8ab
cloud_functions: Added new chains (#1333) 2022-07-05 18:56:43 +02:00
kev1n-peters 6c8ae81fe4
cloud_functions: notional-tvl response includes token decimals (#1274) 2022-06-15 15:12:35 -05:00
Kevin Peters 2c76aabf6e cloud_functions: Split notional-tvl into read and write (to cache) entry points 2022-04-25 17:33:18 -05:00
justinschuldt b2d1ea3e72 cloud functions - 60 second context deadline 2022-03-17 18:25:48 -05:00
justinschuldt c478bdd552 cloud functions - rm noisy logs 2022-03-17 18:25:48 -05:00
justinschuldt a89350745e Explorer functions - use GSC for cache documents
commit-id:08e1c0c3
2022-03-02 13:18:16 -06:00
justinschuldt 69390882af sum chains and tokens for /notionaltvl
commit-id:cfa4c5dd
2022-03-02 13:18:16 -06:00
justinschuldt e582c872ec fix cache call
commit-id:12f02fb8
2022-03-02 13:18:16 -06:00
justinschuldt 40aff0c6e1 TVL calculation from transfer messages
commit-id:bbc62fc8
2022-03-02 13:18:16 -06:00