{
    "Function": "setVesting",
    "File": "contracts/tokens/converter/Converter.sol",
    "Parent Contracts": [
        "node_modules/@openzeppelin/contracts/access/Ownable.sol",
        "node_modules/@openzeppelin/contracts/utils/Context.sol",
        "contracts/shared/ProtocolConstants.sol",
        "contracts/interfaces/tokens/converter/IConverter.sol"
    ],
    "High-Level Calls": [
        "IERC20"
    ],
    "Internal Calls": [
        "require(bool,string)",
        "require(bool,string)",
        "onlyOwner"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function setVesting(ILinearVesting _vesting) external onlyOwner {\r\n        require(\r\n            vesting == ILinearVesting(_ZERO_ADDRESS),\r\n            \"Converter::setVesting: Vesting is already set\"\r\n        );\r\n        require(\r\n            _vesting != ILinearVesting(_ZERO_ADDRESS),\r\n            \"Converter::setVesting: Cannot Set Zero Vesting Address\"\r\n        );\r\n        vader.approve(address(_vesting), type(uint256).max);\r\n        vesting = _vesting;\r\n    }"
}