Free TON

DePools Validators Contest [19.08.20 - 20.09.20]

DePools Validators Contest [EDITION 4]

Short Description

Winners of Validators Contest will be provided with Stakes which will be locked into DePools on a main net. Current Contest is to enable testing, building tools and debug of the DePool infrastructure before the Main Net prizes distribution.

Motivation

To provide a test bed for DePool smart contracts

To provide an opportunity for Validators to build and debug DePool infrastructure

Rules:

Validators will need to:

  • Create a validator wallet using Formally verified Multisig contract with at least three signatures
  • Communicate an address of that multisig to Contest Team
  • Set up and sync a Validator Node with Free TON DevNet (net.ton.dev)
  • Whenever some Ruby tokens are credited to the Validator Wallet account, to deploy a code of the Wallet as well as a code of DePool Smart Contract (the github repository will be published at the Contest start date) using either provided or self developed script with a necessary configuration.
  • Communicate the DePool Address to the Contest Team
  • A Stake will be deposited to this address provided all the configuration and setup is correct
  • This stake will be Locked in this DePool
  • Start to Validate with this Stake

Overall winners having the most Ruby in the DePool by the end of the Contest counted as Original Locked amount + Locked Amount Rewards - Slashed Amount will receive Prizes on the main network as described below.

Special Prizes will be provided for Hacking the DePool contract:

  1. Demonstrating that a Locked amount was made unavailable to the Validator by means of breaking the smart contract code (stealing, locking, transferring the locked amount in full or in part and such)
  2. The hack must be verifiable with a code submitted to Contest Team privately and successfully executed on a DevNet from an address belonging to the submitter

Note: no social engineering, DDOS or other “no code” hacks will be accepted

Slashing Conditions:

The maximum slashing fine of the validator for a validation cycle:
max_fine = S / N, where
S - locked stake,
N - number of validation cycles in the DePool game.
The maximum slashing fine may be adjusted if necessary.

An actual fine of the validator for a validation cycle:
fine = max_fine * (slashing_score - slashing_threshold) / (1 - slashing_threshold),
where slashing_score is an aggregate of the slashing metrics for relevant blocks in a validation cycle,
slashing_threshold is a threshold [0;1] which will be used to indicate lower limit for slashing_score after which validators will be slashed.
There is no fine if slashing_score is less than slashing_threshold.

There are 3 slashing metrics:

  • approval_participation = approvals_count / rounds_count (in range [0;1])
  • signs_participation = signs_count / rounds_count (in range [0;1])
  • collation_participation = collations_count / collation_rounds_count (in range [0;1])
    where
    • rounds_count - the total number of rounds the validator took part in;
    • collation_rounds_count - the number of rounds in which the validator should have callated the block;
    • approvals_count - the number of rounds in which the block was approved by the validator
    • signs_count - the number of rounds in which the block was signed by the validator

slashing_score = 1 - SUM(approval_participation * A + signs_participation * B + collation_participation * C), where
A, B and C are weights of each metric.
It is currently proposed that weights are the following:
А = 2/10
B = 3/10
C = 5/10

Proposed prizes:

For Hacking DePool:

50,000 TONs for each verifiable independent hack (total unlimited)

For overall winners having the most Ruby in the DePool by the end of the Contest counted as Original Locked amount + Locked Amount Rewards - Slashed Amount:

Total Validator’s Prize pool = T 3,013,402

Places from 1 to 200 will be rewarded as following:

Prize in TONs Place
T 111,518.80 P 1
T 107,281.20 P 2
T 103,204.61 P 3
T 99,282.94 P 4
T 95,510.28 P 5
T 91,880.98 P 6
T 88,389.59 P 7
T 85,030.87 P 8
T 81,799.78 P 9
T 78,691.47 P 10
T 34,297.23 P 11
T 33,663.58 P 12
T 33,041.64 P 13
T 32,431.20 P 14
T 31,832.03 P 15
T 31,243.93 P 16
T 30,666.69 P 17
T 30,100.12 P 18
T 29,544.02 P 19
T 28,998.19 P 20
T 28,462.45 P 21
T 27,936.60 P 22
T 27,420.47 P 23
T 26,913.87 P 24
T 26,416.64 P 25
T 25,928.59 P 26
T 25,449.55 P 27
T 24,979.37 P 28
T 24,517.87 P 29
T 24,064.90 P 30
T 23,620.30 P 31
T 23,183.91 P 32
T 22,755.59 P 33
T 22,335.18 P 34
T 21,922.53 P 35
T 21,517.51 P 36
T 21,119.97 P 37
T 20,729.78 P 38
T 20,346.80 P 39
T 19,970.89 P 40
T 19,601.92 P 41
T 19,239.78 P 42
T 18,884.32 P 43
T 18,535.43 P 44
T 18,192.99 P 45
T 17,856.87 P 46
T 17,526.96 P 47
T 17,203.15 P 48
T 16,885.32 P 49
T 16,573.36 P 50
T 10,397.85 P 51
T 10,359.15 P 52
T 10,320.58 P 53
T 10,282.16 P 54
T 10,243.89 P 55
T 10,205.75 P 56
T 10,167.76 P 57
T 10,129.91 P 58
T 10,092.20 P 59
T 10,054.63 P 60
T 10,017.20 P 61
T 9,979.91 P 62
T 9,942.76 P 63
T 9,905.74 P 64
T 9,868.87 P 65
T 9,832.13 P 66
T 9,795.53 P 67
T 9,759.06 P 68
T 9,722.73 P 69
T 9,686.54 P 70
T 9,650.48 P 71
T 9,614.56 P 72
T 9,578.76 P 73
T 9,543.11 P 74
T 9,507.58 P 75
T 9,472.19 P 76
T 9,436.93 P 77
T 9,401.80 P 78
T 9,366.80 P 79
T 9,331.93 P 80
T 9,297.19 P 81
T 9,262.58 P 82
T 9,228.10 P 83
T 9,193.74 P 84
T 9,159.52 P 85
T 9,125.42 P 86
T 9,091.45 P 87
T 9,057.61 P 88
T 9,023.89 P 89
T 8,990.30 P 90
T 8,956.83 P 91
T 8,923.49 P 92
T 8,890.27 P 93
T 8,857.17 P 94
T 8,824.20 P 95
T 8,791.35 P 96
T 8,758.62 P 97
T 8,726.02 P 98
T 8,693.53 P 99
T 8,661.17 P 100
T 8,628.93 P 101
T 8,596.81 P 102
T 8,564.80 P 103
T 8,532.92 P 104
T 8,501.16 P 105
T 8,469.51 P 106
T 8,437.98 P 107
T 8,406.57 P 108
T 8,375.27 P 109
T 8,344.10 P 110
T 8,313.03 P 111
T 8,282.09 P 112
T 8,251.26 P 113
T 8,220.54 P 114
T 8,189.94 P 115
T 8,159.45 P 116
T 8,129.08 P 117
T 8,098.81 P 118
T 8,068.66 P 119
T 8,038.63 P 120
T 8,008.70 P 121
T 7,978.89 P 122
T 7,949.19 P 123
T 7,919.60 P 124
T 7,890.11 P 125
T 7,860.74 P 126
T 7,831.48 P 127
T 7,802.33 P 128
T 7,773.28 P 129
T 7,744.34 P 130
T 7,715.51 P 131
T 7,686.79 P 132
T 7,658.18 P 133
T 7,629.67 P 134
T 7,601.27 P 135
T 7,572.97 P 136
T 7,544.78 P 137
T 7,516.69 P 138
T 7,488.71 P 139
T 7,460.83 P 140
T 7,433.06 P 141
T 7,405.39 P 142
T 7,377.82 P 143
T 7,350.35 P 144
T 7,322.99 P 145
T 7,295.73 P 146
T 7,268.57 P 147
T 7,241.51 P 148
T 7,214.56 P 149
T 7,187.70 P 150
T 4,931.70 P 151
T 4,913.34 P 152
T 4,895.05 P 153
T 4,876.83 P 154
T 4,858.67 P 155
T 4,840.59 P 156
T 4,822.57 P 157
T 4,804.61 P 158
T 4,786.73 P 159
T 4,768.91 P 160
T 4,751.16 P 161
T 4,733.47 P 162
T 4,715.85 P 163
T 4,698.29 P 164
T 4,680.80 P 165
T 4,663.38 P 166
T 4,646.02 P 167
T 4,628.72 P 168
T 4,611.49 P 169
T 4,594.32 P 170
T 4,577.22 P 171
T 4,560.18 P 172
T 4,543.21 P 173
T 4,526.29 P 174
T 4,509.44 P 175
T 4,492.66 P 176
T 4,475.93 P 177
T 4,459.27 P 178
T 4,442.67 P 179
T 4,426.13 P 180
T 4,409.65 P 181
T 4,393.24 P 182
T 4,376.88 P 183
T 4,360.59 P 184
T 4,344.36 P 185
T 4,328.19 P 186
T 4,312.07 P 187
T 4,296.02 P 188
T 4,280.03 P 189
T 4,264.10 P 190
T 4,248.22 P 191
T 4,232.41 P 192
T 4,216.65 P 193
T 4,200.95 P 194
T 4,185.32 P 195
T 4,169.74 P 196
T 4,154.21 P 197
T 4,138.75 P 198
T 4,123.34 P 199
T 4,107.99 P 200

