{
    "Function": "createVestings",
    "File": "contracts/SecondSwap_VestingDeployer.sol",
    "Parent Contracts": [
        "node_modules/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"
    ],
    "High-Level Calls": [
        "SecondSwap_StepVesting",
        "SecondSwap_StepVesting"
    ],
    "Internal Calls": [
        "require(bool,string)"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function createVestings(\n        address[] memory _beneficiaries,\n        uint256[] memory _totalAmounts,\n        address _stepVesting\n    ) external {\n        require(\n            _tokenOwner[msg.sender] == address(SecondSwap_StepVesting(_stepVesting).token()),\n            \"SS_VestingDeployer: caller is not the token owner\"\n        ); // 3.2. Arbitrary transfer of vesting\n        SecondSwap_StepVesting(_stepVesting).createVestings(_beneficiaries, _totalAmounts);\n        for (uint256 i = 0; i < _beneficiaries.length; i++) {\n            emit VestingCreated(_beneficiaries[i], _totalAmounts[i], _stepVesting);\n        }\n    }"
}