# launchpad\_reward.gno

{% embed url="<https://github.com/gnoswap-labs/gnoswap/blob/main/contract/r/gnoswap/launchpad/v1/launchpad_reward.gno>" %}

## CollectRewardByDepositId

```go
func CollectRewardByDepositId(
	cur realm,
	depositID string
) int64
```

CollectRewardByDepositId collects the project token reward for users using a depositId.

#### Parameters

| Name        | Type   | Description                                  |
| ----------- | ------ | -------------------------------------------- |
| `cur`       | realm  | Pass `cross` as argument.                    |
| `depositID` | string | The ID of a deposit to collect reward token. |

#### Return Values

| Name     | Type  | Description                           |
| -------- | ----- | ------------------------------------- |
| `amount` | int64 | The amount of collected reward token. |


---

# 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.gnoswap.io/contracts/launchpad/launchpad_reward.gno.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.