Contest Dates:

The dates of the contest are shown in the table
image

Winner selection:

Open to everyone

Disclaimer:

Anyone can participate, but Free TON cannot distribute Tons to US citizens or US entities.

15 Likes

Few questions. 1) How long is a cycle? 2) Do the winners collect the total credits in the end in the form of Tons in addition to the direct prizes, or are those credits just Rubies for the sake of keeping score?

1 Like

The current cycle in devnet. What total credits? The prizes are in TONs of course :slight_smile:

1 Like

A very important competition! A lot of people are waiting for DePools.
Очень важный конкурс! Много людей ждут DePools.

I know the prizes are in Tons, but the cyclical credits (in Rubies I assume) – in the end do they just disappear or do the amounts of those credits convert into Tons and get paid out along with static prizes? Just wondering is all.

Who comprises the contest team?

who will monitor these params? how these metrics collection are implemented?

what is the exact definition of “threshold” value?
is this value unique for each validator?
will it be defined for each parameter separately (yes, I suppose)?

Will the round history during the contest be applied to define thresholds or these tresholds are calculated per each round based on the metrics of this specific round?

what is the definition of “weight”? (is it a classic “mean squared error” or I got smth wrong?)

I cant understand the “maths” of this process and how the decision to slash some validator will be made.

Please, illustrate this mechanism with “real” values of metrics and how an array of “differences from threshold” (which are different from metric to metric) is “normalized” among metrics to become a “weight”

1 Like

Can members join groups to create the ultimate DePool?

Hello. That’s right, you need training to use DePool. The main thing is to have detailed instructions.

nice contest!

p.s. https://github.com/anvme/TONTgConfirmBot useful bot for multisig transactions :slight_smile:

2 Likes

I would suggest it should giving at least giving some rewards to all participants.

Thats exactly what it does but of course you must perform a DePool validation duties.

1 Like

Very good contest! I think there will be a many participants!

1 Like

Will share the implementation details before the Contest start

Given the current cycle is 65536 seconds (18,2 hours) there will be 36 full validation rounds, correct?

the reasonable cycle reward may be around 1000 TONs

but fixed reward is bad idea, because we don’t want give 1000 tokens for those who enabled his machine for 1-2 days.
I think there should be progressive scale to convert cycle credits to TONs

So there will be an incentive to bring efforts for the whole contest distance even for participants who find himself out as not eligible for other rewards you mentioned

1 Like

Since we will give the reward at the end validators who will enable their machines for 1-2 days will be slashed at the end by more than what they have won in those 1-2 days

1 Like

makes sense.
so what about slashing implementation?
will it be decentralized (is it possible?)

May be test depool association at the same time?