{
    "Function": "fund",
    "File": "contracts/AuraVestedEscrow.sol",
    "Parent Contracts": [
        "node_modules/@openzeppelin/contracts-0.8/security/ReentrancyGuard.sol"
    ],
    "High-Level Calls": [
        "SafeERC20"
    ],
    "Internal Calls": [
        "nonReentrant",
        "require(bool,string)"
    ],
    "Library Calls": [
        "safeTransferFrom"
    ],
    "Low-Level Calls": [],
    "Code": "function fund(address[] calldata _recipient, uint256[] calldata _amount) external nonReentrant {\n        require(!initialised, \"initialised already\");\n\n        uint256 totalAmount = 0;\n        for (uint256 i = 0; i < _recipient.length; i++) {\n            uint256 amount = _amount[i];\n\n            totalLocked[_recipient[i]] += amount;\n            totalAmount += amount;\n\n            emit Funded(_recipient[i], amount);\n        }\n        rewardToken.safeTransferFrom(msg.sender, address(this), totalAmount);\n        initialised = true;\n    }"
}