Skip to content

Commit

Permalink
test: add mainnetv2 stataWrapper (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkflow27 authored Dec 11, 2024
1 parent f6245bf commit 58406b3
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions test/mainnet/ERC4626MainnetAaveUsdcV2.t.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
// SPDX-License-Identifier: GPL-3.0-or-later

pragma solidity ^0.8.24;

import "forge-std/Test.sol";

import { IERC4626 } from "@openzeppelin/contracts/interfaces/IERC4626.sol";

import { ERC4626WrapperBaseTest } from "../ERC4626WrapperBase.t.sol";

contract ERC4626MainnetAaveUsdcV2Test is ERC4626WrapperBaseTest {
function setUp() public override {
ERC4626WrapperBaseTest.setUp();
}

function setUpForkTestVariables() internal override {
network = "mainnet";

// Aave's aUsdc
wrapper = IERC4626(0xD4fa2D31b7968E448877f69A96DE69f5de8cD23E);
// Donor of USDC tokens
underlyingDonor = 0x4B16c5dE96EB2117bBE5fd171E4d203624B014aa;
amountToDonate = 1e6 * 1e6;
}
}

0 comments on commit 58406b3

Please sign in to comment.