forked from pendle-finance/pendle-sy-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnza-erc4626.t.sol
More file actions
23 lines (17 loc) · 814 Bytes
/
nza-erc4626.t.sol
File metadata and controls
23 lines (17 loc) · 814 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity ^0.8.28;
import {SYWithAdapterTest} from "../../../common/SYWithAdapterTest.t.sol";
import {PendleUSDSAdapter} from "../../adapters/PendleUSDSAdapter.sol";
import {IStandardizedYield} from "pendle-sy/interfaces/IStandardizedYield.sol";
contract NZAERC4626SYTest is SYWithAdapterTest {
address internal constant SUSDS = 0xa3931d71877C0E7a3148CB7Eb4463524FEc27fbD;
function setUpFork() internal override {
vm.createSelectFork("ethereum");
}
function deploySY() internal override {
vm.startPrank(deployer);
address adapter = address(new PendleUSDSAdapter());
sy = IStandardizedYield(deploySYWithAdapter(AdapterType.ERC4626, SUSDS, "SY Sky SUSDS", "SY-SUSDS", adapter));
vm.stopPrank();
}
}