1 Star 1 Fork 1

重新/substrate-dex

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
developer.json 1.36 KB
一键复制 编辑 原始数据 按行查看 历史
xuyang 提交于 2019-11-14 15:28 . add sell & buy amount to linked_item
{
"Token": {
"hash": "H256",
"symbol": "Vec<u8>",
"total_supply": "Balance"
},
"OrderType": {
"_enum": [
"Buy",
"Sell"
]
},
"OrderStatus": {
"_enum": [
"Created",
"PartialFilled",
"Filled",
"Canceled"
]
},
"TradePair": {
"hash": "H256",
"base": "H256",
"quote": "H256",
"buy_one_price": "Option<Price>",
"sell_one_price": "Option<Price>",
"latest_matched_price": "Option<Price>",
"one_day_trade_volume": "Option<Price>",
"one_day_highest_price": "Option<Price>",
"one_day_lowest_price": "Option<Price>"
},
"Price": "u128",
"LimitOrder": {
"hash": "H256",
"base": "H256",
"quote": "H256",
"owner": "AccountId",
"price": "Price",
"sell_amount": "Balance",
"buy_amount": "Balance",
"remained_sell_amount": "Balance",
"remained_buy_amount": "Balance",
"otype": "OrderType",
"status": "OrderStatus"
},
"Trade": {
"hash": "H256",
"base": "H256",
"quote": "H256",
"buyer": "AccountId",
"seller": "AccountId",
"maker": "AccountId",
"taker": "AccountId",
"otype": "OrderType",
"price": "Price",
"base_amount": "Balance",
"quote_amount": "Balance"
},
"OrderLinkedItem": {
"prev": "Option<Price>",
"next": "Option<Price>",
"price": "Option<Price>",
"orders": "Vec<H256>"
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/malingzhao/substrate-dex.git
[email protected]:malingzhao/substrate-dex.git
malingzhao
substrate-dex
substrate-dex
master

搜索帮助