[
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "proxy",
                "type": "address"
            }
        ],
        "name": "OptionPSFactory__ProxyAlreadyDeployed",
        "type": "error"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": false,
                "internalType": "address",
                "name": "implementation",
                "type": "address"
            }
        ],
        "name": "ManagedImplementationSet",
        "type": "event"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": true,
                "internalType": "address",
                "name": "base",
                "type": "address"
            },
            {
                "indexed": true,
                "internalType": "address",
                "name": "quote",
                "type": "address"
            },
            {
                "indexed": false,
                "internalType": "bool",
                "name": "isCall",
                "type": "bool"
            },
            {
                "indexed": false,
                "internalType": "address",
                "name": "proxy",
                "type": "address"
            }
        ],
        "name": "ProxyDeployed",
        "type": "event"
    },
    {
        "inputs": [
            {
                "components": [
                    {
                        "internalType": "address",
                        "name": "base",
                        "type": "address"
                    },
                    {
                        "internalType": "address",
                        "name": "quote",
                        "type": "address"
                    },
                    {
                        "internalType": "bool",
                        "name": "isCall",
                        "type": "bool"
                    }
                ],
                "internalType": "struct IOptionPSFactory.OptionPSArgs",
                "name": "args",
                "type": "tuple"
            }
        ],
        "name": "deployProxy",
        "outputs": [
            {
                "internalType": "address",
                "name": "",
                "type": "address"
            }
        ],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "getManagedProxyImplementation",
        "outputs": [
            {
                "internalType": "address",
                "name": "",
                "type": "address"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "components": [
                    {
                        "internalType": "address",
                        "name": "base",
                        "type": "address"
                    },
                    {
                        "internalType": "address",
                        "name": "quote",
                        "type": "address"
                    },
                    {
                        "internalType": "bool",
                        "name": "isCall",
                        "type": "bool"
                    }
                ],
                "internalType": "struct IOptionPSFactory.OptionPSArgs",
                "name": "args",
                "type": "tuple"
            }
        ],
        "name": "getProxyAddress",
        "outputs": [
            {
                "internalType": "address",
                "name": "proxy",
                "type": "address"
            },
            {
                "internalType": "bool",
                "name": "isDeployed",
                "type": "bool"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "proxy",
                "type": "address"
            }
        ],
        "name": "isProxyDeployed",
        "outputs": [
            {
                "internalType": "bool",
                "name": "",
                "type": "bool"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "implementation",
                "type": "address"
            }
        ],
        "name": "setManagedProxyImplementation",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    }
]
