-
Notifications
You must be signed in to change notification settings - Fork 79
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
is it possible to export miner power (raw power and quality adj power) to solidity ? #955
Comments
@arajasek worth considering. |
@kikakkz Thanks for the issue! @anorth and I decided to defer on exporting QA power for now, because we weren't sure how useful it would be. The concern is that QA power is a somewhat less stable concept than Raw Power, and so we were hesitant about exposing it to contracts. Can you please share a little more about why you'd like this? I think we're happy to add it, just wanna know about the motivation. |
@arajasek thanks to reply. the motivation is from this piece code: https://github.com/NpoolFilecoin/fevm-owner-actor/blob/master/contracts/miner/Miner.sol, when i custody a miner to a contract, i'll get the information of the miner as the initial information. it'll be referred by funds management strategy of this owner smart contract. |
actually in my design, i'll have a sealing velocity, and the owner contract transfer funds to miner for sealing according to this velocity. so i think i can fullfill that easily if i have raw power, QA power, collateral. |
Thanks for the request. This discussion really belongs over here: filecoin-project/FIPs#401 |
Closing for filecoin-project/FIPs#401 (comment) |
Currently we have MinerRawPowerExported to let solidity get miner raw power, is it possible to export quality adj power, too ?
The text was updated successfully, but these errors were encountered: