From a934ae4e5540eaf2f85606c5218dd76591f32e16 Mon Sep 17 00:00:00 2001 From: Ben Wolski <570819+benwolski@users.noreply.github.com> Date: Sat, 18 Jan 2025 00:29:02 -0500 Subject: [PATCH 1/2] fix rswETH vault withdrawal --- package.json | 2 +- src/vaults/tempest.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index e2b54e9..b77bf32 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@crocswap-libs/sdk", - "version": "2.0.0", + "version": "2.0.1", "description": "🛠🐊🛠 An SDK for building applications on top of CrocSwap", "author": "Ben Wolski ", "repository": "https://github.com/CrocSwap/sdk.git", diff --git a/src/vaults/tempest.ts b/src/vaults/tempest.ts index bf126b2..a1ea1c4 100644 --- a/src/vaults/tempest.ts +++ b/src/vaults/tempest.ts @@ -29,7 +29,7 @@ export class TempestVault { case 'symetricAmbient': return (await this.vault).deposit(await weiQty, owner, Typed.bool(true), txArgs) case 'rswEth': - return (await this.vault).deposit(await weiQty, owner, Typed.bytes('0x00'), txArgs) + return (await this.vault).deposit(await weiQty, owner, Typed.bytes('0x'), txArgs) } } @@ -44,7 +44,7 @@ export class TempestVault { case 'symetricAmbient': return (await this.vault).redeem(await weiQty, owner, owner, Typed.uint256(await minWeiQty), Typed.bool(true)) case 'rswEth': - return (await this.vault).redeem(await weiQty, owner, owner, Typed.bytes('0x00')) + return (await this.vault).redeem(await weiQty, owner, owner, Typed.bytes('0x')) } } From 2e96ddc1113ce9512fb07b5ebbd8320e061bcc95 Mon Sep 17 00:00:00 2001 From: Ben Wolski <570819+benwolski@users.noreply.github.com> Date: Wed, 29 Jan 2025 12:55:03 -0500 Subject: [PATCH 2/2] fix blast & zircuit network definition --- package.json | 2 +- src/constants.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index b77bf32..98c76ef 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@crocswap-libs/sdk", - "version": "2.0.1", + "version": "2.0.2", "description": "🛠🐊🛠 An SDK for building applications on top of CrocSwap", "author": "Ben Wolski ", "repository": "https://github.com/CrocSwap/sdk.git", diff --git a/src/constants.ts b/src/constants.ts index 66c5b82..2cc8083 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -87,7 +87,7 @@ const BLAST_CHAIN: ChainSpec = { routerBypass: "0xd83eF4d0e968A96329aC297bBf049CDdaC7E0362" }, poolIndex: 420, - isTestNet: true, + isTestNet: false, chainId: "0x13e31", gridSize: 4, proxyPaths: { @@ -110,7 +110,7 @@ const ZIRCUIT_CHAIN: ChainSpec = { routerBypass: "0xd83eF4d0e968A96329aC297bBf049CDdaC7E0362" }, poolIndex: 420, - isTestNet: true, + isTestNet: false, chainId: "0x13e31", gridSize: 4, proxyPaths: {