blockchainprojects / bitshares-ui

Graphical User Interface for BitShares Blockchain
https://wallet.bitshares.org
MIT License
0 stars 1 forks source link

#2767 Abstract Order Book - First Step #119

Open VerevkinAlexander opened 5 years ago

VerevkinAlexander commented 5 years ago

General

Closes #118

Added abstract layer for the order book

General

Please make sure the following is done:

Code Preparation

Please review all your changes one last time before committing

Testing

The branch has been tested on the following browsers (desktop and mobile view)

User interface changes

Delete this section if there weren't any UI changes. Please make sure you tested your changes in all themes

Please provide screenshots/licecap of your changes below

VerevkinAlexander commented 5 years ago

The task is in progress

VerevkinAlexander commented 5 years ago

createLimitOrder2 - used for order creation it can be replaced by htlc create https://github.com/blockchainprojects/bitshares-ui/blob/%232767_Abstract_Order_Book_First-Step/app/components/Exchange/Exchange.jsx#L1000 https://github.com/blockchainprojects/bitshares-ui/blob/%232767_Abstract_Order_Book_First-Step/app/components/Exchange/Exchange.jsx#L1058

createPredictionShort - udate order https://github.com/blockchainprojects/bitshares-ui/blob/%232767_Abstract_Order_Book_First-Step/app/components/Exchange/Exchange.jsx#L979 https://github.com/blockchainprojects/bitshares-ui/blob/%232767_Abstract_Order_Book_First-Step/app/components/Exchange/Exchange.jsx#L1099 https://github.com/blockchainprojects/bitshares-ui/blob/%232767_Abstract_Order_Book_First-Step/app/components/Exchange/Exchange.jsx#L1128

getTrackedGroupsConfig - get group order can be replaced by getHTLCs https://github.com/blockchainprojects/bitshares-ui/blob/%232767_Abstract_Order_Book_First-Step/app/components/Exchange/Exchange.jsx#L517

cancelLimitOrder - cancel order https://github.com/blockchainprojects/bitshares-ui/blob/%232767_Abstract_Order_Book_First-Step/app/components/Exchange/Exchange.jsx#L1206

changeCurrentGroupLimit - changed groupLimit https://github.com/blockchainprojects/bitshares-ui/blob/%232767_Abstract_Order_Book_First-Step/app/components/Exchange/Exchange.jsx#L1234

checkFeeStatusAsync - get fee status https://github.com/blockchainprojects/bitshares-ui/blob/%232767_Abstract_Order_Book_First-Step/app/components/Exchange/Exchange.jsx#L627

unSubscribeMarket - https://github.com/blockchainprojects/bitshares-ui/blob/%232767_Abstract_Order_Book_First-Step/app/components/Exchange/Exchange.jsx#L1239

SubscribeMarket https://github.com/blockchainprojects/bitshares-ui/blob/%232767_Abstract_Order_Book_First-Step/app/components/Exchange/ExchangeContainer.jsx#L284

VerevkinAlexander commented 5 years ago

@sschiessl-bcp please look. Is that what did you expect?