app-monorepo
app-monorepo copied to clipboard
Feat/swap
PR Summary
This PR brings multiple changes, primarily focusing on creating and managing "SWAP" functionality in the mobile application. Here are the key changes:
-
Update of 'react-native-view-shot' Library Version The version of the 'react-native-view-shot' library was updated. This library allows us to capture screenshots, an essential part for sharing progress or reporting issues.
-
New Word Addition to the Spell Checker A new word, 'swft', has been added to the spell checker to prevent it from being highlighted as a spelling error during code reviews.
-
Addition and Update of Swap-relevant Components and Routes Many new components related to the "swap" functionality were added, which includes elements for displaying swap rates, selecting tokens, selecting slippage percentages, managing swap history, and much more. Besides, several new route configurations were added to navigate to these components.
-
New Additions to Manage Swap History and Slippage Files 'SimpleDbEntitySwapHistory.ts', 'SimpleDbEntitySwapNetworksSort.ts', and 'simpleDbEntitySwapSlippage.ts' were added to manage swap history, sort swap networks, and handle swap slippages.
-
Swap Providers, Slippage Values, and Transaction Explorers Constants and configurations related to swap providers, slippage values, and transaction explorers were added to provide a richer user interface and better user experience.
-
Implementation of New Hooks New hooks related to building swap transactions, fetching swap quotes, managing receiver address, selecting slippage, managing swap states, handling swap tokens and network lists, and managing swap transaction history were implemented.
-
Utility Functions New utility functions were added to assist in swapping tokens.
-
Addition of ~~Endpoint URLs~~ Endpoint Definitions New endpoint URLs were added to facilitate access to different APIs.
-
Modification of getRandomValues Function The existing code around the 'global.crypto.getRandomValues' function was modified in the
index.native.jsfile. -
Changes in Export Structure Finally, in the 'index.tsx' file, some modifications were done related to the exporting of various elements and removal of unnecessary code, which makes it easier for other developers to reference these exported modules.
需要解决下冲突
No dependency changes detected. Learn more about Socket for GitHub ↗︎
👍 No dependency changes detected in pull request