Conversation
… icons component mapping
slippage was to low for ssETH and unable to be solved. updated to 50 bips per jamie and juns requests
fix(ssETH): update withdrawal slippage to 50 bips
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
…h the vault depreciation strategy
updated config to remove bridge tab
updated networks config for bobaETH to only allow withdrawal to weth
fix(fix/vault-deprecation-strategy):
There was a problem hiding this comment.
Pull Request Overview
This PR implements vault depreciation by reordering and reorganizing token configurations to deprecate certain vaults and introduce new tokens. The changes maintain alphabetical ordering in the token configurations and clean up network asset configurations by removing deprecated vault entries.
- Alphabetical reordering of token configurations in
tokensConfigwhile adding new tokens (TUSD, USDC) - Removal of deprecated vault configurations from network assets and bridge settings
- Addition of new token icon components for TUSD, USDC, and Rswell with proper imports
Reviewed Changes
Copilot reviewed 7 out of 9 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| types/TokenKey.ts | Adds new token keys TUSD and USDC to the enum |
| config/tokens.ts | Alphabetically reorders all token configurations and adds new token entries |
| config/networks.ts | Removes deprecated vault configurations and bridge settings |
| components/shared/icons/TokenUsdc.tsx | Adds new USDC token icon component |
| components/shared/icons/TokenTusd.tsx | Adds new TUSD token icon component |
| components/shared/icons/Rswell.tsx | Adds new Rswell icon component |
| components/config/tokenIcons.tsx | Updates token icon mappings and imports for new tokens |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
| name: 'pufETH', | ||
| symbol: 'PUFETH', | ||
| [TokenKey.RARI]: { | ||
| key: TokenKey.RARIETH, |
There was a problem hiding this comment.
The RARI token configuration is using TokenKey.RARIETH as the key instead of TokenKey.RARI. This creates a mismatch between the object key ([TokenKey.RARI]) and the internal key property.
| key: TokenKey.RARIETH, | |
| key: TokenKey.RARI, |
No description provided.