# VotiumBribeForwarder

## Process

![](https://1563241728-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgJxLWD6SqMELu7agWt%2Fuploads%2FESzbo9UlLZVASaodiYaB%2FweeklyEmissions2Votium.png?alt=media\&token=1bddf17e-5622-498b-9f43-2df3011e520a)

## Functions

### depositBribe()

`function depositBribe (uint256 amount, bytes32 proposal) external`

Deposits a bribe into Votium, choiceIndex must be set previously.

| Parameter  | Type    | Description                                                      |
| ---------- | ------- | ---------------------------------------------------------------- |
| `amount`   | uint256 | the amount of reward tokens to deposit including decimal places. |
| `proposal` | bytes32 | votium brive proposal                                            |

### updateChoiceIndex()

`function updateChoiceIndex (uint256 _choiceIndex) public`

Updates the choice index used for the bribe.

| Parameter      | Type    | Description            |
| -------------- | ------- | ---------------------- |
| `_choiceIndex` | uint256 | the bribe choice index |
