60 Commits

Author SHA1 Message Date
Luke Van Seters
de8e2a059b Write protocols to mev_summary 2022-01-20 19:28:17 -05:00
Luke Van Seters
9ce82a36de Write protocol for uniswap v2 and v3 swaps. Require protocol for all future swaps. Write protocols to arbitrages 2022-01-20 18:57:14 -05:00
Luke Van Seters
0266582889 Actually insert the data. Fix the ordering 2022-01-20 10:10:50 -05:00
Luke Van Seters
c26910e74b Add liquidations to the summary 2022-01-19 17:07:24 -05:00
Luke Van Seters
94825d3547 Update mev_summary for all inspections 2022-01-19 16:48:12 -05:00
Luke Van Seters
b113b6c82e Add mev_summary population to the listener 2022-01-18 18:04:52 -05:00
Caleb
42dd184779 add sandwich profit 2022-01-17 19:56:40 -08:00
Luke Van Seters
17823b5aae comment => variable 2022-01-04 11:25:27 -05:00
Luke Van Seters
28b37c723c Put it back 2022-01-04 10:19:39 -05:00
Luke Van Seters
02a0adc8e2 Break it to prove tests work 2022-01-04 10:16:50 -05:00
Luke Van Seters
24a6ba670e Bring back the array for diff checks 2022-01-04 09:50:44 -05:00
Luke Van Seters
0ed4f5456e Move list util to db shared 2022-01-03 15:20:00 -05:00
Luke Van Seters
6b1c469a10 Move classified_traces to csv write 2022-01-03 14:27:36 -05:00
Luke Van Seters
bab2043575 Abstract out csv writing 2022-01-03 13:38:34 -05:00
Luke Van Seters
93bdb7c129 Write blocks as proof of concept 2022-01-03 13:15:30 -05:00
Luke Van Seters
f9ccd8dca2
Merge pull request #194 from flashbots/bug-all
Inspect block should write all
2021-12-29 11:26:08 -05:00
Luke Van Seters
b611be4e68 Inspect block should write all 2021-12-25 16:54:47 -05:00
Shea Ketsdever
edc40a3106 Merge 2021-12-23 19:56:24 -06:00
Taarush Vemulapalli
4cb3383d1a
New error column for arbitrages (#180) 2021-12-22 08:00:54 -08:00
Luke Van Seters
fcfb40c864 Add inspect many blocks - use for single inspect too 2021-12-21 14:58:39 -05:00
Shea Ketsdever
97e6c156ab Add nft_trades table to db 2021-12-19 15:13:01 -08:00
Luke Van Seters
f0c29e2b2f Add logic and writing for sandwiches. Add tests too 2021-12-15 13:45:55 -05:00
Luke Van Seters
b9544eb18b Fix whitespace for isort 2021-12-14 13:14:13 -05:00
Luke Van Seters
c23b9a1651
Merge pull request #158 from flashbots/add-isort
Add isort pack to pre-commit
2021-12-14 13:11:39 -05:00
Luke Van Seters
c853cee43e Write transaction position for swaps and traces 2021-12-13 20:05:07 -05:00
Luke Van Seters
d5f73b5e3a Run isort on all files 2021-12-13 18:46:39 -05:00
Robert Miller
0ad3906989 style: formatting 2021-12-06 16:33:35 -05:00
Robert Miller
27f43ea29c
Merge branch 'main' into punk_accept_bids_database 2021-12-06 16:31:24 -05:00
Robert Miller
34dc54ee6f
Merge pull request #148 from flashbots/punk_bid_database
feat: add punk bid database
2021-12-06 16:05:47 -05:00
Luke Van Seters
ed94e71715 Fix timestamp writing in blocks 2021-11-30 12:54:07 -05:00
Robert Miller
868094696a
Merge branch 'main' into punk_accept_bids_database 2021-11-26 19:07:42 -05:00
Robert Miller
90f822a15f
Merge branch 'main' into punk_bid_database 2021-11-26 19:07:16 -05:00
Robert Miller
07aa6e3089 feat: add punk_bid_acceptances database 2021-11-26 15:42:36 -05:00
Robert Miller
71c549b6f3 feat: add punk_bids database 2021-11-26 15:33:07 -05:00
Robert Miller
2cc7ac4a20 feat: initial files for punk database 2021-11-25 21:05:42 -05:00
Luke Van Seters
5b59427d4f Write prices. Ignore duplicates 2021-11-18 13:43:21 -05:00
Luke Van Seters
ad45abbe9c Add crud for blocks 2021-11-17 15:07:04 -05:00
Luke Van Seters
01a27f84c0 Rename classified_traces file to traces. Move Trace to traces 2021-10-19 13:20:01 -04:00
Luke Van Seters
378f5b248e Remove ETH / ERC20 transfer distinction 2021-10-12 20:13:59 -04:00
Gui Heise
1560ee9a99 Add liquidations model/crud 2021-09-30 11:48:05 -04:00
Luke Van Seters
2b7c8532f2 Add crud and models to write transfers to the DB 2021-09-20 11:20:56 -04:00
Luke Van Seters
bff71b01c3
Merge pull request #70 from flashbots/call-trace-db
Add stricter types to trace classifier
2021-09-16 14:55:28 -06:00
Gui Heise
1b0e05ec2f syntax 2021-09-16 11:58:36 -04:00
Gui Heise
fbb0ebaffe Syntax fix 2021-09-16 11:57:16 -04:00
Gui Heise
230a07f47d Simplified serialization 2021-09-16 11:28:18 -04:00
Gui Heise
cc9f3e993d Fixed helpers default attrs 2021-09-16 11:20:28 -04:00
Gui Heise
71b7c99c17 Added pydantic serialization, naming changes 2021-09-16 11:08:16 -04:00
Gui Heise
f204620fea Fixed inputs serialization 2021-09-14 14:32:48 -04:00
Luke Van Seters
dd7088912a Add table to track the most recently updated block 2021-09-14 11:57:08 -04:00
Gui Heise
3795336fd8 WIP: Fixed db writing (no inputs) 2021-09-13 16:58:50 -04:00