Skip to content

Commit d4868b8

Browse files
committed
remove cbridge for gravity
1 parent 983e89f commit d4868b8

File tree

5 files changed

+8
-14
lines changed

5 files changed

+8
-14
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rubic-sdk",
3-
"version": "5.36.6-alpha-gravity-providers.2",
3+
"version": "5.36.6-alpha-gravity-providers.4",
44
"description": "Simplify dApp creation",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",
@@ -93,7 +93,7 @@
9393
"ethers": "^5.6.8",
9494
"graphql-request": "^6.1.0",
9595
"grpc-web": "^1.4.2",
96-
"iziswap-sdk": "1.4.12",
96+
"iziswap-sdk": "1.5.1",
9797
"lodash.clonedeep": "^4.5.0",
9898
"rxjs": "7.8.1",
9999
"tronweb": "^5.3.2",

src/features/cross-chain/calculation-manager/providers/cbridge/constants/cbridge-contract-address.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,5 @@ export const cbridgeContractAddress: Record<
7070
providerGateway: '0x358234B325EF9eA8115291A8b81b7d33A2Fa762D',
7171
providerRouter: '0x358234B325EF9eA8115291A8b81b7d33A2Fa762D',
7272
rubicRouter: '0x841ce48F9446C8E281D3F1444cB859b4A6D0738C'
73-
},
74-
[BLOCKCHAIN_NAME.GRAVITY]: {
75-
providerGateway: '0x9B36f165baB9ebe611d491180418d8De4b8f3a1f',
76-
providerRouter: '0x9B36f165baB9ebe611d491180418d8De4b8f3a1f',
77-
rubicRouter: '0x33798753ec66aEc00ed7E337B41F444f53A63333'
7873
}
7974
};

src/features/cross-chain/calculation-manager/providers/cbridge/constants/cbridge-supported-blockchains.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ export const cbridgeSupportedBlockchains = [
1313
BLOCKCHAIN_NAME.GOERLI,
1414
BLOCKCHAIN_NAME.BINANCE_SMART_CHAIN_TESTNET,
1515
BLOCKCHAIN_NAME.MUMBAI,
16-
BLOCKCHAIN_NAME.FUJI,
17-
BLOCKCHAIN_NAME.GRAVITY
16+
BLOCKCHAIN_NAME.FUJI
1817
] as const;
1918

2019
export type CbridgeCrossChainSupportedBlockchain = (typeof cbridgeSupportedBlockchains)[number];

src/features/on-chain/calculation-manager/providers/dexes/common/izumi-abstract/izumi-trade.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export class IzumiTrade extends EvmOnChainTrade {
9393
const { swapCalling, options: data } = getSwapChainWithExactInputCall(
9494
swapContract,
9595
this.walletAddress,
96-
chain,
96+
chain ?? chainId,
9797
swapParams,
9898
gasPriceInfo.gasPrice.toFixed()
9999
);

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7239,10 +7239,10 @@ istanbul-reports@^3.1.3:
72397239
html-escaper "^2.0.0"
72407240
istanbul-lib-report "^3.0.0"
72417241

7242-
iziswap-sdk@1.4.12:
7243-
version "1.4.12"
7244-
resolved "https://registry.yarnpkg.com/iziswap-sdk/-/iziswap-sdk-1.4.12.tgz#658425fd588f019d8e5a6f0f4fe466439116299b"
7245-
integrity sha512-CkWI5QJstjqSemoShpCTjgi+aaL0SZ6asLnVNPmVy6wuL4HAlaDef3CmZKcj/yP6b8QeaqrltE29C//uUT/8tA==
7242+
iziswap-sdk@1.5.1:
7243+
version "1.5.1"
7244+
resolved "https://registry.yarnpkg.com/iziswap-sdk/-/iziswap-sdk-1.5.1.tgz#2d05e0f564500651258dc2a35dd38606864e61d1"
7245+
integrity sha512-79a3u3f7aDedAGXIv2qNfL7vLS6TBtJjl94N/vQZL2TCXtiK4o9NvMhhd4gGscwjSyUVZwhlx26/M8G/kERf3Q==
72467246
dependencies:
72477247
bignumber.js "^9.0.2"
72487248
http "^0.0.1-security"

0 commit comments

Comments
 (0)