Commit Graph

37 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
ckeun 69962f96f5
cloud_functions: near support (#1614)
* cloud_functions: near support

* cloud_functions: moonbeam support

* cloud_functions: fix lint issue

* Added algorand & near wormhole addresses for their tokens

* Added near tokens to tokenAddressExceptions

* Use wormhole go sdk

Co-authored-by: Kevin Peters <kpeters@jumptrading.com>
2022-09-27 16:38:43 -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 cbc92a9571
cloud_functions: terra2 support (#1349) 2022-07-14 12:27:12 -05: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
kev1n-peters a5c7898de9
cloud_functions: Added fake Dai Stablecoin on BSC (#1211) 2022-05-20 08:03:14 -05:00
ckeun c0a26dcf74
Added fake btc on terra to tokensToSkip list (#1194) 2022-05-16 15:09:14 -05:00
kev1n-peters 2a863a7ca3
cloud_functions: Added tokens to skip (#1152) 2022-05-04 22:11:33 +00:00
justinschuldt c5c30ab076 blacklist fake sushi from TVL calc 2022-04-28 08:34:04 -05:00
ceun a4854f9368 Added fake voxel to tokensToSkip list 2022-04-25 10:02:02 -05:00
ckeun a3886e3c20
Added fake testWETH on poly to tokensToSkip list (#1103) 2022-04-22 09:12:54 -05:00
justinschuldt 890f1a6469 cloud functions - add aurora 2022-04-14 08:52:50 -05:00
justinschuldt 6e58ae511d cloud functions - tvl blacklist case insensitive 2022-04-13 17:24:17 -05:00
justinschuldt 6b6d172262 cloud functions - quicker initialize 2022-03-17 18:25:48 -05:00
justinschuldt cff49549db cloud function housekeeping 2022-03-10 14:26:41 -06:00
justinschuldt a89350745e Explorer functions - use GSC for cache documents
commit-id:08e1c0c3
2022-03-02 13:18:16 -06:00
justinschuldt d6d04f61bb add useCache option for cloud functions
commit-id:8d771c77
2022-03-02 13:18:16 -06:00
justinschuldt 95afe6cdbb BigTable: endpoint for NFT transfer stats
commit-id:56865ffa
2021-12-20 16:56:56 +01:00
justinschuldt fa1252ace4 BigTable: flat file cache + cumulative endpoints
Change-Id: If7e631b33866f077c60e0d397b02bfca7e91b05d

commit-id:89bb033e
2021-12-20 16:56:56 +01:00
justinschuldt 6583771813 BigTable: misc code cleanup and log improvements
Change-Id: Ibd601c358fbee3ed0a1a74673158cb861b631660

commit-id:533a8b35
2021-12-20 16:56:56 +01:00
justinschuldt 01d7d5675b BigTable: improve notional response time
Change-Id: I84dd777b6a144ced9f88caae120a327e569f5496

commit-id:31ffb52e
2021-12-20 16:56:56 +01:00
justinschuldt df8c291db5 BigTable: include TransferDetails in summary
Change-Id: I40cb428ad64fada511fe6eebe001d69392cd392f

commit-id:0134b970
2021-12-20 16:56:56 +01:00
justinschuldt 3eb4e18f01 BigTable endpoint: notional bidirectional
Change-Id: I764398b88c9aaae887cd519d12004553021b15a1

commit-id:fc00d09a
2021-12-20 16:56:56 +01:00
justinschuldt f4b4a5378e BigTable endpoint: notional transfered to chain
Change-Id: I588b178429e8a18f65a564569a3c3a2e43beb35c

commit-id:dc6d4478
2021-12-20 16:56:56 +01:00
justinschuldt a8226c488b BigTable: new endpoint to query by cell value
Change-Id: I76c5dd2f6c28c51f1969aeec09a1a961f8a22b01

commit-id:2ff32eed
2021-12-20 16:56:56 +01:00
justinschuldt c4bced0e52 BigTable: query optimizations and return payloads
Change-Id: If3a3c9a207518a26fbb8d924b5b9a9053c62c3a7

commit-id:00c2b83a
2021-12-20 16:56:56 +01:00
justinschuldt ba5d55c1b9 BigTable: calculate notional via CoinGecko prices
Change-Id: I648fd253baf9516ff55bd4e97015b439eea63694

commit-id:98c084df
2021-12-20 16:56:56 +01:00
justinschuldt 8931153f7e BigTable: PubSub trigger after decoding payload
Change-Id: Ie46903be7d41c27778babbeb864f3e4adf001825

commit-id:cee21010
2021-12-20 16:56:56 +01:00
justinschuldt f23afd88c0 BigTable: column families for secondary data
Change-Id: I3d9514b21b7cd95ed16c65a2bd3c2e951ae36802

commit-id:5c9a7e93
2021-12-20 16:56:56 +01:00
justinschuldt afe4fad438 cloud functions: use rowkey data in Summary
Change-Id: I756ab54539b14676256e252f668874455a279e74
2021-11-09 19:14:02 +00:00
justinschuldt 64078945c4 remove SignedVAA from /recent response
Change-Id: Idcc7ccfb1bc0ac645dd023d6fff0e51a2e87c84d
2021-11-09 19:13:10 +00:00
justinschuldt 6fb8cdfd01 global bigtable connection for functions
Change-Id: Ib61bd2e9f4a19e1f8405491c572ef6b36c54142e
2021-10-29 20:18:33 +00:00
justinschuldt 71dbe80aae BigTable historical queries
- Add Cloud Functions:
  - "Recent" gap list, can filter and/or group by chain or address.
  - "Totals" counts 24h, 30d, rolling daily. can filter and group.
  - "Transaction" lookup row by chain-native transaction identifier.

- Pad sequence in rowkey to fixed length, for sequential row order.

- Add Cloud Function deploy instructions.

- Fix #410 Buildpack image cleanup

Change-Id: Ifa3110a3d58e2f94adb48ccb451c27ab3add0611
2021-10-13 16:20:10 +00:00