-
Notifications
You must be signed in to change notification settings - Fork 681
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
PoX Updates: .pox-info
contract for native information getters
#2538
Comments
Adding to this:
We need these things to figure out what the BTC-denominated price of STX is on-chain. Drilling down into "address lock information" and "current reward cycle set information", what do you think of these?
|
Something that might be nice would be some getters for delegate information. Right now it's pretty hard and a manual process to get data around pools that use contracts to call the pox contract. I have to manually know of and fetch data for each contract. If there is some way to make this clearer from the pox extension contract itself, that'd be fantastic! |
Another request would be:
|
For this feature:
It would be great to also allow |
Added already: |
Regarding the getter for address lock information, this is the interface @lgalabru proposed:
|
Split this issue into things we can put into |
Insofar as the minimum viable changes for |
Request to make |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
As part of Stacks 2.1, we should add an extension contract for obtain PoX information that must be implemented as native functions:
The text was updated successfully, but these errors were encountered: