Commit Graph

16 Commits

Author SHA1 Message Date
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 76ade1b305
cloud_functions: notional-tvl-cumulative optimizations (#1118)
Added two entry points: ComputeTvlCumulative and TvlCumulative.
The first computes the result and writes it to the results cache -
intended to be invoked periodically by a scheduled task.
The second reads from the results cache and returns it as the response.
2022-04-29 10:02:51 -05:00
Kevin Peters 0eb4fb9aae cloud_functions: Added totalsOnly param to notional-tvl-cumulitive
Consumers may only care about the totals which results in a drastically
smaller response payload size.
2022-04-13 21:09:29 -05:00
justinschuldt 6e58ae511d cloud functions - tvl blacklist case insensitive 2022-04-13 17:24:17 -05:00
justinschuldt 52072706a1 cloud functions - blacklist token from TVL calc 2022-04-13 16:55:53 -05:00
ceun 33e9f4d57a Added fake WFTM to tokensToSkip list 2022-03-29 10:06:10 -05:00
ceun a080f6d2bd Added fake WFTM to tokensToSkip list 2022-03-29 10:06:10 -05:00
justinschuldt b2d1ea3e72 cloud functions - 60 second context deadline 2022-03-17 18:25:48 -05:00
justinschuldt fe12f78cdf cloud functions - daily TVL smaller response 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 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