{
    "Function": "singleTokenDeposit",
    "File": "contracts/test/MulticallWrapper.sol",
    "Parent Contracts": [
        "contracts/helpers/Multicall.sol"
    ],
    "High-Level Calls": [
        "IStrategy",
        "SafeERC20",
        "IStrategy",
        "IStrategyController"
    ],
    "Internal Calls": [
        "abi.encodeWithSelector()",
        "abi.encode()"
    ],
    "Library Calls": [
        "safeTransferFrom"
    ],
    "Low-Level Calls": [],
    "Code": "function singleTokenDeposit(IStrategy strategy, IERC20 token, uint256 amount) external {\n        Call[] memory calls = new Call[](1);\n        calls[0] = Call(\n            address(token),\n            abi.encodeWithSelector(\n                token.transfer.selector,\n                address(strategy),\n                amount\n            )\n        );\n        bytes memory data = abi.encode(calls);\n        token.safeTransferFrom(msg.sender, address(multicallRouter), amount);\n        controller.deposit(strategy, multicallRouter, 0, 0, data);\n        strategy.transfer(msg.sender, strategy.balanceOf(address(this)));\n    }"
}