Commit Graph

171 Commits

Author SHA1 Message Date
sairaj mote
a6425cb2d2 Minor fix 2022-05-09 15:26:19 +05:30
sairaj mote
6d66dc6cc3 Bug fixes for asset price change timer 2022-05-09 15:22:48 +05:30
sairaj mote
a8c8993e5a Added timer for when asset price changes 2022-05-09 01:33:45 +05:30
sairaj mote
859a336586 Added asset prices without login in 2022-05-09 00:11:30 +05:30
sairajzero
838a12b361 Bug fix
- Fixed: Timeout not called upon initial coupling
- 'Cannot sell below purchased price' incorrectly shown when its actually valid order placement
- UI: parsing of get-rates API (latest update)
2022-05-07 23:17:02 +05:30
sairaj mote
f8721ee4f0 Minor UI fixes 2022-05-06 15:14:33 +05:30
sairaj mote
f9d400a12e minor UI fix 2022-05-06 12:49:07 +05:30
sairaj mote
86d8e274ec UI and UX improvements
-- New market-wide open orders UI
-- better confirmation message details for buying and selling
2022-05-05 23:13:23 +05:30
sairaj mote
d6bb46b092 minor UI changes 2022-05-04 16:34:52 +05:30
sairaj mote
442562fc67 UI and UX improvements
-- separated market buy and sell orders with priority based rendering
2022-05-04 02:28:35 +05:30
sairaj mote
4ff4f4356e Minor UI update 2022-05-03 19:45:35 +05:30
sairaj mote
79a23399db Removed price input and UI improvements 2022-05-03 18:02:48 +05:30
sairajzero
c1dcf7916a Update index.html
- Default max-price and min-price is set to 15% of current price
2022-05-03 15:50:03 +05:30
sairajzero
7a4261c5a0 floExchangeAPI_v1.1.2
- Changing version number for previous update
2022-05-02 23:30:56 +05:30
sairajzero
ac2b4c3c1c Update floExchangeAPI.js
- Store asset and tag list in localStorage when refreshing data from blockchain
- localStorage keys:
exchange-assets
exchange-tags
2022-05-02 23:28:15 +05:30
sairajzero
68ac08d397 Merge branch 'main' of https://github.com/ranchimall/exchange-market 2022-05-02 22:54:01 +05:30
sairajzero
55bd121021 API for ordered list for sell/buy
- The API for Listing sell/buy orders now returns ordered list of the queue (approx).
- list-buyorders, list-sellorders and list-trades API now accepts optional GET parameter 'asset'.
  . If passed, then orders/trades of only given asset will be returned.
  . If asset is not passed, then returns all asset by default as before.
