-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rework market module, add manual trading tab #72
Conversation
const FETCH_ASSETS_HISTORY_ERROR = 'FETCH_ASSETS_HISTORY_ERROR'; | ||
|
||
const SUBSCRIBE_TO_EXCHANGE_RATE = 'SUBSCRIBE_TO_EXCHANGE_REQUEST'; | ||
const UPDATE_EXCHANGE_PRICE = 'UPDATE_MARKET_PRICE'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
это лучше одинаково называть, во избежании потом путаницы при дебаге через vuex dev tools
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
да, проглядел при изменении
const price = baseAmount / balance; | ||
commit(UPDATE_EXCHANGE_PRICE, { baseId, assetId, price }); | ||
|
||
// WTF THIS TYT DELAET? @roma219 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
creates pending orders from distributions
No description provided.