Commit Graph

200 Commits

Author SHA1 Message Date
sairajzero
b56985810f Delete app-config.json 2022-04-17 03:52:59 +05:30
sairajzero
9331373faf Merge branch 'main' of https://github.com/ranchimall/exchange-market 2022-04-17 03:48:16 +05:30
sairajzero
f9551c856d Updating sell-requirement
- Users can only sell when enough sell-chips (for asset) are available.
- sell-chips are obtained by
  . buying assets
  . receiving asset from distributor
  . deposit (FLO only) as launch-seller (maximum of 1 million)
- Updated coupling for the requirement
- Improved getBestSeller and getBestBuyer: Directly fetch from SQL query
- Removed group.js (moved required functions to market.js)
- Updated SQL schema
2022-04-17 03:44:34 +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
5589dc681e
Merge pull request #5 from ranchimall/ui-testing
UI update
2022-04-03 16:15:57 +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
sairajzero
deb746ef9e Increase decimal toFixed(8) 2022-03-30 20:38:08 +05:30
sairaj mote
c35220df7e making exchange UI mobile friendly 2022-03-30 20:18:42 +05:30
sairajzero
4967d52a88 Bug fix: rate history API not working 2022-03-30 05:49:43 +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
Sai Raj
8380808c2c
Merge branch 'sairajzero:main' into main 2022-03-29 15:54:36 +05:30
sairajzero
fa46e1132f Bug fix: getRate for an asset not working 2022-03-29 15:53:01 +05:30
sairaj mote
8d0c31176f Fixed bug causing incorrect month being displayed 2022-03-22 17:14:58 +05:30
sairajzero
01dcd9b2d1 Bug fix
Fixed: Unable to process null returned from SQL SUM()
2022-03-22 14:11:55 +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