{
    "Function": "createVestings",
    "File": "contracts/SecondSwap_StepVesting.sol",
    "Parent Contracts": [
        "contracts/interface/SecondSwap_Vesting.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [
        "require(bool,string)",
        "_createVesting",
        "require(bool,string)"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function createVestings(address[] memory _beneficiaries, uint256[] memory _totalAmounts) external {\n        require(msg.sender == tokenIssuer || msg.sender == manager || msg.sender == vestingDeployer, \"unauthorized\");\n        require(_beneficiaries.length == _totalAmounts.length, \"SS_StepVesting: array length mismatch\");\n\n        for (uint256 i = 0; i < _beneficiaries.length; i++) {\n            _createVesting(_beneficiaries[i], _totalAmounts[i], 0, false);\n        }\n    }"
}