Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
"@arbitrum/sdk": "^3.1.3",
"@argent/login": "^0.1.0-beta.4",
"@coinbase/wallet-sdk": "^4.0.3",
"@cryptorubic/core": "^0.8.15",
"@cryptorubic/web3": "^0.8.15",
"@cryptorubic/core": "0.11.0-alpha.1",
"@cryptorubic/web3": "0.11.0-alpha.1",
"@hakimio/ngx-google-analytics": "^15.0.0",
"@ng-web-apis/common": "^3.0.1",
"@ng-web-apis/mutation-observer": "^3.0.1",
Expand Down Expand Up @@ -93,7 +93,7 @@
"ngx-cookie-service": "^16.0.0",
"querystring-es3": "^0.2.1",
"rpc-websockets": "7.9.0",
"rubic-sdk": "npm:rubic-sdk-next@6.0.0-alpha-new-sdk-fixes.66",
"rubic-sdk": "npm:rubic-sdk-next@6.0.0-alpha-new-sdk-fixes.68",
"rxjs": "7.8.1",
"ts-cacheable": "^1.0.5",
"viem": "^1.21.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,6 @@ export const FROM_BACKEND_CROSS_CHAIN_PROVIDERS: Record<
relay: CROSS_CHAIN_TRADE_TYPE.RELAY,
orbiter_bridge_v2: CROSS_CHAIN_TRADE_TYPE.ORBITER_BRIDGE_V2,
wormhole_mayan: CROSS_CHAIN_TRADE_TYPE.WORMHOLE,
exolix: CROSS_CHAIN_TRADE_TYPE.EXOLIX
exolix: CROSS_CHAIN_TRADE_TYPE.EXOLIX,
lets_exchange: CROSS_CHAIN_TRADE_TYPE.LETS_EXCHANGE
};
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ const toProviders = {
[CROSS_CHAIN_TRADE_TYPE.RELAY]: 'relay',
[CROSS_CHAIN_TRADE_TYPE.ORBITER_BRIDGE_V2]: 'orbiter_bridge_v2',
[CROSS_CHAIN_TRADE_TYPE.WORMHOLE]: 'wormhole_mayan',
[CROSS_CHAIN_TRADE_TYPE.EXOLIX]: 'exolix'
[CROSS_CHAIN_TRADE_TYPE.EXOLIX]: 'exolix',
[CROSS_CHAIN_TRADE_TYPE.LETS_EXCHANGE]: 'lets_exchange'
} as const;

