> For the complete documentation index, see [llms.txt](https://docs.gooddollar.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gooddollar.org/previous-protocol-versions/protocol-v3/core-contracts-and-api/firstclaimpool.md).

# FirstClaimPool

Since a new user (inactive) becomes active and eligible to claim UBI only in the next UBI epoch. So new users will not go empty-handed on their first claim we give out a 1G$.

### start

Start function. Adds this contract to identity as a feeless scheme. Can only be called if scheme is registered.

```
function start() public;
```

### setUBIScheme

Sets the whitelisted ubi scheme.

<table><thead><tr><th width="225.57142857142856">Parameter name</th><th>Annotation</th></tr></thead><tbody><tr><td>_ubi</td><td>The new UBI scheme to be whitelisted.</td></tr></tbody></table>

Can be executed only by the Avatar.

```
function setUBIScheme(address _ubi) public;
```

### setClaimAmount

Sets the claim amount.

<table><thead><tr><th width="225.57142857142856">Parameter name</th><th>Annotation</th></tr></thead><tbody><tr><td>_claimAmount</td><td>The new claim amount.</td></tr></tbody></table>

Can be executed only by the Avatar.

```
function setClaimAmount(uint256 _claimAmount) public;
```

### awardUser

Transfers claim amount to the given account address. Only the whitelisted UBI scheme can call this method.

<table><thead><tr><th width="225.57142857142856">Parameter name</th><th>Annotation</th></tr></thead><tbody><tr><td>_account</td><td>The address which recieves the claim amount.</td></tr></tbody></table>

Returns: the amount that was transferred to the given `_account`.

```
function awardUser(address _account) public returns (uint256);
```

### end

Making the contract inactive after it has transferred funds to `_avatar`. Only the Avatar can destroy the contract.

```
function end() public;
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.gooddollar.org/previous-protocol-versions/protocol-v3/core-contracts-and-api/firstclaimpool.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.
