romandvo
5cdbf5b2d7
Avoid CoinGecko's API rate limit with time delays
...
Updating token prices with ./mev prices fetch-all can fail due to CoinGecko's API rate limits https://www.coingecko.com/en/api/pricing_2 (10-30 requests a minute)
Error message:
ValueError: {'status': {'error_code': 429, 'error_message': "You've exceeded the Rate Limit. Please visit https://www.coingecko.com/en/api/pricing to subscribe to our API plans for higher rate limits."}}
Currently, TOKEN_ADDRESSES length is 14 which can (and does) fail the function, depending on the dynamic limit
By introducing time delays between API queries we can avoid hitting the limit and failing the price update.
2023-03-16 14:11:25 +02:00
pintail-xyz
51c7345d26
exclude reverted punk bid acceptances ( #330 )
...
Co-authored-by: pintail <you@example.com>
2023-02-15 08:16:08 -08:00
pintail-xyz
b6777a25dc
check that swaps involve both pool assets ( #328 )
...
Co-authored-by: pintail <you@example.com>
2023-02-08 09:01:36 -08:00
pintail-xyz
297afec364
fix arbitrage by filtering out sequence where the start/finish swap contract is the same ( #325 )
...
Co-authored-by: pintail <you@example.com>
2023-01-17 08:34:33 -08:00
pintail-xyz
0e42ab6ba4
ignore reverted transactions from liquidation classifier ( #317 )
2022-12-05 07:59:52 -08:00
Gui Heise
d917ae72de
Merge pull request #306 from maxholloway/mh/fix-broken-readme-link
...
fix broken README link
2022-08-04 11:09:19 -04:00
Max Holloway
b720bb2c03
fix broken README link
2022-07-25 17:54:03 -05:00
Gui Heise
3c9fe3dca9
Merge pull request #269 from pintail-xyz/separate-cream-compound
...
separate out the cream and compound liquidation classifiers
2022-04-13 12:01:26 -04:00
pintail
60357cb449
update pre-commit packages
2022-04-09 00:30:43 +01:00
pintail
04d1c86dbd
separate cream and compound classifiers
2022-04-07 19:27:47 +01:00
Gui Heise
22135c42dc
Merge pull request #290 from flashbots/export-deletions
...
Support export deletions
2022-03-22 17:05:32 -04:00
Gui Heise
8cb91afddc
Add created_at to blocks table
2022-03-22 16:38:42 -04:00
Gui Heise
a9f57bcd2e
Object deletions
2022-03-22 13:27:05 -04:00
Gui Heise
baf370c9fb
Remove date from filename
2022-03-22 10:52:07 -04:00
Gui Heise
852ac93ba7
Merge pull request #287 from flashbots/blocks-export
...
add blocks to export
2022-03-04 14:09:34 -05:00
Gui Heise
c1b26f8888
add blocks to export
2022-03-04 14:03:34 -05:00
Gui Heise
7a0b21b006
Merge pull request #286 from flashbots/export-filename
...
Add timestamp to filename
2022-03-02 15:15:45 -05:00
Gui Heise
440c5f0754
Add timestamp to filename
2022-03-02 11:51:18 -05:00
Gui Heise
be280ab113
Merge pull request #284 from flashbots/fix-export-backfill
...
Fix worker actor priority
2022-02-28 13:33:45 -05:00
Gui Heise
77957e07cf
Fix priority
2022-02-28 13:13:16 -05:00
Luke Van Seters
38cd60cf88
Merge pull request #282 from Dire-0x/fix/sandwicher-address-not-any-uniswap-router
...
fix check sandwicher against correct uniswap routers
2022-02-25 10:05:47 -05:00
Dire
75efdb4afe
fix check sandwicher against correct uniswap routers
2022-02-24 11:01:44 -06:00
Gui Heise
6aca1d292d
Merge pull request #274 from flashbots/backfill-export
...
Backfill export
2022-02-22 13:30:39 -05:00
Gui Heise
1fbecbec58
Worker low priority
2022-02-21 13:19:25 -05:00
Gui Heise
180a987a61
Add low priority to cli tasks
2022-02-21 12:45:36 -05:00
Luke Van Seters
af7ae2c3b0
Merge pull request #272 from flashbots/healthcheck-retry
...
Retry on healthcheck
2022-02-21 12:43:34 -05:00
Gui Heise
5eef1b7a8f
Add worker and listener task
2022-02-21 11:16:22 -05:00
Gui Heise
c6e6d694ec
Add task to the listener
2022-02-21 11:02:30 -05:00
Gui Heise
da04bc4351
Add tasks to CLI
2022-02-21 10:59:14 -05:00
Gui Heise
cbad9e79b6
Separate tasks
2022-02-21 10:55:26 -05:00
Gui Heise
b486d53012
Remove priorities
2022-02-18 14:47:36 -05:00
Gui Heise
fe9253ca5e
Comment Tiltfile
2022-02-18 14:47:36 -05:00
Gui Heise
db6b55ad38
Task priority and queue
2022-02-18 14:47:36 -05:00
Gui Heise
c7e94b55d4
Fix poetry config
2022-02-18 14:47:36 -05:00
Gui Heise
54cc4f1dc6
Add bash script
2022-02-18 14:47:36 -05:00
Gui Heise
c58d75118d
Fix task priorities
2022-02-18 14:47:36 -05:00
Gui Heise
b86ecbca87
Add commands
2022-02-18 14:47:36 -05:00
Gui Heise
ed01c155b3
Merge pull request #278 from flashbots/export-tables
...
Add logic for more tables
2022-02-18 13:53:38 -05:00
Gui Heise
1edd39c382
Spacing
2022-02-18 11:52:45 -05:00
Gui Heise
ca6978a693
Add logic for more tables
2022-02-18 11:10:24 -05:00
Luke Van Seters
8767f27fe6
Merge pull request #275 from flashbots/block-list-2
...
Enqueue a list of blocks
2022-02-16 12:08:27 -05:00
Luke Van Seters
19eb48aec0
Use the actor
2022-02-16 11:56:50 -05:00
Luke Van Seters
cb6f20ba63
No -t for stdin push
2022-02-16 11:56:33 -05:00
Ryan Radomski
1b42920dd1
Changed backfilling a list of blocks in Readme to using a text file example
2022-02-16 11:36:23 -05:00
Ryan Radomski
fa14caec17
Added block-list command to enqueue a list of blocks from stdin
2022-02-16 11:35:38 -05:00
Luke Van Seters
eda0485fa5
Retry on healthcheck
2022-02-16 10:52:49 -05:00
Luke Van Seters
4b93f95d50
Merge pull request #270 from flashbots/only-write-if-newly-empty
...
Only export empty blocks if there's an existing non-empty one
2022-02-16 09:47:55 -05:00
Luke Van Seters
25f77a54fc
Merge pull request #267 from flashbots/lukevs-pr-template
...
Create pull_request_template.md
2022-02-16 09:27:35 -05:00
Luke Van Seters
48cf3612bd
Update pull_request_template.md
2022-02-16 09:19:36 -05:00
Luke Van Seters
4ef2145409
Skip write if no data and no key or current upload has no data
2022-02-16 09:06:51 -05:00