Symmetric
Search…
Reward payments - Period 2
Rewards are calculated using a mining script that takes a start block, end block and then using a block step period, walks through snapshots on a roughly 2.5 hour period, calculating reward payments.
The result is a .csv file listing reward payments to be made that we then disperse.
The mining script project can be found here:
To assist with projecting rewards there is also an Excel document that sets out the reward payment logic and allows estimates to be run.
GitHub - centfinance/Symmetric.MiningScript-celo: Reward script for the Celo network
GitHub
GitHub - centfinance/Symmetric.MiningScript-xdai: Reward script for the xDai network
GitHub
_Rewards simulator.xlsx
300KB
Binary
Excel Rewards Simulator
Below we will record each weekly run of reward payments including the script commands and results.

2021-10-21

xDai

Block period

18569664 October-14-2021 04:44:00 PM +1 UTC
18586725 October-15-2021 04:43:56 PM +1 UTC

Commands

node index.js --week 14 --startBlock 18569664 --endBlock 18586725
node sum.js --week 14 --startBlock 18569664 --endBlock 18586725

Results

_totals.json
7KB
Code
_totals-split.csv
6KB
Text

Block period

18586725 October-15-2021 04:43:56 PM +1 UTC
18602635 October-16-2021 04:44:00 PM +1 UTC

Commands

node index.js --week 15 --startBlock 18586725 --endBlock 18602635
node sum.js --week 15 --startBlock 18586725 --endBlock 18602635

Results

_totals.json
7KB
Code
_totals-split.csv
6KB
Text

Block period

18602635 October-16-2021 04:44:00 PM +1 UTC
18619295 October-17-2021 04:44:03 PM +1 UTC

Commands

node index.js --week 16 --startBlock 18602635 --endBlock 18619295
node sum.js --week 16 --startBlock 18602635 --endBlock 18619295

Results

_totals.json
7KB
Code
_totals-split.csv
6KB
Text

Block period

18619295 October-17-2021 04:44:03 PM +1 UTC
18636232 October-18-2021 04:44:00 PM +1 UTC

Commands

node index.js --week 17 --startBlock 18619295 --endBlock 18636232
node sum.js --week 17 --startBlock 18619295 --endBlock 18636232

Results

_totals.json
7KB
Code
_totals-split.csv
6KB
Text

Block period

18636232 October-18-2021 04:44:00 PM +1 UTC
18653078 October-19-2021 04:44:00 PM +1 UTC

Commands

node index.js --week 18 --startBlock 18636232 --endBlock 18653078
node sum.js --week 18 --startBlock 18636232 --endBlock 18653078

Results

_totals.json
7KB
Code
_totals-split.csv
6KB
Text

Block period

18653078 October-19-2021 04:44:00 PM +1 UTC
18670036 October-20-2021 04:44:00 PM +1 UTC

Commands

node index.js --week 19 --startBlock 18653078 --endBlock 18670036
node sum.js --week 19 --startBlock 18653078 --endBlock 18670036

Results

_totals.json
7KB
Code
_totals-split.csv
6KB
Text

Block period

18670036 October-20-2021 04:44:00 PM +1 UTC
18670036 October-20-2021 04:44:00 PM +1 UTC

Commands

node index.js --week 20 --startBlock 18670036 --endBlock 18569664
node sum.js --week 20 --startBlock 18670036 --endBlock 18569664

Results

_totals.json
7KB
Code
_totals-split.csv
6KB
Text

Celo

Block period

9329851 October-14-2021 04:44:02 PM +1 UTC
9347131 October-15-2021 04:44:02 PM +1 UTC

Commands

node index.js --week 11 --startBlock 9329851 --endBlock 9347131
node sum.js --week 11 --startBlock 9329851 --endBlock 9347131

Results

_totals.json
70KB
Code
_totals-split.csv
57KB
Text

Block period

9347131 October-15-2021 04:44:02 PM +1 UTC
9364409 October-16-2021 04:43:59 PM +1 UTC

Commands

node index.js --week 12 --startBlock 9347131 --endBlock 9364409
node sum.js --week 12 --startBlock 9347131 --endBlock 9364409

Results

_totals.json
62KB
Code
_totals-split.csv
49KB
Text

Block period

9364409 October-16-2021 04:43:59 PM +1 UTC
9381689 October-17-2021 04:44:01 PM +1 UTC

Commands

node index.js --week 13 --startBlock 9364409 --endBlock 9381689
node sum.js --week 13 --startBlock 9364409 --endBlock 9381689

Results

_totals.json
62KB
Code
_totals-split.csv
51KB
Text

Block period

9381689 October-17-2021 04:44:01 PM +1 UTC
9398968 October-18-2021 04:44:01 PM +1 UTC

Commands

node index.js --week 14 --startBlock 9381689 --endBlock 9398968
node sum.js --week 14 --startBlock 9381689 --endBlock 9398968

Results

_totals.json
62KB
Code
_totals-split.csv
50KB
Text

Block period

9398968 October-18-2021 04:44:01 PM +1 UTC
9416248 October-19-2021 04:44:03 PM +1 UTC

Commands

node index.js --week 15 --startBlock 9398968 --endBlock 9416248
node sum.js --week 15 --startBlock 9398968 --endBlock 9416248

Results

_totals.json
60KB
Code
_totals-split.csv
48KB
Text

Block period

9416248 October-19-2021 04:44:03 PM +1 UTC
9433527 October-20-2021 04:44:01 PM +1 UTC

Commands

node index.js --week 16 --startBlock 9416248 --endBlock 9433527
node sum.js --week 16 --startBlock 9416248 --endBlock 9433527

Results

_totals.json
59KB
Code
_totals-split.csv
47KB
Text

Block period

9433527 October-20-2021 04:44:01 PM +1 UTC
9433527 October-20-2021 04:44:01 PM +1 UTC

Commands

node index.js --week 17 --startBlock 9433527 --endBlock 9329851
node sum.js --week 17 --startBlock 9433527 --endBlock 9329851

Results

_totals.json
58KB
Code
_totals-split.csv
46KB
Text

2021-10-28

xDai

Block period

18686787 October-21-2021 04:44:00 PM +1 UTC
18703397 October-22-2021 04:44:00 PM +1 UTC

Commands

node index.js --week 15 --startBlock 18686787 --endBlock 18703397
node sum.js --week 15 --startBlock 18686787 --endBlock 18703397

Results

_totals.json
6KB
Code
_totals-split.csv
5KB
Text

Block period

18703397 October-22-2021 04:44:00 PM +1 UTC
18719430 October-23-2021 04:44:00 PM +1 UTC

Commands

node index.js --week 15 --startBlock 18703397 --endBlock 18719430
node sum.js --week 15 --startBlock 18703397 --endBlock 18719430

Results

_totals.json
7KB
Code
_totals-split.csv
5KB
Text

Block period

18719430 October-23-2021 04:44:00 PM +1 UTC
18735513 October-24-2021 04:44:00 PM +1 UTC

Commands

node index.js --week 15 --startBlock 18719430 --endBlock 18735513
node sum.js --week 15 --startBlock 18719430 --endBlock 18735513

Results

_totals.json
7KB
Code
_totals-split.csv
5KB
Text

Block period

18735513 October-24-2021 04:44:00 PM +1 UTC
18750925 October-25-2021 04:44:00 PM +1 UTC

Commands

node index.js --week 15 --startBlock 18735513 --endBlock 18750925
node sum.js --week 15 --startBlock 18735513 --endBlock 18750925

Results

_totals.json
7KB
Code
_totals-split.csv
5KB
Text

Block period

18750925 October-25-2021 04:44:00 PM +1 UTC
18765001 October-26-2021 04:44:00 PM +1 UTC

Commands

node index.js --week 15 --startBlock 18750925 --endBlock 18765001
node sum.js --week 15 --startBlock 18750925 --endBlock 18765001

Results

_totals.json
7KB
Code
_totals-split.csv
5KB
Text

Block period

18765001 October-26-2021 04:44:00 PM +1 UTC
18779807 October-27-2021 04:44:00 PM +1 UTC

Commands

node index.js --week 15 --startBlock 18765001 --endBlock 18779807
node sum.js --week 15 --startBlock 18765001 --endBlock 18779807

Results

_totals.json
7KB
Code
_totals-split.csv
5KB
Text

Block period

18779807 October-27-2021 04:44:00 PM +1 UTC
18794833 October-28-2021 04:44:00 PM +1 UTC

Commands

node index.js --week 15 --startBlock 18779807 --endBlock 18794833
node sum.js --week 15 --startBlock 18779807 --endBlock 18794833

Results

_totals.json
7KB
Code
_totals-split.csv
5KB
Text

Celo

Block period

9450802 October-21-2021 04:43:58 PM +1 UTC
9468082 October-22-2021 04:44:01 PM +1 UTC

Commands

node index.js --week 12 --startBlock 9450802 --endBlock 9468082
node sum.js --week 12 --startBlock 9450802 --endBlock 9468082

Results

_totals.json
57KB
Code
_totals-split.csv
44KB
Text

Block period

9468082 October-22-2021 04:44:01 PM +1 UTC
9485361 October-23-2021 04:43:58 PM +1 UTC

Commands

node index.js --week 12 --startBlock 9468082 --endBlock 9485361
node sum.js --week 12 --startBlock 9468082 --endBlock 9485361

Results

_totals.json
56KB
Code
_totals-split.csv
47KB
Text

Block period

9485361 October-23-2021 04:43:58 PM +1 UTC
9502641 October-24-2021 04:44:02 PM +1 UTC

Commands

node index.js --week 12 --startBlock 9485361 --endBlock 9502641
node sum.js --week 12 --startBlock 9485361 --endBlock 9502641

Results

_totals.json
61KB
Code
_totals-split.csv
52KB
Text

Block period

9502641 October-24-2021 04:44:02 PM +1 UTC
9519920 October-25-2021 04:43:58 PM +1 UTC

Commands

node index.js --week 12 --startBlock 9502641 --endBlock 9519920
node sum.js --week 12 --startBlock 9502641 --endBlock 9519920

Results

_totals.json
61KB
Code
_totals-split.csv
52KB
Text

Block period

9519920 October-25-2021 04:43:58 PM +1 UTC
9537200 October-26-2021 04:44:01 PM +1 UTC

Commands

node index.js --week 12 --startBlock 9519920 --endBlock 9537200
node sum.js --week 12 --startBlock 9519920 --endBlock 9537200

Results

_totals.json
60KB
Code
_totals-split.csv
50KB
Text

Block period

9537200 October-26-2021 04:44:01 PM +1 UTC
9554479 October-27-2021 04:43:58 PM +1 UTC

Commands

node index.js --week 12 --startBlock 9537200 --endBlock 9554479
node sum.js --week 12 --startBlock 9537200 --endBlock 9554479

Results

_totals.json
59KB
Code
_totals-split.csv
51KB
Text

Block period

9554479 October-27-2021 04:43:58 PM +1 UTC
9571753 October-28-2021 04:43:58 PM +1 UTC

Commands

node index.js --week 12 --startBlock 9554479 --endBlock 9571753
node sum.js --week 12 --startBlock 9554479 --endBlock 9571753

Results

_totals.json
59KB
Code
_totals-split.csv
50KB
Text

2021-11-04

xDai

Block period

18794833 October-28-2021 04:44:00 PM +1 UTC
18809633 October-29-2021 04:44:00 PM -0 UTC

Commands

node index.js --week 16 --startBlock 18794833 --endBlock 18809633
node sum.js --week 16 --startBlock 18794833 --endBlock 18809633

Results

_totals.json
8KB
Code
_totals-split.csv
6KB
Text

Block period

18809633 October-29-2021 04:44:00 PM -0 UTC
18824577 October-30-2021 04:44:00 PM -0 UTC

Commands

node index.js --week 16 --startBlock 18809633 --endBlock 18824577
node sum.js --week 16 --startBlock 18809633 --endBlock 18824577

Results

_totals.json
11KB
Code
_totals-split.csv
9KB
Text

Block period

18824577 October-30-2021 04:44:00 PM -0 UTC
18839875 October-31-2021 04:44:00 PM -0 UTC

Commands

node index.js --week 16 --startBlock 18824577 --endBlock 18839875
node sum.js --week 16 --startBlock 18824577 --endBlock 18839875

