513 Commits

Author SHA1 Message Date
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
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
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
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
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
c52edaa609 Break out fixtures. Add tests for transfers 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
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
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
Guilherme Peyrelongue Heise
e8c534927c added liquidate classification 2021-08-03 20:08:59 -04:00
Guilherme Peyrelongue Heise
85feee55bc Aave inspector 2021-08-03 20:06:30 -04:00
Luke Van Seters
f903fff3c9
Merge pull request #43 from flashbots/on-duplicate-update-classified-traces
Replace existing traces when inspecting a block
2021-08-03 16:35:54 -04:00
Robert Miller
1a5524e6f3
Merge pull request #41 from flashbots/swap-abis
Add ABIs and specs for Uniswap V3
2021-07-30 14:27:09 -04:00
Luke Van Seters
0d2d651f60 Forgot to install pre-commit 2021-07-30 14:18:27 -04:00
Luke Van Seters
127debab18 Use spread instead for classified specs list 2021-07-30 14:17:06 -04:00
Luke Van Seters
0a09fd4efa Delete all traces for a block before writing in the script 2021-07-30 13:36:46 -04:00
Luke Van Seters
40529a34bf Compare against lowercase addresses 2021-07-30 13:06:50 -04:00
Robert Miller
4a1b69fbc9
Merge pull request #33 from milancermak/small-fixes
Small fixes
2021-07-30 00:09:05 -04:00
Luke Van Seters
1ccd076881 Add ABIs for Uniswap V3. Move abis to hierarchy 2021-07-29 16:04:21 -04:00
Luke Van Seters
f72049a4df connection => session 2021-07-27 19:02:29 -04:00
Luke Van Seters
d7f2d120dd Create trace classifier. Use in general run script. Write to the DB 2021-07-27 18:58:13 -04:00
Luke Van Seters
6ca00ff3ba Move ABIs to a folder 2021-07-27 18:58:13 -04:00
Milan Cermak
3425ea7507 Small fixes 2021-07-25 18:42:29 +02:00
Luke Van Seters
d182b8d8d2 Update mypy version - fix mypy failure 2021-07-22 15:08:36 -04:00
Luke Van Seters
b99f7b5aa8 Trace is an object 2021-07-21 12:30:57 -04:00
Luke Van Seters
fd1b11927c Support Inspector interface in processor. Support it in uniswap inspector 2021-07-21 12:28:46 -04:00
Luke Van Seters
31022e3e45 Move uniswap inspector. Implement the inspector interface 2021-07-21 12:28:42 -04:00
Luke Van Seters
eef61b372d Add Inspector and Classification base classes 2021-07-21 12:28:15 -04:00