{"status":"1","message":"OK","result":[{"SourceCode":"{{\"language\":\"Solidity\",\"sources\":{\"contracts/MasterMinter.sol\":{\"content\":\"/**\\r\\n *Submitted for verification at snowtrace.io on 2023-02-17\\r\\n*/\\r\\n\\r\\n/**\\r\\n * Copyright CENTRE SECZ 2018 - 2021\\r\\n *\\r\\n * Permission is hereby granted, free of charge, to any person obtaining a copy\\r\\n * of this software and associated documentation files (the \\\"Software\\\"), to deal\\r\\n * in the Software without restriction, including without limitation the rights\\r\\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\\r\\n * copies of the Software, and to permit persons to whom the Software is\\r\\n * furnished to do so, subject to the following conditions:\\r\\n *\\r\\n * The above copyright notice and this permission notice shall be included in all\\r\\n * copies or substantial portions of the Software.\\r\\n *\\r\\n * THE SOFTWARE IS PROVIDED \\\"AS IS\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\\r\\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\\r\\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\\r\\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\\r\\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\\r\\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\\r\\n * THE SOFTWARE.\\r\\n */\\r\\n\\r\\npragma solidity 0.6.12;\\r\\n\\r\\n/**\\r\\n * @notice The Ownable contract has an owner address, and provides basic\\r\\n * authorization control functions\\r\\n * @dev Forked from https://github.com/OpenZeppelin/openzeppelin-labs/blob/3887ab77b8adafba4a26ace002f3a684c1a3388b/upgradeability_ownership/contracts/ownership/Ownable.sol\\r\\n * Modifications:\\r\\n * 1. Consolidate OwnableStorage into this contract (7/13/18)\\r\\n * 2. Reformat, conform to Solidity 0.6 syntax, and add error messages (5/13/20)\\r\\n * 3. Make public functions external (5/27/20)\\r\\n */\\r\\ncontract Ownable {\\r\\n    // Owner of the contract\\r\\n    address private _owner;\\r\\n\\r\\n    /**\\r\\n     * @dev Event to show ownership has been transferred\\r\\n     * @param previousOwner representing the address of the previous owner\\r\\n     * @param newOwner representing the address of the new owner\\r\\n     */\\r\\n    event OwnershipTransferred(address previousOwner, address newOwner);\\r\\n\\r\\n    /**\\r\\n     * @dev The constructor sets the original owner of the contract to the sender account.\\r\\n     */\\r\\n    constructor() public {\\r\\n        setOwner(msg.sender);\\r\\n    }\\r\\n\\r\\n    /**\\r\\n     * @dev Tells the address of the owner\\r\\n     * @return the address of the owner\\r\\n     */\\r\\n    function owner() external view returns (address) {\\r\\n        return _owner;\\r\\n    }\\r\\n\\r\\n    /**\\r\\n     * @dev Sets a new owner address\\r\\n     */\\r\\n    function setOwner(address newOwner) internal {\\r\\n        _owner = newOwner;\\r\\n    }\\r\\n\\r\\n    /**\\r\\n     * @dev Throws if called by any account other than the owner.\\r\\n     */\\r\\n    modifier onlyOwner() {\\r\\n        require(msg.sender == _owner, \\\"Ownable: caller is not the owner\\\");\\r\\n        _;\\r\\n    }\\r\\n\\r\\n    /**\\r\\n     * @dev Allows the current owner to transfer control of the contract to a newOwner.\\r\\n     * @param newOwner The address to transfer ownership to.\\r\\n     */\\r\\n    function transferOwnership(address newOwner) external onlyOwner {\\r\\n        require(\\r\\n            newOwner != address(0),\\r\\n            \\\"Ownable: new owner is the zero address\\\"\\r\\n        );\\r\\n        emit OwnershipTransferred(_owner, newOwner);\\r\\n        setOwner(newOwner);\\r\\n    }\\r\\n}\\r\\n\\r\\n/**\\r\\n * @title Controller\\r\\n * @notice Generic implementation of the owner-controller-worker model.\\r\\n * One owner manages many controllers. Each controller manages one worker.\\r\\n * Workers may be reused across different controllers.\\r\\n */\\r\\ncontract Controller is Ownable {\\r\\n    /**\\r\\n     * @notice A controller manages a single worker address.\\r\\n     * controllers[controller] = worker\\r\\n     */\\r\\n    mapping(address => address) internal controllers;\\r\\n\\r\\n    event ControllerConfigured(\\r\\n        address indexed _controller,\\r\\n        address indexed _worker\\r\\n    );\\r\\n    event ControllerRemoved(address indexed _controller);\\r\\n\\r\\n    /**\\r\\n     * @notice Ensures that caller is the controller of a non-zero worker\\r\\n     * address.\\r\\n     */\\r\\n    modifier onlyController() {\\r\\n        require(\\r\\n            controllers[msg.sender] != address(0),\\r\\n            \\\"The value of controllers[msg.sender] must be non-zero\\\"\\r\\n        );\\r\\n        _;\\r\\n    }\\r\\n\\r\\n    /**\\r\\n     * @notice Gets the worker at address _controller.\\r\\n     */\\r\\n    function getWorker(address _controller) external view returns (address) {\\r\\n        return controllers[_controller];\\r\\n    }\\r\\n\\r\\n    // onlyOwner functions\\r\\n\\r\\n    /**\\r\\n     * @notice Configure a controller with the given worker.\\r\\n     * @param _controller The controller to be configured with a worker.\\r\\n     * @param _worker The worker to be set for the newly configured controller.\\r\\n     * _worker must not be a non-zero address. To disable a worker,\\r\\n     * use removeController instead.\\r\\n     */\\r\\n    function configureController(address _controller, address _worker)\\r\\n        public\\r\\n        onlyOwner\\r\\n    {\\r\\n        require(\\r\\n            _controller != address(0),\\r\\n            \\\"Controller must be a non-zero address\\\"\\r\\n        );\\r\\n        require(_worker != address(0), \\\"Worker must be a non-zero address\\\");\\r\\n        controllers[_controller] = _worker;\\r\\n        emit ControllerConfigured(_controller, _worker);\\r\\n    }\\r\\n\\r\\n    /**\\r\\n     * @notice disables a controller by setting its worker to address(0).\\r\\n     * @param _controller The controller to disable.\\r\\n     */\\r\\n    function removeController(address _controller) public onlyOwner {\\r\\n        require(\\r\\n            _controller != address(0),\\r\\n            \\\"Controller must be a non-zero address\\\"\\r\\n        );\\r\\n        require(\\r\\n            controllers[_controller] != address(0),\\r\\n            \\\"Worker must be a non-zero address\\\"\\r\\n        );\\r\\n        controllers[_controller] = address(0);\\r\\n        emit ControllerRemoved(_controller);\\r\\n    }\\r\\n}\\r\\n\\r\\n/**\\r\\n * Copyright CENTRE SECZ 2018 - 2021\\r\\n *\\r\\n * Permission is hereby granted, free of charge, to any person obtaining a copy\\r\\n * of this software and associated documentation files (the \\\"Software\\\"), to deal\\r\\n * in the Software without restriction, including without limitation the rights\\r\\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\\r\\n * copies of the Software, and to permit persons to whom the Software is\\r\\n * furnished to do so, subject to the following conditions:\\r\\n *\\r\\n * The above copyright notice and this permission notice shall be included in all\\r\\n * copies or substantial portions of the Software.\\r\\n *\\r\\n * THE SOFTWARE IS PROVIDED \\\"AS IS\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\\r\\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\\r\\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\\r\\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\\r\\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\\r\\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\\r\\n * THE SOFTWARE.\\r\\n */\\r\\n\\r\\n/**\\r\\n * @notice A contract that implements the MinterManagementInterface has external\\r\\n * functions for adding and removing minters and modifying their allowances.\\r\\n * An example is the FiatTokenV1 contract that implements USDC.\\r\\n */\\r\\ninterface MinterManagementInterface {\\r\\n    function isMinter(address _account) external view returns (bool);\\r\\n\\r\\n    function minterAllowance(address _minter) external view returns (uint256);\\r\\n\\r\\n    function configureMinter(address _minter, uint256 _minterAllowedAmount)\\r\\n        external\\r\\n        returns (bool);\\r\\n\\r\\n    function removeMinter(address _minter) external returns (bool);\\r\\n}\\r\\n\\r\\n/**\\r\\n * @dev Wrappers over Solidity's arithmetic operations with added overflow\\r\\n * checks.\\r\\n *\\r\\n * Arithmetic operations in Solidity wrap on overflow. This can easily result\\r\\n * in bugs, because programmers usually assume that an overflow raises an\\r\\n * error, which is the standard behavior in high level programming languages.\\r\\n * `SafeMath` restores this intuition by reverting the transaction when an\\r\\n * operation overflows.\\r\\n *\\r\\n * Using this library instead of the unchecked operations eliminates an entire\\r\\n * class of bugs, so it's recommended to use it always.\\r\\n */\\r\\nlibrary SafeMath {\\r\\n    /**\\r\\n     * @dev Returns the addition of two unsigned integers, reverting on\\r\\n     * overflow.\\r\\n     *\\r\\n     * Counterpart to Solidity's `+` operator.\\r\\n     *\\r\\n     * Requirements:\\r\\n     *\\r\\n     * - Addition cannot overflow.\\r\\n     */\\r\\n    function add(uint256 a, uint256 b) internal pure returns (uint256) {\\r\\n        uint256 c = a + b;\\r\\n        require(c >= a, \\\"SafeMath: addition overflow\\\");\\r\\n\\r\\n        return c;\\r\\n    }\\r\\n\\r\\n    /**\\r\\n     * @dev Returns the subtraction of two unsigned integers, reverting on\\r\\n     * overflow (when the result is negative).\\r\\n     *\\r\\n     * Counterpart to Solidity's `-` operator.\\r\\n     *\\r\\n     * Requirements:\\r\\n     *\\r\\n     * - Subtraction cannot overflow.\\r\\n     */\\r\\n    function sub(uint256 a, uint256 b) internal pure returns (uint256) {\\r\\n        return sub(a, b, \\\"SafeMath: subtraction overflow\\\");\\r\\n    }\\r\\n\\r\\n    /**\\r\\n     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on\\r\\n     * overflow (when the result is negative).\\r\\n     *\\r\\n     * Counterpart to Solidity's `-` operator.\\r\\n     *\\r\\n     * Requirements:\\r\\n     *\\r\\n     * - Subtraction cannot overflow.\\r\\n     */\\r\\n    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\\r\\n        require(b <= a, errorMessage);\\r\\n        uint256 c = a - b;\\r\\n\\r\\n        return c;\\r\\n    }\\r\\n\\r\\n    /**\\r\\n     * @dev Returns the multiplication of two unsigned integers, reverting on\\r\\n     * overflow.\\r\\n     *\\r\\n     * Counterpart to Solidity's `*` operator.\\r\\n     *\\r\\n     * Requirements:\\r\\n     *\\r\\n     * - Multiplication cannot overflow.\\r\\n     */\\r\\n    function mul(uint256 a, uint256 b) internal pure returns (uint256) {\\r\\n        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\\r\\n        // benefit is lost if 'b' is also tested.\\r\\n        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\\r\\n        if (a == 0) {\\r\\n            return 0;\\r\\n        }\\r\\n\\r\\n        uint256 c = a * b;\\r\\n        require(c / a == b, \\\"SafeMath: multiplication overflow\\\");\\r\\n\\r\\n        return c;\\r\\n    }\\r\\n\\r\\n    /**\\r\\n     * @dev Returns the integer division of two unsigned integers. Reverts on\\r\\n     * division by zero. The result is rounded towards zero.\\r\\n     *\\r\\n     * Counterpart to Solidity's `/` operator. Note: this function uses a\\r\\n     * `revert` opcode (which leaves remaining gas untouched) while Solidity\\r\\n     * uses an invalid opcode to revert (consuming all remaining gas).\\r\\n     *\\r\\n     * Requirements:\\r\\n     *\\r\\n     * - The divisor cannot be zero.\\r\\n     */\\r\\n    function div(uint256 a, uint256 b) internal pure returns (uint256) {\\r\\n        return div(a, b, \\\"SafeMath: division by zero\\\");\\r\\n    }\\r\\n\\r\\n    /**\\r\\n     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on\\r\\n     * division by zero. The result is rounded towards zero.\\r\\n     *\\r\\n     * Counterpart to Solidity's `/` operator. Note: this function uses a\\r\\n     * `revert` opcode (which leaves remaining gas untouched) while Solidity\\r\\n     * uses an invalid opcode to revert (consuming all remaining gas).\\r\\n     *\\r\\n     * Requirements:\\r\\n     *\\r\\n     * - The divisor cannot be zero.\\r\\n     */\\r\\n    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\\r\\n        require(b > 0, errorMessage);\\r\\n        uint256 c = a / b;\\r\\n        // assert(a == b * c + a % b); // There is no case in which this doesn't hold\\r\\n\\r\\n        return c;\\r\\n    }\\r\\n\\r\\n    /**\\r\\n     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\\r\\n     * Reverts when dividing by zero.\\r\\n     *\\r\\n     * Counterpart to Solidity's `%` operator. This function uses a `revert`\\r\\n     * opcode (which leaves remaining gas untouched) while Solidity uses an\\r\\n     * invalid opcode to revert (consuming all remaining gas).\\r\\n     *\\r\\n     * Requirements:\\r\\n     *\\r\\n     * - The divisor cannot be zero.\\r\\n     */\\r\\n    function mod(uint256 a, uint256 b) internal pure returns (uint256) {\\r\\n        return mod(a, b, \\\"SafeMath: modulo by zero\\\");\\r\\n    }\\r\\n\\r\\n    /**\\r\\n     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\\r\\n     * Reverts with custom message when dividing by zero.\\r\\n     *\\r\\n     * Counterpart to Solidity's `%` operator. This function uses a `revert`\\r\\n     * opcode (which leaves remaining gas untouched) while Solidity uses an\\r\\n     * invalid opcode to revert (consuming all remaining gas).\\r\\n     *\\r\\n     * Requirements:\\r\\n     *\\r\\n     * - The divisor cannot be zero.\\r\\n     */\\r\\n    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\\r\\n        require(b != 0, errorMessage);\\r\\n        return a % b;\\r\\n    }\\r\\n}\\r\\n\\r\\n/**\\r\\n * @title MintController\\r\\n * @notice The MintController contract manages minters for a contract that\\r\\n * implements the MinterManagerInterface. It lets the owner designate certain\\r\\n * addresses as controllers, and these controllers then manage the\\r\\n * minters by adding and removing minters, as well as modifying their minting\\r\\n * allowance. A controller may manage exactly one minter, but the same minter\\r\\n * address may be managed by multiple controllers.\\r\\n * @dev MintController inherits from the Controller contract. It treats the\\r\\n * Controller workers as minters.\\r\\n */\\r\\ncontract MintController is Controller {\\r\\n    using SafeMath for uint256;\\r\\n\\r\\n    /**\\r\\n     * @title MinterManagementInterface\\r\\n     * @notice MintController calls the minterManager to execute/record minter\\r\\n     * management tasks, as well as to query the status of a minter address.\\r\\n     */\\r\\n    MinterManagementInterface internal minterManager;\\r\\n\\r\\n    event MinterManagerSet(\\r\\n        address indexed _oldMinterManager,\\r\\n        address indexed _newMinterManager\\r\\n    );\\r\\n    event MinterConfigured(\\r\\n        address indexed _msgSender,\\r\\n        address indexed _minter,\\r\\n        uint256 _allowance\\r\\n    );\\r\\n    event MinterRemoved(address indexed _msgSender, address indexed _minter);\\r\\n    event MinterAllowanceIncremented(\\r\\n        address indexed _msgSender,\\r\\n        address indexed _minter,\\r\\n        uint256 _increment,\\r\\n        uint256 _newAllowance\\r\\n    );\\r\\n\\r\\n    event MinterAllowanceDecremented(\\r\\n        address indexed msgSender,\\r\\n        address indexed minter,\\r\\n        uint256 decrement,\\r\\n        uint256 newAllowance\\r\\n    );\\r\\n\\r\\n    /**\\r\\n     * @notice Initializes the minterManager.\\r\\n     * @param _minterManager The address of the minterManager contract.\\r\\n     */\\r\\n    constructor(address _minterManager) public {\\r\\n        minterManager = MinterManagementInterface(_minterManager);\\r\\n    }\\r\\n\\r\\n    /**\\r\\n     * @notice gets the minterManager\\r\\n     */\\r\\n    function getMinterManager()\\r\\n        external\\r\\n        view\\r\\n        returns (MinterManagementInterface)\\r\\n    {\\r\\n        return minterManager;\\r\\n    }\\r\\n\\r\\n    // onlyOwner functions\\r\\n\\r\\n    /**\\r\\n     * @notice Sets the minterManager.\\r\\n     * @param _newMinterManager The address of the new minterManager contract.\\r\\n     */\\r\\n    function setMinterManager(address _newMinterManager) public onlyOwner {\\r\\n        emit MinterManagerSet(address(minterManager), _newMinterManager);\\r\\n        minterManager = MinterManagementInterface(_newMinterManager);\\r\\n    }\\r\\n\\r\\n    // onlyController functions\\r\\n\\r\\n    /**\\r\\n     * @notice Removes the controller's own minter.\\r\\n     */\\r\\n    function removeMinter() public onlyController returns (bool) {\\r\\n        address minter = controllers[msg.sender];\\r\\n        emit MinterRemoved(msg.sender, minter);\\r\\n        return minterManager.removeMinter(minter);\\r\\n    }\\r\\n\\r\\n    /**\\r\\n     * @notice Enables the minter and sets its allowance.\\r\\n     * @param _newAllowance New allowance to be set for minter.\\r\\n     */\\r\\n    function configureMinter(uint256 _newAllowance)\\r\\n        public\\r\\n        onlyController\\r\\n        returns (bool)\\r\\n    {\\r\\n        address minter = controllers[msg.sender];\\r\\n        emit MinterConfigured(msg.sender, minter, _newAllowance);\\r\\n        return internal_setMinterAllowance(minter, _newAllowance);\\r\\n    }\\r\\n\\r\\n    /**\\r\\n     * @notice Increases the minter's allowance if and only if the minter is an\\r\\n     * active minter.\\r\\n     * @dev An minter is considered active if minterManager.isMinter(minter)\\r\\n     * returns true.\\r\\n     */\\r\\n    function incrementMinterAllowance(uint256 _allowanceIncrement)\\r\\n        public\\r\\n        onlyController\\r\\n        returns (bool)\\r\\n    {\\r\\n        require(\\r\\n            _allowanceIncrement > 0,\\r\\n            \\\"Allowance increment must be greater than 0\\\"\\r\\n        );\\r\\n        address minter = controllers[msg.sender];\\r\\n        require(\\r\\n            minterManager.isMinter(minter),\\r\\n            \\\"Can only increment allowance for minters in minterManager\\\"\\r\\n        );\\r\\n\\r\\n        uint256 currentAllowance = minterManager.minterAllowance(minter);\\r\\n        uint256 newAllowance = currentAllowance.add(_allowanceIncrement);\\r\\n\\r\\n        emit MinterAllowanceIncremented(\\r\\n            msg.sender,\\r\\n            minter,\\r\\n            _allowanceIncrement,\\r\\n            newAllowance\\r\\n        );\\r\\n\\r\\n        return internal_setMinterAllowance(minter, newAllowance);\\r\\n    }\\r\\n\\r\\n    /**\\r\\n     * @notice decreases the minter allowance if and only if the minter is\\r\\n     * currently active. The controller can safely send a signed\\r\\n     * decrementMinterAllowance() transaction to a minter and not worry\\r\\n     * about it being used to undo a removeMinter() transaction.\\r\\n     */\\r\\n    function decrementMinterAllowance(uint256 _allowanceDecrement)\\r\\n        public\\r\\n        onlyController\\r\\n        returns (bool)\\r\\n    {\\r\\n        require(\\r\\n            _allowanceDecrement > 0,\\r\\n            \\\"Allowance decrement must be greater than 0\\\"\\r\\n        );\\r\\n        address minter = controllers[msg.sender];\\r\\n        require(\\r\\n            minterManager.isMinter(minter),\\r\\n            \\\"Can only decrement allowance for minters in minterManager\\\"\\r\\n        );\\r\\n\\r\\n        uint256 currentAllowance = minterManager.minterAllowance(minter);\\r\\n        uint256 actualAllowanceDecrement = (\\r\\n            currentAllowance > _allowanceDecrement\\r\\n                ? _allowanceDecrement\\r\\n                : currentAllowance\\r\\n        );\\r\\n        uint256 newAllowance = currentAllowance.sub(actualAllowanceDecrement);\\r\\n\\r\\n        emit MinterAllowanceDecremented(\\r\\n            msg.sender,\\r\\n            minter,\\r\\n            actualAllowanceDecrement,\\r\\n            newAllowance\\r\\n        );\\r\\n\\r\\n        return internal_setMinterAllowance(minter, newAllowance);\\r\\n    }\\r\\n\\r\\n    // Internal functions\\r\\n\\r\\n    /**\\r\\n     * @notice Uses the MinterManagementInterface to enable the minter and\\r\\n     * set its allowance.\\r\\n     * @param _minter Minter to set new allowance of.\\r\\n     * @param _newAllowance New allowance to be set for minter.\\r\\n     */\\r\\n    function internal_setMinterAllowance(address _minter, uint256 _newAllowance)\\r\\n        internal\\r\\n        returns (bool)\\r\\n    {\\r\\n        return minterManager.configureMinter(_minter, _newAllowance);\\r\\n    }\\r\\n}\\r\\n\\r\\n/**\\r\\n * @title MasterMinter\\r\\n * @notice MasterMinter uses multiple controllers to manage minters for a\\r\\n * contract that implements the MinterManagerInterface.\\r\\n * @dev MasterMinter inherits all its functionality from MintController.\\r\\n */\\r\\ncontract MasterMinter is MintController {\\r\\n    constructor(address _minterManager) public MintController(_minterManager) {}\\r\\n}\"}},\"settings\":{\"optimizer\":{\"enabled\":true,\"runs\":10000000},\"outputSelection\":{\"contracts/MasterMinter.sol\":{\"MasterMinter\":[\"*\"]}}}}}","ABI":"[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_minterManager\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_controller\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_worker\",\"type\":\"address\"}],\"name\":\"ControllerConfigured\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_controller\",\"type\":\"address\"}],\"name\":\"ControllerRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"msgSender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"minter\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"decrement\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newAllowance\",\"type\":\"uint256\"}],\"name\":\"MinterAllowanceDecremented\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_msgSender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_minter\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_increment\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_newAllowance\",\"type\":\"uint256\"}],\"name\":\"MinterAllowanceIncremented\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_msgSender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_minter\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_allowance\",\"type\":\"uint256\"}],\"name\":\"MinterConfigured\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_oldMinterManager\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_newMinterManager\",\"type\":\"address\"}],\"name\":\"MinterManagerSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_msgSender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_minter\",\"type\":\"address\"}],\"name\":\"MinterRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_controller\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_worker\",\"type\":\"address\"}],\"name\":\"configureController\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newAllowance\",\"type\":\"uint256\"}],\"name\":\"configureMinter\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_allowanceDecrement\",\"type\":\"uint256\"}],\"name\":\"decrementMinterAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMinterManager\",\"outputs\":[{\"internalType\":\"contract MinterManagementInterface\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_controller\",\"type\":\"address\"}],\"name\":\"getWorker\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_allowanceIncrement\",\"type\":\"uint256\"}],\"name\":\"incrementMinterAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_controller\",\"type\":\"address\"}],\"name\":\"removeController\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"removeMinter\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newMinterManager\",\"type\":\"address\"}],\"name\":\"setMinterManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]","ContractName":"MasterMinter","CompilerVersion":"v0.6.12+commit.27d51765","OptimizationUsed":"1","Runs":"10000000","ConstructorArguments":"0x000000000000000000000000c891eb4cbdeff6e073e859e987815ed1505c2acd","EVMVersion":"","Library":"","LicenseType":"","Proxy":"0","Implementation":"","SwarmSource":""}]}