-
Notifications
You must be signed in to change notification settings - Fork 4
/
ERC4626Target2.sol
26 lines (24 loc) · 1.24 KB
/
ERC4626Target2.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.22;
import { HyperdriveTarget2 } from "../../external/HyperdriveTarget2.sol";
import { IHyperdrive } from "../../interfaces/IHyperdrive.sol";
import { IHyperdriveAdminController } from "../../interfaces/IHyperdriveAdminController.sol";
import { ERC4626Base } from "./ERC4626Base.sol";
/// @author DELV
/// @title ERC4626Target2
/// @notice ERC4626Hyperdrive's target2 logic contract. This contract contains
/// several stateful functions that couldn't fit into the Hyperdrive
/// contract.
/// @custom:disclaimer The language used in this code is for coding convenience
/// only, and is not intended to, and does not, have any
/// particular legal or regulatory significance.
contract ERC4626Target2 is HyperdriveTarget2, ERC4626Base {
/// @notice Initializes the target2 contract.
/// @param _config The configuration of the Hyperdrive pool.
/// @param __adminController The admin controller that will specify the
/// admin parameters for this instance.
constructor(
IHyperdrive.PoolConfig memory _config,
IHyperdriveAdminController __adminController
) HyperdriveTarget2(_config, __adminController) {}
}