Based Rewards
Based Rewards is the amount of Moxie that a user will automatically earn for every transaction that they execute on Base.
Each day a fixed number of Moxie, represented by variable , will be distributed to all users proportionally based on the % amount they contributed to the pool that day. It is important to keep in mind that the variable will differ from day to day.
The amount contributed to the pool in a given day is defined as the sum of the product of the Moxie Score and the gas spent by each user on Base, which can be written as an equation shown below:
And the % of contribution of a user to the pool in a given day can be calculated using the equation below:
Thus, by definition, the Based Rewards of a user can be represented as follows:
where:
Notation | Description |
---|---|
Total number of users | |
Total amount contributed to the pool in a given day | |
Based Rewards of user | |
Moxie Score of user | |
Total gas spent by user on Base |
As shown by the equation above, the amount of Based Rewards is directly proportional to the amount of Moxie Score you have. Thus, the more account you connect to your Moxie profile, the higher amount of Based Rewards you will earn for each transaction on Base.
Similarly, the more active you are on Base, the higher amount of gas on Base you will spend, which will result in higher amount of Based Rewards you will earn for each transaction on Base.
These data will be available in Dune publicly where you can fetch the data for your own analysis, projects, or apps.
Example
Let's consider an example where there are 3 users on Base, and the total amount of Moxie distributed on a given day is 5,000 Moxie. The Moxie Score and gas spent by each user on Base are as follows:
User | Moxie Score | Gas Spent |
---|---|---|
A | ||
B | ||
C |
The total amount contributed to the pool in a given day can be calculated as follows:
Thus, the % of contribution of each user to the pool will be:
User | % Contribution |
---|---|
A | |
B | |
C |
Finally, the total 5,000 Moxie will be distributed to each user as Based Rewards based on their % contribution to the pool:
User | Based Rewards |
---|---|
A | |
B | |
C |