Flash unwinder contracts and scripts, relay lane tuning, trustless bridge and token-aggregation updates.

Made-with: Cursor
This commit is contained in:
defiQUG
2026-04-12 06:33:54 -07:00
parent 662b35ad69
commit 6817f53591
40 changed files with 682 additions and 88 deletions

View File

@@ -69,7 +69,8 @@ contract AaveQuotePushFlashReceiverMainnetForkTest is Test {
receiver = new AaveQuotePushFlashReceiver(AAVE_POOL_MAINNET);
unwinder = new AaveForkMockExternalUnwinder(IERC20(CWUSDC), IERC20(USDC), 112, 100);
deal(USDC, address(unwinder), 100_000_000); // 100 USDC quote inventory for unwind payouts
// PMM + unwind sizing can require materially more than 100 USDC on a live reserve snapshot.
deal(USDC, address(unwinder), 50_000_000_000); // 50k USDC (6 decimals) for mock unwind payouts
}
function testFork_aaveQuotePush_usesRealAaveAndRealMainnetPmm() public skipIfNoFork {