Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

beacon interface #10

Closed
wants to merge 18 commits into from
Closed

beacon interface #10

wants to merge 18 commits into from

Conversation

anihamde
Copy link
Contributor

  • minor refactoring
  • start websocket hermes prices
  • readme for larger Beacon service
  • clean up templates for protocols and searchers
  • lingering forgotten commit
  • add readmes
  • some renamings
  • cli, ws, doc

beacon/protocols/beacon_TokenVault.py Outdated Show resolved Hide resolved
beacon/protocols/beacon_TokenVault.py Outdated Show resolved Hide resolved
beacon/protocols/beacon_template.py Outdated Show resolved Hide resolved
beacon/protocols/beacon_template.py Outdated Show resolved Hide resolved
beacon/protocols/beacon_template.py Outdated Show resolved Hide resolved
@@ -30,15 +30,10 @@ def get_vault_abi():
return data['abi']
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does the address in this function make sense?

beacon/protocols/beacon_template.py Outdated Show resolved Hide resolved
beacon/protocols/beacon_template.py Outdated Show resolved Hide resolved
print(f"Response, post to beacon: {resp.text}")
else:
print(liquidatable)
await asyncio.sleep(2)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if these sleeps are necessary. We have a bunch of network requests in the middle, so each loop naturally takes some hundreds of milliseconds.

auction-server/src/api/rest.rs Outdated Show resolved Hide resolved
@m30m m30m closed this Jun 26, 2024
@danimhr danimhr deleted the beacon_interface branch September 10, 2024 08:06
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