• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

delvtech / hyperdrive / 9978203640

17 Jul 2024 04:00PM UTC coverage: 92.08%. Remained the same
9978203640

push

github

web-flow
EzETH and RETH redeployments (#1098)

* Bump the version

* Added configuration files for the renzo and rocket pool yield sources

* Removed fixmes

* Fixed the issues in the deployment scripts

* Deployed the EzETH and RETH deployer coordinators and pools

* Fixed a bug in `convertToBase` and `convertToShares`

* FIXME: Temporarily updated deployment.json and deploy.sh

* Redeployed the pools

* Added a script to remove old depoyer coordinators

0 of 2 new or added lines in 1 file covered. (0.0%)

2081 of 2260 relevant lines covered (92.08%)

381859.51 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

50.0
/contracts/src/instances/aave/AaveTarget0.sol
1
// SPDX-License-Identifier: Apache-2.0
2
pragma solidity 0.8.20;
3

4
import { IPool } from "aave/interfaces/IPool.sol";
5
import { HyperdriveTarget0 } from "../../external/HyperdriveTarget0.sol";
6
import { IHyperdrive } from "../../interfaces/IHyperdrive.sol";
7
import { AAVE_HYPERDRIVE_KIND } from "../../libraries/Constants.sol";
8
import { AaveBase } from "./AaveBase.sol";
9

10
/// @author DELV
11
/// @title AaveTarget0
12
/// @notice AaveHyperdrive's target0 logic contract. This contract contains
13
///         all of the getters for Hyperdrive as well as some stateful
14
///         functions.
15
/// @custom:disclaimer The language used in this code is for coding convenience
16
///                    only, and is not intended to, and does not, have any
17
///                    particular legal or regulatory significance.
18
contract AaveTarget0 is HyperdriveTarget0, AaveBase {
19
    /// @notice Initializes the target0 contract.
20
    /// @param _config The configuration of the Hyperdrive pool.
21
    constructor(
22
        IHyperdrive.PoolConfig memory _config
23
    ) HyperdriveTarget0(_config) {}
24

25
    /// @notice Returns the instance's kind.
26
    /// @return The instance's kind.
27
    function kind() external pure override returns (string memory) {
28
        _revert(abi.encode(AAVE_HYPERDRIVE_KIND));
1✔
29
    }
30

31
    /// @notice Gets the Aave pool used as this pool's yield source.
32
    /// @return The Aave pool.
33
    function vault() external view returns (IPool) {
34
        _revert(abi.encode(_vault));
×
35
    }
36
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc