-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add account slots and fees pages #12
base: main
Are you sure you want to change the base?
Add account slots and fees pages #12
Conversation
@@ -0,0 +1,13 @@ | |||
# 🫙 Account Slots | |||
|
|||
In order to fit the transaction requirements of the Solana blockchain, each `MangoAccount` need to have a maximum size. However, there are many more markets on Solana than a single `MangoAccount` could possibly fit. Mango solves this problem by providing "slots" for different user actions. This gives users the freedom to trade and borrow their preferred tokens, while still fulfilling the maximum size requirement. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"needs to have"
@@ -0,0 +1,15 @@ | |||
# 💰 Fees | |||
|
|||
Mango Markets charges fees on various markets and operations. All fees are voted on by the DAO and accrue to a DAO controlled wallet (FrkLPsCadx4tE4qDobbu2GTD5ffjWBpormHbLLy35PUS) which can be seen via governance: [https://dao.mango.markets/dao/MNGO/treasury/v2] (https://dao.mango.markets/dao/MNGO/treasury/v2). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This might make people think no fees are accruing - because fees are first kept in the program and only transfer into that wallet once withdrawn from the program, which only happens sometimes.
|
||
### Market Based Fees | ||
* **Openbook** - Maker/taker fees are -0.02%/0.04%. Since Mango is integrated with Openbook the DAO only receives a fraction of what Openbook collects via referrer fees | ||
* **Mango Swaps** - Swap fees are 0.1%, with a fee of 0.2% for stop-loss/take-profit orders |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this is right. Where do the numbers come from? I'd also prefer if we could have a fees overview page in the ui that displays the true values from on-chain - then we won't ever forget to update this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there should be no fees on swaps currently and the dao also hasn't set fees on stop loss yet
### Market Based Fees | ||
* **Openbook** - Maker/taker fees are -0.02%/0.04%. Since Mango is integrated with Openbook the DAO only receives a fraction of what Openbook collects via referrer fees | ||
* **Mango Swaps** - Swap fees are 0.1%, with a fee of 0.2% for stop-loss/take-profit orders | ||
* **Mango Perps** - Maker/taker fees are -0.03%/0.1%. Stop-loss orders have a fee of 0.2% |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there is no stop loss on perps
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the actually fees are 6bps taker / -3bps maker
No description provided.