docs: update testSplitInputCyclicSwap

Co-authored-by: Tamara <tamara@datarevenue.com>
This commit is contained in:
Harsh Vardhan Roy
2025-03-10 23:25:38 +05:30
committed by GitHub
parent 34d5ac6e1c
commit 38cdf28e7e

View File

@@ -1232,11 +1232,11 @@ contract TychoRouterTest is TychoRouterTestSetup {
function testSplitInputCyclicSwap() public { function testSplitInputCyclicSwap() public {
// This test has start and end tokens that are the same // This test has start and end tokens that are the same
// The flow is: // The flow is:
// ┌─── 60% ──> WETH ───┐ // ┌─ (USV3, 60% split) ──> WETH ─┐
// │ │ // │
// USDC ──────┤ ──> USDC // USDC ──────┤ ├──(USV2)──> USDC
// │ │ // │
// └─── 40% ──> WETH ───┘ // └─ (USV3, 40% split) ──> WETH ─┘
uint256 amountIn = 100 * 10 ** 6; uint256 amountIn = 100 * 10 ** 6;
deal(USDC_ADDR, tychoRouterAddr, amountIn); deal(USDC_ADDR, tychoRouterAddr, amountIn);