pragma solidity ^0.8.11;

contract testing {
    bool public publicStatus = false;


    function mint() public {
       require(publicStatus, "Public sale is not active" );
    }

    function setP(bool _pstatus) public {
	    publicStatus = _pstatus;
	}
}
{"success": true, "error": null, "results": {}}