HackMD
  • Prime
    Prime  Full-text search on all paid plans
    Search anywhere and reach everything in a Workspace with Prime plan.
    Got it
      • Create new note
      • Create a note from template
    • Prime  Full-text search on all paid plans
      Prime  Full-text search on all paid plans
      Search anywhere and reach everything in a Workspace with Prime plan.
      Got it
      • Options
      • Versions and GitHub Sync
      • Transfer ownership
      • Delete this note
      • Template
      • Save as template
      • Insert from template
      • Export
      • Dropbox
      • Google Drive
      • Gist
      • Import
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
      • Download
      • Markdown
      • HTML
      • Raw HTML
      • Sharing Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Note Permission
      • Read
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Write
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • More (Comment, Invitee)
      • Publishing
        Everyone on the web can find and read all notes of this public team.
        After the note is published, everyone on the web can find and read this note.
        See all published notes on profile page.
      • Commenting Enable
        Disabled Forbidden Owners Signed-in users Everyone
      • Permission
        • Forbidden
        • Owners
        • Signed-in users
        • Everyone
      • Invitee
      • No invitee
    Menu Sharing Create Help
    Create Create new note Create a note from template
    Menu
    Options
    Versions and GitHub Sync Transfer ownership Delete this note
    Export
    Dropbox Google Drive Gist
    Import
    Dropbox Google Drive Gist Clipboard
    Download
    Markdown HTML Raw HTML
    Back
    Sharing
    Sharing Link copied
    /edit
    View mode
    • Edit mode
    • View mode
    • Book mode
    • Slide mode
    Edit mode View mode Book mode Slide mode
    Note Permission
    Read
    Owners
    • Owners
    • Signed-in users
    • Everyone
    Owners Signed-in users Everyone
    Write
    Owners
    • Owners
    • Signed-in users
    • Everyone
    Owners Signed-in users Everyone
    More (Comment, Invitee)
    Publishing
    Everyone on the web can find and read all notes of this public team.
    After the note is published, everyone on the web can find and read this note.
    See all published notes on profile page.
    More (Comment, Invitee)
    Commenting Enable
    Disabled Forbidden Owners Signed-in users Everyone
    Permission
    Owners
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Invitee
    No invitee
       owned this note    owned this note      
    Published Linked with GitHub
    Like1 BookmarkBookmarked
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    # Gusoku: Options-based IL protection ## Goal Deliver impermanent loss protection to Eth/Stablecoin liquidity providers of AMMs in an automated and transparent fashion using options. [This video](https://www.youtube.com/watch?v=GSIlF5q4eUk&t=4s) captures the idea we want to automate in a smart contract. ### Options Warchest Contract 1. User deposits * Routing % into Eth/Stable pool vs. what % to keep in warchest. * Pause additional deposits if coverage percent drops below 100% and/or we can't source more options to buy. 3. Purchase options * Aggregate option purchases -- how much coverage do we need per deposit amount. * Cap price willing to pay. 4. Exercise options * When close to expiry and profitable. 6. User withdrawal * Track each user's entry price in pool to determine payout (if IL suffered) on withdrawal. 7. Tax profits of eth/stable pool * As options expire out-of-the-money the warchest will deplete. Need on-going ability to tax profits in Eth/Stable pool to purchase new options. #3,4,7 will need to be triggered either via Keep3r or incentivized users. ### Options Protocols * [Opyn V1 (Convexity Protocol)](https://opyn.gitbook.io/opyn/) * [Opyn V2 (Gamma Protocol)](https://opyn.gitbook.io/opyn-v2/) * [Hegic](https://hegic.gitbook.io/start) * [ACO by Auctus](https://docs.aco.finance/) * [Primitive (still in open beta)](https://docs.primitive.finance/) * [Optino (still a WIP)](https://github.com/ogDAO/Optino) ### Compensation 3 month timeline. Estimate 2 months of full-time effort * $150k/year = $25k per developer. To better align incentives we propose taking 1/2 in grants and join in the upside. * Grant: $25k USD (1/2 at start, 1/2 on delivery for audit) * Fee Split: a % of protected pool profits to be split 50/50 between devs and Sushi Community. **Benefits to devs**: SushiSwap will give us exposure to a large liquidity pool at launch, cover audits, 50% of fees, and grants. **Benefits to Sushi Community**: We are unaware of another project that does this so exclusive for SushiSwap LPs and potentially bring in more liquidity. 50% of fees. #### Spitballing $150 million locked in SushiSwap Stable pools. If we convert 5% => $7.5 million deposited into warchest => need source cover for $3.75 million ETH. According to https://pools.vision/ over 7 days people are averaging ~1% return in those sushi pools => $75k/week profit. Options were costing ~25% => ~$55k/week in profit. We suggest an additional 5% fee ($2,750 in this example) on pool profits to be split between us/Sushi each week. #### Developers MultiSig Wallet Address to receive Grant and Fees [0xCBCb4B066E9a5CCB66B290D9F2E3E894Da785Bd5](https://etherscan.io/address/0xCBCb4B066E9a5CCB66B290D9F2E3E894Da785Bd5) ### Milestones 1. Abstract and aggregate options from [multiple protocols](#Options-Protocols) (2 weeks) 2. [Options warchest MVP](#Options-Warchest-Contract ) (1 month) 3. [Options warchest v1](#Options-Warchest-Contract ) (1 month) 4. Implement Keep3r or incentivize users to trigger options buying/exercising/pool taxing (2 weeks) ### Developers Introductions #### Kami Ebisu Hello, everyone from the SushiSwap community! I'm Kami Ebisu, and I've decided to remain anonymous because I believe privacy is a fundamental right everyone should exercise, especially on times when large corporations try to control and sell every bit of personal data that they can. And also because I think people should not be valued based on their looks, gender, or hobbies, but on the quality of work they can produce. I have experience with data science, full-stack web development, and smart-contracts. I'm attracted to the world of blockchains, decentralized storage, and P2P in general because I envision building and living in a utopia where people are free from the shackles and prying eyes of governments and large corporations. Where we can create, build, make our ideas come alive without interruptions or worries about censorship. By building Gusoku, I expect to contribute to the further development of the SushiSwap ecosystem, one who has the potential to keep innovating on giving users control over their money and investments, exploring areas and opportunities others are too afraid or hesitant to explore. ##### Kami Ebisu's Socials * [Twitter: @EbisuKami](https://twitter.com/EbisuKami) * [GitHub: kamiebisu](https://github.com/kamiebisu) #### Shunmyo Hello SushiSwap community! I'm a software engineer (10+ years experience) who has been dabbling in cryptocurrency since 2014 and hacked at a number of Eth Global events (3 prizes awarded). I'm drawn to what an open, decentralized financial system can mean for the world and defi has really become my passion over the last year. I'm an LP in a few different protocols and Gusoku would directly scratch an itch I have. ##### Shunmyo's Socials * [Github: Shunmyo](https://github.com/Shunmyo) * Discord: Shunmyo#6588

    Import from clipboard

    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 lost their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template is not available.


    Upgrade

    All
    • All
    • Team
    No template found.

    Create custom template


    Upgrade

    Delete template

    Do you really want to delete this template?

    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 via Google

    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

    Tutorials

    Book Mode Tutorial

    Slide Mode Tutorial

    YAML Metadata

    Contacts

    Facebook

    Twitter

    Feedback

    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

    Versions and GitHub Sync

    Sign in to link this note to GitHub Learn more
    This note is not linked with GitHub Learn more
     
    Add badge Pull Push GitHub Link Settings
    Upgrade now

    Version named by    

    More Less
    • Edit
    • Delete

    Note content is identical to the latest version.
    Compare with
      Choose a version
      No search result
      Version not found

    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. Learn more

         Sign in to GitHub

        HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.

        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
        Available push count

        Upgrade

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Upgrade

        Danger Zone

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

        Syncing

        Push failed

        Push successfully