- list buy/sell order API return max of 100 best orders
- list trade API return max of 1000 recent trades
2022-05-02 22:53:57 +05:30
sairaj mote
e978b1c0dc Added help page with some FAQs 2022-05-01 21:16:47 +05:30
sairajzero
ae8cbd85e8 Update index.html
- log if user is subAdmin
2022-05-01 18:42:25 +05:30
sairaj mote
4cfd43d968 minor UI fix 2022-05-01 17:29:23 +05:30
sairaj mote
eaa7d8011d Added loading when refreshing wallet balance 2022-05-01 17:27:19 +05:30
sairaj mote
05a4aa4f18 minor bug fix 2022-05-01 15:40:36 +05:30
sairajzero
9de6cdc626 Bug fix: user page UI
- Fixed: Account detail not loading
2022-04-30 04:41:28 +05:30
sairajzero
e88799f01f update std-op 2022-04-26 03:30:51 +05:30
sairajzero
38cc9659ce floExchangeAPI v1.1.1
- All rejected errors are now an instance of ExchangeError
2022-04-21 02:49:02 +05:30
sairajzero
9331373faf Merge branch 'main' of https://github.com/ranchimall/exchange-market 2022-04-17 03:48:16 +05:30
sairaj mote
19fe1306e3 Error handling update 2022-04-15 18:16:00 +05:30
sairaj mote
237e2498b3 Typo fixes 2022-04-15 18:15:00 +05:30
sairaj mote
c5f2908261 Minor UX fix 2022-04-15 18:02:25 +05:30
sairaj mote
76eb168171 Minor UI fixes 2022-04-15 17:51:44 +05:30
sairajzero
9caf3fc9ec Distributor feature and Balance structure change
- Distributor feature allows to mark floIDs as distributors for certain asset.
- Added 2 APIs: add-distributor, remove-distributor
- Changing structure for token balance in exchange system. (requirement for new rule update).
2022-04-13 01:06:01 +05:30
sairaj mote
e654cd11e4 UX improvements 2022-04-11 21:13:58 +05:30
sairaj mote
3e8a58442d Minor bug fixes 2022-04-11 20:35:09 +05:30
sairaj mote
a5df7a7248 Minor UI changes 2022-04-11 18:27:14 +05:30
sairaj mote
798051551c UI updates and UX fixes 2022-04-11 17:24:03 +05:30
sairaj mote
2320a5d404 Fixed incorrect date bug 2022-04-11 00:06:23 +05:30
sairaj mote
b50c0c032e Fixed a minor bug 2022-04-10 21:49:54 +05:30
sairaj mote
86e29b6d52 Added token transfer option to UI 2022-04-07 19:29:25 +05:30
sairaj mote
6c09d65f28 fixing grammatical errors 2022-04-06 12:19:36 +05:30
sairaj mote
c93ea8a5b1 error handling for multiple device login 2022-04-06 12:01:08 +05:30
sairaj mote
5425e9efa7 minor UI fixes 2022-04-05 16:30:42 +05:30
sairaj mote
af3bd9e687 Added confirmation popup for trading 2022-04-05 16:26:38 +05:30
sairaj mote
c93f1bf65e bug fixes 2022-04-03 20:38:25 +05:30
sairaj mote
371c4c5bcd UI fixes 2022-04-03 20:21:26 +05:30
sairaj mote
5c6fcf4685 UI fixes 2022-04-03 17:44:01 +05:30
sairaj mote
317d1eb210 minor UI fixes 2022-04-03 16:33:01 +05:30
sairaj mote
0be1579231 minor UI fix 2022-04-03 16:18:43 +05:30
sairaj mote
6d28a1c00c
Merge branch 'main' into ui-testing 2022-04-03 16:15:47 +05:30
sairaj mote
dbf71f2506 UI fixes 2022-04-03 16:02:11 +05:30
sairaj mote
5170870c82 UI fixes 2022-04-03 01:45:46 +05:30
sairaj mote
559ea933c9 Feature and UX update 2022-04-03 01:32:00 +05:30
sairaj mote
0df9290e15 Making exchange mobile friendly 2022-04-02 18:26:47 +05:30
sairaj mote
883a698248 Added dynamic asset balance rendering 2022-03-31 22:51:09 +05:30
sairaj mote
d060d573cf Adding charting feature 2022-03-31 18:50:19 +05:30
sairaj mote
7e70902971 updating 2022-03-31 00:51:10 +05:30
sairaj mote
ef7172869b UI changes 2022-03-31 00:25:58 +05:30
sairaj mote
c35220df7e making exchange UI mobile friendly 2022-03-30 20:18:42 +05:30
sairajzero
6451f02546 rate-history API 2022-03-30 05:38:55 +05:30
sairaj mote
d379006c31 Added FLOBNB as asset to UI 2022-03-30 00:50:45 +05:30
sairaj mote
6028e2b541 UI improvements 2022-03-29 23:58:10 +05:30
sairaj mote
1e2971ac8e major UI changes 2022-03-29 18:37:26 +05:30
sairaj mote
8d0c31176f Fixed bug causing incorrect month being displayed 2022-03-22 17:14:58 +05:30
sairajzero
6702541254 minor bug fix
Fixed: K_Bucket not defined bug in user page
2022-03-21 16:30:25 +05:30
sairajzero
6add4625c8 Renaming files
Renamed tokenAPI to floTokenAPI
Renamed exchangeAPI to floExchangeAPI
2022-03-21 16:24:25 +05:30
sairajzero
5e074f5e1d warping exchange-api functions
- Warped exchange api functions into an object (works with both modules.exports and window (browser))
- Moved K_bucket.js into exchangeAPI.js
2022-03-21 16:20:33 +05:30
sairajzero
ef0599d915 get-balance API
Added: get-balance API to fetch total balance
- accepts 2 parameters: floID and token. Requires atleast one of them for the API to work
/get-balance?floID=<floID>&token=<token> : responses balance of a specific token for a floID
/get-balance?floID=<floID> : responses all token balance for a floID
/get-balance?token=<token> : reponses balance of a specific token for every floID

Note (optional): in GET request
- floID=<floID> can be replaced with addr=<floID>
- token=<token> can be replaced with asset=<asset>
Both responses the same result as above
2022-03-18 00:50:39 +05:30
sairajzero
a18ccf426e Added clearLocalStorage
- Added a UI button that clears local data
 . Useful to clear login credentials, nodelist, lastTx when stuck in some version change bugs
2022-03-17 19:17:52 +05:30
sairajzero
2b2c231f0b Bug fix
- Fixed: txid not stored in DB when retrying withdraw FLO
- UI: disabled all registration/signup buttons (as there is not need for signup)
2022-03-17 18:49:41 +05:30
sairajzero
eed495ab83 Bug fixes
- Fixed: transferToken not processed by server
- blockchainReCheck stops and adds itself to Timeout callback when sinkID is not loaded (uses MINI_PERIOD_INTERVAL = PERIOD_INTERVAL/10 for timeout ms)
- Fixed: confirmDepositFLO - asset attribute missing in SQL syntax
- When sinkID is not loaded, cancel check for confirmDepositFLO and confirmDepositToken
- Fixed: Incorrect receiver (sinkID) bug in confirmDepositFLO.checkTx
- Uncommented loaded, received, retrived sink logs
- Changed (SQL schema) sign field in RequestLog table to VARCHAR(160)
- Fixed: minor syntax errors and typos bugs
2022-03-17 03:06:00 +05:30
sairajzero
4c6ae601ea Update lib.js 2022-03-16 02:20:56 +05:30
sairajzero
b229b6b3d5 Arranging files
Moved all public/ to docs/ so that github pages can be hosted on docs/ alone

- Moved floGlobals.js, lib.js, floCrypto.js, floBlockchainAPI.js, tokenAPI.js, KBucket.js to docs/scripts/
- Renamed api.js to exchangeAPI.js and moved to docs/scripts/
- Moved index.html to docs/
- Moved css components to docs/css
- Updated all imports for the above changes.
- User pages (index.html) uses floCrypto.js and floBlockchainAPI.js in docs/script dir instead of fetching from cdn
2022-03-16 01:06:59 +05:30