Code Monkey home page Code Monkey logo

Comments (3)

Morteza3123 avatar Morteza3123 commented on August 11, 2024

I thought that maybe in future versions we want to liquidate users using a bot for that reason I put this functions. But for now I can remove them so the code will be cleaner and need less gas to deploy.

from nex-dex-contracts.

Waltermelon-lang avatar Waltermelon-lang commented on August 11, 2024

yes please, please make sure you save your valuable work locally (as will I) and then we can make this smart contract as lean as possible.
Being able to liquidate users was a requirement in the orderbook exchange, however right now it is no long a requirement.
Furthermore, we can still built in an orderbook in later versions on top of the vAMM ->

  • two options:
  • Users can post a limit buy/sell order offchain with us and we submit the order the moment a certain price is triggered
    (this would be the low gas costs solution, but security risk for offchain getting hacked.
  • Second option: add the orderbook as you already built it on top of the vAMM , this would increase the complexity
    onchain and the gas costs.
    Im interested in your opinion.
    Lets evaluate after the mvp, it does not have priority over the mvp and building out our product line.

from nex-dex-contracts.

Morteza3123 avatar Morteza3123 commented on August 11, 2024

Ok, I remove it for now because we don't need it.

from nex-dex-contracts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.