From 677a85ca998c9396eb81f3d87c29d511bfb8e246 Mon Sep 17 00:00:00 2001 From: Thrilok kumar Date: Tue, 28 May 2024 08:38:14 -0400 Subject: [PATCH] wip --- contracts/payloads/IGP25/PayloadIGP25.sol | 51 ----------------------- 1 file changed, 51 deletions(-) diff --git a/contracts/payloads/IGP25/PayloadIGP25.sol b/contracts/payloads/IGP25/PayloadIGP25.sol index 6f2bf32..c505a6b 100644 --- a/contracts/payloads/IGP25/PayloadIGP25.sol +++ b/contracts/payloads/IGP25/PayloadIGP25.sol @@ -250,57 +250,6 @@ interface IFluidLiquidityAdmin { ); } -interface IFluidReserveContract { - function isRebalancer(address user) external returns (bool); - - function rebalanceFToken(address protocol_) external; - - function rebalanceVault(address protocol_) external; - - function transferFunds(address token_) external; - - function getProtocolTokens(address protocol_) external; - - function updateAuth(address auth_, bool isAuth_) external; - - function updateRebalancer(address rebalancer_, bool isRebalancer_) external; - - function approve( - address[] memory protocols_, - address[] memory tokens_, - uint256[] memory amounts_ - ) external; - - function revoke( - address[] memory protocols_, - address[] memory tokens_ - ) external; -} - -interface IFluidVaultT1 { - /// @notice updates the Vault oracle to `newOracle_`. Must implement the FluidOracle interface. - function updateOracle(address newOracle_) external; - - /// @notice updates the all Vault core settings according to input params. - /// All input values are expected in 1e2 (1% = 100, 100% = 10_000). - function updateCoreSettings( - uint256 supplyRateMagnifier_, - uint256 borrowRateMagnifier_, - uint256 collateralFactor_, - uint256 liquidationThreshold_, - uint256 liquidationMaxLimit_, - uint256 withdrawGap_, - uint256 liquidationPenalty_, - uint256 borrowFee_ - ) external; - - /// @notice updates the supply rate magnifier to `supplyRateMagnifier_`. Input in 1e2 (1% = 100, 100% = 10_000). - function updateSupplyRateMagnifier(uint supplyRateMagnifier_) external; - - /// @notice updates the borrow rate magnifier to `borrowRateMagnifier_`. Input in 1e2 (1% = 100, 100% = 10_000). - function updateBorrowRateMagnifier(uint borrowRateMagnifier_) external; -} - interface IFluidVaultT1Factory { /// @notice Deploys a new vault using the specified deployment logic `vaultDeploymentLogic_` and data `vaultDeploymentData_`. /// Only accounts with deployer access or the owner can deploy a new vault.