Skip to content

Commit

Permalink
removed factory created firewall protection (#63)
Browse files Browse the repository at this point in the history
Co-authored-by: davidberiro <deebenchimol@gmail.com>
  • Loading branch information
davidironblocks and davidberiro authored Dec 13, 2023
1 parent da7e95a commit ba71877
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions contracts/Vault/Vault.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ pragma solidity ^0.8.0;

import "./IVault.sol";
import "@poolzfinance/poolz-helper-v2/contracts/ERC20Helper.sol";
import "@ironblocks/firewall-consumer/contracts/FirewallConsumer.sol";

contract Vault is IVault, ERC20Helper, FirewallConsumer {
contract Vault is IVault, ERC20Helper {
address public override tokenAddress;
address public override vaultManager;

Expand All @@ -23,7 +22,7 @@ contract Vault is IVault, ERC20Helper, FirewallConsumer {
return IERC20(tokenAddress).balanceOf(address(this));
}

function withdraw(address to, uint _amount) external override firewallProtected onlyManager {
function withdraw(address to, uint _amount) external override onlyManager {
require(tokenBalance() >= _amount, "Vault: Not enough balance");
TransferToken(tokenAddress, to, _amount);
}
Expand Down

0 comments on commit ba71877

Please sign in to comment.