Skip to content

Commit

Permalink
remove flashloan
Browse files Browse the repository at this point in the history
  • Loading branch information
sogipec committed Mar 22, 2024
1 parent a5e805a commit 6d9809e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions scripts/SetupDeployedTransmuter.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import "contracts/transmuter/Storage.sol" as Storage;
import { ITransmuter } from "interfaces/ITransmuter.sol";
import "interfaces/external/chainlink/AggregatorV3Interface.sol";
import "interfaces/external/IERC4626.sol";
import "interfaces/IAgToken.sol";

import { CollateralSetupProd } from "contracts/transmuter/configs/ProductionTypes.sol";

Expand All @@ -24,7 +23,6 @@ contract SetupDeployedTransmuter is Utils {
vm.startBroadcast(deployerPrivateKey);

ITransmuter usdaTransmuter = ITransmuter(0x222222fD79264BBE280b4986F6FEfBC3524d0137);
IAgToken treasuryUSDA = IAgToken(0x8667DBEBf68B0BFa6Db54f550f41Be16c4067d60);
console.log(address(usdaTransmuter));

// TODO Run this script after facet upgrade script otherwise it won't work due to oracles calibrated
Expand Down Expand Up @@ -219,9 +217,6 @@ contract SetupDeployedTransmuter is Utils {
usdaTransmuter.toggleTrusted(NEW_DEPLOYER, Storage.TrustedType.Seller);
usdaTransmuter.toggleTrusted(NEW_KEEPER, Storage.TrustedType.Seller);

// Add minter the flashloan contract on Ethereum
treasuryUSDA.addMinter(0x4A2FF9bC686A0A23DA13B6194C69939189506F7F);

console.log("Transmuter setup");
vm.stopBroadcast();
}
Expand Down

0 comments on commit 6d9809e

Please sign in to comment.