# Event RewardsStaked()

### event RewardsStaked()

This event triggers when rewards are restaked into a liquidity pool.&#x20;

{% code title="StandardRewards.sol" %}

```solidity
event RewardsStaked(
    Token indexed pool, 
    uint256 indexed programId, 
    address indexed provider, 
    uint256 amount
);
```

{% endcode %}

| Parameter Name | Type          | Description                              |
| -------------- | ------------- | ---------------------------------------- |
| pool           | Token address | The token address of the received tokens |
| programId      | uint256       | The ID of the rewards program            |
| provider       | address       | The address of the user                  |
| amount         | uint256       | The number of tokens received            |

### Uses

This event can be used to:

* Monitor reward restakes

### Triggered By

This event is triggered by the following functions:

* stakeRewards()


---

# 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.bancor.network/developer-guides/data-and-events/rewards/claiming-and-restaking-rewards/event-rewardsstaked.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.
