Request form
Cookbook may introduce a token in the future. Share and contribute to be eligible for future airdrops.
close icon
relevant tag icon
FEVM Power API
copy icon
Zondax
• version 1.0.0
FEVM

FEVM Power API

This library is a proxy to a built-in Power actor. Calling one of its methods will result in a cross-actor call being performed.

*Visit desktop site to download or deploy

Version

1.0.0

Creator

Zondax

Last Publish

3/17/2023
Any contract you deploy is yours.
Fully owned and controlled by your wallet.
Documentation
Source Code
createMiner(uint256) :
This function creates a new miner by calling a smart contract method and returns the result. (autogenerated documentation)
minerCount() :
This function gets the number of miners in the network by calling a method on the Power actor and deserializing the result. (autogenerated documentation)
minerConsensusCount() :
This function calls a method on the Power actor to get the miner consensus count and returns it as an int64. (autogenerated documentation)
networkRawPower() :
This function gets the total raw power of the network by calling a method on the Power actor and returning the result as a BigInt. (autogenerated documentation)
minerRawPower(uint64) :
This function retrieves a miner's raw power from the Power actor by calling its MinerRawPowerMethodNum method. (autogenerated documentation)

Get Cookin'
share iconShare

copy iconDownload Source
copy iconnpx cookbookdev i FEVM-Power-API
copy icon

Last Publish

3/17/2023

Version

1.0.0

Creator

Zondax

Cookbook is free.
Any contract you deploy is yours.
Your contract is owned and controlled by you.