export const TO_BACKEND_CROSS_CHAIN_PROVIDERS: Record<CrossChainTradeType, string> = {
Expand Down
6 changes: 6 additions & 0 deletions src/app/features/trade/constants/bridge-providers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,12 @@ export const BRIDGE_PROVIDERS: Record<BridgeType, ProviderInfo> = {
image: `${imageBasePath}layerzero.svg`,
name: 'LayerZero'
},
lets_exchange: {
averageTime: 5,
color: '#999999',
image: `${imageBasePath}lets-exchange.png`,
name: "Let's Exchange"
},
lifi: {
averageTime: 5,
color: '#bf38ee',
Expand Down
4 changes: 3 additions & 1 deletion src/app/features/trade/constants/centralization-status.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ export type CentralizationStatus =
export const CENTRALIZATION_CONFIG: Partial<Record<CrossChainTradeType, CentralizationStatus>> = {
[CROSS_CHAIN_TRADE_TYPE.SIMPLE_SWAP]: CENTRALIZATION_STATUS.SEMI_CENTRALIZED,
[CROSS_CHAIN_TRADE_TYPE.CHANGENOW]: CENTRALIZATION_STATUS.SEMI_CENTRALIZED,
[CROSS_CHAIN_TRADE_TYPE.EXOLIX]: CENTRALIZATION_STATUS.SEMI_CENTRALIZED
[CROSS_CHAIN_TRADE_TYPE.CHANGELLY]: CENTRALIZATION_STATUS.SEMI_CENTRALIZED,
[CROSS_CHAIN_TRADE_TYPE.EXOLIX]: CENTRALIZATION_STATUS.SEMI_CENTRALIZED,
[CROSS_CHAIN_TRADE_TYPE.LETS_EXCHANGE]: CENTRALIZATION_STATUS.SEMI_CENTRALIZED
};

export function hasCentralizationStatus(
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
40 changes: 20 additions & 20 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2278,29 +2278,29 @@
dot "^2.0.0-beta.1"
fs-extra "^11.1.1"

"@cryptorubic/core@0.8.15", "@cryptorubic/core@^0.8.15":
version "0.8.15"
resolved "https://registry.yarnpkg.com/@cryptorubic/core/-/core-0.8.15.tgz#ff15efd7c0b08cfe4cbf86d356bb10c5b4ac8173"
integrity sha512-UjBphsoRAlJtjGkIV0iFNZr0sQn+vZPU8qBbo3Wo/OZWi3OUy5jWxAKdWpalNUiN+K40p9EECOvJMVtUoRiRcA==
"@cryptorubic/core@0.11.0-alpha.1", "@cryptorubic/core@^0.11.0-alpha.1":
version "0.11.0-alpha.1"
resolved "https://registry.yarnpkg.com/@cryptorubic/core/-/core-0.11.0-alpha.1.tgz#0a2d62c70c900afe56fe8ab561006491b6d168a7"
integrity sha512-sp2Wq7PAS3Yc7QmT3ium1YefoSRMqiKnAsnTsMqB2BUMzl1tLFAjWztTelp19joyNisUyVBsVnyg82zrbR7//w==
dependencies:
bignumber.js "9.1.2"
jest-mock-promise "^2.0.2"
tslib "^2.3.0"

"@cryptorubic/tron-types@0.8.15":
version "0.8.15"
resolved "https://registry.yarnpkg.com/@cryptorubic/tron-types/-/tron-types-0.8.15.tgz#407279ab8f2dc16bd4891587810a8e65c0cea6fb"
integrity sha512-bSLYRn/KZkAwcFMdBwKwNsDRoH0NMqmg0kOZPAlgaqrLuqGYG8NBZpZAG9TtGcKLLa6Q16lSACzEp6H5LWQhRw==
"@cryptorubic/tron-types@0.11.0-alpha.1":
version "0.11.0-alpha.1"
resolved "https://registry.yarnpkg.com/@cryptorubic/tron-types/-/tron-types-0.11.0-alpha.1.tgz#f6d65f7c2346c35893dca80ffff0dbd12b4b1e84"
integrity sha512-OteqqJIjB3sXSE220qiiA4Wvqd8ta3Te2wjncrXz8qjCFePpp2B1InK/E/jJSxeZKnXeGssaMN0DmRrcXcrqNw==
dependencies:
"@ethersproject/bignumber" "^5.7.0"

"@cryptorubic/web3@^0.8.15":
version "0.8.15"
resolved "https://registry.yarnpkg.com/@cryptorubic/web3/-/web3-0.8.15.tgz#bc5a47a823ec0d7c91500d5a88530f9387e6fd1f"
integrity sha512-9dyWPdFYTDtxgG8pJZio4ldnwDbhMtJcu5YmpchCTONxwFRayNRe9AtmHWlEzrd4Zhrzrg8jfgrSujatwrHE0g==
"@cryptorubic/web3@0.11.0-alpha.1", "@cryptorubic/web3@^0.11.0-alpha.1":
version "0.11.0-alpha.1"
resolved "https://registry.yarnpkg.com/@cryptorubic/web3/-/web3-0.11.0-alpha.1.tgz#cecfecfd700215c12f31a5b80ca1245fe365e5bd"
integrity sha512-KLfHAIhrg5Fx5YDlYkVryD3+zFlLeZ5zDj811OItRi8BejAdytHZnAKYAeVK6xvscnlrFamOQGbNX/EJMM8iWg==
dependencies:
"@cryptorubic/core" "0.8.15"
"@cryptorubic/tron-types" "0.8.15"
"@cryptorubic/core" "0.11.0-alpha.1"
"@cryptorubic/tron-types" "0.11.0-alpha.1"
"@ethersproject/bignumber" "^5.7.0"
"@mysten/sui" "^1.24.0"
"@solana/spl-token" "0.2.0"
Expand Down Expand Up @@ -17599,15 +17599,15 @@ rpc-websockets@^9.0.2:
bufferutil "^4.0.1"
utf-8-validate "^5.0.2"

"rubic-sdk@npm:rubic-sdk-next@6.0.0-alpha-new-sdk-fixes.66":
version "6.0.0-alpha-new-sdk-fixes.66"
resolved "https://registry.yarnpkg.com/rubic-sdk-next/-/rubic-sdk-next-6.0.0-alpha-new-sdk-fixes.66.tgz#6d8204106c988e6cc34c205853c118836bfb76c2"
integrity sha512-+8/a2QTxWCI3fVLiDlh0jx/vXpXVQh4ec6ZrX8J6vYr2lqLTIktYcnRqjL58bhCdj+CGEtSN5BGXeAqwedrU8g==
"rubic-sdk@npm:rubic-sdk-next@6.0.0-alpha-new-sdk-fixes.68":
version "6.0.0-alpha-new-sdk-fixes.68"
resolved "https://registry.yarnpkg.com/rubic-sdk-next/-/rubic-sdk-next-6.0.0-alpha-new-sdk-fixes.68.tgz#48d0e9c05ef05c2131e5262e4d58f2a437d5196a"
integrity sha512-UfZ4R0+MWWQMiGREgS0KCH3YaI66y7DKK9p1Nj6B70xjwLBufbPXP2cwqLSur4EhHqTko7eej7q5lPFDdXktlw==
dependencies:
"@1inch/limit-order-protocol-utils" "3.0.1"
"@arbitrum/sdk" "^3.1.3"
"@cryptorubic/core" "^0.8.15"
"@cryptorubic/web3" "^0.8.15"
"@cryptorubic/core" "^0.11.0-alpha.1"
"@cryptorubic/web3" "^0.11.0-alpha.1"
"@debridge-finance/debridge-external-call" "^1.0.7"
"@dedust/sdk" "^0.8.7"
"@layerzerolabs/scan-client" "0.0.8"
Expand Down
Loading