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

Questions about SDK unsupported methods #372

Open
drewstone opened this issue Feb 25, 2025 · 2 comments
Open

Questions about SDK unsupported methods #372

drewstone opened this issue Feb 25, 2025 · 2 comments

Comments

@drewstone
Copy link

Apologies if these methods are supported but I'm having a hard time finding them, I'm interested in answering the following questions.

  1. What are all the operator addresses registered for an AVS? Do we have their public keys stored as well (prob not).
  2. What is the allocation / strategies / operators sets associated with an AVS? I do not see bindings for AllocationManager or StrategyManager. Maybe this is relevant (what are shares here?)
  3. If an operator has strategies delegated to them and they're participating in operator set, is it possible to calculate how much of that strategy is exposed to slashing/rewards using this SDK?
@supernovahs
Copy link
Collaborator

supernovahs commented Feb 25, 2025

  1. You would have to use this service which queries past public key registration events and looks for new events in parallel. Relevent issue related to this .

  2. You should checkout the dev branch's crate.

  3. We don't support calculating this in the sdk

@RonTuretzky
Copy link

@drewstone here is a reference modeled after the eigensdk-rs

This is not a production-grade implementation as the operator info service is not restarted routinely, and due to the hardcoded indexing logic.

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

No branches or pull requests

3 participants