diff --git a/package.json b/package.json index 6ebda75..afeddfe 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@orionprotocol/sdk", - "version": "0.20.88-rc8", + "version": "0.20.88-rc9", "description": "Orion Protocol SDK", "main": "./lib/index.cjs", "module": "./lib/index.js", diff --git a/src/Unit/Exchange/callGenerators/uniswapV2.ts b/src/Unit/Exchange/callGenerators/uniswapV2.ts index 86778bc..4fa1566 100644 --- a/src/Unit/Exchange/callGenerators/uniswapV2.ts +++ b/src/Unit/Exchange/callGenerators/uniswapV2.ts @@ -36,7 +36,7 @@ export async function generateUni2Calls( } const lastSwap = path.last(); - const fee = lastSwap.fee ?? 3; + const fee = lastSwap.fee ?? 30; const scaledFee = countScaledFee(fee.toString()); const calldata = executorInterface.encodeFunctionData('swapUniV2Scaled', [ lastSwap.pool, @@ -54,7 +54,7 @@ export function generateUni2Call( assetIn: string, assetOut: string, recipient: string, - fee: BigNumberish = 3, + fee: BigNumberish = 30, ) { const executorInterface = SwapExecutor__factory.createInterface() const scaledFee = countScaledFee(fee.toString());