Commit Graph

44 Commits

Author SHA1 Message Date
saml33 dbe7a60c0c fix zero value number format 2023-11-03 09:52:17 +11:00
saml33 bb2b0201a7 fix number formatting 2023-11-02 23:01:34 +11:00
saml33 f39a123dbf fix small swap chart prices 2023-11-02 14:18:00 +11:00
saml33 25eb665cc1 mobile styling fixes 2023-10-29 21:57:08 +11:00
saml33 001b3bd9f0 rewards leaderboard fixes 2023-10-18 11:25:05 +11:00
Christian Kamm 5a5976dc63 fix default trigger price for bonk
by generally restricting significant decimals on prices, instead using
the in or output banks decimals.
2023-09-07 11:43:29 +02:00
tjs 3d8588d434 use latest prettier 2023-07-21 14:47:53 -04:00
tjs e478d6405a use jupiter on trade page 2023-07-16 23:41:13 -04:00
saml33 337f11ad3d fix dust borrows display 2023-05-22 20:19:23 +10:00
saml33 9d38639ec7 add open interest to perp market trade header 2023-03-29 10:57:59 +11:00
saml33 6a9a40f95e remove trimdecimals 2023-01-25 14:11:42 +11:00
saml33 f8f022fe9a only use floortodecimal for unformatted values 2023-01-25 13:54:06 +11:00
saml33 d25b0dc399 remove formatdecimal 2023-01-25 12:12:13 +11:00
saml33 ebf9bddfc9 remove formatfixeddecimals 2023-01-25 11:54:24 +11:00
saml33 fc1aac89e1 split functions for value/currency 2023-01-25 11:14:51 +11:00
saml33 d8348ce02a remove duplicate function 2023-01-24 20:15:27 +11:00
saml33 c916a38b85 round to floor instead of down 2023-01-24 13:36:59 +11:00
saml33 5e2e449e38 add commas to large values 2023-01-24 12:47:06 +11:00
saml33 aec60a1288 add format numeric value component 2023-01-24 12:26:14 +11:00
tjs f94bd3c656 better handle display around very small balances 2023-01-20 18:21:57 -05:00
saml33 5866cd0cdf use compact number format on token charts 2023-01-11 21:01:35 +11:00
saml33 93738b0dcc fix formatfixeddecimals rounding 2023-01-09 12:50:46 +11:00
tjs b4e63ffcb6 add commas to swap history 2023-01-07 13:59:32 -05:00
saml33 04c4c5e00d fix borrow modal rounding 2023-01-06 19:49:15 +11:00
saml33 e3aedfc8a9 show 3 significant digits for small currency values 2023-01-06 11:00:36 +11:00
tjs d7f6439d14 update formatDecimals to handle 5 decimals and add fallback 2023-01-05 18:44:58 -05:00
tjs 4a35ab5470 bonk and dai fixes 2023-01-05 15:10:24 -05:00
tjs ef144b672f fixup recent trades decimals 2022-11-20 23:52:08 -05:00
tjs dbcaeee439 fix entry price formatting 2022-11-20 22:11:29 -05:00
saml33 7000eea155 fix activity feed date range filter 2022-11-15 21:47:11 +11:00
saml33 6820d0e6e7 fix one-day change values 2022-10-06 16:11:28 +11:00
tjs 84728b580b serum spot trade page 2022-09-14 02:24:44 -04:00
tjs 6c714816a2 use Decimal class; use NumberFormat for input components 2022-09-02 14:37:18 -04:00
saml33 9ca67ed52c trade history decimals 2022-08-25 10:14:27 +10:00
tjs 39be3f741d add stats page 2022-08-23 18:33:09 -04:00
tjs 7506ee34fe show maint health and init health everywhere 2022-08-23 15:32:51 -04:00
saml33 7d3b16496d add interest value to token list 2022-08-14 15:11:02 +10:00
tjs 29da9b24f6 update decimal formatting 2022-08-11 19:27:36 -07:00
tjs 8ec490c042 extract jupiter logic into hook 2022-08-03 22:25:38 -04:00
tjs d6d29e072b filter swap list by tokens in group 2022-08-02 14:09:29 -04:00
tjs e1f573a3a3 don't format decimals if value is 0 2022-08-02 14:09:29 -04:00
tjs 5e3a710728 fix decimals on swap chart 2022-07-22 17:41:31 -04:00
tjs 771ee63ea5 wip 2022-07-10 22:01:16 -04:00
tjs 8f0dc1e3ef more swap work 2022-07-05 23:37:49 -04:00