Skip to content

Commit

Permalink
remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
xrsv committed Dec 3, 2024
1 parent 53b02fc commit 882a4bf
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,18 +195,14 @@ export abstract class TickBasedHeuristicGasModelFactory<
? nativeAmountPool.token0Price
: nativeAmountPool.token1Price;

// gasCostInTermsOfAmountToken = 29.487425 | 11.0
const gasCostInTermsOfAmountToken = nativeAndAmountTokenPrice.quote(
// nativeAndAmountTokenPrice = 3554.58
totalGasCostNativeCurrency
) as CurrencyAmount;

// Convert gasCostInTermsOfAmountToken to quote token using execution price
let syntheticGasCostInTermsOfQuoteToken: CurrencyAmount | null;
try {
// syntheticGasCostInTermsOfQuoteToken = 29 | 19 | 11
syntheticGasCostInTermsOfQuoteToken = executionPrice.quote(
// executionPrice = 0.99
gasCostInTermsOfAmountToken
);
} catch (err) {
Expand Down

0 comments on commit 882a4bf

Please sign in to comment.