-
Notifications
You must be signed in to change notification settings - Fork 4
/
ERC4626Target4.sol
26 lines (24 loc) · 1.24 KB
/
ERC4626Target4.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.24;
import { HyperdriveTarget4 } from "../../external/HyperdriveTarget4.sol";
import { IHyperdrive } from "../../interfaces/IHyperdrive.sol";
import { IHyperdriveAdminController } from "../../interfaces/IHyperdriveAdminController.sol";
import { ERC4626Base } from "./ERC4626Base.sol";
/// @author DELV
/// @title ERC4626Target4
/// @notice ERC4626Hyperdrive's target4 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 ERC4626Target4 is HyperdriveTarget4, ERC4626Base {
/// @notice Initializes the target4 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
) HyperdriveTarget4(_config, __adminController) {}
}