Created
May 4, 2018 15:14
-
-
Save p5150j/4b39fd58eeedc18ed8b549141ee9867e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
token { | |
address, | |
symbol | |
} | |
market { // a trade place of 2 tokens; a quote token, and a non-quote token | |
Id // nonQuoteToken.symbol + ‘-’ + quoteToken.symbol | |
sells: order[], | |
buys: order[] | |
} | |
order *{ | |
Id, | |
type, // ‘buy/sell’; ** | |
makerToken: {.. | |
}, | |
takerToken: {.. | |
}, | |
makerTokenAmount, | |
takerTokenAmount, | |
rate // *** | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment