Перейти к содержимому

Claiming MEZO Rewards

Это содержимое пока не доступно на вашем языке.

Validators earn MEZO rewards for securing the network. This guide explains how to claim these rewards and manage reward beneficiaries.

Each validator has an associated gauge in the ValidatorsVoter contract. Rewards are claimed through the ValidatorsVoter contract by specifying the validator’s gauge address.

Each gauge has a single beneficiary address that is authorized to claim rewards. By default, the beneficiary is the validator operator address registered in the Proof of Authority (PoA) contract.

To claim your MEZO rewards, follow these steps:

  1. Connect your operator address wallet Use the wallet associated with your validator operator address.

  2. Determine your gauge address Call ValidatorsVoter.validatorToGauge() with your operator address as the parameter.

  3. Claim rewards Call ValidatorsVoter.claimRewards() with your gauge address as the parameter.

These steps can be performed through the Mezo block explorer or via a custom script.

  1. Navigate to the ValidatorsVoter contract
  2. Go to the “Read Contract” tab
  3. Call validatorToGauge with your operator address to get your gauge address
  4. Switch to the “Write Contract” tab
  5. Connect your operator wallet
  6. Call claimRewards with your gauge address

Validators can designate a different address to receive MEZO rewards. This is useful for separating operational and treasury functions.

To change the reward beneficiary:

  1. Connect your operator address wallet Use the wallet associated with your validator operator address.

  2. Determine your gauge address Call ValidatorsVoter.validatorToGauge() with your operator address as the parameter.

  3. Switch beneficiary Call Gauge.switchRewardsBeneficiary() with the new beneficiary address as the parameter.

    • Contract: Your specific Gauge contract (obtained from step 2)
    • Method: switchRewardsBeneficiary(address newBeneficiary)
  4. Claim from the new beneficiary After changing the beneficiary, all future claims must be executed using the new beneficiary wallet.