Commit Graph

95 Commits

Author SHA1 Message Date
justinschuldt 69390882af sum chains and tokens for /notionaltvl
commit-id:cfa4c5dd
2022-03-02 13:18:16 -06:00
justinschuldt ccfc7fd13e add token info to transfer data
commit-id:7d73cb43
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 e582c872ec fix cache call
commit-id:12f02fb8
2022-03-02 13:18:16 -06:00
justinschuldt a7b9e3b7ad add bulk token price fetching from CoinGecko
commit-id:e75c7290
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
Csongor Kiss 7e212fa739
terra/nft_bridge: Implement nft-bridge for terra (#698)
commit-id:0b547fa5
2022-01-07 16:47:33 +01:00
justinschuldt 95afe6cdbb BigTable: endpoint for NFT transfer stats
commit-id:56865ffa
2021-12-20 16:56:56 +01:00
justinschuldt 5c8f1eb9a2 BigTable: get solana address from token account
commit-id:53bc09b1
2021-12-20 16:56:56 +01:00
justinschuldt 24053368d5 BigTable: consistent keys in notional response
commit-id:4d124e7c
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 c9222fe886 BigTable: use CoinGecko "pro" api + key
Change-Id: I7f580cc462518f6eb713a1025850bd825bcbedfb

commit-id:39f708aa
2021-12-20 16:56:56 +01:00
justinschuldt 2c9455f4c9 BigTable: improve token identification
Change-Id: I693e1ee8b55d797d739db9f9bcaad83c0422a477

commit-id:e0fb97b9
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 ab0b668743 BigTable: /totals endpoint bugfix and optimize
Change-Id: I539bb8d6bfea7749bb3cc7a292f97936d4bb268a

commit-id:ed27ed74
2021-12-20 16:56:56 +01:00
justinschuldt fb7e2c1cca BigTable: in-memory cache for /totals endpoint
Change-Id: I48199951b42ab8d57bb12fef6b6b1e0da9f3392f

commit-id:13588560
2021-12-20 16:56:56 +01:00
justinschuldt 92a9abfc74 BigTable: save transfer amount & symbol to row
Change-Id: If6104b2a30d93593d2c0297129b18800edbba3a8

commit-id:4b05430d
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 4b397e79b4 bigtable: save decoded payload to row
Change-Id: I94938a501060e865b6f12ac74e0c20f8c0bca441

commit-id:ed8d235f
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 024ced81d9 PubSub infra for bigtable data enrichment
Change-Id: Ide08774960ad7e9dee04090bc990be49357c79a2

commit-id:928fad6e
2021-12-20 16:56:56 +01:00
justinschuldt fc1e162f3b devnet: simplify cloud function setup
Change-Id: I931501aa5162569785cb078a546dc44a3741de08

commit-id:26e9ff05
2021-12-14 17:47:14 -05:00
Leo b0ed42681d Use stable Buildkit syntax
We no longer need to be on an experimental branch - all the
Dockerfile features we need were released on 1.3.

commit-id:b083856a
2021-12-13 15:38:17 +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 1a99ea1f85 fixed time range for /recent query
Change-Id: I8ab8ccc57f8410face241e8cb2651a709bbc5654
2021-10-29 21:07:10 +00:00
justinschuldt 82b4ed5843 async queries for /totals function
Change-Id: If9f1267fc713e547657fbd60e7390ed59f5b9d03
2021-10-29 20:56:13 +00:00
justinschuldt 90f7015b93 short lived cache for /recent function
Change-Id: I762791b352161dc20b14739e492a3dee86a0f047
2021-10-29 20:44:33 +00:00
justinschuldt 6fb8cdfd01 global bigtable connection for functions
Change-Id: Ib61bd2e9f4a19e1f8405491c572ef6b36c54142e
2021-10-29 20:18:33 +00:00
justinschuldt 6cc4bf5ca6 debug cloud functions locally
Change-Id: I7fa072497b6e4b3980c88edb50481226f4ea3cad
2021-10-29 15:13:50 +00:00
justinschuldt 8fed2d0659 remove unused bigtable data
Change-Id: I2b4a798b99f11be2ce9869d15dc633e1568974e1
2021-10-29 12:56:27 +00:00
Leo c64576cc0b node: add Polygon support
Change-Id: Ia919861879eb6c831d4dd9ccbe1748e7123502e5
2021-10-21 10:11:21 +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
Leo 4f22a44969 Bump Go to 1.17
Change-Id: Ideb635db1a553c5de4a0b700a080f935249990fb
2021-08-31 08:58:17 +00:00
justinschuldt 986b4b58f1 Add bigtable to devnet
- Add development BigTable instance

- Devnet Guardians save to local bigtable automatically

- Cloud Functions run in devnet containers

Change-Id: I9fa32a06b24218cf5c9c01cdff6f37c67e8d1e7c
2021-08-25 14:01:31 +00:00
justinschuldt 44fe7bd726 Cloud function for BigTable queries
Change-Id: I8a2c0e349bdebeeeaf8b79f02285615b3a147884
2021-08-23 19:35:04 +00:00
justinschuldt 44cb47c2d8 Write attestation events to BigTable
Change-Id: I90fd86ff83a2e963ca306b7189528b415f5511d2
2021-08-23 09:54:28 -05:00
jschuldt ce22a18101 Event database init script
Add new folder, 'event_database', containing a
Go script for initializing a BigTable table
and querying it for events.

Change-Id: I8ffda2e3ef43bf2faa9fc6eaf53efa019a3fecff
2021-08-05 12:53:56 +00:00