Skip to content

Instantly share code, notes, and snippets.

@tlrjs
tlrjs / gist:1972de837d512791acede9ca3e22a4b4
Created February 11, 2022 19:13
Change base AVAX-PERP fees
Change base AVAX-PERP fees to -3 bps maker and 4 bps taker. This is to accomodate the new referral links feature.
@tlrjs
tlrjs / gist:04da6561eb8b8d55e9261efd504b1d4b
Created February 11, 2022 19:16
Change base LUNA-PERP fees
Change base LUNA-PERP fees to -3 bps maker and 4 bps taker. This is to accomodate the new referral links feature.
@tlrjs
tlrjs / gist:9cd1dbddfb14e1f414bda1dbc4202149
Last active February 11, 2022 22:56
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.
@tlrjs
tlrjs / settings.json
Created November 17, 2023 15:32 — forked from leerob/settings.json
VSCode settings (2023)
{
// NORMAL SETTINGS
// ===============
"editor.quickSuggestions": {
"comments": "on",
"strings": "on",
"other": "on"
},
"editor.suggestOnTriggerCharacters": true,
"editor.wordBasedSuggestions": true,