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

Commit

Permalink
Add multi blacklist adder
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdossa committed Feb 4, 2018
1 parent 7468937 commit 8289682
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions contracts/SecurityToken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,12 @@ contract SecurityToken is IERC20 {
}
}

function addToBlacklistMulti(address[] _blacklistAddresses) onlyOwner public {
for (uint256 i = 0; i < _blacklistAddresses.length; i++) {
require(addToBlacklist(_blacklistAddresses[i]));
}
}

/**
* @dev Add a verified address to the Security Token blacklist
* @param _blacklistAddress Address being added to the blacklist
Expand Down

0 comments on commit 8289682

Please sign in to comment.