Commit Graph

222 Commits

Author SHA1 Message Date
tjs 805cb5fa38 add proper type check for price_history and handle when its undefined 2023-11-16 10:39:40 -05:00
tjs d10e788a40 better mango account rerenders 2023-11-15 10:48:57 -05:00
saml33 349629bc55 add followed accounts ui 2023-11-14 15:41:16 +11:00
saml33 fdf482dd90 hooks to get following/followers 2023-11-10 08:09:24 +11:00
saml33 923cbebcef use hook for profile details 2023-11-09 15:24:44 +11:00
Adrian Brzeziński 0ca7822239 fix claim stale wallet state 2023-11-07 11:18:41 +01:00
saml33 b5941acf3e swap form button component 2023-10-30 11:01:35 +11:00
Riordan Panayides 2aa2f0422c Add warning bnner, add granular features for geoblock, allow geoblock reduceonly 2023-10-25 14:32:54 +01:00
Adrian Brzeziński be236418b5 fix 2023-10-24 02:11:26 +02:00
saml33 5a9024a74d add rank to top bar points 2023-10-23 13:02:40 +11:00
saml33 d1dabf97b2 add banner for rewards claim period 2023-10-23 11:29:14 +11:00
saml33 3dc7a7edd4 fix claim flicker when no claim 2023-10-19 22:46:19 +11:00
saml33 bfe4a89067
Merge pull request #290 from blockworks-foundation/redesign-account-page
re-design account page
2023-10-18 11:08:10 +11:00
saml33 6362bd3cc1 re-design account page 2023-10-17 22:28:43 +11:00
Adrian Brzeziński 3e363c8638
nft tweaks (#288)
* pagination

* fix filter

* currently listed

* refetch points
2023-10-16 17:06:17 +02:00
saml33 91c8682aa4 close borrows from account page 2023-10-12 22:51:02 +11:00
saml33 86664fb3eb add overall platform status 2023-10-09 13:05:52 +11:00
saml33 053a4fb295 offchain services health hook 2023-10-06 20:13:07 +11:00
saml33 37743a5d92
Merge pull request #283 from blockworks-foundation/explore-page
add explore page
2023-10-05 22:23:04 +11:00
saml33 147614e89f update rewards api 2023-10-05 22:10:29 +11:00
saml33 22ad9ba268 tidy up 2023-10-05 10:04:51 +11:00
Adrian Brzeziński 30d98faa1d
render (#279)
* Add rewards redemption

* Only create claim account if required

* Dedupe dependencies

* Satisfy lavamoat

* Change distribution

* Upgrade redemption package

* Fix dependency issues

* Dedupe

* Add claimed check

* fix

* fix

* Add claimed check

* chunk instructions

* Add season fetch

* adjust view to api

* check if cliam started

* cleanup part 1

* cleanup

* fix season show

* fix

* fix

* mango render

* fix

* fix

* render

* fix

* fix

* fix

* remove readme

* remove unused code

* fix

* error handling

* New prefix, lookup previous season distribution

* fix is all claimed

* fix

* fix

* fix tokens imgs

* fix

* link leaderboard to account

* style seasons and leaderboard

* seasons mobile

* start claims styling

* remove font import

* fix

* fix rewards tier card

* nft imgs

* fix loader

---------

Co-authored-by: Riordan Panayides <riordan@panayid.es>
Co-authored-by: saml33 <slam.uke@gmail.com>
2023-09-28 00:08:39 +02:00
tlrsssss 7075ef9f12
Add rewards redemption (#270)
* Add rewards redemption

* Only create claim account if required

* Dedupe dependencies

* Satisfy lavamoat

* Change distribution

* Upgrade redemption package

* Fix dependency issues

* Dedupe

* Add claimed check

* fix

* fix

* Add claimed check

* chunk instructions

* Add season fetch

* adjust view to api

* check if cliam started

* cleanup part 1

* cleanup

* fix season show

* fix

* fix

---------

Co-authored-by: Riordan Panayides <riordan@panayid.es>
Co-authored-by: Adrian Brzeziński <a.brzezinski94@gmail.com>
2023-09-25 13:33:34 +02:00
saml33 6422f9e33b merge main 2023-09-13 12:19:43 +10:00
saml33 92139308e4 add tcs orders 2023-09-13 11:10:21 +10:00
saml33 77c3bdd359 add close instructions 2023-09-12 23:32:09 +10:00
Lou-Kamades d40d6c9f02
Merge pull request #265 from blockworks-foundation/lou/column-sort
add sorting to market selection
2023-09-11 00:36:48 -05:00
saml33 d9e6e1947c
Merge pull request #257 from blockworks-foundation/close-unused-slots
update layout: account slots and close unused slots
2023-09-11 11:41:04 +10:00
saml33 634a017b1e add token positions warning to trigger swap 2023-09-10 23:26:52 +10:00
saml33 117f6a1d2b fix borrows in period warning 2023-09-09 21:32:28 +10:00
Lou-Kamades 5be792f47f
add sorting to market selection 2023-09-08 17:01:08 -05:00
saml33 a3b46c6ca0 fix account token positions count 2023-09-08 19:39:56 +10:00
saml33 bfc6710890 update switchboard oracle link path 2023-09-06 20:46:40 +10:00
saml33 434f3c2425
Merge pull request #247 from blockworks-foundation/lou/account-visibility
Add a toggle for hiding mangoAccount in leaderboards + search
2023-09-05 08:06:31 +10:00
Lou-Kamades 93e31ce5eb
don't load hidden mango accounts 2023-09-03 16:07:40 +02:00
Lou-Kamades c1f2447ef5
create modal for close unused account slots 2023-09-01 15:56:29 +02:00
saml33 863a80d204 view and create hotkeys from trade page 2023-09-01 23:46:28 +10:00
saml33 82946353d3 refactor isMobile 2023-09-01 13:22:50 +10:00
tjs d5d6c99743 move width and height into mangostore 2023-08-31 22:24:36 -04:00
saml33 8819f1af3f
Merge pull request #251 from blockworks-foundation/hotkeys-hook
use react-hotkeys-hook
2023-09-01 08:24:30 +10:00
saml33 acfcfcce79 use react-hotkeys-hook 2023-09-01 08:19:37 +10:00
Lou-Kamades c5cf3f0ecb
allow users to manually close unused spot oo accounts and perp positions 2023-08-31 17:54:08 +02:00
Lou-Kamades 9d7e2e2385
exclude hidden mango accounts from search + leaderboard 2023-08-31 17:21:33 +02:00
Lou-Kamades fcf9a36c21
hide pnl for private non-owned mangoAccounts 2023-08-31 17:21:33 +02:00
Lou-Kamades 5c0a6e2955
add a toggle for hiding mangoAccount in leaderboards + search 2023-08-31 17:21:23 +02:00
saml33 3432eee6ee fix cancel open order bug 2023-08-31 21:41:31 +10:00
saml33 22c4e3f764
Merge pull request #249 from blockworks-foundation/borrow-limit-warning
borrow limit per period warning
2023-08-31 08:21:18 +10:00
saml33 2aaffdd8b1 add to trade form 2023-08-28 21:59:36 +10:00
Lou-Kamades 19b57bca70
add filled size to the open orders table 2023-08-28 11:17:42 +02:00
saml33 075e8156b2 add period borrow limit warning to market swap 2023-08-28 15:59:56 +10:00
saml33 98cd5a9e54 change max serum3 slots to 4 2023-08-24 22:05:22 +10:00
tjs e346b114f0 fix viewport hook; need to move into mangostore 2023-08-17 23:57:46 -04:00
tjs b7ea65a98a remove console logs 2023-08-17 21:17:26 -04:00
saml33 ae9235b1d1 show details of used accounts in settings and hook for data 2023-08-15 13:06:00 +10:00
Adrian Brzeziński 1fd23ae37a
notifications per mango account - wip (#221)
* mango account notifications wip

* wip

* fix

* fix

* adjustments

* fixes
2023-08-01 22:27:12 +02:00
saml33 b2f504ac8f add table sorting components and use on tokenlist 2023-07-27 15:24:18 +10:00
saml33 01f03022bf give depth chart its own tab 2023-07-25 08:52:09 +10:00
saml33 f1e0770106
Merge pull request #210 from blockworks-foundation/markets-api-data
use markets api data
2023-07-25 08:19:42 +10:00
Adrian Brzeziński fe1ca08cc8
nft market (#173)
* poc wip

* devnet temp setup

* fix

* list item modal

* fix

* bid asset

* my bids modal

* mybids

* bids

* asset bids accept

* fixes

* nft market

* transaltions

* pagination

* bids without lisings

* list of bids

* fix

* add desktop ui styling

* yarn setup

* bring back mainnet

* mainnet setup

* only for whitelisted users

* fix pr

---------

Co-authored-by: saml33 <slam.uke@gmail.com>
2023-07-24 20:17:07 +02:00
saml33 3c492c893e sort markets by volume 2023-07-24 22:14:45 +10:00
saml33 84ecc51d87 merge main 2023-07-24 08:15:46 +10:00
tjs 271cc03d78 prettier 2023-07-22 16:44:43 -04:00
Adrian Brzeziński 2ee8b708ee
fix trustless registers + prettier fix (#215) 2023-07-22 14:36:22 +02:00
tjs abc5984647 use latest next-themes 2023-07-21 14:50:06 -04:00
tjs 3d8588d434 use latest prettier 2023-07-21 14:47:53 -04:00
saml33 eb8b06afcc use markets api data 2023-07-21 22:03:44 +10:00
tjs eab9a0a587 new network hook 2023-07-20 21:40:37 -04:00
saml33 8cf597c63f merge main 2023-07-18 21:03:45 +10:00
saml33 d22c659541 add collateral value to balance tables 2023-07-18 12:58:20 +10:00
saml33 dc9e7a8e6b merge main 2023-07-17 20:08:52 +10:00
tjs ba644e867d fix 24h change 2023-07-17 02:13:13 -04:00
saml33 ebde7f4402 merge main 2023-07-17 08:32:43 +10:00
saml33 2b8043baca fix 24h spot change 2023-07-14 15:47:05 +10:00
Adrian Brzeziński 3eda6ba06e Merge branch 'main' into mango-mints 2023-07-12 00:30:14 +02:00
saml33 d5d58626fc give account views a url 2023-07-11 23:14:44 +10:00
saml33 920a901a66 fix trade form logos 2023-07-10 11:33:09 +10:00
tjs cea9a8908e refactor data fetching out of account page into hooks 2023-07-08 19:50:40 -04:00
Adrian Brzeziński d69378a960 white list api 2023-07-07 01:12:38 +02:00
saml33 1de717f74c update perp logos 2023-07-03 11:52:51 +10:00
saml33 2c4a1cf772 fix ROE and update client 2023-06-28 20:50:27 +10:00
saml33 febb6a7ad3 calc liq price outside of the positions table 2023-06-28 12:10:47 +10:00
Riordan Panayides fee6d002d4 Prevent empty birdeye response breaking all price changes 2023-06-23 13:02:06 +01:00
saml33 a33fdcea62 add buffer when withdrawing with open positions 2023-06-22 12:58:47 +10:00
saml33 337f11ad3d fix dust borrows display 2023-05-22 20:19:23 +10:00
saml33 e6e86bcf96 add/update copy 2023-05-01 20:55:22 +10:00
saml33 5167ac1768 add oracle provider to token/perp stats settings tables 2023-05-01 15:24:21 +10:00
saml33 cf0a5e7e59 add oracle provider to market details modals 2023-05-01 14:42:29 +10:00
saml33 53369f741f merge main 2023-04-29 13:21:54 +10:00
Adrian Brzeziński 06bda068f7 left over commit from notifications pr 2023-04-29 00:01:06 +02:00
Adrian Brzeziński 1f2e90bdf8
notifications settings + websockets (#139)
* notification settings

* fix

* websockets

* fix url

* websockets

* fix

* fix

* fix api url

* fix hook

* reconnect sockets

* fix url

* fix double connection move back hooks to btn

* fix

* fix dependncy array
2023-04-28 23:36:24 +02:00
saml33 2c2544dbb0 fix bonk/sol ui issues 2023-04-25 22:41:23 +10:00
saml33 5b8d3eb90b merge main 2023-04-24 21:35:55 +10:00
Adrian Brzeziński d390447659
ui notifications (#127)
* notifications modal

* fix

* refetch, notify, mark as seen

* fix

* fix

* set secure cookie

* add ui

* more ui details and translations

* fix errors handling

* add remove all function to button

* pr fixes

* rename notifications toast

* add catch

* rename notifications prop in mango store

---------

Co-authored-by: saml33 <slam.uke@gmail.com>
2023-04-21 16:23:27 +02:00
saml33 a8b1acc502 export account history to csv 2023-04-20 20:55:52 +10:00
saml33 57bcfb42b8 fix trade history type 2023-04-18 09:45:27 +10:00
saml33 51aed56b88 merge main and update tooltip 2023-04-17 12:13:50 +10:00
saml33 e141233d79 show trade executions on tv charts 2023-04-13 21:25:58 +10:00
tlrsssss 938b3d70c3
Merge pull request #90 from blockworks-foundation/share-positions
add share positions to twitter
2023-04-10 20:58:38 -04:00
tlrsssss 3d2b485cf7
Merge pull request #114 from blockworks-foundation/use-birdeye-prices
Use birdeye prices
2023-04-07 16:41:32 -04:00
saml33 a67dccd3bd implement pr feedback 2023-04-06 10:22:20 +10:00