SHAKOTN
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # MIM Protocol Research --- ## How does MIM and its ecosystem work, across the board? Abracadabra lending protocol offers CDPs. By depositing collateral, user can mint $MIM (which has utility across multiple other protocols) or use that $MIM to leverage their initial collateral position (like up to ~10X). Leveraged positions are automatically looped through BentoBox (Sushi's multicall deposit contract). ## What are the components of the system? - Capped risk (X $MIM available per 'cauldron'; isolated CDP market) - BentoBox (Sushi): loop borrow->sell->deposit->borrow in one tx to create leveraged position onchain. - DegenBox (proprietary): autocompounding strat (with mgmt fee and limited withdrawals) for interest-bearing collateral (ie LUSD autocompounds LQTY rewards back into LUSD). - Diverse 5/9 multisig signers ([docs](https://docs.abracadabra.money/tokens/tokenomics#the-mim-token)): abracadabra, yearn, cream, curve, arrakis, stakedao, bastion - Moved their [Medium](https://abracadabramoney.medium.com/) blog to [Mirror](https://mirror.xyz/0x5744b051845B62D6f5B6Db095cc428bCbBBAc6F9): > This account is under investigation or was found in violation of the Medium Rules. ## Notable integration throughout the ecosystem The success of MIM and its adoption was/is due to a lot of different integrations: - use popular tokens for collateral (UST, Yearn, Curve, Stargate, Spookyswap, etc.) - utility on popular protocols (Curve, Convex, Votium) - anyswap bridge to have MIM available on mainnet, bsc, fantom, avalanche, arbitrum and optimism. ## Fees For simple fees simulation refer to this Jupyter notebook: https://github.com/Badger-Finance/badger-influence-analytics/blob/master/notebooks/ebtc_research/mim_ebtc_research.ipynb There are several types of fees - Liquidation fee - This is the discount a liquidator gets when buying collateral flagged for liquidation - Borrow fee -This fee is added to debt every time MIM is borrowed. As an example, if you borrow 1000 MIMs your debt will be increased to 1000.5 MIMs but you will actually receive 1000 MIM. These 0.5 MIMs will be distributed to sSPELL holders - Interest fee - This is the annualized percent that your debt will increase each year. The interest fee is later distributed to sSPELL holders ### Leveraged fees - Fee is charged on leveraged MIM amount. - This means that if you borrow 100MIM with 5x leverage, X% fees will be charged on 500MIM amount - Fee percent remain unchanged ![](https://3232147659-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mc9U0yE30Tc9xb3mVGA-1703796690%2Fuploads%2FzY2FHZE6GJ2Rt6TW3C4a%2F1_0_GIF_2.gif?alt=media&token=8ad46982-c7f8-4e15-a360-707b0175e6c7) ### Some points and thoughts - **How does protocol make revenue?** One option is that revenue can be extracted from borrow fee: the more users borrow MIM, the more fees they are paying. Those fees are distributed to sSPELL holders. That would mean that Treasury™ should hold a large portion of sSPELL to receive borrow fees. **For example**, MIM team holds 30% of all SPELL tokens, which can possible lead to 30% protocol fees capture(if SPELL is staked to sSPELL): ![](https://3232147659-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mc9U0yE30Tc9xb3mVGA%2F-MlVGO-O-0eCUTb-XK1Y%2F-MlVLeXA6fo0aFM-qo5T%2FScreenshot%202021-10-08%20at%2015.41.53.png?alt=media&token=58577811-2734-45d2-8bed-187fcf72da2c) Alternative staking method introduced in [AIP8](https://forum.abracadabra.money/t/aip-8-an-update-on-abracadabra-fee-distribution-introducing-mspell-staking-pools/3218) is mSPELL, which distributes the fees directly in MIM (so without autocompounding into SPELL again). - **Why does borrow fee exist?** The more you borrow, the more fees you pay. Assuming this is done to keep protocol more stable, disincentivizing clients to open more and more positions? ## FEESability abracabadra did in last 15 months: - roughly $100m in fees - 45% initial borrowing fee - 22% interest - liquidations only 2.6% - 88% from mainnet (avalanche second chain; 7%) - 26% by ust cauldron - almost all earned during hype season (sept21-feb22), barely any fees after ust meltdown so: borrow fee > interest > liquidations and very hype driven problem with borrow fees is that it is charged by the protocol, no way to monetise for badger dao. this would imply that protocol and leverage product need to be one and the same, which doesnt fit findings so far (in regards to immutability, autonomy etc.) coming back to original assumption of $10m tvl in year 1 (see [llama cdp leaderboard](https://defillama.com/protocols/CDP)), even with everyone leveraging at 5x, borrow fees collected will be $50m * .5% = $250k. *all stats come from official powerbi dashboard: https://app.powerbi.com/view?r=eyJrIjoiZjFlZmJkNjAtN2Q5Mi00NTVhLWExYTQtNDJhNGU1NjA2OTAwIiwidCI6IjYyZTU1MTgwLTQzNmQtNDYyZC1hMWIwLTZkMTg2NjRlZDAxNSJ9

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully