diff --git a/projects/sdk/src/lib/farm/actions/AddLiquidity.ts b/projects/sdk/src/lib/farm/actions/AddLiquidity.ts index e4350b5aba..d3f8402bd7 100644 --- a/projects/sdk/src/lib/farm/actions/AddLiquidity.ts +++ b/projects/sdk/src/lib/farm/actions/AddLiquidity.ts @@ -18,16 +18,6 @@ export class AddLiquidity extends StepClass { } async run(_amountInStep: ethers.BigNumber, context: RunContext): Promise> { - AddLiquidity.sdk.debug(`[${this.name}.run()]`, { - pool: this._pool, - registry: this._registry, - amounts: this._amounts, - amountInStep: _amountInStep, - fromMode: this._fromMode, - toMode: this._toMode, - context - }); - if (context.runMode === RunMode.EstimateReversed) { throw new Error("Reverse estimation is not yet supported for this action"); } diff --git a/projects/sdk/src/lib/farm/actions/ClaimWithdrawal.ts b/projects/sdk/src/lib/farm/actions/ClaimWithdrawal.ts index 34b3dd1abd..15cc0d8711 100644 --- a/projects/sdk/src/lib/farm/actions/ClaimWithdrawal.ts +++ b/projects/sdk/src/lib/farm/actions/ClaimWithdrawal.ts @@ -18,11 +18,6 @@ export class ClaimWithdrawal extends StepClass { } async run(_amountInStep: ethers.BigNumber, context: RunContext) { - ClaimWithdrawal.sdk.debug(`[${this.name}.run()]`, { - tokenIn: this._tokenIn, - seasons: this._season, - to: this._to - }); return { name: this.name, amountOut: _amountInStep, diff --git a/projects/sdk/src/lib/farm/actions/ClaimWithdrawals.ts b/projects/sdk/src/lib/farm/actions/ClaimWithdrawals.ts index 2788f28f55..f94b3f60b2 100644 --- a/projects/sdk/src/lib/farm/actions/ClaimWithdrawals.ts +++ b/projects/sdk/src/lib/farm/actions/ClaimWithdrawals.ts @@ -18,11 +18,6 @@ export class ClaimWithdrawals extends StepClass { } async run(_amountInStep: ethers.BigNumber, context: RunContext) { - ClaimWithdrawals.sdk.debug(`[${this.name}.run()]`, { - tokenIn: this._tokenIn, - seasons: this._seasons, - to: this._to - }); return { name: this.name, amountOut: _amountInStep, diff --git a/projects/sdk/src/lib/farm/actions/Deposit.ts b/projects/sdk/src/lib/farm/actions/Deposit.ts index 4049850ef1..a5b8d8e7f2 100644 --- a/projects/sdk/src/lib/farm/actions/Deposit.ts +++ b/projects/sdk/src/lib/farm/actions/Deposit.ts @@ -11,12 +11,6 @@ export class Deposit extends StepClass { } async run(_amountInStep: ethers.BigNumber, context: RunContext) { - Deposit.sdk.debug(`[${this.name}.run()]`, { - token: this.token.symbol, - amountInStep: _amountInStep, - fromMode: this.fromMode, - context - }); return { name: this.name, amountOut: _amountInStep, diff --git a/projects/sdk/src/lib/farm/actions/Exchange.ts b/projects/sdk/src/lib/farm/actions/Exchange.ts index c64643f158..06689d2aba 100644 --- a/projects/sdk/src/lib/farm/actions/Exchange.ts +++ b/projects/sdk/src/lib/farm/actions/Exchange.ts @@ -19,16 +19,6 @@ export class Exchange extends StepClass implements StepClass[${this.name}.run()]`, { - pool: this.pool, - registry: this.registry, - tokenIn: this.tokenIn.symbol, - tokenOut: this.tokenOut.symbol, - amountInStep: _amountInStep, - fromMode: this.fromMode, - toMode: this.toMode, - context - }); const [tokenIn, tokenOut] = Workflow.direction( this.tokenIn, this.tokenOut, diff --git a/projects/sdk/src/lib/farm/actions/ExchangeUnderlying.ts b/projects/sdk/src/lib/farm/actions/ExchangeUnderlying.ts index 34498fec39..ca928c5606 100644 --- a/projects/sdk/src/lib/farm/actions/ExchangeUnderlying.ts +++ b/projects/sdk/src/lib/farm/actions/ExchangeUnderlying.ts @@ -18,15 +18,6 @@ export class ExchangeUnderlying extends StepClass { } async run(_amountInStep: ethers.BigNumber, context: RunContext) { - ExchangeUnderlying.sdk.debug(`>[${this.name}.run()]`, { - pool: this.pool, - tokenIn: this.tokenIn.symbol, - tokenOut: this.tokenOut.symbol, - amountInStep: _amountInStep, - fromMode: this.fromMode, - toMode: this.toMode, - context - }); const [tokenIn, tokenOut] = Workflow.direction( this.tokenIn, this.tokenOut, diff --git a/projects/sdk/src/lib/farm/actions/RemoveLiquidityOneToken.ts b/projects/sdk/src/lib/farm/actions/RemoveLiquidityOneToken.ts index ac950411b7..bd622013de 100644 --- a/projects/sdk/src/lib/farm/actions/RemoveLiquidityOneToken.ts +++ b/projects/sdk/src/lib/farm/actions/RemoveLiquidityOneToken.ts @@ -17,16 +17,6 @@ export class RemoveLiquidityOneToken extends StepClass { } async run(_amountInStep: ethers.BigNumber, context: RunContext) { - RemoveLiquidityOneToken.sdk.debug(`[${this.name}.run()]`, { - pool: this._pool, - registry: this._registry, - tokenOut: this._tokenOut, - amountInStep: _amountInStep, - fromMode: this._fromMode, - toMode: this._toMode, - context - }); - if (context.runMode === RunMode.EstimateReversed) { throw new Error("Reverse estimation is not yet supported for this action"); } diff --git a/projects/sdk/src/lib/farm/actions/TransferDeposit.ts b/projects/sdk/src/lib/farm/actions/TransferDeposit.ts index 49675cdad0..5b9471c61b 100644 --- a/projects/sdk/src/lib/farm/actions/TransferDeposit.ts +++ b/projects/sdk/src/lib/farm/actions/TransferDeposit.ts @@ -15,13 +15,6 @@ export class TransferDeposit extends StepClass { } async run(_amountInStep: ethers.BigNumber, context: RunContext) { - TransferDeposit.sdk.debug(`[${this.name}.run()]`, { - signer: this._signer, - to: this._to, - tokenIn: this._tokenIn, - season: this._season, - amount: this._amount - }); return { name: this.name, amountOut: _amountInStep, diff --git a/projects/sdk/src/lib/farm/actions/TransferDeposits.ts b/projects/sdk/src/lib/farm/actions/TransferDeposits.ts index c3f33e4e86..dc127a3252 100644 --- a/projects/sdk/src/lib/farm/actions/TransferDeposits.ts +++ b/projects/sdk/src/lib/farm/actions/TransferDeposits.ts @@ -15,13 +15,6 @@ export class TransferDeposits extends StepClass { } async run(_amountInStep: ethers.BigNumber, context: RunContext) { - TransferDeposits.sdk.debug(`[${this.name}.run()]`, { - signer: this._signer, - to: this._to, - tokenIn: this._tokenIn, - seasons: this._seasons, - amounts: this._amounts - }); return { name: this.name, amountOut: _amountInStep, diff --git a/projects/sdk/src/lib/farm/actions/TransferToken.ts b/projects/sdk/src/lib/farm/actions/TransferToken.ts index e7716e7755..b8e9e06dfb 100644 --- a/projects/sdk/src/lib/farm/actions/TransferToken.ts +++ b/projects/sdk/src/lib/farm/actions/TransferToken.ts @@ -15,14 +15,6 @@ export class TransferToken extends StepClass { } async run(_amountInStep: ethers.BigNumber, context: RunContext) { - TransferToken.sdk.debug(`[${this.name}.run()]`, { - tokenIn: this._tokenIn, - recipient: this._recipient, - amountInStep: _amountInStep, - fromMode: this._fromMode, - toMode: this._toMode - }); - return { name: this.name, amountOut: _amountInStep, // transfer exact amount diff --git a/projects/sdk/src/lib/farm/actions/UnwrapEth.ts b/projects/sdk/src/lib/farm/actions/UnwrapEth.ts index 2409cc69de..67ace2bed5 100644 --- a/projects/sdk/src/lib/farm/actions/UnwrapEth.ts +++ b/projects/sdk/src/lib/farm/actions/UnwrapEth.ts @@ -10,7 +10,6 @@ export class UnwrapEth extends StepClass { } async run(_amountInStep: ethers.BigNumber, context: RunContext) { - UnwrapEth.sdk.debug(`[${this.name}.run()]`, { fromMode: this.fromMode, _amountInStep, context }); return { name: this.name, amountOut: _amountInStep, // amountInStep should be an amount of ETH. diff --git a/projects/sdk/src/lib/farm/actions/WellShift.ts b/projects/sdk/src/lib/farm/actions/WellShift.ts index 5fd6b3aee3..ae19433b4a 100644 --- a/projects/sdk/src/lib/farm/actions/WellShift.ts +++ b/projects/sdk/src/lib/farm/actions/WellShift.ts @@ -20,16 +20,6 @@ export class WellShift extends StepClass { const reversed = context.runMode === RunMode.EstimateReversed; - WellShift.sdk.debug(`>[${this.name}.run()]`, { - well: well.name, - wellAddress: this.wellAddress, - toToken: this.toToken.symbol, - amountInStep: _amountInStep, - recipient: this.recipient, - reversed, - context - }); - if (reversed) { throw new Error("Reverse direction is not supported by shift()"); } diff --git a/projects/sdk/src/lib/farm/actions/WellSwap.ts b/projects/sdk/src/lib/farm/actions/WellSwap.ts index cf07a3a078..562bf14b63 100644 --- a/projects/sdk/src/lib/farm/actions/WellSwap.ts +++ b/projects/sdk/src/lib/farm/actions/WellSwap.ts @@ -23,16 +23,6 @@ export class WellSwap extends StepClass { await well.getName(); } catch (err) {} const reversed = context.runMode === RunMode.EstimateReversed; - WellSwap.sdk.debug(`>[${this.name}.run()]`, { - wellName: well.name, - wellAddress: this.wellAddress, - fromToken: this.fromToken.symbol, - toToken: this.toToken.symbol, - amountInStep: _amountInStep, - recipient: this.recipient, - reversed, - context - }); // Run estimate to calculate amountOut let estimate: TokenValue; diff --git a/projects/sdk/src/lib/farm/actions/WithdrawDeposit.ts b/projects/sdk/src/lib/farm/actions/WithdrawDeposit.ts index 17211b4009..3eab587c28 100644 --- a/projects/sdk/src/lib/farm/actions/WithdrawDeposit.ts +++ b/projects/sdk/src/lib/farm/actions/WithdrawDeposit.ts @@ -15,11 +15,6 @@ export class WithdrawDeposit extends StepClass { } async run(_amountInStep: ethers.BigNumber, context: RunContext) { - WithdrawDeposit.sdk.debug(`[${this.name}.run()]`, { - tokenIn: this._tokenIn, - stem: this._stem, - amount: this._amount - }); return { name: this.name, amountOut: _amountInStep, diff --git a/projects/sdk/src/lib/farm/actions/WithdrawDeposits.ts b/projects/sdk/src/lib/farm/actions/WithdrawDeposits.ts index aee8e3a6a9..6825bdfb1a 100644 --- a/projects/sdk/src/lib/farm/actions/WithdrawDeposits.ts +++ b/projects/sdk/src/lib/farm/actions/WithdrawDeposits.ts @@ -15,11 +15,6 @@ export class WithdrawDeposits extends StepClass { } async run(_amountInStep: ethers.BigNumber, context: RunContext) { - WithdrawDeposits.sdk.debug(`[${this.name}.run()]`, { - tokenIn: this._tokenIn, - stems: this._stems, - amounts: this._amounts - }); return { name: this.name, amountOut: _amountInStep, diff --git a/projects/sdk/src/lib/farm/actions/WrapEth.ts b/projects/sdk/src/lib/farm/actions/WrapEth.ts index 57a7b066c5..a2d40def01 100644 --- a/projects/sdk/src/lib/farm/actions/WrapEth.ts +++ b/projects/sdk/src/lib/farm/actions/WrapEth.ts @@ -11,7 +11,6 @@ export class WrapEth extends StepClass { } async run(_amountInStep: ethers.BigNumber, context: RunContext) { - WrapEth.sdk.debug(`>[${this.name}.run()]`, { toMode: this.toMode, _amountInStep, context }); return { name: this.name, amountOut: _amountInStep, // amountInStep should be an amount of ETH.