# 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](#claimgbmvote "mention")

[#claimrefund](#claimrefund "mention")

[#initstate](#initstate "mention")

[#unstakebatch](#unstakebatch "mention")

### 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.

| Parameter | Type | Description                                                                                                                                                |
| --------- | ---- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 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 |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.waxfusion.io/smart-contracts/cpu.fusion/actions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
