Commit Graph

41 Commits

Author SHA1 Message Date
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
Caleb
42dd184779 add sandwich profit 2022-01-17 19:56:40 -08:00
Shea Ketsdever
edc40a3106 Merge 2021-12-23 19:56:24 -06:00
Shea Ketsdever
1f84f95fff Require exchange_wallet_address and rename payment_token -> payment_token_address 2021-12-23 18:57:11 -06:00
Luke Van Seters
21826dd308 Pass error through from trace to liquidation 2021-12-23 10:09:32 -05:00
Taarush Vemulapalli
4cb3383d1a New error column for arbitrages (#180) 2021-12-22 08:00:54 -08:00
Shea Ketsdever
97e6c156ab Add nft_trades table to db 2021-12-19 15:13:01 -08:00
Luke Van Seters
566dada5d4 Add back crud for sandwiches 2021-12-15 13:47:29 -05: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
138b1a0eef No comments 2021-12-14 12:46:00 -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
4e91e52a92 style: formatting 2021-12-06 16:36:05 -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
Taarush Vemulapalli
1fb65bacc1 Compound backfilling/removed network calls (#125)
* Removes `collateral_token_address` from both aave/comp for consistency
2021-12-02 11:19:32 -08:00
Luke Van Seters
26caaa04e1 Merge pull request #134 from flashbots/prices
Add support for fetching prices from coinbase and storing
2021-11-26 21:06:48 -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
Gui Heise
dc02564862 Add contract_address 2021-11-22 10:55:00 -05:00
Luke Van Seters
f5233a17fd Rename to prices table 2021-11-18 13:56:07 -05:00
Luke Van Seters
5b59427d4f Write prices. Ignore duplicates 2021-11-18 13:43:21 -05:00
Luke Van Seters
01a27f84c0 Rename classified_traces file to traces. Move Trace to traces 2021-10-19 13:20:01 -04:00
Gui Heise
5274619081 Remove nullable 2021-10-05 12:29:23 -04:00
Gui Heise
fa20c2e650 Add migration 2021-10-04 16:21:06 -04:00
Gui Heise
77b17cab94 Make trace address a primary key 2021-10-01 17:59:11 -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
9846b9f16c Add to and from addresses 2021-08-30 20:09:01 -04:00
Luke Van Seters
f5222c1902 Swap => MinerPayment 2021-08-30 13:48:35 -04:00
Luke Van Seters
c22cab0b68 Add miner_payments model 2021-08-30 13:47:37 -04:00
Luke Van Seters
24e682c9d7 Save errors on swaps in the database 2021-08-17 00:01:14 -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
fa8da08889 Add swap model 2021-08-13 12:44:51 -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