File size: 423 Bytes
cc183a1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

import {Market} from "./Market.sol";

contract Market15 is Market {
    address public immutable controller;

    constructor(address paymentToken_) Market(paymentToken_, 0, true) { controller = msg.sender; }

    function setEnforcement(bool value) external {
        require(msg.sender == controller, "only controller");
        enforceRoyalties = value;
    }
}