-
Notifications
You must be signed in to change notification settings - Fork 288
Closed
Milestone
Description
Is your feature request related to a problem? Please describe.
From within a smartcontract we would like to be able to access:
1️⃣ the hotkey's balance of alphas staked to a vali on a subnet
2️⃣ the list of valis a hotkey has alphas staked to on a subnet
3️⃣ the total of alphas staked by a hotkey to a subnet (derivable from 1 & 2)
I hear the first is easy, but still that would be useful: https://discordapp.com/channels/1120750674595024897/1242999357436071956/1351591677948596254
Describe the solution you'd like
I would like precompiles that can get me answer for all three questions :)
Whether it would be 3 precompiles or less but parametrized differently I don't really care.
Describe alternatives you've considered
No response
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels