# VTokenomicsParams

The key parameters of the VirtuSwap Reward Formula are:

r - The compound rate of duration of reward boost calculation

b - The reward boost coefficients for locking VRSW per unit of locking time:

α (alpha) - Parameter describing the importance of LP token staking in reward boost computation

β (beta) - Parameter describing the importance of VRSW staking/locking in reward boost computation

γ (gamma) - Parameter describing the curvature of reward boost for locking VRSW as a function of locking duration,

The default values of the parameters are as follows:

r  = 0.693 / ((365 \* 8 + 366 \* 2 ) \* 24 \* 60 \* 60) *(that's 0.693 / {number of seconds in 10 years})*

b = 1 / {number of seconds in 10 years}

α = 1

β =0.5

γ = 1

### Events

#### event UpdateTokenomicsParams

```solidity
event UpdateTokenomicsParams(
    SD59x18 r,
    SD59x18 b,
    SD59x18 alpha,
    SD59x18 beta,
    SD59x18 gamma
);
```

Issued when tokenomics parameters are updated in updateParams method

### State-changing functions

#### function updateParams

```solidity
function updateParams(
    SD59x18 _r,
    SD59x18 _b,
    SD59x18 _alpha,
    SD59x18 _beta,
    SD59x18 _gamma
) external override onlyOwner
```

Issues [UpdateTokenomicsParams](#event-updatetokenomicsparams) event.

✏️Can only be called by the owner


---

# 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.virtuswap.io/virtuswap-documentation/technical-reference/smart-contracts-v1/tokenomics-contracts/vtokenomicsparams.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.
