diff --git a/src/swap/constants.ts b/src/swap/constants.ts index b7c6913ee3..af8bc6fd55 100644 --- a/src/swap/constants.ts +++ b/src/swap/constants.ts @@ -2,11 +2,11 @@ export const GENERAL_SWAP_ERROR_CODE = 'SWAP_ERROR'; export const GENERAL_SWAP_QUOTE_ERROR_CODE = 'SWAP_QUOTE_ERROR'; export const GENERAL_SWAP_BALANCE_ERROR_CODE = 'SWAP_BALANCE_ERROR'; export const LOW_LIQUIDITY_ERROR_CODE = 'SWAP_QUOTE_LOW_LIQUIDITY_ERROR'; +export const PERMIT2_CONTRACT_ADDRESS = + '0x000000000022D473030F116dDEE9F6B43aC78BA3'; export const TOO_MANY_REQUESTS_ERROR_CODE = 'TOO_MANY_REQUESTS_ERROR'; export const UNCAUGHT_SWAP_QUOTE_ERROR_CODE = 'UNCAUGHT_SWAP_QUOTE_ERROR'; export const UNCAUGHT_SWAP_ERROR_CODE = 'UNCAUGHT_SWAP_ERROR'; -export const USER_REJECTED_ERROR_CODE = 'USER_REJECTED'; -export const PERMIT2_CONTRACT_ADDRESS = - '0x000000000022D473030F116dDEE9F6B43aC78BA3'; export const UNIVERSALROUTER_CONTRACT_ADDRESS = '0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD'; +export const USER_REJECTED_ERROR_CODE = 'USER_REJECTED';