Commit a8dd82c
committed
Draft for optimization
refactor(UniswapV3SwapConnectors.cdc): rename variable slot0Res to s0Res for brevity and consistency in naming conventions
refactor(UniswapV3SwapConnectors.cdc): change maxAmount type from UInt to UFix128 for improved precision in calculations
fix(UniswapV3SwapConnectors.cdc): update calculations to use UFix128 for consistent handling of decimal values in price impact logic1 parent b5d9c9b commit a8dd82c
File tree
1 file changed
+52
-307
lines changed- cadence/contracts/connectors/evm
1 file changed
+52
-307
lines changed
0 commit comments