{
  "contractName": "IUniswapFactory",
  "abi": [
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "token",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "exchange",
          "type": "address"
        }
      ],
      "name": "NewExchange",
      "type": "event"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "token",
          "type": "address"
        }
      ],
      "name": "getExchange",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "exchangeTemplate",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "tokenCount",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "exchange",
          "type": "address"
        }
      ],
      "name": "getToken",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "token_id",
          "type": "uint256"
        }
      ],
      "name": "getTokenWithId",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "template",
          "type": "address"
        }
      ],
      "name": "initializeFactory",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "token",
          "type": "address"
        }
      ],
      "name": "createExchange",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    }
  ],
  "metadata": "{\"compiler\":{\"version\":\"0.6.10+commit.00c0fcaf\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"exchange\",\"type\":\"address\"}],\"name\":\"NewExchange\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"createExchange\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"exchangeTemplate\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"getExchange\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"exchange\",\"type\":\"address\"}],\"name\":\"getToken\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"token_id\",\"type\":\"uint256\"}],\"name\":\"getTokenWithId\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"template\",\"type\":\"address\"}],\"name\":\"initializeFactory\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tokenCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"methods\":{}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"project:/contracts/interfaces/IUniswapFactory.sol\":\"IUniswapFactory\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":2000000},\"remappings\":[]},\"sources\":{\"project:/contracts/interfaces/IUniswapFactory.sol\":{\"keccak256\":\"0xa7d849cd724718519c8cbfc28d0cdf94e7af7be95272f6b86da3c539a3f37bfa\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://844f94d8c1e3527cb920407d60fb9d4fe3fdb26ce2b84a6567feb2936321b30f\",\"dweb:/ipfs/Qmf6KPbK41wu11kj25LCDpmoK18o6tue5eRXXTsENFbjUv\"]}},\"version\":1}",
  "bytecode": "0x",
  "deployedBytecode": "0x",
  "immutableReferences": {},
  "sourceMap": "",
  "deployedSourceMap": "",
  "source": "// SPDX-License-Identifier: GPL-3.0\npragma solidity ^0.6.0;\n\n\n// Source: https://github.com/Uniswap/contracts-vyper/blob/master/contracts/uniswap_factory.vy\ninterface IUniswapFactory\n{\n  // Events\n  event NewExchange(address indexed token, address indexed exchange);\n\n  // Read-only\n  function getExchange(address token) external view returns (address);\n  function exchangeTemplate() external view returns (address);\n  function tokenCount() external view returns (uint256);\n  function getToken(address exchange) external view returns (address);\n  function getTokenWithId(uint256 token_id) external view returns (address);\n\n  // Transactions\n  function initializeFactory(address template) external;\n  function createExchange(address token) external returns (address);\n}\n",
  "sourcePath": "/home/circleci/repo/contracts/interfaces/IUniswapFactory.sol",
  "ast": {
    "absolutePath": "project:/contracts/interfaces/IUniswapFactory.sol",
    "exportedSymbols": {
      "IUniswapFactory": [
        2244
      ]
    },
    "id": 2245,
    "license": "GPL-3.0",
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 2194,
        "literals": [
          "solidity",
          "^",
          "0.6",
          ".0"
        ],
        "nodeType": "PragmaDirective",
        "src": "36:23:10"
      },
      {
        "abstract": false,
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "interface",
        "documentation": null,
        "fullyImplemented": false,
        "id": 2244,
        "linearizedBaseContracts": [
          2244
        ],
        "name": "IUniswapFactory",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "anonymous": false,
            "documentation": null,
            "id": 2200,
            "name": "NewExchange",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 2199,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 2196,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "token",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 2200,
                  "src": "217:21:10",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 2195,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "217:7:10",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 2198,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "exchange",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 2200,
                  "src": "240:24:10",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 2197,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "240:7:10",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "216:49:10"
            },
            "src": "199:67:10"
          },
          {
            "body": null,
            "documentation": null,
            "functionSelector": "06f2bf62",
            "id": 2207,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "getExchange",
            "nodeType": "FunctionDefinition",
            "overrides": null,
            "parameters": {
              "id": 2203,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 2202,
                  "mutability": "mutable",
                  "name": "token",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 2207,
                  "src": "306:13:10",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 2201,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "306:7:10",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "305:15:10"
            },
            "returnParameters": {
              "id": 2206,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 2205,
                  "mutability": "mutable",
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 2207,
                  "src": "344:7:10",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 2204,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "344:7:10",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "343:9:10"
            },
            "scope": 2244,
            "src": "285:68:10",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "functionSelector": "1c2bbd18",
            "id": 2212,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "exchangeTemplate",
            "nodeType": "FunctionDefinition",
            "overrides": null,
            "parameters": {
              "id": 2208,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "381:2:10"
            },
            "returnParameters": {
              "id": 2211,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 2210,
                  "mutability": "mutable",
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 2212,
                  "src": "407:7:10",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 2209,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "407:7:10",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "406:9:10"
            },
            "scope": 2244,
            "src": "356:60:10",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "functionSelector": "9f181b5e",
            "id": 2217,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "tokenCount",
            "nodeType": "FunctionDefinition",
            "overrides": null,
            "parameters": {
              "id": 2213,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "438:2:10"
            },
            "returnParameters": {
              "id": 2216,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 2215,
                  "mutability": "mutable",
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 2217,
                  "src": "464:7:10",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 2214,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "464:7:10",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "463:9:10"
            },
            "scope": 2244,
            "src": "419:54:10",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "functionSelector": "59770438",
            "id": 2224,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "getToken",
            "nodeType": "FunctionDefinition",
            "overrides": null,
            "parameters": {
              "id": 2220,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 2219,
                  "mutability": "mutable",
                  "name": "exchange",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 2224,
                  "src": "494:16:10",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 2218,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "494:7:10",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "493:18:10"
            },
            "returnParameters": {
              "id": 2223,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 2222,
                  "mutability": "mutable",
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 2224,
                  "src": "535:7:10",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 2221,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "535:7:10",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "534:9:10"
            },
            "scope": 2244,
            "src": "476:68:10",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "functionSelector": "aa65a6c0",
            "id": 2231,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "getTokenWithId",
            "nodeType": "FunctionDefinition",
            "overrides": null,
            "parameters": {
              "id": 2227,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 2226,
                  "mutability": "mutable",
                  "name": "token_id",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 2231,
                  "src": "571:16:10",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 2225,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "571:7:10",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "570:18:10"
            },
            "returnParameters": {
              "id": 2230,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 2229,
                  "mutability": "mutable",
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 2231,
                  "src": "612:7:10",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 2228,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "612:7:10",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "611:9:10"
            },
            "scope": 2244,
            "src": "547:74:10",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "functionSelector": "538a3f0e",
            "id": 2236,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "initializeFactory",
            "nodeType": "FunctionDefinition",
            "overrides": null,
            "parameters": {
              "id": 2234,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 2233,
                  "mutability": "mutable",
                  "name": "template",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 2236,
                  "src": "670:16:10",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 2232,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "670:7:10",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "669:18:10"
            },
            "returnParameters": {
              "id": 2235,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "696:0:10"
            },
            "scope": 2244,
            "src": "643:54:10",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "functionSelector": "1648f38e",
            "id": 2243,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "createExchange",
            "nodeType": "FunctionDefinition",
            "overrides": null,
            "parameters": {
              "id": 2239,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 2238,
                  "mutability": "mutable",
                  "name": "token",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 2243,
                  "src": "724:13:10",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 2237,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "724:7:10",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "723:15:10"
            },
            "returnParameters": {
              "id": 2242,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 2241,
                  "mutability": "mutable",
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 2243,
                  "src": "757:7:10",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 2240,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "757:7:10",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "756:9:10"
            },
            "scope": 2244,
            "src": "700:66:10",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          }
        ],
        "scope": 2245,
        "src": "157:611:10"
      }
    ],
    "src": "36:733:10"
  },
  "legacyAST": {
    "attributes": {
      "absolutePath": "project:/contracts/interfaces/IUniswapFactory.sol",
      "exportedSymbols": {
        "IUniswapFactory": [
          2244
        ]
      },
      "license": "GPL-3.0"
    },
    "children": [
      {
        "attributes": {
          "literals": [
            "solidity",
            "^",
            "0.6",
            ".0"
          ]
        },
        "id": 2194,
        "name": "PragmaDirective",
        "src": "36:23:10"
      },
      {
        "attributes": {
          "abstract": false,
          "baseContracts": [
            null
          ],
          "contractDependencies": [
            null
          ],
          "contractKind": "interface",
          "documentation": null,
          "fullyImplemented": false,
          "linearizedBaseContracts": [
            2244
          ],
          "name": "IUniswapFactory",
          "scope": 2245
        },
        "children": [
          {
            "attributes": {
              "anonymous": false,
              "documentation": null,
              "name": "NewExchange"
            },
            "children": [
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "indexed": true,
                      "mutability": "mutable",
                      "name": "token",
                      "overrides": null,
                      "scope": 2200,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "address",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "address",
                          "stateMutability": "nonpayable",
                          "type": "address"
                        },
                        "id": 2195,
                        "name": "ElementaryTypeName",
                        "src": "217:7:10"
                      }
                    ],
                    "id": 2196,
                    "name": "VariableDeclaration",
                    "src": "217:21:10"
                  },
                  {
                    "attributes": {
                      "constant": false,
                      "indexed": true,
                      "mutability": "mutable",
                      "name": "exchange",
                      "overrides": null,
                      "scope": 2200,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "address",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "address",
                          "stateMutability": "nonpayable",
                          "type": "address"
                        },
                        "id": 2197,
                        "name": "ElementaryTypeName",
                        "src": "240:7:10"
                      }
                    ],
                    "id": 2198,
                    "name": "VariableDeclaration",
                    "src": "240:24:10"
                  }
                ],
                "id": 2199,
                "name": "ParameterList",
                "src": "216:49:10"
              }
            ],
            "id": 2200,
            "name": "EventDefinition",
            "src": "199:67:10"
          },
          {
            "attributes": {
              "body": null,
              "documentation": null,
              "functionSelector": "06f2bf62",
              "implemented": false,
              "isConstructor": false,
              "kind": "function",
              "modifiers": [
                null
              ],
              "name": "getExchange",
              "overrides": null,
              "scope": 2244,
              "stateMutability": "view",
              "virtual": false,
              "visibility": "external"
            },
            "children": [
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "mutability": "mutable",
                      "name": "token",
                      "overrides": null,
                      "scope": 2207,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "address",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "address",
                          "stateMutability": "nonpayable",
                          "type": "address"
                        },
                        "id": 2201,
                        "name": "ElementaryTypeName",
                        "src": "306:7:10"
                      }
                    ],
                    "id": 2202,
                    "name": "VariableDeclaration",
                    "src": "306:13:10"
                  }
                ],
                "id": 2203,
                "name": "ParameterList",
                "src": "305:15:10"
              },
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "mutability": "mutable",
                      "name": "",
                      "overrides": null,
                      "scope": 2207,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "address",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "address",
                          "stateMutability": "nonpayable",
                          "type": "address"
                        },
                        "id": 2204,
                        "name": "ElementaryTypeName",
                        "src": "344:7:10"
                      }
                    ],
                    "id": 2205,
                    "name": "VariableDeclaration",
                    "src": "344:7:10"
                  }
                ],
                "id": 2206,
                "name": "ParameterList",
                "src": "343:9:10"
              }
            ],
            "id": 2207,
            "name": "FunctionDefinition",
            "src": "285:68:10"
          },
          {
            "attributes": {
              "body": null,
              "documentation": null,
              "functionSelector": "1c2bbd18",
              "implemented": false,
              "isConstructor": false,
              "kind": "function",
              "modifiers": [
                null
              ],
              "name": "exchangeTemplate",
              "overrides": null,
              "scope": 2244,
              "stateMutability": "view",
              "virtual": false,
              "visibility": "external"
            },
            "children": [
              {
                "attributes": {
                  "parameters": [
                    null
                  ]
                },
                "children": [],
                "id": 2208,
                "name": "ParameterList",
                "src": "381:2:10"
              },
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "mutability": "mutable",
                      "name": "",
                      "overrides": null,
                      "scope": 2212,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "address",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "address",
                          "stateMutability": "nonpayable",
                          "type": "address"
                        },
                        "id": 2209,
                        "name": "ElementaryTypeName",
                        "src": "407:7:10"
                      }
                    ],
                    "id": 2210,
                    "name": "VariableDeclaration",
                    "src": "407:7:10"
                  }
                ],
                "id": 2211,
                "name": "ParameterList",
                "src": "406:9:10"
              }
            ],
            "id": 2212,
            "name": "FunctionDefinition",
            "src": "356:60:10"
          },
          {
            "attributes": {
              "body": null,
              "documentation": null,
              "functionSelector": "9f181b5e",
              "implemented": false,
              "isConstructor": false,
              "kind": "function",
              "modifiers": [
                null
              ],
              "name": "tokenCount",
              "overrides": null,
              "scope": 2244,
              "stateMutability": "view",
              "virtual": false,
              "visibility": "external"
            },
            "children": [
              {
                "attributes": {
                  "parameters": [
                    null
                  ]
                },
                "children": [],
                "id": 2213,
                "name": "ParameterList",
                "src": "438:2:10"
              },
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "mutability": "mutable",
                      "name": "",
                      "overrides": null,
                      "scope": 2217,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "uint256",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "uint256",
                          "type": "uint256"
                        },
                        "id": 2214,
                        "name": "ElementaryTypeName",
                        "src": "464:7:10"
                      }
                    ],
                    "id": 2215,
                    "name": "VariableDeclaration",
                    "src": "464:7:10"
                  }
                ],
                "id": 2216,
                "name": "ParameterList",
                "src": "463:9:10"
              }
            ],
            "id": 2217,
            "name": "FunctionDefinition",
            "src": "419:54:10"
          },
          {
            "attributes": {
              "body": null,
              "documentation": null,
              "functionSelector": "59770438",
              "implemented": false,
              "isConstructor": false,
              "kind": "function",
              "modifiers": [
                null
              ],
              "name": "getToken",
              "overrides": null,
              "scope": 2244,
              "stateMutability": "view",
              "virtual": false,
              "visibility": "external"
            },
            "children": [
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "mutability": "mutable",
                      "name": "exchange",
                      "overrides": null,
                      "scope": 2224,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "address",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "address",
                          "stateMutability": "nonpayable",
                          "type": "address"
                        },
                        "id": 2218,
                        "name": "ElementaryTypeName",
                        "src": "494:7:10"
                      }
                    ],
                    "id": 2219,
                    "name": "VariableDeclaration",
                    "src": "494:16:10"
                  }
                ],
                "id": 2220,
                "name": "ParameterList",
                "src": "493:18:10"
              },
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "mutability": "mutable",
                      "name": "",
                      "overrides": null,
                      "scope": 2224,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "address",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "address",
                          "stateMutability": "nonpayable",
                          "type": "address"
                        },
                        "id": 2221,
                        "name": "ElementaryTypeName",
                        "src": "535:7:10"
                      }
                    ],
                    "id": 2222,
                    "name": "VariableDeclaration",
                    "src": "535:7:10"
                  }
                ],
                "id": 2223,
                "name": "ParameterList",
                "src": "534:9:10"
              }
            ],
            "id": 2224,
            "name": "FunctionDefinition",
            "src": "476:68:10"
          },
          {
            "attributes": {
              "body": null,
              "documentation": null,
              "functionSelector": "aa65a6c0",
              "implemented": false,
              "isConstructor": false,
              "kind": "function",
              "modifiers": [
                null
              ],
              "name": "getTokenWithId",
              "overrides": null,
              "scope": 2244,
              "stateMutability": "view",
              "virtual": false,
              "visibility": "external"
            },
            "children": [
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "mutability": "mutable",
                      "name": "token_id",
                      "overrides": null,
                      "scope": 2231,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "uint256",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "uint256",
                          "type": "uint256"
                        },
                        "id": 2225,
                        "name": "ElementaryTypeName",
                        "src": "571:7:10"
                      }
                    ],
                    "id": 2226,
                    "name": "VariableDeclaration",
                    "src": "571:16:10"
                  }
                ],
                "id": 2227,
                "name": "ParameterList",
                "src": "570:18:10"
              },
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "mutability": "mutable",
                      "name": "",
                      "overrides": null,
                      "scope": 2231,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "address",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "address",
                          "stateMutability": "nonpayable",
                          "type": "address"
                        },
                        "id": 2228,
                        "name": "ElementaryTypeName",
                        "src": "612:7:10"
                      }
                    ],
                    "id": 2229,
                    "name": "VariableDeclaration",
                    "src": "612:7:10"
                  }
                ],
                "id": 2230,
                "name": "ParameterList",
                "src": "611:9:10"
              }
            ],
            "id": 2231,
            "name": "FunctionDefinition",
            "src": "547:74:10"
          },
          {
            "attributes": {
              "body": null,
              "documentation": null,
              "functionSelector": "538a3f0e",
              "implemented": false,
              "isConstructor": false,
              "kind": "function",
              "modifiers": [
                null
              ],
              "name": "initializeFactory",
              "overrides": null,
              "scope": 2244,
              "stateMutability": "nonpayable",
              "virtual": false,
              "visibility": "external"
            },
            "children": [
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "mutability": "mutable",
                      "name": "template",
                      "overrides": null,
                      "scope": 2236,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "address",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "address",
                          "stateMutability": "nonpayable",
                          "type": "address"
                        },
                        "id": 2232,
                        "name": "ElementaryTypeName",
                        "src": "670:7:10"
                      }
                    ],
                    "id": 2233,
                    "name": "VariableDeclaration",
                    "src": "670:16:10"
                  }
                ],
                "id": 2234,
                "name": "ParameterList",
                "src": "669:18:10"
              },
              {
                "attributes": {
                  "parameters": [
                    null
                  ]
                },
                "children": [],
                "id": 2235,
                "name": "ParameterList",
                "src": "696:0:10"
              }
            ],
            "id": 2236,
            "name": "FunctionDefinition",
            "src": "643:54:10"
          },
          {
            "attributes": {
              "body": null,
              "documentation": null,
              "functionSelector": "1648f38e",
              "implemented": false,
              "isConstructor": false,
              "kind": "function",
              "modifiers": [
                null
              ],
              "name": "createExchange",
              "overrides": null,
              "scope": 2244,
              "stateMutability": "nonpayable",
              "virtual": false,
              "visibility": "external"
            },
            "children": [
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "mutability": "mutable",
                      "name": "token",
                      "overrides": null,
                      "scope": 2243,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "address",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "address",
                          "stateMutability": "nonpayable",
                          "type": "address"
                        },
                        "id": 2237,
                        "name": "ElementaryTypeName",
                        "src": "724:7:10"
                      }
                    ],
                    "id": 2238,
                    "name": "VariableDeclaration",
                    "src": "724:13:10"
                  }
                ],
                "id": 2239,
                "name": "ParameterList",
                "src": "723:15:10"
              },
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "mutability": "mutable",
                      "name": "",
                      "overrides": null,
                      "scope": 2243,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "address",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "address",
                          "stateMutability": "nonpayable",
                          "type": "address"
                        },
                        "id": 2240,
                        "name": "ElementaryTypeName",
                        "src": "757:7:10"
                      }
                    ],
                    "id": 2241,
                    "name": "VariableDeclaration",
                    "src": "757:7:10"
                  }
                ],
                "id": 2242,
                "name": "ParameterList",
                "src": "756:9:10"
              }
            ],
            "id": 2243,
            "name": "FunctionDefinition",
            "src": "700:66:10"
          }
        ],
        "id": 2244,
        "name": "ContractDefinition",
        "src": "157:611:10"
      }
    ],
    "id": 2245,
    "name": "SourceUnit",
    "src": "36:733:10"
  },
  "compiler": {
    "name": "solc",
    "version": "0.6.10+commit.00c0fcaf.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.4.1",
  "updatedAt": "2021-07-08T17:04:13.763Z",
  "devdoc": {
    "methods": {}
  },
  "userdoc": {
    "methods": {}
  }
}