Actions
This page lists all actions on the cpu.fusion contract, including their descriptions and a list of the parameters for each action.
Quick Links
claimgbmvote
Claims voting rewards from the system contract if there are any available. Voting rewards are automatically sent back to the main contract and added to the revenue_awaiting_distribution bucket. Requires auth of the dapp.fusion contract (anyone can make this happen by calling claimgbmvote on the dapp.fusion contract)
claimrefund
Claims refunds from the system contract if any are available. Requires auth of the dapp.fusion contract (anyone can make this happen by calling claimrefunds on the dapp.fusion contract)
initstate
Initializes the state singleton on this contract, if it doesn't exist yet. Requires auth of this contract.
unstakebatch
Unstakes WAX from the system contract, in order to transfer it back to the dapp.fusion contract and make it available for redemptions. Requires auth of the dapp.fusion contract. Anyone can initiate this process by calling unstakecpu on the dapp.fusion contract.
limit
int
The maximum number of rows to process on the system contract. i.e. if this contract is staking WAX for 1000 different accounts, 100 rows must be processed
Last updated