Jared Vu
0ed1f33808
✨ Canvas Orderbook ( #227 )
...
* 🚧 Canvas Orderbook
* 🚧 Add orderbookMap to aid in Canvas redraws
* enable mine column
* Merge main into canvas-orderbook-2
* 🧱 fix: Add orderbook constants file, remove console log, nits
* 💄 style: orderbook canvas text 13.5px -> 12px
* Updated constants and typings
* loadingSpace logic was slowing down ref mount
2024-01-24 23:16:33 -08:00
Bill
48e67f5681
Upgrade v4 clients and @cosmjs packages ( #243 )
...
* Upgrade v4-client and @cosmjs packages
* add comments
2024-01-24 15:29:43 -08:00
moo-onthelawn
17fce5417a
TRCL-3476 Create colorTokens file + new theme color types ( #239 )
...
* introduce tokens file + theme type
* fix lint error
* TRCL-3497 Use color tokens in app + tradingView widget (#240 )
* update to use tokens, small fixes
* fix eol lint
* move usage style helper to lib/styles
* move files, fix text colors
* fix logo in light mode
* remove colors.css file
* small lint things
* add transparency to button + destructive borders
2024-01-24 17:03:44 -05:00
aleka
414e38afec
Delay wagmi connection if remember me is enabled ( #210 )
...
* connect wagmi on deposit if remember me
* use alert message instead of button message
* clear input state when closing transfers forms to renable trade place order button
2024-01-23 13:45:14 -05:00
Adam Fraser
149f21e7e0
Add trailing blocks to NetworkStatus analytics event ( #230 )
2024-01-17 10:34:04 -05:00
Bill
fef9935883
Support notification for trading rewards ( #224 )
...
* Support notification for trading rewards
* bump abacus
* Stack notifications based on notification type
* address comments
2024-01-16 10:19:48 -08:00
Jared Vu
55b2c3fb4a
Update Funding Chart Tooltip ( #225 )
...
* 🚧 depth chart
* ✨ Fixed types and shortened FundingRateTooltip
* 💄 update depth chart color scale to use css var
* 💄 use layer-6 instead of text-1
* 🌐 Add localization, fix nits
2024-01-11 10:31:53 -08:00
Jared Vu
29526b927f
Update deposit and withdrawal receipts ( #212 )
...
* Update receipts
* Remove duplicate const
* Restore env
* format
* Try using raw
* Use 3 spaces T.T
* copy from main
* Update abacus, display proper toAmount and toAmountMin
* nits
2024-01-03 09:56:01 -08:00
Jared Vu
b83479f45c
Handle New Markets added by Gov ( #201 )
...
* Add celestia assets
* Handle symbol not yet added
2023-12-19 23:25:14 -08:00
Jared Vu
001aad3abc
Navigate to the Markets page if the current marketId is not included in subscribed markets ( #198 )
...
* Navigate to markets if current url is invalid
* nits
2023-12-19 15:58:49 -08:00
Bill
0f16396c8d
Implement CCTP withdraw ( #188 )
...
* Implement CCTP withdraw
* bump packages
* address comments
2023-12-12 10:12:37 -08:00
Jared Vu
2bf9e66da5
Fix inputs for comma locales ( #171 )
...
* Fix for comma decimal separator locales
* Accept tickSizeDecimals 0
* Use FloatValue as value for Size Input
* Use formattedValue to handle prefix/suffix
* Use MustBigNumber.toString()
2023-12-05 16:22:41 -08:00
Bill
2980144e40
Enable CCTP via TestFlags ( #185 )
...
* Enable CCTP via Env Var
* Use test flags instead
2023-12-05 14:48:47 -08:00
Bill
b1ffa2e219
Support CCTP and noble auto deposits on testnet ( #180 )
...
* Support CCTP and noble auto deposits on testnet
* slippage
* fix fees
* update isCctp, and comments
* bump packages
* cctp.json
* Bump abacus
* fix error
* fix loading button
2023-12-01 15:18:50 -08:00
aleka
91ea68dc53
Add chaos labs launch incentives panel ( #182 )
...
* add chaos lab incentives panel
* add seen state
* external link dialog
* better disconnected state
2023-12-01 15:27:19 -05:00
aleka
28d3be0370
Release notification ( #169 )
...
* add release notif
2023-11-28 12:36:29 -05:00
Jared Vu
33516422e7
Filter markets and add test flag ( #168 )
2023-11-27 17:05:19 -08:00
Jared Vu
532df49a06
Use new redux tradeFormInputs object for TradingForm input display values ( #144 )
...
* Redux slice for TradeFormInputs
* Move sideEffects from TradeForm to hook in Trade
2023-11-20 11:56:09 -08:00
Jared Vu
818574cedb
Change dep in hook to fix input bug ( #150 )
2023-11-13 09:11:54 -05:00
Jared Vu
99e708a984
Notifications Refresh ( #135 )
...
* Remove X button from tablet/mobile Notification menu
* Toast styling
* missed in merge
* .env.example
* Update abacus@1.0.9
* Add notif strings, and abaucs notif state
* Update Notification hooks, add Notification Preference controls
* Consolidate Notification into single component
* withLabel -> withTrigger prop
* nits
* OrderStatusChanged -> AbacusGenerated
* Notification OnClick
* Move Notification -> Components
* withAnimation -> $withAnimation
* Notification styling and click handle
* load state, onClick, localStorage
* add error count
* Rez localStorage Notifications
* Update TransferStatus UI
* Use Notification component for other abacusNotifs
* fix uselocalnotif query
* Default to Notification from NotificationMenu
---------
Co-authored-by: Bill He <bill@dydx.exchange>
2023-11-10 20:55:34 -08:00
Bill
d4bcfc0428
Fix status empty bug ( #143 )
2023-11-10 09:55:54 -08:00
aleka
7dec32df5e
fix 24h sort in market dropdown, table styling ( #141 )
2023-11-09 16:40:27 -05:00
Jared Vu
edc9fadfee
Add TestFlags provider and class ( #132 )
...
* Add TestFlags provider and class
* import order nit
* markets is an object and not array
* Use null coalescing op
2023-11-07 20:28:42 -08:00
Bill
766209baf1
Onboarding fixes ( #131 )
...
* Onboarding fixes
* address comments
* rebase
2023-11-07 17:18:16 -08:00
John Huang
8d5bf1a721
TRCL-3128 TradePlaceOrder and TradeCancelOrder are now tracked by Abacus ( #115 )
2023-11-07 10:34:06 -08:00
aleka
7f3d57b46a
support multiple modes ( #125 )
2023-11-07 12:13:59 -05:00
Bill
c292c84c2c
Fix decimal overflow bug ( #127 )
...
* Fix decimal overflow bug
* use decimals:
2023-11-06 17:48:19 -08:00
Bill
2d37ff676b
do not use TESTNET_CHAIN_ID ( #126 )
2023-11-06 17:39:02 -08:00
Bill
b0db577b28
Configurable squid integrator id ( #120 )
...
* Configurable squid integrator id
* bump abacus
2023-11-03 14:18:15 -07:00
aleka
890a4b2c0e
Padding fixes, markets data null fix, update .env.example ( #112 )
...
* update .env.example for token migration
* bump icon size in icon button
* add padding in rewards / fees page, panel changes
* fix markets data crashing
* fix market details overflow on tablet
* fix market filters
* prevent fees table overflow
* remove notifications close button on mobile
* fix nested button console warning
* update ToggleGroup value change logic
* panel hover impact button hover
* update dropdown icon in header
2023-10-31 17:11:46 -04:00
Bill
8d3cc76d14
Configurable URLs ( #107 )
...
* Configurable URLs
* add learnmore to tooltip
* Learnmore -> LearnMore
2023-10-31 11:02:45 -07:00
aleka
3fd71558c0
fix trading view error ( #96 )
...
* fix trading view error
* only init trading view if market id is first defined, and nits re fills table with empty asset
2023-10-24 17:06:00 -04:00
aleka
575856b77b
remove asset symbol for account balance logic ( #95 )
2023-10-23 17:51:13 -04:00
Bill
d97626f543
Fix auto-deposit ( #93 )
2023-10-23 12:02:05 -07:00
Bill
051bdda73a
update v4-client init in useDydxClient ( #91 )
...
* update v4-client init in useDydxClient
* fix nit
2023-10-20 11:00:03 -07:00
Bill
27b79957d4
Bump v4 clients ( #89 )
...
* Have tokens be configurable, bump v4-client
* bump
* chain -> chaintoken
* use cancelRawOrder
* address comments
* add TODO
2023-10-19 11:01:12 -07:00
aleka
4bacc901dc
use wallet connect config from envs ( #88 )
...
* use wallet connect config from envs
* update readme
2023-10-19 11:35:17 -04:00
Jared Vu
e4991cc31d
Update Abacus 0.7.0 & Misc. bug fixes ( #84 )
...
* Add Notification icon w/ stroke
* Update to abacus0.7.0
* Fix goodTilTime string
* Fix tradingView initial load
* Temp remove notif onClick
* remove isConnected state from dydxClient
2023-10-18 11:08:39 -07:00
aleka
da908c826a
Revert "Revert "remove offline message for testnet4 ( #76 )" ( #78 )" ( #85 )
...
This reverts commit 14316163e4 .
2023-10-18 13:04:25 -04:00
aleka
14316163e4
Revert "remove offline message for testnet4 ( #76 )" ( #78 )
...
This reverts commit ac619a9da1 .
2023-10-17 13:37:26 -04:00
aleka
ac619a9da1
remove offline message for testnet4 ( #76 )
2023-10-17 13:03:50 -04:00
Bill
cb7f542a99
Onboarding status do not rely on squidAPI to determine if deposit/withdraw ( #73 )
2023-10-16 17:35:07 -07:00
aleka
bc5569c4c9
testnet4 followup, switch offline msg ( #75 )
2023-10-16 17:26:29 -04:00
aleka
348e82293e
show exchange offline dialog for testnet reset ( #71 )
2023-10-16 13:08:54 -04:00
Jared Vu
48a48b4d70
Screen ( #56 )
...
* useDydxClient: Add screen endpoint
* Screen api in onboarding flow
* PnlChart rounding
* UnauthorizedDialog
* Add RateLimitDialog
* Update dialog open logic
* nits
* Screen before Transfer
* Validate network, remove input autofill color
* Use screenAddresses from dydxClient
* Check recipientAddresses
* lock-file
* Change Wallet Restricted Dialog to v4-blocked message
* nits
* Unused param
* consolidate environment validateFn
* Remove extra space, simplify WithdrawForm error msg
* Simply map logic, rearrange priority of screened messages
* WalletRestricted -> RestrictedWallet
* Update restriction modal title and add something went wrong
* Handle 429 rate limit
2023-10-16 09:36:09 -07:00
Bill
944cea0d3d
Hide wallet options ( #70 )
...
* Hide wallet options
* remove WC 1
* gitignore .env
* remove .env
* remove wc1
2023-10-16 09:07:35 -07:00
Bill
fdd3fbd774
Reward page ( #52 )
...
* Implement Rewards Page
* more rewards page panels
* add keplr dialog
* Finish up rewards page
* bump localization
* add to nav
* address comments
* Comment out migration work
* rename
* address comments
* add TODO
2023-10-04 13:11:35 -04:00
Jared Vu
15bf8a1b34
Update Abacus v0.6.0 ( #55 )
...
* Abacus 6: New init, deprecate asset.symbol
* deprecate asset.symbol
* Update networks constants
* filesystem
* Update networks.ts
* 0.6.0 -> 0.6.3
* Remove Market filter
2023-10-03 13:10:55 -07:00
Bill
6508a8b857
Add all squid evm networks to wagmi ( #50 )
...
* Add all squid evm networks to wagmi
* remove alchemy
* address nit
2023-10-02 18:50:39 -04:00
Bill
fe46a4d927
Do not poll evm unless addressOrDenom is provided ( #46 )
2023-09-25 14:56:20 -04:00