Skip to content
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

Octan Finance - renovate AMM with high capital efficiency & tailor market making #109

Open
grantshares-dapp bot opened this issue Dec 28, 2023 · 3 comments
Labels
request-for-funding GrantShares: Request for Funding

Comments

@grantshares-dapp
Copy link

grantshares-dapp bot commented Dec 28, 2023

Abstract

Octan innovates a novel AMM model with customizable capital efficiency & tailored market making, while keeping simple UX, fungibility & reusability of LP tokens of Uniswap v2. This is done by our invention of a novel price discovery mechanism, namely, Elastic Parameterized Limit Order Book (PLOB), inspired by LOB in traditional finance.

Proposal Information

Description

Fundamental problems

  • Constant Product Market Making (CPMM) model of Uniswap v2 is simple but low Capital Efficiency (CE)
  • Concentrated Liquidity Market Making (CLMM) of Uniswap v3, Maverick, TraderJoe have high CE but complicated UX for LPs, non-fungible LP tokens. It requires manually adjusting bins & unbalanced inventory.

Solution (a novel AMM - Elastic PLOB): transform MM to asset allocation

We invent a novel price discovery mechanism, namely, Elastic PLOB to tailor CE & market making, while keeping simple UX, fungibility & reusability of LP tokens of Uniswap v2. PLOB stands for Parameterized Limit Order-Book, which inspires Octan model.

Octan proposes a novel AMM model, where LPs allocate their liquidity into the pool according to a bonding curve that mimics the general shape of a traditional limit orderbook (LOB). We introduce a novel concept, Elastic Factor, to allow the liquidity concentration of the AMM to be automatically adjusted according to the relative trading size. This elasticity ensures unbounded liquidity, thus the pool never runs out of liquidity regardless of the trading size. Our general Elastic model covers the special case of the constant-product market making model x*y=K. More importantly, it opens a new door to create arbitrary AMM with customized local orderbook shape around the market price as well as tailored liquidity concentration.

The major contribution of this model is that, when the AMM is locally V-shaped, both impermanent loss (IL) and loss-versus-rebalancing (LVR) in this model asymptotically vanish when the trading frequency is high or, equivalently when the pool size is large. Therefore, the pool size will behave exactly like a rebalancing portfolio in the geometric Brownian motion model.

Some other novelties of the model are as follows.

  • Possesses desired statistical properties of the traditional LOB model, for instance locally V-shaped (or square root price impact) and price reversals.
  • Offers much higher concentrated liquidity than Uniswap V2. To be more precise, its capital efficiency is about 400 times higher than that of the Uniswap V2 model at typical 2% around the mid price.
  • Opens a new door for flexible market making (MM) strategies for LPs, thus transforming the MM problem to a multi-funds asset allocation problem.

Note: loss-versus-rebalancing (LVR) is an important problem among among Nakamoto challenges proposed by A16Z. Octan Elastic model is a response to the problem.

Flamingo Finance is the leading decentralized exchange on NEO. Flamingo strictly follows the well-established AMM models (invented by Uniswap, Curve), which is lack of flexibility and customization, hence possibly not really suitable for the blockchain ecosystems with low liquidity. Octan Finance fills up that gap for NEO ecosystem.

Octan Finance: market proposition & USP comparison

Spot AMM competition between Octan vs othersVisit https://drive.google.com/file/d/1cd4zz8GgHnPaE8a3RgBBh5EenbiWOHQ3/view?usp=sharing

Motivation

  • NEO is one among pioneer layer-1 smartcontract platform in Blockchain space with solid foundation and innovation. Unfortunately, NEO blockchain did not perform well in the last bull-cycle (2020-2022). Nevertheless, we strongly believe that NEO can be great again. Octan Finance wants to bring innovations and unique benefits to developers and users on NEO via our AMM renovation: simple swap, high capital efficiency and liquidity, easy & tailored market making.
  • Liquidity is extremely critical for any Web3 ecosystems to bootstrap the entire ecosystem growth and diversity. Although several decentralized exchanges (e.g. Flamingo) have operated on NEO but TVL and liquidity onchain are still very low. Possibly, this is because AMM-DEXes with low TVL (low capital efficiency) implies bad trading experience for users. Octan invents a novel AMM model with high capital efficiency and tailored market making to boost liquidity on the entire NEO ecosystem.
  • Octan's AMM-DEX innovation provides a critical building block to boost liquidity on NEO. Once liquidity on the entire NEO ecosystem grows, more developers and users worldwide will be attracted.

Goals

Octan Finance targets to implement a prototype of spot AMM protocol on NEO-EVM testnet, based on Elastic PLOB model. Ultimately, Octan aims to release full production on NEO mainnet and then becomes Top2 DEX (both spot & perp AMM) on NEO Ecosystem.
Octan AMM fits the demands of many customers, and makes them beneficial:

  • Token creators (project developers) on NEO, who issue tokens and want to create liquid pools for their issued tokens.
  • Market makers on NEO, who want to create trading pairs according to market demands, or want to participate in existing liquid pools.
  • Token holders who want to buy or sell their assets on NEO.
  • Traders or arbitrageurs on NEO who want to make benefits from trading.

Deliverables & Roadmap

Specify deliverables in detail, including the following info for each:

  • Total Estimated Duration: 90 days
  • Full-Time Equivalent (FTE): 6
  • Total Budget: $30,000 USD ~ 2,142 NEO at price $14 USD/NEO

