// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity ^0.8.19;

import "./MockOptimizer.sol";

contract RandomScenarioOptimizer is MockOptimizer {
    string private description;

    function initialize(address _kraiken, address _stake) public override initializer {
        _changeAdmin(msg.sender);
        kraiken = Kraiken(_kraiken);
        stake = Stake(_stake);
    }

    function setRandomParams(
        uint256 capitalInefficiency,
        uint256 anchorShare,
        uint24 anchorWidth,
        uint256 discoveryDepth,
        string memory scenarioDescription
    )
        external
    {
        _capitalInefficiency = capitalInefficiency;
        _anchorShare = anchorShare;
        _anchorWidth = anchorWidth;
        _discoveryDepth = discoveryDepth;
        description = scenarioDescription;
    }

    function getDescription() external view returns (string memory) {
        return description;
    }
}
