Better support for automation of stacking pools
Is your feature request related to a problem? Please describe. I would like to automate managing a stacking pool (delegation of stacking) as much as possible. Currently, it is not possible
- to discover if a user delegates to my pool's delegation address. This is needed to initiate the stacking process for a user.
- to discover the delegated amount of a user in a smart contract. This is needed to stack the user's STX in a managing contract.
Describe the solution you'd like For 1., I would like to see an event when use delegates or revokes stacks For 2., I would like to see a function in pox to read the delegation state or more generally a clarity function to read map from another contract (https://github.com/clarity-lang/reference/issues/30)
Describe alternatives you've considered Currently, I do this off-chain
Additional context [Ultra Mega Super Stacks 2.1 Thread] https://github.com/stacksgov/sips/discussions/16
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed. Please reopen if needed.