From 996eea07952386eb49b16c7e1bd36034d775af69 Mon Sep 17 00:00:00 2001 From: Tien Tran Date: Mon, 19 Aug 2024 08:52:06 +0700 Subject: [PATCH] remove `enableAggregator` since it is enabled by default --- hosted-sdk-demo/src/roll-over-pt.ts | 1 - hosted-sdk-demo/src/transfer-liquidity.ts | 2 -- 2 files changed, 3 deletions(-) diff --git a/hosted-sdk-demo/src/roll-over-pt.ts b/hosted-sdk-demo/src/roll-over-pt.ts index 561464a..ae18acf 100644 --- a/hosted-sdk-demo/src/roll-over-pt.ts +++ b/hosted-sdk-demo/src/roll-over-pt.ts @@ -11,7 +11,6 @@ export async function rollOverPt() { slippage: 0.01, dstMarket: MARKET_ADDRESS, ptAmount: '1000000000000000000', - enableAggregator: true, }); console.log('Amount PT Out: ', res.data.amountPtOut); diff --git a/hosted-sdk-demo/src/transfer-liquidity.ts b/hosted-sdk-demo/src/transfer-liquidity.ts index afcdb1d..00965b3 100644 --- a/hosted-sdk-demo/src/transfer-liquidity.ts +++ b/hosted-sdk-demo/src/transfer-liquidity.ts @@ -13,7 +13,6 @@ export async function transferLiquidity() { lpAmount: '1000000000000000000', ptAmount: '0', ytAmount: '0', - enableAggregator: true, }); console.log('Amount LP Out: ', res.data.amountLpOut); @@ -32,7 +31,6 @@ export async function transferLiquidityKeepYt() { lpAmount: '1000000000000000000', ptAmount: '0', ytAmount: '0', - enableAggregator: true, zpi: true, });