869 Commits

Author SHA1 Message Date
Patrick Daly
92dbddec2c merging DepositUSDN/K/P into DepositUSD 2021-08-13 14:31:33 -07:00
Patrick Daly
aacaf88ed8 link stable abi should be correctly associated now 2021-08-13 14:20:19 -07:00
Patrick Daly
e4f47c0e42 correcting an import path 2021-08-13 14:14:14 -07:00
Patrick Daly
4e4427b059 changed ordering of the specs to prefer contract level classification 2021-08-13 13:30:39 -07:00
Patrick Daly
0748a5f988 correcting abi filename 2021-08-13 12:51:45 -07:00
Patrick Daly
886813b935 curve meta pool swap abis 2021-08-13 12:51:45 -07:00
Patrick Daly
8ab68606fb curve meta pool deposit abis 2021-08-13 12:51:45 -07:00
Patrick Daly
ca8ce87e5c curve deposit abis added 2021-08-13 12:51:45 -07:00
Patrick Daly
01fdc17b11 curve tokens and swap abi's added 2021-08-13 12:51:45 -07:00
Patrick Daly
cb29c8a9dc flipped the black script 2021-08-13 12:51:45 -07:00
Patrick Daly
b5fb695578 curve specific stable swaps added 2021-08-13 12:51:45 -07:00
Patrick Daly
d4d2fb0359 consolidating classifier related modules 2021-08-13 12:51:41 -07:00
Patrick Daly
8f554d90da liquidity gauge specs added 2021-08-13 12:46:37 -07:00
Patrick Daly
8df633880f meta pool specs added 2021-08-13 12:46:37 -07:00
Patrick Daly
e3728251f8 base pool specs added 2021-08-13 12:46:37 -07:00
Patrick Daly
d34683cf4b base pool specs added 2021-08-13 12:46:19 -07:00
Luke Van Seters
1ee3203231
Merge pull request #46 from flashbots/transfers-and-swaps
Find arbitrages in a block
2021-08-13 13:44:12 -04:00
Luke Van Seters
596ba0c062 Fix tests 2021-08-13 12:48:53 -04:00
Luke Van Seters
388f780f68 Add support for --no-cache 2021-08-13 12:44:51 -04:00
Luke Van Seters
68f5144959 Protect against decode errors 2021-08-13 12:44:51 -04:00
Luke Van Seters
28081de807 Only attempt to write if any arbitrages 2021-08-13 12:44:51 -04:00
Luke Van Seters
6c727fb1f6 Add support for inspecting a range of blocks 2021-08-13 12:44:51 -04:00
Luke Van Seters
c5dc3aa0f9 Add join table for swaps <=> arbitrages. Write to it 2021-08-13 12:44:51 -04:00
Luke Van Seters
002ef76ecc Store trace addresses as arrays 2021-08-13 12:44:51 -04:00
Luke Van Seters
f9b3c82d2d Write arbitrages to the DB 2021-08-13 12:44:51 -04:00
Luke Van Seters
04767d72f1 Write swaps to the DB. Replace existing ones 2021-08-13 12:44:51 -04:00
Luke Van Seters
fa8da08889 Add swap model 2021-08-13 12:44:51 -04:00
Luke Van Seters
3c3868ef6f Add table for swaps 2021-08-13 12:44:51 -04:00
Luke Van Seters
c994e41f34 Add a little more check 2021-08-13 12:40:56 -04:00
Luke Van Seters
eb2530de45 Add test for a real arb 2021-08-13 12:33:38 -04:00
Luke Van Seters
04ce01eb6b Fix typo 2021-08-13 12:12:33 -04:00
Luke Van Seters
96ead6cc92 Rename remove_inner_transfers => remove_child_transfers_of_transfers 2021-08-13 12:10:28 -04:00
Luke Van Seters
3ece6d1829 Add test for three step arb 2021-08-13 12:10:28 -04:00
Luke Van Seters
d2bf2340a1 Add more detail to arbitrage test 2021-08-13 12:10:28 -04:00
Luke Van Seters
0f12b78e1e Add arbitrage test 2021-08-13 12:10:28 -04:00
Luke Van Seters
eab6164c16 Add tests for swaps 2021-08-13 12:10:28 -04:00
Luke Van Seters
c52edaa609 Break out fixtures. Add tests for transfers 2021-08-13 12:10:28 -04:00
Luke Van Seters
7e831faa39 Add more examples for trace tests 2021-08-13 12:10:28 -04:00
Luke Van Seters
f73a34a5ba Add tests for get_child_traces. Add some helpful fixtures 2021-08-13 12:10:28 -04:00
Luke Van Seters
f59b2b2b82 Test is_child_trace_address 2021-08-13 12:10:28 -04:00
Luke Van Seters
ee7659b044 Pass swaps into arbitrage instead of computing inside 2021-08-13 12:10:28 -04:00
Luke Van Seters
08a0784105 Merge swap parsing into a shared function 2021-08-13 12:10:28 -04:00
Luke Van Seters
70514df025 Add printing arbitrage from inspect_block 2021-08-13 12:10:28 -04:00
Luke Van Seters
8a0d16e754 Add Arbitrage + finding arbitrage from swaps 2021-08-13 12:10:28 -04:00
Luke Van Seters
1061bc3db3 Add Swaps + parsing swaps from traces 2021-08-13 12:10:28 -04:00
Luke Van Seters
4c42407faf Add Transfer schema + parse from trace 2021-08-13 12:10:28 -04:00
Luke Van Seters
162443efd8 Remove nested traces 2021-08-13 12:10:28 -04:00
Luke Van Seters
deea9e28ea Add WETH ABI 2021-08-13 12:10:27 -04:00
Luke Van Seters
374b1dd2b8 Skip committing cache 2021-08-13 12:09:43 -04:00
Luke Van Seters
972b4490bb
Merge pull request #48 from flashbots/no-pg-admin
Remove PGAdmin
2021-08-12 12:12:23 -04:00