{
  "abi": [
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "projectId",
          "type": "uint256"
        },
        {
          "indexed": true,
          "internalType": "contract IJBPaymentTerminal",
          "name": "terminal",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "caller",
          "type": "address"
        }
      ],
      "name": "AddTerminal",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "projectId",
          "type": "uint256"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "controller",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "caller",
          "type": "address"
        }
      ],
      "name": "SetController",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "addr",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "bool",
          "name": "flag",
          "type": "bool"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "caller",
          "type": "address"
        }
      ],
      "name": "SetIsAllowedToSetFirstController",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "projectId",
          "type": "uint256"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "token",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "contract IJBPaymentTerminal",
          "name": "terminal",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "caller",
          "type": "address"
        }
      ],
      "name": "SetPrimaryTerminal",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "projectId",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "contract IJBPaymentTerminal[]",
          "name": "terminals",
          "type": "address[]"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "caller",
          "type": "address"
        }
      ],
      "name": "SetTerminals",
      "type": "event"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_projectId",
          "type": "uint256"
        }
      ],
      "name": "controllerOf",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "fundingCycleStore",
      "outputs": [
        {
          "internalType": "contract IJBFundingCycleStore",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "_address",
          "type": "address"
        }
      ],
      "name": "isAllowedToSetFirstController",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_projectId",
          "type": "uint256"
        },
        {
          "internalType": "contract IJBPaymentTerminal",
          "name": "_terminal",
          "type": "address"
        }
      ],
      "name": "isTerminalOf",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_projectId",
          "type": "uint256"
        },
        {
          "internalType": "address",
          "name": "_token",
          "type": "address"
        }
      ],
      "name": "primaryTerminalOf",
      "outputs": [
        {
          "internalType": "contract IJBPaymentTerminal",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "projects",
      "outputs": [
        {
          "internalType": "contract IJBProjects",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_projectId",
          "type": "uint256"
        },
        {
          "internalType": "address",
          "name": "_controller",
          "type": "address"
        }
      ],
      "name": "setControllerOf",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "_address",
          "type": "address"
        },
        {
          "internalType": "bool",
          "name": "_flag",
          "type": "bool"
        }
      ],
      "name": "setIsAllowedToSetFirstController",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_projectId",
          "type": "uint256"
        },
        {
          "internalType": "address",
          "name": "_token",
          "type": "address"
        },
        {
          "internalType": "contract IJBPaymentTerminal",
          "name": "_terminal",
          "type": "address"
        }
      ],
      "name": "setPrimaryTerminalOf",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_projectId",
          "type": "uint256"
        },
        {
          "internalType": "contract IJBPaymentTerminal[]",
          "name": "_terminals",
          "type": "address[]"
        }
      ],
      "name": "setTerminalsOf",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_projectId",
          "type": "uint256"
        }
      ],
      "name": "terminalsOf",
      "outputs": [
        {
          "internalType": "contract IJBPaymentTerminal[]",
          "name": "",
          "type": "address[]"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    }
  ],
  "bytecode": {
    "object": "0x",
    "sourceMap": "",
    "linkReferences": {}
  },
  "deployedBytecode": {
    "object": "0x",
    "sourceMap": "",
    "linkReferences": {}
  },
  "methodIdentifiers": {
    "controllerOf(uint256)": "5dd8f6aa",
    "fundingCycleStore()": "557e7155",
    "isAllowedToSetFirstController(address)": "c5664e21",
    "isTerminalOf(uint256,address)": "6e49181f",
    "primaryTerminalOf(uint256,address)": "86202650",
    "projects()": "8b79543c",
    "setControllerOf(uint256,address)": "714e7f32",
    "setIsAllowedToSetFirstController(address,bool)": "a1ed3175",
    "setPrimaryTerminalOf(uint256,address,address)": "63d0850a",
    "setTerminalsOf(uint256,address[])": "821b9fd8",
    "terminalsOf(uint256)": "d1754153"
  },
  "rawMetadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"contract IJBPaymentTerminal\",\"name\":\"terminal\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"AddTerminal\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"controller\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"SetController\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bool\",\"name\":\"flag\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"SetIsAllowedToSetFirstController\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"contract IJBPaymentTerminal\",\"name\":\"terminal\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"SetPrimaryTerminal\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"contract IJBPaymentTerminal[]\",\"name\":\"terminals\",\"type\":\"address[]\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"SetTerminals\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"}],\"name\":\"controllerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fundingCycleStore\",\"outputs\":[{\"internalType\":\"contract IJBFundingCycleStore\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"isAllowedToSetFirstController\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"contract IJBPaymentTerminal\",\"name\":\"_terminal\",\"type\":\"address\"}],\"name\":\"isTerminalOf\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"}],\"name\":\"primaryTerminalOf\",\"outputs\":[{\"internalType\":\"contract IJBPaymentTerminal\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"projects\",\"outputs\":[{\"internalType\":\"contract IJBProjects\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_controller\",\"type\":\"address\"}],\"name\":\"setControllerOf\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_flag\",\"type\":\"bool\"}],\"name\":\"setIsAllowedToSetFirstController\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"contract IJBPaymentTerminal\",\"name\":\"_terminal\",\"type\":\"address\"}],\"name\":\"setPrimaryTerminalOf\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"contract IJBPaymentTerminal[]\",\"name\":\"_terminals\",\"type\":\"address[]\"}],\"name\":\"setTerminalsOf\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"}],\"name\":\"terminalsOf\",\"outputs\":[{\"internalType\":\"contract IJBPaymentTerminal[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/juice-contracts-v2/contracts/interfaces/IJBDirectory.sol\":\"IJBDirectory\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":10000000},\"remappings\":[\":@chainlink/=lib/juice-contracts-v2/lib/chainlink/\",\":@jbx-protocol-v1/=lib/juice-contracts-v1/\",\":@jbx-protocol-v2/=lib/juice-contracts-v2/\",\":@jbx-protocol-v3/=lib/juice-contracts-v3/\",\":@juicebox/=lib/juice-contracts-v2/contracts/\",\":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/\",\":@paulrberg/contracts/math/=lib/juice-contracts-v2/lib/prb-math/contracts/\",\":chainlink/=lib/juice-contracts-v2/lib/chainlink/\",\":ds-test/=lib/juice-contracts-v2/lib/ds-test/src/\",\":erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/\",\":forge-std/=lib/forge-std/src/\",\":juice-contracts-v1/=lib/juice-contracts-v1/contracts/\",\":juice-contracts-v2/=lib/juice-contracts-v2/contracts/\",\":juice-contracts-v3/=lib/juice-contracts-v3/contracts/\",\":openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/\",\":openzeppelin-contracts/contracts/=lib/juice-contracts-v2/lib/openzeppelin-contracts/contracts/\",\":prb-math/=lib/juice-contracts-v2/lib/prb-math/\"]},\"sources\":{\"lib/juice-contracts-v2/contracts/enums/JBBallotState.sol\":{\"keccak256\":\"0x891fcac63470398b3a11239da7feba6b07d640809fcefd2404303b823d7378f8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6e6adfceaf284b669a8c1cbcf2da7f18ab31a2d1066f9db8bc914349e7401de7\",\"dweb:/ipfs/QmXLHVRPPZdXUkgAHQbHUtEzAvCJk1P6rJ7wrwfTcfW6fw\"]},\"lib/juice-contracts-v2/contracts/interfaces/IJBDirectory.sol\":{\"keccak256\":\"0x715321646db00514d1355ed43c40cd3f01e94959552fd07797b315d9c49cdb1d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c34c9e1c727ffc63dd42fb6e6ffb3116c8ba15d6a322a300f10f29478974768d\",\"dweb:/ipfs/QmYToaGrbMyyWAuyepYcDd8M6KcmosY8AWhT3uJmPM6Pvy\"]},\"lib/juice-contracts-v2/contracts/interfaces/IJBFundingCycleBallot.sol\":{\"keccak256\":\"0x151c7f0cfd067492e6d43fb2388daaf1e4dc2490b096fed9ee4db87bbbc6217d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5d2916495d4485fb8df71d0223068c1a4b58807fa1793a46d0d8d2bb4f88d8f0\",\"dweb:/ipfs/QmSgfwzUYv87SMN2eZEgXPNXymT6stNkKodBEiT5BUsQsw\"]},\"lib/juice-contracts-v2/contracts/interfaces/IJBFundingCycleStore.sol\":{\"keccak256\":\"0xaead823851433be0c2ddc8f8086813e6cd647de3a1bc0f7570a5d6b38c378b5a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7f11fd52ba9ef67b40811d8a2298ae8b69447d2565b3f1069cbb8f0f13bc65e7\",\"dweb:/ipfs/QmVbBzpTxZWar9xvj6x1vW91hJDv2iPVq7aG6waMxaHUPQ\"]},\"lib/juice-contracts-v2/contracts/interfaces/IJBPaymentTerminal.sol\":{\"keccak256\":\"0xb7826f5ed609359ce322c09e83236c47ba385df1c3cad3607e56fd0a2e00eee2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cbb0de0e73f73a04fcfc8f08cab3588b6d608cf5268af737cff6a530f6062c95\",\"dweb:/ipfs/QmPGb8aEbZNHNnrCvuGH52RLvV3kjL3agxQiFrjHoLHaup\"]},\"lib/juice-contracts-v2/contracts/interfaces/IJBProjects.sol\":{\"keccak256\":\"0x7cfc021d0bd7e73b1ba8f4845d7d35e3419d6a14d3d25ca3a8010e7f91062fe4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ff265e13e60da56b93104260ed69ab01153437ec2af9d453781f22ca295eaef9\",\"dweb:/ipfs/QmfGCSLX2Wy26ojf4U12udsdtjSSacbLcZGwCjTw7MjWF8\"]},\"lib/juice-contracts-v2/contracts/interfaces/IJBTokenUriResolver.sol\":{\"keccak256\":\"0xd267fd8ca7c21c2c71794acdb9a98314c33a35fc559e0bf0897a6686d196d174\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://aa7053d4300ed1374f3f993e6e2163d0a05ee780e4e99eb007b55eabc93c724e\",\"dweb:/ipfs/QmYZAUn7VCwqpDWYZNCXLNYMRQpD334YgPRiGCfxQApzuT\"]},\"lib/juice-contracts-v2/contracts/structs/JBFundingCycle.sol\":{\"keccak256\":\"0xcdd3ac9b6fa67e62ada88d09b73bc35ade1cd77d43db712289266a788928b4c2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8ba0be407022bbeb0e9272884653209ee262b8a4e00ffbba1298c3b119feccba\",\"dweb:/ipfs/QmbtLQzSN3hut4jYVsYPiYDfRkDdGkZmTWBnV2wJKrdM3K\"]},\"lib/juice-contracts-v2/contracts/structs/JBFundingCycleData.sol\":{\"keccak256\":\"0x2aa6368bf4dfc5797e8b02a978293de0c777fae2658de2c825a103587240f3b0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2d7a980ab9b67ad1569d4407b747903cab668a332214117f5ad44feb50af0a3a\",\"dweb:/ipfs/QmSuEzmrmDSihrTKYCk8miq7VQi7WD6jmQePkjDyzt7UpC\"]},\"lib/juice-contracts-v2/contracts/structs/JBProjectMetadata.sol\":{\"keccak256\":\"0x90ad7b1014c0a9f945fe7a2efde9d5de41e40574fa27969070b1d2ff52033ea0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1fafc65a9fd74605b7d6c6f0a92b3237a8e3efdd160affb8c117bad00dcf9494\",\"dweb:/ipfs/QmQkcVt11WLqrxHVrcDCF6dNxzg2kKHEghAgSbfLF6CHkt\"]},\"lib/openzeppelin-contracts/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0xab28a56179c1db258c9bf5235b382698cb650debecb51b23d12be9e241374b68\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://daae589a9d6fa7e55f99f86c0a16796ca490f243fb3693632c3711c0646c1d56\",\"dweb:/ipfs/QmR3zpd7wNw3rcUdekwiv6FYHJqksuTCXLVioTxu6Fbxk3\"]},\"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]}},\"version\":1}",
  "metadata": {
    "compiler": {
      "version": "0.8.17+commit.8df45f5f"
    },
    "language": "Solidity",
    "output": {
      "abi": [
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "projectId",
              "type": "uint256",
              "indexed": true
            },
            {
              "internalType": "contract IJBPaymentTerminal",
              "name": "terminal",
              "type": "address",
              "indexed": true
            },
            {
              "internalType": "address",
              "name": "caller",
              "type": "address",
              "indexed": false
            }
          ],
          "type": "event",
          "name": "AddTerminal",
          "anonymous": false
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "projectId",
              "type": "uint256",
              "indexed": true
            },
            {
              "internalType": "address",
              "name": "controller",
              "type": "address",
              "indexed": true
            },
            {
              "internalType": "address",
              "name": "caller",
              "type": "address",
              "indexed": false
            }
          ],
          "type": "event",
          "name": "SetController",
          "anonymous": false
        },
        {
          "inputs": [
            {
              "internalType": "address",
              "name": "addr",
              "type": "address",
              "indexed": true
            },
            {
              "internalType": "bool",
              "name": "flag",
              "type": "bool",
              "indexed": true
            },
            {
              "internalType": "address",
              "name": "caller",
              "type": "address",
              "indexed": false
            }
          ],
          "type": "event",
          "name": "SetIsAllowedToSetFirstController",
          "anonymous": false
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "projectId",
              "type": "uint256",
              "indexed": true
            },
            {
              "internalType": "address",
              "name": "token",
              "type": "address",
              "indexed": true
            },
            {
              "internalType": "contract IJBPaymentTerminal",
              "name": "terminal",
              "type": "address",
              "indexed": true
            },
            {
              "internalType": "address",
              "name": "caller",
              "type": "address",
              "indexed": false
            }
          ],
          "type": "event",
          "name": "SetPrimaryTerminal",
          "anonymous": false
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "projectId",
              "type": "uint256",
              "indexed": true
            },
            {
              "internalType": "contract IJBPaymentTerminal[]",
              "name": "terminals",
              "type": "address[]",
              "indexed": false
            },
            {
              "internalType": "address",
              "name": "caller",
              "type": "address",
              "indexed": false
            }
          ],
          "type": "event",
          "name": "SetTerminals",
          "anonymous": false
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "_projectId",
              "type": "uint256"
            }
          ],
          "stateMutability": "view",
          "type": "function",
          "name": "controllerOf",
          "outputs": [
            {
              "internalType": "address",
              "name": "",
              "type": "address"
            }
          ]
        },
        {
          "inputs": [],
          "stateMutability": "view",
          "type": "function",
          "name": "fundingCycleStore",
          "outputs": [
            {
              "internalType": "contract IJBFundingCycleStore",
              "name": "",
              "type": "address"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "address",
              "name": "_address",
              "type": "address"
            }
          ],
          "stateMutability": "view",
          "type": "function",
          "name": "isAllowedToSetFirstController",
          "outputs": [
            {
              "internalType": "bool",
              "name": "",
              "type": "bool"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "_projectId",
              "type": "uint256"
            },
            {
              "internalType": "contract IJBPaymentTerminal",
              "name": "_terminal",
              "type": "address"
            }
          ],
          "stateMutability": "view",
          "type": "function",
          "name": "isTerminalOf",
          "outputs": [
            {
              "internalType": "bool",
              "name": "",
              "type": "bool"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "_projectId",
              "type": "uint256"
            },
            {
              "internalType": "address",
              "name": "_token",
              "type": "address"
            }
          ],
          "stateMutability": "view",
          "type": "function",
          "name": "primaryTerminalOf",
          "outputs": [
            {
              "internalType": "contract IJBPaymentTerminal",
              "name": "",
              "type": "address"
            }
          ]
        },
        {
          "inputs": [],
          "stateMutability": "view",
          "type": "function",
          "name": "projects",
          "outputs": [
            {
              "internalType": "contract IJBProjects",
              "name": "",
              "type": "address"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "_projectId",
              "type": "uint256"
            },
            {
              "internalType": "address",
              "name": "_controller",
              "type": "address"
            }
          ],
          "stateMutability": "nonpayable",
          "type": "function",
          "name": "setControllerOf"
        },
        {
          "inputs": [
            {
              "internalType": "address",
              "name": "_address",
              "type": "address"
            },
            {
              "internalType": "bool",
              "name": "_flag",
              "type": "bool"
            }
          ],
          "stateMutability": "nonpayable",
          "type": "function",
          "name": "setIsAllowedToSetFirstController"
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "_projectId",
              "type": "uint256"
            },
            {
              "internalType": "address",
              "name": "_token",
              "type": "address"
            },
            {
              "internalType": "contract IJBPaymentTerminal",
              "name": "_terminal",
              "type": "address"
            }
          ],
          "stateMutability": "nonpayable",
          "type": "function",
          "name": "setPrimaryTerminalOf"
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "_projectId",
              "type": "uint256"
            },
            {
              "internalType": "contract IJBPaymentTerminal[]",
              "name": "_terminals",
              "type": "address[]"
            }
          ],
          "stateMutability": "nonpayable",
          "type": "function",
          "name": "setTerminalsOf"
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "_projectId",
              "type": "uint256"
            }
          ],
          "stateMutability": "view",
          "type": "function",
          "name": "terminalsOf",
          "outputs": [
            {
              "internalType": "contract IJBPaymentTerminal[]",
              "name": "",
              "type": "address[]"
            }
          ]
        }
      ],
      "devdoc": {
        "kind": "dev",
        "methods": {},
        "version": 1
      },
      "userdoc": {
        "kind": "user",
        "methods": {},
        "version": 1
      }
    },
    "settings": {
      "remappings": [
        ":@chainlink/=lib/juice-contracts-v2/lib/chainlink/",
        ":@jbx-protocol-v1/=lib/juice-contracts-v1/",
        ":@jbx-protocol-v2/=lib/juice-contracts-v2/",
        ":@jbx-protocol-v3/=lib/juice-contracts-v3/",
        ":@juicebox/=lib/juice-contracts-v2/contracts/",
        ":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
        ":@paulrberg/contracts/math/=lib/juice-contracts-v2/lib/prb-math/contracts/",
        ":chainlink/=lib/juice-contracts-v2/lib/chainlink/",
        ":ds-test/=lib/juice-contracts-v2/lib/ds-test/src/",
        ":erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
        ":forge-std/=lib/forge-std/src/",
        ":juice-contracts-v1/=lib/juice-contracts-v1/contracts/",
        ":juice-contracts-v2/=lib/juice-contracts-v2/contracts/",
        ":juice-contracts-v3/=lib/juice-contracts-v3/contracts/",
        ":openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/",
        ":openzeppelin-contracts/contracts/=lib/juice-contracts-v2/lib/openzeppelin-contracts/contracts/",
        ":prb-math/=lib/juice-contracts-v2/lib/prb-math/"
      ],
      "optimizer": {
        "enabled": true,
        "runs": 10000000
      },
      "metadata": {
        "bytecodeHash": "ipfs"
      },
      "compilationTarget": {
        "lib/juice-contracts-v2/contracts/interfaces/IJBDirectory.sol": "IJBDirectory"
      },
      "libraries": {}
    },
    "sources": {
      "lib/juice-contracts-v2/contracts/enums/JBBallotState.sol": {
        "keccak256": "0x891fcac63470398b3a11239da7feba6b07d640809fcefd2404303b823d7378f8",
        "urls": [
          "bzz-raw://6e6adfceaf284b669a8c1cbcf2da7f18ab31a2d1066f9db8bc914349e7401de7",
          "dweb:/ipfs/QmXLHVRPPZdXUkgAHQbHUtEzAvCJk1P6rJ7wrwfTcfW6fw"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/interfaces/IJBDirectory.sol": {
        "keccak256": "0x715321646db00514d1355ed43c40cd3f01e94959552fd07797b315d9c49cdb1d",
        "urls": [
          "bzz-raw://c34c9e1c727ffc63dd42fb6e6ffb3116c8ba15d6a322a300f10f29478974768d",
          "dweb:/ipfs/QmYToaGrbMyyWAuyepYcDd8M6KcmosY8AWhT3uJmPM6Pvy"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/interfaces/IJBFundingCycleBallot.sol": {
        "keccak256": "0x151c7f0cfd067492e6d43fb2388daaf1e4dc2490b096fed9ee4db87bbbc6217d",
        "urls": [
          "bzz-raw://5d2916495d4485fb8df71d0223068c1a4b58807fa1793a46d0d8d2bb4f88d8f0",
          "dweb:/ipfs/QmSgfwzUYv87SMN2eZEgXPNXymT6stNkKodBEiT5BUsQsw"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/interfaces/IJBFundingCycleStore.sol": {
        "keccak256": "0xaead823851433be0c2ddc8f8086813e6cd647de3a1bc0f7570a5d6b38c378b5a",
        "urls": [
          "bzz-raw://7f11fd52ba9ef67b40811d8a2298ae8b69447d2565b3f1069cbb8f0f13bc65e7",
          "dweb:/ipfs/QmVbBzpTxZWar9xvj6x1vW91hJDv2iPVq7aG6waMxaHUPQ"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/interfaces/IJBPaymentTerminal.sol": {
        "keccak256": "0xb7826f5ed609359ce322c09e83236c47ba385df1c3cad3607e56fd0a2e00eee2",
        "urls": [
          "bzz-raw://cbb0de0e73f73a04fcfc8f08cab3588b6d608cf5268af737cff6a530f6062c95",
          "dweb:/ipfs/QmPGb8aEbZNHNnrCvuGH52RLvV3kjL3agxQiFrjHoLHaup"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/interfaces/IJBProjects.sol": {
        "keccak256": "0x7cfc021d0bd7e73b1ba8f4845d7d35e3419d6a14d3d25ca3a8010e7f91062fe4",
        "urls": [
          "bzz-raw://ff265e13e60da56b93104260ed69ab01153437ec2af9d453781f22ca295eaef9",
          "dweb:/ipfs/QmfGCSLX2Wy26ojf4U12udsdtjSSacbLcZGwCjTw7MjWF8"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/interfaces/IJBTokenUriResolver.sol": {
        "keccak256": "0xd267fd8ca7c21c2c71794acdb9a98314c33a35fc559e0bf0897a6686d196d174",
        "urls": [
          "bzz-raw://aa7053d4300ed1374f3f993e6e2163d0a05ee780e4e99eb007b55eabc93c724e",
          "dweb:/ipfs/QmYZAUn7VCwqpDWYZNCXLNYMRQpD334YgPRiGCfxQApzuT"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/structs/JBFundingCycle.sol": {
        "keccak256": "0xcdd3ac9b6fa67e62ada88d09b73bc35ade1cd77d43db712289266a788928b4c2",
        "urls": [
          "bzz-raw://8ba0be407022bbeb0e9272884653209ee262b8a4e00ffbba1298c3b119feccba",
          "dweb:/ipfs/QmbtLQzSN3hut4jYVsYPiYDfRkDdGkZmTWBnV2wJKrdM3K"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/structs/JBFundingCycleData.sol": {
        "keccak256": "0x2aa6368bf4dfc5797e8b02a978293de0c777fae2658de2c825a103587240f3b0",
        "urls": [
          "bzz-raw://2d7a980ab9b67ad1569d4407b747903cab668a332214117f5ad44feb50af0a3a",
          "dweb:/ipfs/QmSuEzmrmDSihrTKYCk8miq7VQi7WD6jmQePkjDyzt7UpC"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/structs/JBProjectMetadata.sol": {
        "keccak256": "0x90ad7b1014c0a9f945fe7a2efde9d5de41e40574fa27969070b1d2ff52033ea0",
        "urls": [
          "bzz-raw://1fafc65a9fd74605b7d6c6f0a92b3237a8e3efdd160affb8c117bad00dcf9494",
          "dweb:/ipfs/QmQkcVt11WLqrxHVrcDCF6dNxzg2kKHEghAgSbfLF6CHkt"
        ],
        "license": "MIT"
      },
      "lib/openzeppelin-contracts/contracts/token/ERC721/IERC721.sol": {
        "keccak256": "0xab28a56179c1db258c9bf5235b382698cb650debecb51b23d12be9e241374b68",
        "urls": [
          "bzz-raw://daae589a9d6fa7e55f99f86c0a16796ca490f243fb3693632c3711c0646c1d56",
          "dweb:/ipfs/QmR3zpd7wNw3rcUdekwiv6FYHJqksuTCXLVioTxu6Fbxk3"
        ],
        "license": "MIT"
      },
      "lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol": {
        "keccak256": "0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1",
        "urls": [
          "bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f",
          "dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"
        ],
        "license": "MIT"
      }
    },
    "version": 1
  },
  "ast": {
    "absolutePath": "lib/juice-contracts-v2/contracts/interfaces/IJBDirectory.sol",
    "id": 3563,
    "exportedSymbols": {
      "IERC165": [
        3209
      ],
      "IERC721": [
        3325
      ],
      "IJBDirectory": [
        3562
      ],
      "IJBFundingCycleBallot": [
        4354
      ],
      "IJBFundingCycleStore": [
        3658
      ],
      "IJBPaymentTerminal": [
        3738
      ],
      "IJBProjects": [
        3072
      ],
      "IJBTokenUriResolver": [
        4135
      ],
      "JBBallotState": [
        4287
      ],
      "JBFundingCycle": [
        4310
      ],
      "JBFundingCycleData": [
        3824
      ],
      "JBProjectMetadata": [
        3881
      ]
    },
    "nodeType": "SourceUnit",
    "src": "32:1729:30",
    "nodes": [
      {
        "id": 3424,
        "nodeType": "PragmaDirective",
        "src": "32:23:30",
        "nodes": [],
        "literals": [
          "solidity",
          "^",
          "0.8",
          ".0"
        ]
      },
      {
        "id": 3425,
        "nodeType": "ImportDirective",
        "src": "57:36:30",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v2/contracts/interfaces/IJBFundingCycleStore.sol",
        "file": "./IJBFundingCycleStore.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 3563,
        "sourceUnit": 3659,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 3426,
        "nodeType": "ImportDirective",
        "src": "94:34:30",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v2/contracts/interfaces/IJBPaymentTerminal.sol",
        "file": "./IJBPaymentTerminal.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 3563,
        "sourceUnit": 3739,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 3427,
        "nodeType": "ImportDirective",
        "src": "129:27:30",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v2/contracts/interfaces/IJBProjects.sol",
        "file": "./IJBProjects.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 3563,
        "sourceUnit": 3073,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 3562,
        "nodeType": "ContractDefinition",
        "src": "158:1602:30",
        "nodes": [
          {
            "id": 3435,
            "nodeType": "EventDefinition",
            "src": "185:91:30",
            "nodes": [],
            "anonymous": false,
            "eventSelector": "7f9a7dcb234c909a09de2f344661ad9e5b24067adb97c908647c2edcbb121c30",
            "name": "SetController",
            "nameLocation": "191:13:30",
            "parameters": {
              "id": 3434,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 3429,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "projectId",
                  "nameLocation": "221:9:30",
                  "nodeType": "VariableDeclaration",
                  "scope": 3435,
                  "src": "205:25:30",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 3428,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "205:7:30",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 3431,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "controller",
                  "nameLocation": "248:10:30",
                  "nodeType": "VariableDeclaration",
                  "scope": 3435,
                  "src": "232:26:30",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 3430,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "232:7:30",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 3433,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "caller",
                  "nameLocation": "268:6:30",
                  "nodeType": "VariableDeclaration",
                  "scope": 3435,
                  "src": "260:14:30",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 3432,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "260:7:30",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "204:71:30"
            }
          },
          {
            "id": 3444,
            "nodeType": "EventDefinition",
            "src": "280:98:30",
            "nodes": [],
            "anonymous": false,
            "eventSelector": "409bccc07b7cf7807930526a24318212d614c59f2dde05a017a41efee144e7c8",
            "name": "AddTerminal",
            "nameLocation": "286:11:30",
            "parameters": {
              "id": 3443,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 3437,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "projectId",
                  "nameLocation": "314:9:30",
                  "nodeType": "VariableDeclaration",
                  "scope": 3444,
                  "src": "298:25:30",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 3436,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "298:7:30",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 3440,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "terminal",
                  "nameLocation": "352:8:30",
                  "nodeType": "VariableDeclaration",
                  "scope": 3444,
                  "src": "325:35:30",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IJBPaymentTerminal_$3738",
                    "typeString": "contract IJBPaymentTerminal"
                  },
                  "typeName": {
                    "id": 3439,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 3438,
                      "name": "IJBPaymentTerminal",
                      "nameLocations": [
                        "325:18:30"
                      ],
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 3738,
                      "src": "325:18:30"
                    },
                    "referencedDeclaration": 3738,
                    "src": "325:18:30",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IJBPaymentTerminal_$3738",
                      "typeString": "contract IJBPaymentTerminal"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 3442,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "caller",
                  "nameLocation": "370:6:30",
                  "nodeType": "VariableDeclaration",
                  "scope": 3444,
                  "src": "362:14:30",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 3441,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "362:7:30",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "297:80:30"
            }
          },
          {
            "id": 3454,
            "nodeType": "EventDefinition",
            "src": "382:94:30",
            "nodes": [],
            "anonymous": false,
            "eventSelector": "b648241d83df6540fc10f2acc641e4bf80a1e84e7ae2f1f6b0ad204b8fee635b",
            "name": "SetTerminals",
            "nameLocation": "388:12:30",
            "parameters": {
              "id": 3453,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 3446,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "projectId",
                  "nameLocation": "417:9:30",
                  "nodeType": "VariableDeclaration",
                  "scope": 3454,
                  "src": "401:25:30",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 3445,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "401:7:30",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 3450,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "terminals",
                  "nameLocation": "449:9:30",
                  "nodeType": "VariableDeclaration",
                  "scope": 3454,
                  "src": "428:30:30",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_contract$_IJBPaymentTerminal_$3738_$dyn_memory_ptr",
                    "typeString": "contract IJBPaymentTerminal[]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 3448,
                      "nodeType": "UserDefinedTypeName",
                      "pathNode": {
                        "id": 3447,
                        "name": "IJBPaymentTerminal",
                        "nameLocations": [
                          "428:18:30"
                        ],
                        "nodeType": "IdentifierPath",
                        "referencedDeclaration": 3738,
                        "src": "428:18:30"
                      },
                      "referencedDeclaration": 3738,
                      "src": "428:18:30",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IJBPaymentTerminal_$3738",
                        "typeString": "contract IJBPaymentTerminal"
                      }
                    },
                    "id": 3449,
                    "nodeType": "ArrayTypeName",
                    "src": "428:20:30",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_contract$_IJBPaymentTerminal_$3738_$dyn_storage_ptr",
                      "typeString": "contract IJBPaymentTerminal[]"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 3452,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "caller",
                  "nameLocation": "468:6:30",
                  "nodeType": "VariableDeclaration",
                  "scope": 3454,
                  "src": "460:14:30",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 3451,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "460:7:30",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "400:75:30"
            }
          },
          {
            "id": 3465,
            "nodeType": "EventDefinition",
            "src": "480:148:30",
            "nodes": [],
            "anonymous": false,
            "eventSelector": "c670a502bbb9f8a4315f95eca901a9f99b65f89a2eb5705a58050e5c00f9d672",
            "name": "SetPrimaryTerminal",
            "nameLocation": "486:18:30",
            "parameters": {
              "id": 3464,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 3456,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "projectId",
                  "nameLocation": "526:9:30",
                  "nodeType": "VariableDeclaration",
                  "scope": 3465,
                  "src": "510:25:30",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 3455,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "510:7:30",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 3458,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "token",
                  "nameLocation": "557:5:30",
                  "nodeType": "VariableDeclaration",
                  "scope": 3465,
                  "src": "541:21:30",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 3457,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "541:7:30",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 3461,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "terminal",
                  "nameLocation": "595:8:30",
                  "nodeType": "VariableDeclaration",
                  "scope": 3465,
                  "src": "568:35:30",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IJBPaymentTerminal_$3738",
                    "typeString": "contract IJBPaymentTerminal"
                  },
                  "typeName": {
                    "id": 3460,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 3459,
                      "name": "IJBPaymentTerminal",
                      "nameLocations": [
                        "568:18:30"
                      ],
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 3738,
                      "src": "568:18:30"
                    },
                    "referencedDeclaration": 3738,
                    "src": "568:18:30",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IJBPaymentTerminal_$3738",
                      "typeString": "contract IJBPaymentTerminal"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 3463,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "caller",
                  "nameLocation": "617:6:30",
                  "nodeType": "VariableDeclaration",
                  "scope": 3465,
                  "src": "609:14:30",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 3462,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "609:7:30",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "504:123:30"
            }
          },
          {
            "id": 3473,
            "nodeType": "EventDefinition",
            "src": "632:96:30",
            "nodes": [],
            "anonymous": false,
            "eventSelector": "11207664cc48b0fa81c8674795f1d8f642960f38d5d2d305ad813093bed85fab",
            "name": "SetIsAllowedToSetFirstController",
            "nameLocation": "638:32:30",
            "parameters": {
              "id": 3472,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 3467,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "addr",
                  "nameLocation": "687:4:30",
                  "nodeType": "VariableDeclaration",
                  "scope": 3473,
                  "src": "671:20:30",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 3466,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "671:7:30",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 3469,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "flag",
                  "nameLocation": "706:4:30",
                  "nodeType": "VariableDeclaration",
                  "scope": 3473,
                  "src": "693:17:30",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 3468,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "693:4:30",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 3471,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "caller",
                  "nameLocation": "720:6:30",
                  "nodeType": "VariableDeclaration",
                  "scope": 3473,
                  "src": "712:14:30",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 3470,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "712:7:30",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "670:57:30"
            }
          },
          {
            "id": 3479,
            "nodeType": "FunctionDefinition",
            "src": "732:56:30",
            "nodes": [],
            "functionSelector": "8b79543c",
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "projects",
            "nameLocation": "741:8:30",
            "parameters": {
              "id": 3474,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "749:2:30"
            },
            "returnParameters": {
              "id": 3478,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 3477,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 3479,
                  "src": "775:11:30",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IJBProjects_$3072",
                    "typeString": "contract IJBProjects"
                  },
                  "typeName": {
                    "id": 3476,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 3475,
                      "name": "IJBProjects",
                      "nameLocations": [
                        "775:11:30"
                      ],
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 3072,
                      "src": "775:11:30"
                    },
                    "referencedDeclaration": 3072,
                    "src": "775:11:30",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IJBProjects_$3072",
                      "typeString": "contract IJBProjects"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "774:13:30"
            },
            "scope": 3562,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 3485,
            "nodeType": "FunctionDefinition",
            "src": "792:74:30",
            "nodes": [],
            "functionSelector": "557e7155",
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "fundingCycleStore",
            "nameLocation": "801:17:30",
            "parameters": {
              "id": 3480,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "818:2:30"
            },
            "returnParameters": {
              "id": 3484,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 3483,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 3485,
                  "src": "844:20:30",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IJBFundingCycleStore_$3658",
                    "typeString": "contract IJBFundingCycleStore"
                  },
                  "typeName": {
                    "id": 3482,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 3481,
                      "name": "IJBFundingCycleStore",
                      "nameLocations": [
                        "844:20:30"
                      ],
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 3658,
                      "src": "844:20:30"
                    },
                    "referencedDeclaration": 3658,
                    "src": "844:20:30",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IJBFundingCycleStore_$3658",
                      "typeString": "contract IJBFundingCycleStore"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "843:22:30"
            },
            "scope": 3562,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 3492,
            "nodeType": "FunctionDefinition",
            "src": "870:74:30",
            "nodes": [],
            "functionSelector": "5dd8f6aa",
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "controllerOf",
            "nameLocation": "879:12:30",
            "parameters": {
              "id": 3488,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 3487,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "900:10:30",
                  "nodeType": "VariableDeclaration",
                  "scope": 3492,
                  "src": "892:18:30",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 3486,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "892:7:30",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "891:20:30"
            },
            "returnParameters": {
              "id": 3491,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 3490,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 3492,
                  "src": "935:7:30",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 3489,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "935:7:30",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "934:9:30"
            },
            "scope": 3562,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 3499,
            "nodeType": "FunctionDefinition",
            "src": "948:86:30",
            "nodes": [],
            "functionSelector": "c5664e21",
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "isAllowedToSetFirstController",
            "nameLocation": "957:29:30",
            "parameters": {
              "id": 3495,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 3494,
                  "mutability": "mutable",
                  "name": "_address",
                  "nameLocation": "995:8:30",
                  "nodeType": "VariableDeclaration",
                  "scope": 3499,
                  "src": "987:16:30",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 3493,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "987:7:30",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "986:18:30"
            },
            "returnParameters": {
              "id": 3498,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 3497,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 3499,
                  "src": "1028:4:30",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 3496,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "1028:4:30",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1027:6:30"
            },
            "scope": 3562,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 3508,
            "nodeType": "FunctionDefinition",
            "src": "1038:93:30",
            "nodes": [],
            "functionSelector": "d1754153",
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "terminalsOf",
            "nameLocation": "1047:11:30",
            "parameters": {
              "id": 3502,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 3501,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "1067:10:30",
                  "nodeType": "VariableDeclaration",
                  "scope": 3508,
                  "src": "1059:18:30",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 3500,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1059:7:30",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1058:20:30"
            },
            "returnParameters": {
              "id": 3507,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 3506,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 3508,
                  "src": "1102:27:30",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_contract$_IJBPaymentTerminal_$3738_$dyn_memory_ptr",
                    "typeString": "contract IJBPaymentTerminal[]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 3504,
                      "nodeType": "UserDefinedTypeName",
                      "pathNode": {
                        "id": 3503,
                        "name": "IJBPaymentTerminal",
                        "nameLocations": [
                          "1102:18:30"
                        ],
                        "nodeType": "IdentifierPath",
                        "referencedDeclaration": 3738,
                        "src": "1102:18:30"
                      },
                      "referencedDeclaration": 3738,
                      "src": "1102:18:30",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IJBPaymentTerminal_$3738",
                        "typeString": "contract IJBPaymentTerminal"
                      }
                    },
                    "id": 3505,
                    "nodeType": "ArrayTypeName",
                    "src": "1102:20:30",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_contract$_IJBPaymentTerminal_$3738_$dyn_storage_ptr",
                      "typeString": "contract IJBPaymentTerminal[]"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1101:29:30"
            },
            "scope": 3562,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 3518,
            "nodeType": "FunctionDefinition",
            "src": "1135:113:30",
            "nodes": [],
            "functionSelector": "6e49181f",
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "isTerminalOf",
            "nameLocation": "1144:12:30",
            "parameters": {
              "id": 3514,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 3510,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "1165:10:30",
                  "nodeType": "VariableDeclaration",
                  "scope": 3518,
                  "src": "1157:18:30",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 3509,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1157:7:30",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 3513,
                  "mutability": "mutable",
                  "name": "_terminal",
                  "nameLocation": "1196:9:30",
                  "nodeType": "VariableDeclaration",
                  "scope": 3518,
                  "src": "1177:28:30",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IJBPaymentTerminal_$3738",
                    "typeString": "contract IJBPaymentTerminal"
                  },
                  "typeName": {
                    "id": 3512,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 3511,
                      "name": "IJBPaymentTerminal",
                      "nameLocations": [
                        "1177:18:30"
                      ],
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 3738,
                      "src": "1177:18:30"
                    },
                    "referencedDeclaration": 3738,
                    "src": "1177:18:30",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IJBPaymentTerminal_$3738",
                      "typeString": "contract IJBPaymentTerminal"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1156:50:30"
            },
            "returnParameters": {
              "id": 3517,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 3516,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 3518,
                  "src": "1242:4:30",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 3515,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "1242:4:30",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1241:6:30"
            },
            "scope": 3562,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 3528,
            "nodeType": "FunctionDefinition",
            "src": "1252:118:30",
            "nodes": [],
            "functionSelector": "86202650",
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "primaryTerminalOf",
            "nameLocation": "1261:17:30",
            "parameters": {
              "id": 3523,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 3520,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "1287:10:30",
                  "nodeType": "VariableDeclaration",
                  "scope": 3528,
                  "src": "1279:18:30",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 3519,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1279:7:30",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 3522,
                  "mutability": "mutable",
                  "name": "_token",
                  "nameLocation": "1307:6:30",
                  "nodeType": "VariableDeclaration",
                  "scope": 3528,
                  "src": "1299:14:30",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 3521,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1299:7:30",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1278:36:30"
            },
            "returnParameters": {
              "id": 3527,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 3526,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 3528,
                  "src": "1350:18:30",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IJBPaymentTerminal_$3738",
                    "typeString": "contract IJBPaymentTerminal"
                  },
                  "typeName": {
                    "id": 3525,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 3524,
                      "name": "IJBPaymentTerminal",
                      "nameLocations": [
                        "1350:18:30"
                      ],
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 3738,
                      "src": "1350:18:30"
                    },
                    "referencedDeclaration": 3738,
                    "src": "1350:18:30",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IJBPaymentTerminal_$3738",
                      "typeString": "contract IJBPaymentTerminal"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1349:20:30"
            },
            "scope": 3562,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 3535,
            "nodeType": "FunctionDefinition",
            "src": "1374:75:30",
            "nodes": [],
            "functionSelector": "714e7f32",
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "setControllerOf",
            "nameLocation": "1383:15:30",
            "parameters": {
              "id": 3533,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 3530,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "1407:10:30",
                  "nodeType": "VariableDeclaration",
                  "scope": 3535,
                  "src": "1399:18:30",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 3529,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1399:7:30",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 3532,
                  "mutability": "mutable",
                  "name": "_controller",
                  "nameLocation": "1427:11:30",
                  "nodeType": "VariableDeclaration",
                  "scope": 3535,
                  "src": "1419:19:30",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 3531,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1419:7:30",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1398:41:30"
            },
            "returnParameters": {
              "id": 3534,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1448:0:30"
            },
            "scope": 3562,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 3544,
            "nodeType": "FunctionDefinition",
            "src": "1453:95:30",
            "nodes": [],
            "functionSelector": "821b9fd8",
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "setTerminalsOf",
            "nameLocation": "1462:14:30",
            "parameters": {
              "id": 3542,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 3537,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "1485:10:30",
                  "nodeType": "VariableDeclaration",
                  "scope": 3544,
                  "src": "1477:18:30",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 3536,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1477:7:30",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 3541,
                  "mutability": "mutable",
                  "name": "_terminals",
                  "nameLocation": "1527:10:30",
                  "nodeType": "VariableDeclaration",
                  "scope": 3544,
                  "src": "1497:40:30",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_contract$_IJBPaymentTerminal_$3738_$dyn_calldata_ptr",
                    "typeString": "contract IJBPaymentTerminal[]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 3539,
                      "nodeType": "UserDefinedTypeName",
                      "pathNode": {
                        "id": 3538,
                        "name": "IJBPaymentTerminal",
                        "nameLocations": [
                          "1497:18:30"
                        ],
                        "nodeType": "IdentifierPath",
                        "referencedDeclaration": 3738,
                        "src": "1497:18:30"
                      },
                      "referencedDeclaration": 3738,
                      "src": "1497:18:30",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IJBPaymentTerminal_$3738",
                        "typeString": "contract IJBPaymentTerminal"
                      }
                    },
                    "id": 3540,
                    "nodeType": "ArrayTypeName",
                    "src": "1497:20:30",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_contract$_IJBPaymentTerminal_$3738_$dyn_storage_ptr",
                      "typeString": "contract IJBPaymentTerminal[]"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1476:62:30"
            },
            "returnParameters": {
              "id": 3543,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1547:0:30"
            },
            "scope": 3562,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 3554,
            "nodeType": "FunctionDefinition",
            "src": "1552:121:30",
            "nodes": [],
            "functionSelector": "63d0850a",
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "setPrimaryTerminalOf",
            "nameLocation": "1561:20:30",
            "parameters": {
              "id": 3552,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 3546,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "1595:10:30",
                  "nodeType": "VariableDeclaration",
                  "scope": 3554,
                  "src": "1587:18:30",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 3545,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1587:7:30",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 3548,
                  "mutability": "mutable",
                  "name": "_token",
                  "nameLocation": "1619:6:30",
                  "nodeType": "VariableDeclaration",
                  "scope": 3554,
                  "src": "1611:14:30",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 3547,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1611:7:30",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 3551,
                  "mutability": "mutable",
                  "name": "_terminal",
                  "nameLocation": "1650:9:30",
                  "nodeType": "VariableDeclaration",
                  "scope": 3554,
                  "src": "1631:28:30",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IJBPaymentTerminal_$3738",
                    "typeString": "contract IJBPaymentTerminal"
                  },
                  "typeName": {
                    "id": 3550,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 3549,
                      "name": "IJBPaymentTerminal",
                      "nameLocations": [
                        "1631:18:30"
                      ],
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 3738,
                      "src": "1631:18:30"
                    },
                    "referencedDeclaration": 3738,
                    "src": "1631:18:30",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IJBPaymentTerminal_$3738",
                      "typeString": "contract IJBPaymentTerminal"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1581:82:30"
            },
            "returnParameters": {
              "id": 3553,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1672:0:30"
            },
            "scope": 3562,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 3561,
            "nodeType": "FunctionDefinition",
            "src": "1677:81:30",
            "nodes": [],
            "functionSelector": "a1ed3175",
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "setIsAllowedToSetFirstController",
            "nameLocation": "1686:32:30",
            "parameters": {
              "id": 3559,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 3556,
                  "mutability": "mutable",
                  "name": "_address",
                  "nameLocation": "1727:8:30",
                  "nodeType": "VariableDeclaration",
                  "scope": 3561,
                  "src": "1719:16:30",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 3555,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1719:7:30",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 3558,
                  "mutability": "mutable",
                  "name": "_flag",
                  "nameLocation": "1742:5:30",
                  "nodeType": "VariableDeclaration",
                  "scope": 3561,
                  "src": "1737:10:30",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 3557,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "1737:4:30",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1718:30:30"
            },
            "returnParameters": {
              "id": 3560,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1757:0:30"
            },
            "scope": 3562,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          }
        ],
        "abstract": false,
        "baseContracts": [],
        "canonicalName": "IJBDirectory",
        "contractDependencies": [],
        "contractKind": "interface",
        "fullyImplemented": false,
        "linearizedBaseContracts": [
          3562
        ],
        "name": "IJBDirectory",
        "nameLocation": "168:12:30",
        "scope": 3563,
        "usedErrors": []
      }
    ],
    "license": "MIT"
  },
  "id": 30
}