Skip to content

Added a checkpointing bot for Hyperdrive#731

Merged
jalextowle merged 6 commits intomainfrom
jalextowle/bot/checkpoint-bot
Jul 24, 2023
Merged

Added a checkpointing bot for Hyperdrive#731
jalextowle merged 6 commits intomainfrom
jalextowle/bot/checkpoint-bot

Conversation

@jalextowle
Copy link
Copy Markdown
Contributor

@jalextowle jalextowle commented Jul 22, 2023

Hyperdrive is relatively low maintenance; however, it's important to mint every checkpoint for each Hyperdrive pool to ensure that matured positions are closed at the correct share price. This bot is a minimum crappy product that has been lightly tested (by production standards) and mints new checkpoints successfully when started up alongside the Hyperdrive compose app.

Every time I've written a bot like this, they have hit unforeseen issues when interacting with production Ethereum networks. I hope that this will be reasonably reliable on devnet; however, this is going to be a work in progress until it becomes battle-hardened after a lot of use.

@vercel
Copy link
Copy Markdown

vercel Bot commented Jul 22, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
elf-simulations ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 24, 2023 8:25pm

@github-actions
Copy link
Copy Markdown

Remaining rate limit: 4971 🚀

@github-actions
Copy link
Copy Markdown

Remaining rate limit: 4967 🚀

@github-actions
Copy link
Copy Markdown

Remaining rate limit: 4962 🚀

Comment thread elfpy/bots/checkpoint_bot.py Outdated
Comment thread elfpy/bots/checkpoint_bot.py Outdated
Comment thread elfpy/bots/checkpoint_bot.py
Comment thread elfpy/hyperdrive_interface/hyperdrive_addresses.py Outdated
@github-actions
Copy link
Copy Markdown

Remaining rate limit: 4978 🚀

@github-actions
Copy link
Copy Markdown

Remaining rate limit: 4976 🚀

@github-actions
Copy link
Copy Markdown

Remaining rate limit: 4998 🚀

@github-actions
Copy link
Copy Markdown

Remaining rate limit: 4996 🚀

@jalextowle jalextowle merged commit df05ab7 into main Jul 24, 2023
@jalextowle jalextowle deleted the jalextowle/bot/checkpoint-bot branch July 24, 2023 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants