{
  "contractName": "IWitPriceFeedsLegacySolverFactory",
  "abi": [
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": false,
          "internalType": "address",
          "name": "solver",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "bytes32",
          "name": "codehash",
          "type": "bytes32"
        },
        {
          "indexed": false,
          "internalType": "bytes",
          "name": "constructorParams",
          "type": "bytes"
        }
      ],
      "name": "NewPriceFeedsSolver",
      "type": "event"
    },
    {
      "inputs": [
        {
          "internalType": "bytes",
          "name": "initcode",
          "type": "bytes"
        },
        {
          "internalType": "bytes",
          "name": "additionalParams",
          "type": "bytes"
        }
      ],
      "name": "deployPriceSolver",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes",
          "name": "initcode",
          "type": "bytes"
        },
        {
          "internalType": "bytes",
          "name": "additionalParams",
          "type": "bytes"
        }
      ],
      "name": "determinePriceSolverAddress",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    }
  ],
  "metadata": "{\"compiler\":{\"version\":\"0.8.30+commit.73712a01\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"solver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"codehash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"constructorParams\",\"type\":\"bytes\"}],\"name\":\"NewPriceFeedsSolver\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"initcode\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"additionalParams\",\"type\":\"bytes\"}],\"name\":\"deployPriceSolver\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"initcode\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"additionalParams\",\"type\":\"bytes\"}],\"name\":\"determinePriceSolverAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/interfaces/legacy/IWitPriceFeedsLegacySolverFactory.sol\":\"IWitPriceFeedsLegacySolverFactory\"},\"evmVersion\":\"prague\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"project:/contracts/interfaces/legacy/IWitPriceFeedsLegacySolverFactory.sol\":{\"keccak256\":\"0xdb0b2588d715db0193f0906e664bbd69193328cd4bdaae0a649e42c454736fe5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f11087814a6020388db71d5ebe3c3def5642c77c540ea5b4101aaff6920d5444\",\"dweb:/ipfs/QmYnDq2uAjxqfmHEcG3rZRvz7FRfGiWqfStUMRqhBk8vax\"]}},\"version\":1}",
  "bytecode": "0x",
  "deployedBytecode": "0x",
  "immutableReferences": {},
  "generatedSources": [],
  "deployedGeneratedSources": [],
  "sourceMap": "",
  "deployedSourceMap": "",
  "source": "// SPDX-License-Identifier: MIT\r\n\r\npragma solidity >=0.8.0 <0.9.0;\r\n\r\ninterface IWitPriceFeedsLegacySolverFactory {\r\n    event NewPriceFeedsSolver(address solver, bytes32 codehash, bytes constructorParams);\r\n    function deployPriceSolver(bytes calldata initcode, bytes calldata additionalParams) external returns (address);\r\n    function determinePriceSolverAddress(bytes calldata initcode, bytes calldata additionalParams) external view returns (address);\r\n}",
  "sourcePath": "C:\\Users\\guill\\github\\guidiaz\\witnet-solidity-bridge\\contracts\\interfaces\\legacy\\IWitPriceFeedsLegacySolverFactory.sol",
  "ast": {
    "absolutePath": "project:/contracts/interfaces/legacy/IWitPriceFeedsLegacySolverFactory.sol",
    "exportedSymbols": {
      "IWitPriceFeedsLegacySolverFactory": [
        29550
      ]
    },
    "id": 29551,
    "license": "MIT",
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 29523,
        "literals": [
          "solidity",
          ">=",
          "0.8",
          ".0",
          "<",
          "0.9",
          ".0"
        ],
        "nodeType": "PragmaDirective",
        "src": "35:31:102"
      },
      {
        "abstract": false,
        "baseContracts": [],
        "canonicalName": "IWitPriceFeedsLegacySolverFactory",
        "contractDependencies": [],
        "contractKind": "interface",
        "fullyImplemented": false,
        "id": 29550,
        "linearizedBaseContracts": [
          29550
        ],
        "name": "IWitPriceFeedsLegacySolverFactory",
        "nameLocation": "80:33:102",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "anonymous": false,
            "eventSelector": "18678abae9a91a452648053bebd7d23122fb9204cddc206fa8193750abb8940f",
            "id": 29531,
            "name": "NewPriceFeedsSolver",
            "nameLocation": "127:19:102",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 29530,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29525,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "solver",
                  "nameLocation": "155:6:102",
                  "nodeType": "VariableDeclaration",
                  "scope": 29531,
                  "src": "147:14:102",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 29524,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "147:7:102",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 29527,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "codehash",
                  "nameLocation": "171:8:102",
                  "nodeType": "VariableDeclaration",
                  "scope": 29531,
                  "src": "163:16:102",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 29526,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "163:7:102",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 29529,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "constructorParams",
                  "nameLocation": "187:17:102",
                  "nodeType": "VariableDeclaration",
                  "scope": 29531,
                  "src": "181:23:102",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_memory_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 29528,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "181:5:102",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "146:59:102"
            },
            "src": "121:85:102"
          },
          {
            "functionSelector": "a55b471c",
            "id": 29540,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "deployPriceSolver",
            "nameLocation": "221:17:102",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 29536,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29533,
                  "mutability": "mutable",
                  "name": "initcode",
                  "nameLocation": "254:8:102",
                  "nodeType": "VariableDeclaration",
                  "scope": 29540,
                  "src": "239:23:102",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_calldata_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 29532,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "239:5:102",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 29535,
                  "mutability": "mutable",
                  "name": "additionalParams",
                  "nameLocation": "279:16:102",
                  "nodeType": "VariableDeclaration",
                  "scope": 29540,
                  "src": "264:31:102",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_calldata_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 29534,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "264:5:102",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "238:58:102"
            },
            "returnParameters": {
              "id": 29539,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29538,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 29540,
                  "src": "315:7:102",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 29537,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "315:7:102",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "314:9:102"
            },
            "scope": 29550,
            "src": "212:112:102",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "ff75890f",
            "id": 29549,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "determinePriceSolverAddress",
            "nameLocation": "339:27:102",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 29545,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29542,
                  "mutability": "mutable",
                  "name": "initcode",
                  "nameLocation": "382:8:102",
                  "nodeType": "VariableDeclaration",
                  "scope": 29549,
                  "src": "367:23:102",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_calldata_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 29541,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "367:5:102",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 29544,
                  "mutability": "mutable",
                  "name": "additionalParams",
                  "nameLocation": "407:16:102",
                  "nodeType": "VariableDeclaration",
                  "scope": 29549,
                  "src": "392:31:102",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_calldata_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 29543,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "392:5:102",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "366:58:102"
            },
            "returnParameters": {
              "id": 29548,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29547,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 29549,
                  "src": "448:7:102",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 29546,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "448:7:102",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "447:9:102"
            },
            "scope": 29550,
            "src": "330:127:102",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          }
        ],
        "scope": 29551,
        "src": "70:390:102",
        "usedErrors": [],
        "usedEvents": [
          29531
        ]
      }
    ],
    "src": "35:425:102"
  },
  "compiler": {
    "name": "solc",
    "version": "0.8.30+commit.73712a01.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.4.16",
  "updatedAt": "2025-10-15T14:34:45.934Z",
  "devdoc": {
    "kind": "dev",
    "methods": {},
    "version": 1
  },
  "userdoc": {
    "kind": "user",
    "methods": {},
    "version": 1
  }
}