Voting and Earning Rewards
This guide describes the process of voting for pools and claiming voting rewards
Last updated
This guide describes the process of voting for pools and claiming voting rewards
Last updated
The ve(3,3) model in the Spectra protocol promotes long-term engagement by letting users lock APW for veAPW, which provide governance power over protocol decisions, including voting for liquidity pools.
The voting mechanism enables efficient allocation of liquidity, rewarding both liquidity providers for their contributions and voters with a say in reward distribution. It results in a more stable protocol, motivated participants, and optimized rewards for committed stakeholders.
Create a veAPW lock for an APW amount of your choice and a duration of up to 2 years. Refer to Locking APW for veAPW guide for more details.
Pools are each identified by a unique ID, that can be obtained from GovernanceRegistry
's function.
Get the list of all dentifiers of pools that have associated voting rewards, using Voter
's .
Verify that voting is not currently banned for a given _poolId
using Voter
's .
Vote for the desired pools, specifying the weights, using Voter
's .
Fees and Bribes voting rewards can vary among pools.
Each week, voting rewards for the previous week can be claimed.
FeesVotingReward
and BribeVotingReward
contracts associated with a given pool can be fetched respectively using Voter
's and .
The list of all reward tokens for a given FeeVotingReward
or BribeVotingReward
can be fetched using getter, which takes an index comprised between 0 and VotingReward
's .
Earned rewards for a given user and a specific reward token can be fetched using VotingReward
's .
Claim voting rewards for a specific list of pools and specific lists of bribes and fees reward token, using Voter's
.
Bribes and fees rewards can also be claimed separately using and .