-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Move add tokens config into common widgets lib (#2488)
- Loading branch information
1 parent
35afa08
commit 92dea03
Showing
6 changed files
with
21 additions
and
24 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
@@ -1,3 +1,17 @@ | ||
export const SQUID_SDK_BASE_URL = 'https://apiplus.squidrouter.com'; | ||
|
||
export const SQUID_NATIVE_TOKEN = '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE'; | ||
|
||
export const APPROVE_TXN_ANIMATION = '/access_coins.riv'; | ||
|
||
export const EXECUTE_TXN_ANIMATION = '/swapping_coins.riv'; | ||
|
||
export const BLOCK_TXN_ANIMATION = '/blocked.riv'; | ||
|
||
export const ERROR_TXN_ANIMATION = '/error.riv'; | ||
|
||
export const TOOLKIT_SQUID_URL = 'https://toolkit.immutable.com/squid-bridge/'; | ||
|
||
export const FIXED_HANDOVER_DURATION = 2000; | ||
|
||
export const TOKEN_PRIORITY_ORDER = ['IMX', 'USDC', 'ETH']; |
This file contains 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 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
13 changes: 0 additions & 13 deletions
13
packages/checkout/widgets-lib/src/widgets/add-tokens/utils/config.ts
This file was deleted.
Oops, something went wrong.
This file contains 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 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