Git Product home page Git Product logo

llc-daos's Introduction

Hi there πŸ‘‹

I’m a physicist / engineer, whose passion lies in developing software, while training I had been in many data analyst projects, web scraping, and developing Android applications.

  • πŸ§‘β€πŸ’» I’m currently working on blockchain stuff
  • πŸ˜„ Climber and cat lover

Social media

Tlacloc | LinkedIn Tlacloc | Telegram

Github stats



πŸ†GitHub Trophies

llc-daos's People

Contributors

carlosalv098 avatar didiermis avatar edwinfajardob avatar ianmendozajaimes avatar tlacloc avatar

Watchers

 avatar

Forkers

didiermis

llc-daos's Issues

lock tokens when a offer is created

When a user creates an offer (has to make a deposit first)

The issue is that make a withdraw when a offer is in place, so to solve it, when the offer is created, the smart contract should move the balance to lock balance.

update old test methods

There is some file on the test directory that has .bak termination, they are the old test methods.

The task is to get the general information of those tests methods and update them in a more organized way (as the ones that just end with .js)

Start with the daoreg test, because daoinfo is a bit more tricky and need background of the document - graph library

Add delphi oracle

Information about the delphi oracle can be found at: https://github.com/eostitan/delphioracle

The order book has two system tokens TLOS and USD (currently only TLOS), we need to add the oracle to retrieve information of the current value of USD/TLOS.

  • The user may enter the price in TLOS or USD. If the price is in USD, the exchange contract must use the delphi oracle contract to query the TLOS/USD price for evaluation.

DAO token order book

Users may trade DAO tokens with the TLOS token

Order Making/Creating

  • Users may create an order to purchase the DAO token
  • To create a buy order, the user must first transfer TLOS tokens to the exchange smart contract
  • When creating a buy order, the user enters the asset/quantity to purchase and the price
  • The user may enter the price in TLOS or USD. If the price is in USD, the exchange contract must use the delphi oracle contract to query the TLOS/USD price for evaluation.
  • To create a sell order, the user must first transfer their DAO tokens ("LAND") to the exchange smart contract
  • When creating a sell order, the user enters the asset/quantity to buy and the price (the user may enter the price in TLOS or USD)

Order Taking/Accepting

  • Users may take (or accept) any open orders
  • The user must have a balance of the counter-token
  • Partial order fills are OK
  • When an order is filled, the contract sends the appropriate token amounts to the appropriate traders
  • No fees for now

Order Matching

  • Order matching is when a new "make" order is created with a price that is able to match with an existing open order.
  • In these cases, the order should be executed at the price of the existing (first) open order.
  • This functionality opens the ability for "market orders", but we do not need to support this yet.

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.