Skip to content
This repository has been archived by the owner on Oct 6, 2023. It is now read-only.

Commit

Permalink
Remove redundant imports related to AccountsCreateEndowment + fix pragma
Browse files Browse the repository at this point in the history
  • Loading branch information
0xNeshi committed Sep 26, 2023
1 parent 3a318a5 commit 1b78a34
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion contracts/core/accounts/facets/AccountsCreateEndowment.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;
pragma solidity 0.8.19;

import {LibAccounts} from "../lib/LibAccounts.sol";
import {Validator} from "../../validator.sol";
Expand Down
1 change: 0 additions & 1 deletion contracts/core/accounts/storage.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
pragma solidity ^0.8.19;

import {LibAccounts} from "./lib/LibAccounts.sol";
import {LocalRegistrarLib} from "../registrar/lib/LocalRegistrarLib.sol";
import {IterableMappingAddr} from "../../lib/IterableMappingAddr.sol";
import {IterableMappingStrategy} from "../../lib/IterableMappingStrategy.sol";
import {IVault} from "../vault/interfaces/IVault.sol";
Expand Down
2 changes: 0 additions & 2 deletions contracts/core/gasFwd/IGasFwdFactory.sol
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;

import {ProxyContract} from "../proxy.sol";

interface IGasFwdFactory {
error InvalidAddress(string param);
event GasFwdCreated(address addr);
Expand Down
1 change: 0 additions & 1 deletion contracts/core/registrar/interfaces/ILocalRegistrar.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ pragma solidity ^0.8.19;

import {LocalRegistrarLib} from "../lib/LocalRegistrarLib.sol";
import {LibAccounts} from "../../accounts/lib/LibAccounts.sol";
import {IAccountsStrategy} from "../../accounts/interfaces/IAccountsStrategy.sol";

interface ILocalRegistrar {
/*////////////////////////////////////////////////
Expand Down
1 change: 0 additions & 1 deletion contracts/core/registrar/lib/LocalRegistrarLib.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// author: @stevieraykatz
pragma solidity ^0.8.19;

import {IVault} from "../../vault/interfaces/IVault.sol";
import {LibAccounts} from "../../accounts/lib/LibAccounts.sol";

library LocalRegistrarLib {
Expand Down
1 change: 0 additions & 1 deletion contracts/core/registrar/message.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
pragma solidity ^0.8.19;

import {LibAccounts} from "../accounts/lib/LibAccounts.sol";
import {IVault} from "../vault/interfaces/IVault.sol";

library RegistrarMessages {
struct InstantiateRequest {
Expand Down
3 changes: 0 additions & 3 deletions contracts/core/registrar/storage.sol
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;

import {LibAccounts} from "../accounts/lib/LibAccounts.sol";
import {LocalRegistrarLib} from "./lib/LocalRegistrarLib.sol";

library RegistrarStorage {
struct Config {
address accountsContract;
Expand Down
2 changes: 0 additions & 2 deletions contracts/core/vault/interfaces/IVault.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// author: @stevieraykatz
pragma solidity ^0.8.19;

import "../../../core/router/IRouter.sol";

abstract contract IVault {
/*////////////////////////////////////////////////
CUSTOM TYPES
Expand Down

0 comments on commit 1b78a34

Please sign in to comment.