contract Helper is Ownable {
    mapping(bytes32 => address) public mcdGemJoin;

    event LogAddGemJoin(address[] gemJoin);

    /**
     * @dev Add gemJoin adapter address from Maker in mapping
     */
    function addGemJoin(address[] memory gemJoins) public onlyOwner {
        require(gemJoins.length > 0, "No gemJoin address");
        for (uint256 i = 0; i < gemJoins.length; i++) {
            address gemJoin = gemJoins[i];
            bytes32 ilk = GemJoinInterface(gemJoin).ilk();
            require(mcdGemJoin[ilk] == address(0), "GemJoin already added");
            mcdGemJoin[ilk] = gemJoin;
        }
        emit LogAddGemJoin(gemJoins);
    }
}
function addGemJoin(address[] memory gemJoins) public onlyOwner {
    require(gemJoins.length > 0, "No gemJoin address");
    for (uint256 i = 0; i < gemJoins.length; i++) {
        address gemJoin = gemJoins[i];
        bytes32 ilk = GemJoinInterface(gemJoin).ilk();
        require(mcdGemJoin[ilk] == address(0), "GemJoin already added");
        mcdGemJoin[ilk] = gemJoin;
    }
    emit LogAddGemJoin(gemJoins);
}

/**
 * @dev Add gemJoin adapter address from Maker in mapping
 */