From 4cc21055ed4f1a3df328e1303a638c55622f8318 Mon Sep 17 00:00:00 2001 From: Schlagonia Date: Thu, 19 Oct 2023 02:51:58 -0600 Subject: [PATCH] chore: reuse ivault --- contracts/registry/Registry.sol | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/contracts/registry/Registry.sol b/contracts/registry/Registry.sol index c398a54..49f45cf 100644 --- a/contracts/registry/Registry.sol +++ b/contracts/registry/Registry.sol @@ -5,15 +5,10 @@ import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import {Governance} from "@periphery/utils/Governance.sol"; +import {IVault} from "@yearn-vaults/interfaces/IVault.sol"; import {IVaultFactory} from "@yearn-vaults/interfaces/IVaultFactory.sol"; import {ReleaseRegistry} from "./ReleaseRegistry.sol"; -interface IVault { - function asset() external view returns (address); - - function apiVersion() external view returns (string memory); -} - /** * @title YearnV3 Registry * @author yearn.finance