Skip to content

Commit

Permalink
chore: clean repo
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeNervoXS committed Jan 15, 2024
1 parent 56c548d commit 59656d4
Show file tree
Hide file tree
Showing 16 changed files with 11 additions and 349 deletions.
2 changes: 1 addition & 1 deletion foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ optimizer = true
optimizer_runs = 1000
solc_version = "0.8.23"
ffi = true
fs_permissions = [{ access = "read-write", path = "./scripts/proposals.json"}]
fs_permissions = [{ access = "read-write", path = "./scripts/proposals/payload.json"}]

[fuzz]
runs = 10000
Expand Down
16 changes: 0 additions & 16 deletions scripts/BasicScript.s.sol

This file was deleted.

2 changes: 1 addition & 1 deletion scripts/Utils.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ contract Utils is Script {
else if (name == ContractType.TransmuterAgEUR) cmd[3] = "transmuterAgEUR";
else if (name == ContractType.CoreBorrow) cmd[3] = "coreBorrow";
else if (name == ContractType.GovernorMultisig) cmd[3] = "governorMultisig";
else if (name == ContractType.GuardianMultisig) cmd[3] = "guardianMultisig";
else if (name == ContractType.GuardianMultisig) cmd[3] = "guardian";
else if (name == ContractType.ProxyAdmin) cmd[3] = "proxyAdmin";
else if (name == ContractType.Angle) cmd[3] = "angle";
else if (name == ContractType.veANGLE) cmd[3] = "veANGLE";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ pragma solidity ^0.8.19;
import { console } from "forge-std/console.sol";
import { stdJson } from "forge-std/StdJson.sol";
import "stringutils/strings.sol";
import "./Utils.s.sol";
import "../Utils.s.sol";
import "oz/interfaces/IERC20.sol";

import { IveANGLEVotingDelegation } from "contracts/interfaces/IveANGLEVotingDelegation.sol";
import { deployMockANGLE, deployVeANGLE } from "./test/DeployANGLE.s.sol";
import { deployMockANGLE, deployVeANGLE } from "../test/DeployANGLE.s.sol";
import { ERC20 } from "oz/token/ERC20/ERC20.sol";
import "contracts/interfaces/IveANGLE.sol";
import "../test/external/VyperDeployer.sol";
import "../../test/external/VyperDeployer.sol";

import { AngleGovernor } from "contracts/AngleGovernor.sol";
import { ProposalReceiver } from "contracts/ProposalReceiver.sol";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pragma solidity ^0.8.19;
import { console } from "forge-std/console.sol";
import { stdJson } from "forge-std/StdJson.sol";
import "stringutils/strings.sol";
import "./Utils.s.sol";
import "../Utils.s.sol";
import "oz/interfaces/IERC20.sol";

import { TimelockControllerWithCounter } from "contracts/TimelockControllerWithCounter.sol";
Expand Down
210 changes: 0 additions & 210 deletions scripts/interaction/Helpers.s.sol

This file was deleted.

File renamed without changes.
2 changes: 1 addition & 1 deletion scripts/Wrapper.s.sol → scripts/proposals/Wrapper.s.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.20;

import "./Utils.s.sol";
import "../Utils.s.sol";

contract Wrapper is Utils {
function wrapTimelock(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { console } from "forge-std/console.sol";
import { IVaultManagerFunctions } from "borrow/interfaces/IVaultManager.sol";
import { IERC721Metadata } from "oz/token/ERC721/extensions/IERC721Metadata.sol";
import { ITreasury, Wrapper } from "../Wrapper.s.sol";
import "../Constants.s.sol";
import "../../Constants.s.sol";

/** This script suppose that the state of all the vaultManager on the chain are identical (all paused or unpause)
/** Otherwise behaviour is chaotic
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { console } from "forge-std/console.sol";
import { IERC721Metadata } from "oz/token/ERC721/extensions/IERC721Metadata.sol";
import { ITreasury, Wrapper } from "../Wrapper.s.sol";
import { IVaultManagerGovernance } from "scripts/Interfaces.s.sol";
import "../Constants.s.sol";
import "../../Constants.s.sol";

contract SetRateVaultManager is Wrapper {
SubCall[] private subCalls;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { IVaultManagerFunctions } from "borrow/interfaces/IVaultManager.sol";
import { IERC721Metadata } from "oz/token/ERC721/extensions/IERC721Metadata.sol";

import { Wrapper } from "../Wrapper.s.sol";
import "../Constants.s.sol";
import "../../Constants.s.sol";

contract SetMinDelayTimelock is Wrapper {
SubCall[] private subCalls;
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { IVaultManagerFunctions } from "borrow/interfaces/IVaultManager.sol";
import { IERC721Metadata } from "oz/token/ERC721/extensions/IERC721Metadata.sol";

import { Wrapper } from "../Wrapper.s.sol";
import "../Constants.s.sol";
import "../../Constants.s.sol";

contract SavingsSetRate is Wrapper {
SubCall[] private subCalls;
Expand Down
65 changes: 0 additions & 65 deletions scripts/transmuter/TransmuterPause.s.sol

This file was deleted.

Loading

0 comments on commit 59656d4

Please sign in to comment.