Skip to content

Instantly share code, notes, and snippets.

@tlrjs
Last active February 11, 2022 22:56
Show Gist options
  • Save tlrjs/9cd1dbddfb14e1f414bda1dbc4202149 to your computer and use it in GitHub Desktop.
Save tlrjs/9cd1dbddfb14e1f414bda1dbc4202149 to your computer and use it in GitHub Desktop.
Referral links design
Referral links design
First we lower the taker fee by 1bp and reduce maker rebate by 1bp on all markets to -3 bps maker and 4 bps taker.
Referrers receive 0.8bps of the taker fee if they have >10,000 MNGO in their mango account.
A user who creates an account from a ref link get 0.2 bps reduced fees.
If a user (referred or not) has 10k MNGO in their mango account, they will get a taker fee reduction of 1bp.
If the user doesn't have 10k MNGO and he doesn't have a referrer, he pays an additional 1bp taker fee so it's back at 5bps.
@klossie
Copy link

klossie commented Feb 11, 2022

(#'s are in bps)

Max refers Klossie, who takes from Daffy:
Klossie pays 4.8, Daffy gets 3, Max gets 0.8, DAO gets 1

Klossie now has 10k MNGO, takes again from Daffy:
Klossie pays 4, Daffy gets 3, DAO gets 1

Crusher has no MNGO, not referred, takes from Daffy:
Crusher pays 5, Daffy gets 3, DAO gets 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment