Giter Site home page Giter Site logo

coinexchain / dex Goto Github PK

View Code? Open in Web Editor NEW
29.0 15.0 21.0 39.51 MB

A public chain built for the decentralized exchange

Home Page: https://www.coinex.org/

License: BSD 2-Clause "Simplified" License

Go 94.28% Shell 3.10% Dockerfile 0.22% HTML 0.25% Makefile 2.14%
blockchain blockchain-technology decentralized exchange decentralized-exchange

dex's People

Contributors

fanzc912 avatar helldealer avatar jjz avatar ludete avatar selectaname avatar wangkui0508 avatar whitefen avatar whunmr avatar zxh0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dex's Issues

Add a new type of transaction to support OTC

Add a new message like this

type MsgSupervisedSend struct {
    FromAddress sdk.AccAddress `json:"from_address"`
    Supervisor  sdk.AccAddress `json:"supervisor"` // !!!
    ToAddress   sdk.AccAddress `json:"to_address"`
    Amount      sdk.Coin      `json:"amount"`
    UnlockTime  int64          `json:"unlock_time"`
    Reward      int64          `json:"reward"`
    Operation   byte   `json:"operation"`
}

Modify time unit

The 'EffectiveTime' field of 'MsgCancelTradingPair' structure is changed from seconds to nanoseconds.

Modify the market parameters configuration DefaultMarketMinExpiredTime unit of time for a nanosecond.

type MsgCancelTradingPair struct {
	Sender        sdk.AccAddress `json:"sender"`
	TradingPair   string         `json:"trading_pair"`
	EffectiveTime int64          `json:"effective_time"`
}

7c32901

Parameter Changes

  1. invariant check fee in crisis changes to 10_0000 CET
    //降低了不变量检查费用至 10_0000 CET

  2. GTEOrderFeatureFeeByBlocks 0.06CET changed to 10sato.CET
    // GTE订单留存费用调整, 以前是每10000块收0.06CET
    // 调整为按块收取, 每块收10sato.CET

  3. GTEOrderLifetime from 10000 to 10_0000
    // 默认订单留存变更为10_0000, 意味着订单10_0000以内的挂单不收订单留存费

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.