{
    "Function": "createVesting",
    "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 createVesting(address _beneficiary, uint256 _totalAmount, address _stepVesting) 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).createVesting(_beneficiary, _totalAmount);\n        emit VestingCreated(_beneficiary, _totalAmount, _stepVesting);\n    }"
}