[
    {
        "inputs": [
            { "internalType": "contract IPool", "name": "pool", "type": "address" },
            { "internalType": "address", "name": "proxyAdmin", "type": "address" },
            {
                "internalType": "contract ITransparentProxyFactory",
                "name": "transparentProxyFactory",
                "type": "address"
            },
            { "internalType": "address", "name": "stataTokenImpl", "type": "address" }
        ],
        "stateMutability": "nonpayable",
        "type": "constructor"
    },
    {
        "inputs": [
            { "internalType": "address", "name": "underlying", "type": "address" }
        ],
        "name": "NotListedUnderlying",
        "type": "error"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": false,
                "internalType": "uint8",
                "name": "version",
                "type": "uint8"
            }
        ],
        "name": "Initialized",
        "type": "event"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": true,
                "internalType": "address",
                "name": "stataToken",
                "type": "address"
            },
            {
                "indexed": true,
                "internalType": "address",
                "name": "underlying",
                "type": "address"
            }
        ],
        "name": "StataTokenCreated",
        "type": "event"
    },
    {
        "inputs": [],
        "name": "POOL",
        "outputs": [
            { "internalType": "contract IPool", "name": "", "type": "address" }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "PROXY_ADMIN",
        "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "STATA_TOKEN_IMPL",
        "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "TRANSPARENT_PROXY_FACTORY",
        "outputs": [
            {
                "internalType": "contract ITransparentProxyFactory",
                "name": "",
                "type": "address"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address[]",
                "name": "underlyings",
                "type": "address[]"
            }
        ],
        "name": "createStataTokens",
        "outputs": [
            { "internalType": "address[]", "name": "", "type": "address[]" }
        ],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            { "internalType": "address", "name": "underlying", "type": "address" }
        ],
        "name": "getStataToken",
        "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "getStataTokens",
        "outputs": [
            { "internalType": "address[]", "name": "", "type": "address[]" }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "initialize",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    }
]
