1031 Commits

Author SHA1 Message Date
Robert Miller
1c9abd0801
Merge pull request #51 from flashbots/swap-errors
Save errors on swaps in the database
2021-08-23 06:56:21 -07:00
Robert Miller
77f58e342a
Merge pull request #53 from flashbots/postgres-ports
Expose Postgres ports locally
2021-08-23 06:55:32 -07:00
Luke Van Seters
ef60c09771 Expose Postgres ports locally 2021-08-23 08:40:25 -04:00
Luke Van Seters
6e4ebbf814
Merge pull request #44 from pmdaly/curve-trace
Curve trace
2021-08-19 12:29:02 -04:00
pmdaly
3306ee2f1b
Merge branch 'main' into curve-trace 2021-08-17 08:36:27 -07:00
Patrick Daly
6ceedbf9af aave, erc20, weth moved into separated specs 2021-08-16 23:49:03 -07:00
Patrick Daly
cdf8265de9 no immediate need to get gas / tx, faster block loading w/o 2021-08-16 22:26:09 -07:00
Luke Van Seters
24e682c9d7 Save errors on swaps in the database 2021-08-17 00:01:14 -04:00
Patrick Daly
2da691c686 merged swapUSDN and swapUSDK into a single abi 2021-08-16 17:56:50 -07:00
Robert Miller
d677e0b6ed
Merge pull request #50 from flashbots/add-protocol-to-stats
Add protocol to the stats output of inspect block
2021-08-16 16:27:09 -04:00
Robert Miller
a9d8979151
Merge pull request #49 from flashbots/arb-table
Add DB tables for swaps and arbs + write to them
2021-08-16 16:25:52 -04:00
Luke Van Seters
ea41fe04c3 Add protocol to the stats output of inspect block 2021-08-16 15:28:39 -04:00
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