126 Commits

Author SHA1 Message Date
Guilherme Peyrelongue Heise
771df11093 adjusted profit calculation 2021-08-10 12:11:11 -04:00
Guilherme Peyrelongue Heise
508847b8df TODO 2021-08-06 02:21:46 -04:00
Guilherme Peyrelongue Heise
da83fe27fc output for testing 2021-08-06 02:17:37 -04:00
Guilherme Peyrelongue Heise
244be7e990 liquidation data type and inspector clean up 2021-08-06 02:07:28 -04:00
Guilherme Peyrelongue Heise
7236215a20 fixed profit calculation and return object 2021-08-05 20:49:56 -04:00
Guilherme Peyrelongue Heise
31ffc20a52 Bug fixes, changed underlying to reserve 2021-08-04 17:15:42 -04:00
Guilherme Peyrelongue Heise
0311b715ce added strat 2021-08-04 17:08:42 -04:00
Guilherme Peyrelongue Heise
4005ec8aac fixed inspector functionality, added strategy data type and aave address provider 2021-08-04 17:07:46 -04:00
Guilherme Peyrelongue Heise
72569a576a fix broken aave classifier spec 2021-08-03 16:40:35 -04:00
Guilherme Peyrelongue Heise
790fbee002 Added data types 2021-08-03 16:37:35 -04:00
Guilherme Peyrelongue Heise
1201623c1f Added liquidation_inspector.py, aave protocol and classifier spec 2021-08-03 16:37:35 -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
369570affc Add index on block number to make delete quick 2021-07-30 13:40:45 -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
c64bc3e2c2 Hope everyone's having a great day 2021-07-29 16:08:04 -04:00
Luke Van Seters
d4621182cf Just saying hi to the channel 👋 2021-07-29 16:07:25 -04:00
Luke Van Seters
1ccd076881 Add ABIs for Uniswap V3. Move abis to hierarchy 2021-07-29 16:04:21 -04:00
Robert Miller
654b416336
Merge pull request #39 from pmdaly/scripts-clean
Scripts clean
2021-07-29 09:47:04 -04:00
Patrick Daly
598c2bf313 typo 2021-07-29 06:09:17 -07:00
Patrick Daly
7f26c600dc moved all scripts to ./scripts and added some arg shorthands 2021-07-28 21:03:33 -07:00
Patrick Daly
b557031358 Merge branch 'flashbots-main' into block-data 2021-07-28 20:36:32 -07:00
Patrick Daly
5586e8ff76 Merge branch 'main' of https://github.com/flashbots/mev-inspect-py into flashbots-main 2021-07-28 20:30:49 -07:00
Robert Miller
6632130c9a
Merge pull request #37 from lukevs/classified-traces-implementation
Implement Trace Classifier and write to DB
2021-07-28 22:52:57 -04:00
Robert Miller
43beb13d93
Merge pull request #36 from lukevs/classified-traces-migration
Classified traces table
2021-07-28 19:23:50 -04:00
Luke Van Seters
f72049a4df connection => session 2021-07-27 19:02:29 -04:00
Luke Van Seters
e38f1384ef Add inspect command 2021-07-27 18:58:13 -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
Luke Van Seters
49e047e9b6 Add classified traces table 2021-07-27 18:57:58 -04:00
Luke Van Seters
f060039f95
Merge pull request #31 from lukevs/db-migrations
Add alembic
2021-07-27 18:55:03 -04:00
Luke Van Seters
4945a2e025
Delete requirements.txt 2021-07-27 18:37:02 -04:00
Luke Van Seters
0e5ba9c323 Add alembic to deps and readme. Also add generalized exec function 2021-07-27 18:20:55 -04:00
Luke Van Seters
148e0a82c2 Add alembic to pyproject 2021-07-27 17:29:39 -04:00
Luke Van Seters
5abb478f16 Add alembic migrations 2021-07-27 17:28:04 -04:00
Luke Van Seters
e41de5e45b
Merge pull request #30 from pmdaly/add-poetry
Add poetry
2021-07-27 09:01:13 -04:00
Luke Van Seters
570d40bc97
Exclude --all-files in pre-commit with poetry 2021-07-26 22:04:54 -04:00
Luke Van Seters
c075327f1d
Remove --all-files from poetry run 2021-07-26 22:01:37 -04:00
Luke Van Seters
a9580e3aa9
Update github-actions.yml 2021-07-26 21:58:44 -04:00
Patrick Daly
278a75caed adding poetry and caching to actions build 2021-07-26 17:58:43 -07:00
Luke Van Seters
879e56ac92
Merge branch 'tokenflow/liquidations' into add-poetry 2021-07-26 12:17:20 -04:00
Robert Miller
b3261fa903
Merge pull request #32 from lukevs/add-github-actions-to-pr
Add PR as a trigger for Github Actions
2021-07-26 10:50:03 -04:00
Milan Cermak
3425ea7507 Small fixes 2021-07-25 18:42:29 +02:00
Patrick Daly
2aba69874a adding poetry usage 2021-07-24 16:05:59 -07:00
Patrick Daly
94ed945070 updating python version to match pre-commit 2021-07-24 16:05:24 -07:00
Patrick Daly
f55b94192f cleaning up poetry scripts 2021-07-24 16:04:34 -07:00