{
    "Function": "initialize",
    "File": "contracts/contracts/Minter.sol",
    "Parent Contracts": [],
    "High-Level Calls": [
        "IVelo",
        "IVelo",
        "IVotingEscrow"
    ],
    "Internal Calls": [
        "require(bool)"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function initialize(\n        address[] memory claimants,\n        uint[] memory amounts,\n        uint max // sum amounts / max = % ownership of top protocols, so if initial 20m is distributed, and target is 25% protocol ownership, then max - 4 x 20m = 80m\n    ) external {\n        require(initializer == msg.sender);\n        _velo.mint(address(this), max);\n        _velo.approve(address(_ve), type(uint).max);\n        for (uint i = 0; i < claimants.length; i++) {\n            _ve.create_lock_for(amounts[i], LOCK, claimants[i]);\n        }\n        initializer = address(0);\n        active_period = ((block.timestamp + WEEK) / WEEK) * WEEK;\n    }"
}