There are three milestones corresponding with 30-day deliverables.

  1. First 30-day milestones ($10,000 USD ~ 714 NEO at price $14 USD/NEO):
    1. Deliverable 1: complete formal mathematics verifications and research paper on spot AMM (Elastic Parameterized Limit Order Book - PLOB).
    2. Deliverable 2: complete formal mathematics verifications and research paper on perpetual AMM based on virtual liquidity pool.
    3. Deliverable 3: complete simulations and model back-tests.
  2. Second 30-day milestone ($10,000 USD ~ 714 NEO at price $14 USD/NEO):
    1. Deliverable 1: complete spot AMM protocol design
    2. Deliverable 2: complete UX/UI designs
    3. Deliverable 3: complete 20% of functional implementation on NEO-EVM testnet
  3. Final 30-day milestone ($10,000 USD ~ 714 NEO at price $14 USD/NEO):
    1. Deliverable 1: complete a prototype (AMM contracts based on Elastic PLOB) on NEO-EVM testnet, allowing 2 major functions: creating pool and atomic swap.
    2. Deliverable 2: complete a UI for the AMM prototype, allowing users to
      1. Create a liquidity pool
      2. Atomic swap between a pair of two tokens.

Deliverables Verifiability

Community can verify Octan promised deliverables via our published materials.

  1. First 30-day milestones
    1. Deliverable 1: complete formal mathematics verifications and research paper on spot AMM (Elastic Parameterized Limit Order Book - PLOB). => published research paper for community verification.
    2. Deliverable 2: complete formal mathematics verifications and research paper on perpetual AMM based on virtual liquidity pool. => published research paper for community verification.
    3. Deliverable 3: complete simulations and model back-tests. => published results for community verification.
  2. Second 30-day milestone
    1. Deliverable 1: complete spot AMM protocol design => published research paper for community verification.
    2. Deliverable 2: complete UX/UI designs => published research paper for community verification.
    3. Deliverable 3: complete 20% of functional implementation on NEO-EVM testnet
  3. Final 30-day milestone
    1. Deliverable 1: complete a prototype (AMM contracts based on Elastic PLOB) on NEO-EVM testnet, allowing 2 major functions: creating pool and atomic swap.
    2. Deliverable 2: complete a UI for the AMM prototype, allowing users to
      1. Create a liquidity pool => published research paper for community use & verification.
      2. Atomic swap between a pair of two tokens. => published research paper for community use & verification.

Budget Plan

The requested budget ($30k) is used for RnD, designs and AMM implementation (18 man months in equivalence) and frontend hosting:

  • RnD ($7k for 3 man-months): formal mathematics verification, simulation and back-testing
    • Elastic PLOB model for spot AMM
    • Virtual liquidity pool for perpetual AMM
    • Simulation and back-testing models
  • Designs ($4k for 2 man-months): protocol architecture 1 man-month, UX/UI 1 man-month
  • AMM implementation ($18k for 13 man-months):
    • Smartcontracts 10 man-months
    • Frontend 3 man-months
  • Server hosting ($1k) frontend

About You / Your Organization

  • Individual/Entity Name: Octan Finance
  • Website: NA
  • GitHub Organization (if applicable): https://github.com/Octan-Labs/New-AMM

Short-Bio

The core team of Octan Finance has 5 full-time people, based in Vietnam. We are all OG in crypto space with 5 years of rich experiences in developing blockchain infra and applications.

Core team members (6):

  1. Paven Do, https://www.linkedin.com/in/paven-do/, co-founder & development lead: 5-year blockchain scientist and entrepreneur; Head of FPT Blockchain Labs; co-founder & ex-CTO of Spores Network; PhD at Hong Kong University of Science and Technology.
  2. Tuan Tran, https://www.linkedin.com/in/tuan-tran-698b322b/, co-founder & research lead: 10+ YoE, quant researcher and data scientist (Paris, Toronto), senior DeFi researcher; Former chief economist of MELD LAB Singapore; PhD from Paris-Dauphine PSL University.
  3. Quang Tran, https://www.linkedin.com/in/quangtran88/, MSc: senior smartcontract developer
  4. Phi Truong, https://www.linkedin.com/in/trmaphi/: senior blockchain developer
  5. Manh Tran, junior blockchain developer https://github.com/noobmdev
  6. Long Nguyen, MBA, https://www.linkedin.com/in/maxrogue3107/: senior blockchain business growth, cofounder MG trading

Portfolio of Projects / Past Experience

Our developed and released Web3 products:


Proposal Info 📋

  • Proposal Type: request-for-funding

  • Amount Requested: 2142

  • Token: 0xef4073a0f2b305a38ec4050e4d3d28bc40ea63f5 (NEO)

  • Receiver Address: NVrL5Drg31rjy2EwoTXEShAV8sCxcyyPFR (0xd0c0e7e5604379f43b03175bcabbe5eda507016d)

  • Created by: @paven86 🚀

  • Raw Intents: 👀

[ {
  "target_contract" : "0x6276c1e3a68280bc6c9c00df755fb691be1162ef",
  "method" : "releaseTokens",
  "params" : [ {
    "type" : "Hash160",
    "value" : "ef4073a0f2b305a38ec4050e4d3d28bc40ea63f5"
  }, {
    "type" : "Hash160",
    "value" : "d0c0e7e5604379f43b03175bcabbe5eda507016d"
  }, {
    "type" : "Integer",
    "value" : "2142"
  } ],
  "call_flags" : 15
} ]

👇 React with 👍 if you liked it, or 👎 if you think this proposal can be enhanced!

@grantshares-dapp grantshares-dapp bot added the request-for-funding GrantShares: Request for Funding label Dec 28, 2023
@grantshares-dapp
Copy link
Author

🚨 This proposal was edited by the proposer.

2 similar comments
@grantshares-dapp
Copy link
Author

🚨 This proposal was edited by the proposer.

@grantshares-dapp
Copy link
Author

🚨 This proposal was edited by the proposer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request-for-funding GrantShares: Request for Funding
Projects
None yet
Development

No branches or pull requests

0 participants