tellerbot icon indicating copy to clipboard operation
tellerbot copied to clipboard

Add referral links

Open r4rdsn opened this issue 6 years ago • 2 comments

User is considered invited if they had gone through the referral link of another user and used escrow during 90 days after that.

Referral links can be implemented using deep linking of Telegram bots, this way bot can get the code linked to the referrer seamlessly when referral presses "START" button in the referral link, which in this case is bot's link with the start parameter set to that code (e. g. t.me/tellerbot?start=XXXX).

There are three categories of referral service's users:

  1. User who invited others.
  2. Users who were invited by the first category's user (first level).
  3. Users who were invited by the second category's users (second level).

The number of invited users bring bonuses to the first category's user in the following way:

Category 1 5 10 50 100 500 1000 5000 10000 50000 100000 500000 1000000
1 1% 1% 2% 2% 5% 5% 10% 10% 20% 20% 40% 40% 40%
2 0% 1% 1% 2% 2% 4% 4% 8% 8% 16% 16% 30% 30%
3 0% 0% 0% 0% 1% 1% 2% 2% 4% 4% 8% 8% 20%

Header of this table describe levels - the number of invited users. Percents in cells describe bonuses - cashback ratio or discount from fee paid by the corresponding category's users for using escrow.

Code for the referral service should allow to change levels, each of the bonuses, the type of bonus (cashback or discount), cashback multiplier when giving away tokens (x2, x3 and so on).

To defend from cheating, escrow exchanges should be between different Telegram accounts and different blockchain addresses.

Only escrow exchanges with paid fee are taken into account in the referral system. If invited user didn't use escrow during 90 days after going through the referral link, they also aren't taken into account until they use it.

The statistics should look something like that:

Invited users: 10763
Invited users who used escrow during the last 90 days: 8302
Users invited by your referrals: 326789
Users invited by your referrals who used escrow during the last 90 days: 80012
Your overall status: 8302+(80012/100)=9102
You get a 10% cashback from your own fees
You get a 8% from fees of your referrals (first level)
You get a 2% from fees of referrals of your referrals (second level)

r4rdsn avatar Apr 29 '19 16:04 r4rdsn

Alternative bonuses table suggestion:

Category 1 10 25 50 100 120 150 200 300 400 500 1000 1500 3000
1 1% 5% 5% 10% 10% 10% 20% 20% 20% 30% 30% 30% 40% 40%
2 1% 1% 5% 5% 10% 10% 10% 20% 20% 20% 30% 30% 30% 40%
3 0% 0% 0% 0% 0% 1% 1% 1% 5% 5% 5% 10% 10% 10%

r4rdsn avatar Jul 14 '20 11:07 r4rdsn

Alternative bonuses table suggestion: Category 1 10 25 50 100 120 150 200 300 400 500 1000 1500 3000 1 1% 5% 5% 10% 10% 10% 20% 20% 20% 30% 30% 30% 40% 40% 2 1% 1% 5% 5% 10% 10% 10% 20% 20% 20% 30% 30% 30% 40% 3 0% 0% 0% 0% 0% 1% 1% 1% 5% 5% 5% 10% 10% 10%

Is alternative one better?

Kwaskoff avatar Apr 20 '21 11:04 Kwaskoff