Results

_totals.json
13KB
Code
_totals-split.csv
11KB
Text

Block period

18839875 October-31-2021 04:44:00 PM -0 UTC
18854423 November-01-2021 04:44:00 PM -0 UTC

Commands

node index.js --week 16 --startBlock 18839875 --endBlock 18854423
node sum.js --week 16 --startBlock 18839875 --endBlock 18854423

Results

_totals.json
14KB
Code
_totals-split.csv
12KB
Text

Block period

18854423 November-01-2021 04:44:00 PM -0 UTC
18869151 November-02-2021 04:44:00 PM -0 UTC

Commands

node index.js --week 16 --startBlock 18854423 --endBlock 18869151
node sum.js --week 16 --startBlock 18854423 --endBlock 18869151

Results

_totals.json
17KB
Code
_totals-split.csv
14KB
Text

Block period

18869151 November-02-2021 04:44:00 PM -0 UTC
18884407 November-03-2021 04:44:00 PM -0 UTC

Commands

node index.js --week 16 --startBlock 18869151 --endBlock 18884407
node sum.js --week 16 --startBlock 18869151 --endBlock 18884407

Results

_totals.json
19KB
Code
_totals-split.csv
17KB
Text

Block period

18884407 November-03-2021 04:44:00 PM -0 UTC
18900825 November-04-2021 04:44:00 PM -0 UTC

Commands

node index.js --week 16 --startBlock 18884407 --endBlock 18900825
node sum.js --week 16 --startBlock 18884407 --endBlock 18900825

Results

_totals.json
20KB
Code
_totals-split.csv
18KB
Text

Celo

Block period

9571753 October-28-2021 04:43:58 PM +1 UTC
9589033 October-29-2021 04:43:58 PM -0 UTC

Commands

node index.js --week 13 --startBlock 9571753 --endBlock 9589033
node sum.js --week 13 --startBlock 9571753 --endBlock 9589033

Results

_totals.json
58KB
Code
_totals-split.csv
52KB
Text

Block period

9589033 October-29-2021 04:43:58 PM -0 UTC
9606313 October-30-2021 04:43:58 PM -0 UTC

Commands

node index.js --week 13 --startBlock 9589033 --endBlock 9606313
node sum.js --week 13 --startBlock 9589033 --endBlock 9606313

Results

_totals.json
58KB
Code
_totals-split.csv
52KB
Text

Block period

9606313 October-30-2021 04:43:58 PM -0 UTC
9624313 October-31-2021 04:43:58 PM -0 UTC

Commands

node index.js --week 13 --startBlock 9606313 --endBlock 9624313
node sum.js --week 13 --startBlock 9606313 --endBlock 9624313

Results

_totals.json
58KB
Code
_totals-split.csv
52KB
Text

Block period

9624313 October-31-2021 04:43:58 PM -0 UTC
9641593 November-01-2021 04:43:58 PM -0 UTC

Commands

node index.js --week 13 --startBlock 9624313 --endBlock 9641593
node sum.js --week 13 --startBlock 9624313 --endBlock 9641593

Results

_totals.json
57KB
Code
_totals-split.csv
51KB
Text

Block period

9641593 November-01-2021 04:43:58 PM -0 UTC
9658873 November-02-2021 04:44:00 PM -0 UTC

Commands

node index.js --week 13 --startBlock 9641593 --endBlock 9658873
node sum.js --week 13 --startBlock 9641593 --endBlock 9658873

Results

_totals.json
57KB
Code
_totals-split.csv
51KB
Text

Block period

9658873 November-02-2021 04:44:00 PM -0 UTC
9676152 November-03-2021 04:43:58 PM -0 UTC

Commands

node index.js --week 13 --startBlock 9658873 --endBlock 9676152
node sum.js --week 13 --startBlock 9658873 --endBlock 9676152

Results

_totals.json
56KB
Code
_totals-split.csv
50KB
Text

Block period

9676152 November-03-2021 04:43:58 PM -0 UTC
9693431 November-04-2021 04:43:58 PM -0 UTC

Commands

node index.js --week 13 --startBlock 9676152 --endBlock 9693431
node sum.js --week 13 --startBlock 9676152 --endBlock 9693431

