Skip to content

Commit

Permalink
remove enableAggregator since it is enabled by default
Browse files Browse the repository at this point in the history
  • Loading branch information
tientran3 committed Aug 19, 2024
1 parent 9af3de1 commit 996eea0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion hosted-sdk-demo/src/roll-over-pt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 0 additions & 2 deletions hosted-sdk-demo/src/transfer-liquidity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ export async function transferLiquidity() {
lpAmount: '1000000000000000000',
ptAmount: '0',
ytAmount: '0',
enableAggregator: true,
});

console.log('Amount LP Out: ', res.data.amountLpOut);
Expand All @@ -32,7 +31,6 @@ export async function transferLiquidityKeepYt() {
lpAmount: '1000000000000000000',
ptAmount: '0',
ytAmount: '0',
enableAggregator: true,
zpi: true,
});

Expand Down

0 comments on commit 996eea0

Please sign in to comment.