# Governance

DAObet governance

Governance mechanism is deployed in the DAObet, which allows changing the number of validators from 21 to 102 and the emission rate from 20 to 10% depending on the Activated stake.

## Validators number

In the DAObet, we have a flexible mechanism for determining the number of active validators depending on the activated stake. The number of validators is determined by the rule:

`if (activated_share <= 33) {  return 21;} else if (activated_share > 33 && activated_share < 60) {    return 21 + (activated_share - 33) * 3;} else {    return 102}`

Thus, with an activated stake of up to 33%, the number of validators = 21. After 33%, the number of validators increases by 3 with each percent. After 60%, the number of validators becomes 102.

When the number of active validators changes, the number of validators will change gradually according to the rule:

`// _gstate.schedule_size_step = 3​if (block_time.slot - _gstate.last_schedule_size_update.slot >= 2 * _gstate.schedule_update_interval) {  int target_amount = get_target_amount(activated_share);  if (target_amount > schedule_size) {    schedule_size = schedule_size + _gstate.schedule_size_step;    } else if (target_amount < schedule_size) {      schedule_size = schedule_size - _gstate.schedule_size_step;    }    _gstate.last_schedule_size_update = block_time;  }`

Every 24 hours, a new number of validators is calculated. If the new number of validators is greater than the current value, then it increases by 3. If the new number of validators is less than the current value, then it decreases by 3. Changes are possible only once every 24 hours. Thus, an increase or decrease in the number of validators occurs gradually.

## Activated stake

An activated stake plays an important role in our governance system, and we changed the rule for calculating activated stake. In DAObet, the activated stake is the number of stakes that have been staked in the VOTE. An activated stake can either increase or decrease.

## Emission

Emission in the DAObet network depends on the activated stake and is determined by the rule:

`if (activated_share <= 0.33) {   return 0.2;} else if (activated_share >= 0.66) {   return 0.1;}   return -10. / 33 * (activated_share - 0.33) + 0.2;`

With an activated stake of <33%, the annual emission is 20%. With an activated stake of > 66%, the annual emission is 10%. In the interval between 33 and 60 activated stakes, the annual emission smoothly varies from 20% to 10%, depending on the activated stake.