Results

_totals.json
56KB
Code
_totals-split.csv
50KB
Text

2021-11-04

Corrections

xDai

The Symmetric dashboard presents Reward APR's.
For pools containing two or more tokens that are pegged to the same underlying asset, a penalty is applied according to the reward calculation documentation. The reward payout script correctly takes this into account but the dashboard was not applying this penalty to its APR prediction. This wasn't an issue until recently since no pools contained hard pegged tokens but a pool was recently created containing XDAI and USDC which are two tokens hard pegged to the dollar.
Since people use the APR prediction when choosing where to add liquidity we felt that some people would have made a decision to add liquidity to this pool expecting a higher reward payout. We therefore decided to calculate what the reward payout would have been if a penalty wasn't applied and then payout the difference so that no one would lose out for making a decision based on incorrect predictions.
We fixed the dashboard to ensure it shows correct APR predictions and this payout is to cover that correction.
The DAO proposal authorising this additional payment can be viewed at the following:
DAOhaus
DAOhaus
StablePoolCorrection.csv
2KB
Text

Celo

The reward script uses SYMM price data from CoinGecko when calculating APR's. For one week, Coingecko had an issue which meant it wasn't updating the price of SYMM. This meant that reward payments were half of what they should have been for that week on Celo.
While this was a bug in CoinGecko we decided we didn't want liquidity providers to be impacted and so we would make a corrective payout to all wallets that were impacted.
The DAO proposal authorising this additional payment can be viewed at the following:
DAOhaus
DAOhaus

Day 1

9087957 September-30-2021 04:43:59 PM +1 UTC
9105235 October-01-2021 04:44:00 PM +1 UTC

Commands

node index.js --week 9 --startBlock 9087957 --endBlock 9105235
node sum.js --week 9 --startBlock 9087957 --endBlock 9105235
_totals.json
66KB
Code
_totals-split2.csv
56KB
Text

Day 2

9105235 October-01-2021 04:44:00 PM +1 UTC
9122512 October-02-2021 04:44:01 PM +1 UTC

Commands

node index.js --week 9 --startBlock 9105235 --endBlock 9122512
node sum.js --week 9 --startBlock 9105235 --endBlock 9122512
_totals.json
67KB
Code
_totals-split.csv
57KB
Text

Day 3

9122512 October-02-2021 04:44:01 PM +1 UTC
9139792 October-03-2021 04:44:01 PM +1 UTC

Commands

node index.js --week 9 --startBlock 9122512 --endBlock 9139792
node sum.js --week 9 --startBlock 9122512 --endBlock 9139792
_totals.json
66KB
Code
_totals-split.csv
56KB
Text

Day 4

9139792 October-03-2021 04:44:01 PM +1 UTC
9157072 October-04-2021 04:44:01 PM +1 UTC

Commands

node index.js --week 9 --startBlock 9139792 --endBlock 9157072
node sum.js --week 9 --startBlock 9139792 --endBlock 9157072
_totals.json
65KB
Code
_totals-split.csv
56KB
Text

Day 5

9157072 October-04-2021 04:44:01 PM +1 UTC
9174351 October-05-2021 04:44:01 PM +1 UTC

Commands

node index.js --week 9 --startBlock 9157072 --endBlock 9174351
node sum.js --week 9 --startBlock 9157072 --endBlock 9174351
_totals.json
66KB
Code
_totals-split.csv
56KB
Text

Day 6

9174351 October-05-2021 04:44:01 PM +1 UTC
9191630 October-06-2021 04:43:58 PM +1 UTC

Commands

node index.js --week 9 --startBlock 9174351 --endBlock 9191630
node sum.js --week 9 --startBlock 9174351 --endBlock 9191630
_totals.json
67KB
Code
_totals-split.csv
57KB
Text

Day 7

9191630 October-06-2021 04:43:58 PM +1 UTC
9208910 October-07-2021 04:43:59 PM +1 UTC

Commands

node index.js --week 9 --startBlock 9191630 --endBlock 9208910
node sum.js --week 9 --startBlock 9191630 --endBlock 9208910
_totals.json
68KB
Code
_totals-split.csv
58KB
Text
Last modified 1mo ago