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 Miner API
copy icon
Zondax
• version 1.0.0
FEVM

FEVM Miner API

This library is a proxy to a built-in Miner 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
getOwner() :
This function gets the owner of a FilActorId by calling the GetOwnerMethodNum method on the actor and deserializing the result. (autogenerated documentation)
changeOwnerAddress() :
This function changes the owner address of a target actor by calling its ChangeOwnerAddressMethodNum method with a serialized address. (autogenerated documentation)
isControllingAddress() :
This function checks if an address controls a given actor by calling a method on the actor and returning the result. (autogenerated documentation)
getSectorSize() :
This function gets the sector size of a target actor by calling a non-singleton method and deserializing the result. (autogenerated documentation)
getAvailableBalance() :
This function gets the available balance of a FilActorId by calling a non-singleton method and deserializing the result. (autogenerated documentation)
getVestingFunds() :
This function retrieves vesting funds for a given actor by calling a non-singleton method and deserializing the result. (autogenerated documentation)
changeBeneficiary() :
This function changes the beneficiary of a miner actor by calling a non-singleton method on the actor with serialized parameters. (autogenerated documentation)
getBeneficiary() :
This function retrieves the beneficiary of a FilActorId by calling a non-singleton method and deserializing the result. (autogenerated documentation)
changeWorkerAddress() :
This function changes the worker address of a miner actor by calling a non-singleton method and passing serialized parameters. (autogenerated documentation)
changePeerId() :
This function changes the peer ID of a FilActorId target by calling the ChangePeerIDMethodNum method with a new FilAddress. (autogenerated documentation)
changeMultiaddresses() :
This function changes the multi-addresses of a FilActorId target using serialized parameters and a non-singleton call to the Actor. (autogenerated documentation)
repayDebt() :
This function repays debt to a FilActorId target by calling the RepayDebtMethodNum method and checking for a valid response. (autogenerated documentation)
confirmChangeWorkerAddress() :
This function confirms a change in worker address for a FilActorId target by calling a non-singleton method and checking the response length. (autogenerated documentation)
getPeerId() :
This function gets the peer ID of a FilActorId target by calling the GetPeerIDMethodNum method and returning the result as a FilAddress. (autogenerated documentation)
getMultiaddresses() :
This function retrieves multiple addresses associated with a given actor ID by calling a non-singleton method and deserializing the result. (autogenerated documentation)
withdrawBalance() :
This function withdraws a specified amount of balance from a FilActorId target using a non-singleton method call. (autogenerated documentation)

Get Cookin'
share iconShare

copy iconDownload Source
copy iconnpx cookbookdev i FEVM-Miner-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.