Giter VIP home page Giter VIP logo

rewards_rervice's People

Watchers

Igor Barinov avatar  avatar

rewards_rervice's Issues

[EPIC] Referral Program

What to do?

We need to implement the mechanic for the zkBob referral program

The mechanic of the referral program:
We will split between referral and referee difference that the relayer actually spends for a transfer inside the pool with a fixed relayer fee (0.1 BOB)

Main mechanic and user flow you can find here - https://www.notion.so/blockscout/Referral-program-7af5b0c4d84e42608204041bad85162d

@r0wdy1 Could you please decompose this task before planning?

UPD 19.01:
Decomposition could be found here ๐Ÿ‘‡
https://www.notion.so/blockscout/Referral-program-7af5b0c4d84e42608204041bad85162d#530fd3c7fa9b4eb7b36e69b5dce6a05f

The flow:

  1. The Referrer generates a link with a ref_code query parameter and shares it with Referee(s).
  2. The Referee gets a link somewhere and gets through onboarding process. Ref_code is automatically saved when account setup happens
  3. The Referee makes a transfer, the ref code is appended to the transaction memo
  4. At the end of reporting period, all of the transactions are grouped by ref_code and rewards are calculated and automatically sent to the Refferer ZK address

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.