// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;

interface IMasterchef {
    function deposit(uint256 _pid, uint256 _amount, address referrer) external;

    function poolLength() external view returns (uint256);
}

contract ToolMasterchef {
    address public constant _masterchef = 0xe550Bfdb3F4De5a19f85D56f40394803e70b3e69;

    function massUpdatePool() external {
        IMasterchef masterchef = IMasterchef(_masterchef);

        uint _poolLength = masterchef.poolLength();
        for (uint i = 0; i < _poolLength; i++) {
            masterchef.deposit(i, 0, address(0));
        }
    }
}