docs: update testSplitInputCyclicSwap
Co-authored-by: Tamara <tamara@datarevenue.com>
This commit is contained in:
committed by
GitHub
parent
34d5ac6e1c
commit
38cdf28e7e
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user