-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
feat(perps): HIP-3 upgrade with webData3 migration and performance improvements #22041
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+2,416
−750
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
e422157
feat(perps): implement open interest cap
abretonc7s 24a5ab2
cleanup
abretonc7s ac808a6
cleanup
abretonc7s 485badf
revert pressable banner
abretonc7s 4101e2c
feat: hip-3 subscriptions support
abretonc7s aa52c83
feat: cleanup
abretonc7s 9fc68aa
refactor: streamline client initialization in HyperLiquidProvider and…
abretonc7s 4bad1aa
dev warning
abretonc7s 6b73705
fix: unit tests
abretonc7s fa3a237
coverage
abretonc7s af889fd
fix: add defensive validation for perpDexStates array bounds in Hyper…
abretonc7s 76e9538
merge main into branch
abretonc7s 1cf81a6
fix: unit test coverage
abretonc7s 5864bae
fix: tpsl assignment
abretonc7s 896359f
fix: improve error handling in PerpsOrderView and HyperLiquidProvider
abretonc7s b5150e9
fix: sonarcloud
abretonc7s 09c3e50
feat: improve order validation
abretonc7s 6fcf22e
fix: unit tests
abretonc7s e71504f
feat: implement open interest cap localization and refactor subscript…
abretonc7s 67e6ed0
chore: cleanup
abretonc7s 97a6327
cleanup
abretonc7s e7c7973
fix: bugbot
abretonc7s 61c1e57
Merge branch 'main' into feat/perps/oi-cap-check
abretonc7s 377b0f0
Merge branch 'main' into feat/perps/oi-cap-check
abretonc7s File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
app/components/UI/Perps/components/PerpsOICapWarning/PerpsOICapWarning.styles.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| import { StyleSheet } from 'react-native'; | ||
| import type { Theme } from '../../../../../util/theme/models'; | ||
|
|
||
| const styleSheet = (params: { theme: Theme }) => { | ||
| const { colors } = params.theme; | ||
|
|
||
| return StyleSheet.create({ | ||
| container: { | ||
| flexDirection: 'row', | ||
| alignItems: 'flex-start', | ||
| gap: 8, | ||
| }, | ||
| bannerContainer: { | ||
| backgroundColor: colors.warning.muted, | ||
| borderRadius: 8, | ||
| padding: 12, | ||
| borderWidth: 1, | ||
| borderColor: colors.warning.default, | ||
| }, | ||
| inlineContainer: { | ||
| paddingVertical: 8, | ||
| }, | ||
| icon: { | ||
| marginTop: 2, | ||
| }, | ||
| textContainer: { | ||
| flex: 1, | ||
| gap: 4, | ||
| }, | ||
| title: { | ||
| fontWeight: '600', | ||
| }, | ||
| description: { | ||
| lineHeight: 18, | ||
| }, | ||
| }); | ||
| }; | ||
|
|
||
| export default styleSheet; |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.