454 Commits

Author SHA1 Message Date
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
Luke Van Seters
6e537053e8
Merge pull request #233 from CalebEverett/sandwich_profit
add sandwich profit
2022-01-18 11:31:22 -05:00
Caleb
42dd184779 add sandwich profit 2022-01-17 19:56:40 -08:00
Gui Heise
e4528de7bd Same for CETher 2022-01-17 15:10:30 -05:00
Gui Heise
640bcaa867 Flip token addresses 2022-01-17 14:43:29 -05:00
Luke Van Seters
72433ece39
Merge pull request #225 from flashbots/constrain-sandwiches
Constrain sandwiches to require similar swap amounts
2022-01-15 11:05:41 -05:00
Luke Van Seters
d9bca45a50 Fix chainlink price 2022-01-11 15:50:19 -05:00
Luke Van Seters
de03b953a0
Merge pull request #223 from flashbots/aave-zero-bug
Support aave self-liquidations
2022-01-11 09:49:50 -05:00
Luke Van Seters
403e84fa29 should be zero if we dont know 2022-01-11 09:48:41 -05:00
Gui Heise
c28f7c6174 Remove unused Optional 2022-01-10 14:21:28 -05:00
Gui Heise
2bb760874d Remove exceptions 2022-01-10 14:18:37 -05:00
Luke Van Seters
e388271b55 Constrain sandwiches to require the backrun swap to be similar in amount and from the same address as the frontrun 2022-01-10 13:53:10 -05:00
Luke Van Seters
5b1efd5e6d Support all tokens we have supported for coinbase 2022-01-10 12:27:08 -05:00
Gui Heise
63087fc0e8 Support aave self-liquidations 2022-01-10 10:14:58 -05:00
Luke Van Seters
50ff7dadcd The sandwicher should be where the swap value accumulates 2022-01-08 16:15:39 -05:00
Luke Van Seters
4930065045 Include sandwiches that close in arbs 2022-01-08 13:44:58 -05:00
Luke Van Seters
11aebe078a Require price difference to be less than 1% between swaps 2022-01-07 13:06:41 -05:00
Luke Van Seters
69cad7537e Break swap outs / ins check into a function 2022-01-07 12:22:45 -05:00
Gui Heise
977a72839e Remove instance checks 2022-01-07 11:25:33 -05:00
Gui Heise
327695c56c Remove AAVE address list 2022-01-06 16:38:48 -05:00
Gui Heise
818a9b0b65 Raise exceptions 2022-01-06 16:35:51 -05:00
Gui Heise
73a29a667b Fix text 2022-01-06 15:08:44 -05:00
Luke Van Seters
bee620fd98 Switch token amounts for taker and maker on 0x 2022-01-05 17:55:49 -05:00
Luke Van Seters
379bd82f0e
Merge pull request #211 from flashbots/faster-writes
Use COPY to speed up database writes for blocks and traces
2022-01-04 13:17:24 -05: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
bb94eba02a Change to max_route_length to make the logic clearer 2022-01-03 16:09:34 -05:00
Luke Van Seters
4e9ff10988 Cut out early from arbitrages if we've already found a shorter path 2022-01-03 15:59:56 -05:00
Luke Van Seters
0ed4f5456e Move list util to db shared 2022-01-03 15:20:00 -05:00
Luke Van Seters
9b8cac5c5d Credit 2022-01-03 15:14:28 -05:00
Luke Van Seters
ada540c1d4 Write using an iterator 2022-01-03 14:50:27 -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
cff148e21f Log when writing 2021-12-31 16:11:18 -05:00
Luke Van Seters
b862bddfe9 Add worker deployment 2021-12-31 15:55:33 -05:00
Luke Van Seters
4662a1ecbc Pass DB sessions into inspector 2021-12-31 15:50:07 -05:00
Luke Van Seters
1ff9e9aa1c
Merge pull request #199 from flashbots/fix-cycle-sandwiches
Support sandwiches including multiple pools
2021-12-31 15:22:39 -05:00
Luke Van Seters
943715c812 Fix typo in gathering blocks 2021-12-30 22:05:23 -05:00
Luke Van Seters
9235020999
Merge pull request #195 from flashbots/consistent-middleware
Use middleware for all RPC calls
2021-12-30 10:11:33 -05:00
Luke Van Seters
a683cc66e0 Fix sandwiches including multiple pools 2021-12-29 17:59:21 -05:00
Luke Van Seters
b487ab08a0
Merge pull request #197 from flashbots/break-out-early-find
Break out of finding block on first missing attribute
2021-12-29 11:26:56 -05:00
Luke Van Seters
880e588f5f
Merge pull request #196 from flashbots/zero-ex-two-transfers
ZeroX requires at least 2 child transfers
2021-12-29 11:26:39 -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
846f7376d4 Break out of finding block on first missing attribute 2021-12-29 09:50:40 -05:00
Luke Van Seters
52be448fb8 ZeroX requires at least 2 child transfers 2021-12-29 09:14:15 -05:00
Luke Van Seters
b70f55c9cc Keep asyncio sleep 2021-12-25 17:29:40 -05:00