Skip to content

Commit

Permalink
feat: clean zapper with comments
Browse files Browse the repository at this point in the history
  • Loading branch information
0xtekgrinder committed Feb 1, 2024
1 parent 150d3e0 commit 5fde7b0
Show file tree
Hide file tree
Showing 11 changed files with 193 additions and 99 deletions.
15 changes: 9 additions & 6 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
[submodule "contracts/lib/openzeppelin-contracts"]
path = contracts/lib/openzeppelin-contracts
url = https://github.com/OpenZeppelin/openzeppelin-contracts
[submodule "contracts/lib/solmate"]
path = contracts/lib/solmate
url = https://github.com/transmissions11/solmate
[submodule "contracts/lib/forge-std"]
path = contracts/lib/forge-std
url = https://github.com/foundry-rs/forge-std
[submodule "contracts/lib/solidity-generators"]
path = contracts/lib/solidity-generators
url = https://github.com/mds1/solidity-generators
[submodule "contracts/lib/solady"]
path = contracts/lib/solady
url = https://github.com/Vectorized/solady
[submodule "contracts/lib/solmate"]
path = contracts/lib/solmate
url = https://github.com/transmissions11/solmate
[submodule "contracts/lib/Warlord"]
path = contracts/lib/Warlord
url = https://github.com/0xtekgrinder/Warlord
[submodule "contracts/lib/openzeppelin-contracts"]
path = contracts/lib/openzeppelin-contracts
url = https://github.com/OpenZeppelin/openzeppelin-contracts
1 change: 1 addition & 0 deletions contracts/lib/Warlord
Submodule Warlord added at ecb75b
1 change: 1 addition & 0 deletions contracts/lib/forge-std
Submodule forge-std added at 4513bc
1 change: 1 addition & 0 deletions contracts/lib/openzeppelin-contracts
Submodule openzeppelin-contracts added at e50c24
1 change: 1 addition & 0 deletions contracts/lib/solmate
Submodule solmate added at c89230
2 changes: 1 addition & 1 deletion contracts/src/Vault.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { SafeTransferLib } from "solmate/utils/SafeTransferLib.sol";
import { ReentrancyGuard } from "solmate/utils/ReentrancyGuard.sol";
import { IMinter } from "warlord/interfaces/IMinter.sol";
import { IStaker } from "warlord/interfaces/IStaker.sol";
import { ERC4626 } from "solmate/mixins/ERC4626.sol";
import { ERC4626 } from "solmate/tokens/ERC4626.sol";
import { ERC20 } from "solmate/tokens/ERC20.sol";
import { ISwapper } from "./interfaces/ISwapper.sol";
import { AOperator } from "./abstracts/AOperator.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/src/Zap.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pragma solidity 0.8.20;

import { ReentrancyGuard } from "solmate/utils/ReentrancyGuard.sol";
import { ERC4626 } from "solmate/mixins/ERC4626.sol";
import { ERC4626 } from "solmate/tokens/ERC4626.sol";
import { IERC20 } from "openzeppelin-contracts/token/ERC20/IERC20.sol";
import { SafeERC20 } from "openzeppelin-contracts/token/ERC20/utils/SafeERC20.sol";
import { IMinter } from "warlord/interfaces/IMinter.sol";
Expand Down
Loading

0 comments on commit 5fde7b0

Please sign in to comment.