{
  "abi": [
    {
      "inputs": [
        {
          "internalType": "contract IJBDirectory",
          "name": "_directory",
          "type": "address"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "constructor"
    },
    {
      "inputs": [],
      "name": "TERMINAL_NOT_FOUND",
      "type": "error"
    },
    {
      "inputs": [
        {
          "components": [
            {
              "internalType": "address",
              "name": "token",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "amount",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "decimals",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "projectId",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "group",
              "type": "uint256"
            },
            {
              "components": [
                {
                  "internalType": "bool",
                  "name": "preferClaimed",
                  "type": "bool"
                },
                {
                  "internalType": "bool",
                  "name": "preferAddToBalance",
                  "type": "bool"
                },
                {
                  "internalType": "uint256",
                  "name": "percent",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "projectId",
                  "type": "uint256"
                },
                {
                  "internalType": "address payable",
                  "name": "beneficiary",
                  "type": "address"
                },
                {
                  "internalType": "uint256",
                  "name": "lockedUntil",
                  "type": "uint256"
                },
                {
                  "internalType": "contract IJBSplitAllocator",
                  "name": "allocator",
                  "type": "address"
                }
              ],
              "internalType": "struct JBSplit",
              "name": "split",
              "type": "tuple"
            }
          ],
          "internalType": "struct JBSplitAllocationData",
          "name": "_data",
          "type": "tuple"
        }
      ],
      "name": "allocate",
      "outputs": [],
      "stateMutability": "payable",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "directory",
      "outputs": [
        {
          "internalType": "contract IJBDirectory",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes4",
          "name": "_interfaceId",
          "type": "bytes4"
        }
      ],
      "name": "supportsInterface",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    }
  ],
  "bytecode": {
    "object": "0x60a060405234801561001057600080fd5b5060405161056f38038061056f83398101604081905261002f91610044565b60601b6001600160601b031916608052610074565b60006020828403121561005657600080fd5b81516001600160a01b038116811461006d57600080fd5b9392505050565b60805160601c6104d761009860003960008181609501526101b601526104d76000f3fe6080604052600436106100345760003560e01c806301ffc9a7146100395780639d740bfa1461006e578063c41c2f2414610083575b600080fd5b34801561004557600080fd5b50610059610054366004610333565b6100dc565b60405190151581526020015b60405180910390f35b61008161007c3660046103b2565b610175565b005b34801561008f57600080fd5b506100b77f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610065565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f9d740bfa00000000000000000000000000000000000000000000000000000000148061016f57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6040517f862026500000000000000000000000000000000000000000000000000000000081526101008201356004820181905261eeee6024830152906000907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063862026509060440160206040518083038186803b15801561020d57600080fd5b505afa158015610221573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610245919061037c565b905073ffffffffffffffffffffffffffffffffffffffff8116610294576040517ffba10dd600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b604080516020810182526000815290517f0cf8e85800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831691630cf8e8589134916102fc918791849161eeee91906004016103cb565b6000604051808303818588803b15801561031557600080fd5b505af1158015610329573d6000803e3d6000fd5b5050505050505050565b60006020828403121561034557600080fd5b81357fffffffff000000000000000000000000000000000000000000000000000000008116811461037557600080fd5b9392505050565b60006020828403121561038e57600080fd5b815173ffffffffffffffffffffffffffffffffffffffff8116811461037557600080fd5b600061018082840312156103c557600080fd5b50919050565b84815260006020858184015273ffffffffffffffffffffffffffffffffffffffff8516604084015260a06060840152601360a08401527f7632202d3e20763320616c6c6f636174696f6e0000000000000000000000000060c084015260e0608084015283518060e085015260005b818110156104565785810183015185820161010001528201610439565b8181111561046957600061010083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920161010001969550505050505056fea2646970667358221220376b0d898c5a911712baa8f2d3b81ae12e7429a5dfa8bcc97668eb3e8a8a9c2164736f6c63430008060033",
    "sourceMap": "750:1907:2:-:0;;;1451:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1494:22;;-1:-1:-1;1494:22:2;;;750:1907;;14:312:168;106:6;159:2;147:9;138:7;134:23;130:32;127:2;;;175:1;172;165:12;127:2;201:16;;-1:-1:-1;246:31:168;;236:42;;226:2;;292:1;289;282:12;226:2;315:5;117:209;-1:-1:-1;;;117:209:168:o;:::-;750:1907:2;;;;;;;;;;;;",
    "linkReferences": {}
  },
  "deployedBytecode": {
    "object": "0x6080604052600436106100345760003560e01c806301ffc9a7146100395780639d740bfa1461006e578063c41c2f2414610083575b600080fd5b34801561004557600080fd5b50610059610054366004610333565b6100dc565b60405190151581526020015b60405180910390f35b61008161007c3660046103b2565b610175565b005b34801561008f57600080fd5b506100b77f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610065565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f9d740bfa00000000000000000000000000000000000000000000000000000000148061016f57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6040517f862026500000000000000000000000000000000000000000000000000000000081526101008201356004820181905261eeee6024830152906000907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063862026509060440160206040518083038186803b15801561020d57600080fd5b505afa158015610221573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610245919061037c565b905073ffffffffffffffffffffffffffffffffffffffff8116610294576040517ffba10dd600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b604080516020810182526000815290517f0cf8e85800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831691630cf8e8589134916102fc918791849161eeee91906004016103cb565b6000604051808303818588803b15801561031557600080fd5b505af1158015610329573d6000803e3d6000fd5b5050505050505050565b60006020828403121561034557600080fd5b81357fffffffff000000000000000000000000000000000000000000000000000000008116811461037557600080fd5b9392505050565b60006020828403121561038e57600080fd5b815173ffffffffffffffffffffffffffffffffffffffff8116811461037557600080fd5b600061018082840312156103c557600080fd5b50919050565b84815260006020858184015273ffffffffffffffffffffffffffffffffffffffff8516604084015260a06060840152601360a08401527f7632202d3e20763320616c6c6f636174696f6e0000000000000000000000000060c084015260e0608084015283518060e085015260005b818110156104565785810183015185820161010001528201610439565b8181111561046957600061010083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920161010001969550505050505056fea2646970667358221220376b0d898c5a911712baa8f2d3b81ae12e7429a5dfa8bcc97668eb3e8a8a9c2164736f6c63430008060033",
    "sourceMap": "750:1907:2:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2420:235;;;;;;;;;;-1:-1:-1;2420:235:2;;;;;:::i;:::-;;:::i;:::-;;;1076:14:168;;1069:22;1051:41;;1039:2;1024:18;2420:235:2;;;;;;;;1693:723;;;;;;:::i;:::-;;:::i;:::-;;1346:39;;;;;;;;;;;;;;;;;;1301:42:168;1289:55;;;1271:74;;1259:2;1244:18;1346:39:2;1226:125:168;2420:235:2;2531:4;2558:51;;;2574:35;2558:51;;:92;;-1:-1:-1;952:25:164;937:40;;;;2613:37:2;2545:105;2420:235;-1:-1:-1;;2420:235:2:o;1693:723::-;2027:55;;;;;1883:21;;;;2027:55;;;1530:25:168;;;241:42:109;1571:18:168;;;1564:83;1883:21:2;1860:20;;2027:9;:27;;;;;1503:18:168;;2027:55:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1996:86;-1:-1:-1;2136:32:2;;;2132:65;;2177:20;;;;;;;;;;;;;;2132:65;2396:9;;;;;;;;-1:-1:-1;2396:9:2;;2260:151;;;;;:24;;;;;;2292:9;;2260:151;;2310:12;;2292:9;;241:42:109;;2396:9:2;2260:151;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1775:641;;1693:723;:::o;14:332:168:-;72:6;125:2;113:9;104:7;100:23;96:32;93:2;;;141:1;138;131:12;93:2;180:9;167:23;230:66;223:5;219:78;212:5;209:89;199:2;;312:1;309;302:12;199:2;335:5;83:263;-1:-1:-1;;;83:263:168:o;351:341::-;449:6;502:2;490:9;481:7;477:23;473:32;470:2;;;518:1;515;508:12;470:2;550:9;544:16;600:42;593:5;589:54;582:5;579:65;569:2;;658:1;655;648:12;697:209;798:6;851:3;839:9;830:7;826:23;822:33;819:2;;;868:1;865;858:12;819:2;-1:-1:-1;891:9:168;809:97;-1:-1:-1;809:97:168:o;1658:1162::-;1990:6;1979:9;1972:25;1953:4;2016:2;2054:6;2049:2;2038:9;2034:18;2027:34;2109:42;2101:6;2097:55;2092:2;2081:9;2077:18;2070:83;2189:3;2184:2;2173:9;2169:18;2162:31;2230:2;2224:3;2213:9;2209:19;2202:31;2270:21;2264:3;2253:9;2249:19;2242:50;2329:3;2323;2312:9;2308:19;2301:32;2362:6;2356:13;2406:6;2400:3;2389:9;2385:19;2378:35;2431:1;2441:141;2455:6;2452:1;2449:13;2441:141;;;2551:14;;;2547:23;;2541:30;2516:17;;;2535:3;2512:27;2505:67;2470:10;;2441:141;;;2600:6;2597:1;2594:13;2591:2;;;2671:1;2665:3;2656:6;2645:9;2641:22;2637:32;2630:43;2591:2;-1:-1:-1;2735:2:168;2723:15;2740:66;2719:88;2704:104;;;;2810:3;2700:114;;1962:858;-1:-1:-1;;;;;;1962:858:168:o",
    "linkReferences": {},
    "immutableReferences": {
      "130": [
        {
          "start": 149,
          "length": 32
        },
        {
          "start": 438,
          "length": 32
        }
      ]
    }
  },
  "methodIdentifiers": {
    "allocate((address,uint256,uint256,uint256,uint256,(bool,bool,uint256,uint256,address,uint256,address)))": "9d740bfa",
    "directory()": "c41c2f24",
    "supportsInterface(bytes4)": "01ffc9a7"
  },
  "rawMetadata": "{\"compiler\":{\"version\":\"0.8.6+commit.11564f7e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract IJBDirectory\",\"name\":\"_directory\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"TERMINAL_NOT_FOUND\",\"type\":\"error\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"decimals\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"group\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"bool\",\"name\":\"preferClaimed\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"preferAddToBalance\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"percent\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"internalType\":\"address payable\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"lockedUntil\",\"type\":\"uint256\"},{\"internalType\":\"contract IJBSplitAllocator\",\"name\":\"allocator\",\"type\":\"address\"}],\"internalType\":\"struct JBSplit\",\"name\":\"split\",\"type\":\"tuple\"}],\"internalType\":\"struct JBSplitAllocationData\",\"name\":\"_data\",\"type\":\"tuple\"}],\"name\":\"allocate\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"directory\",\"outputs\":[{\"internalType\":\"contract IJBDirectory\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"_interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Adheres to - IJBSplitAllocator: Adhere to Allocator pattern to receive payout distributions for allocation. Inherits from - ERC165: Introspection on interface adherance. \",\"kind\":\"dev\",\"methods\":{\"allocate((address,uint256,uint256,uint256,uint256,(bool,bool,uint256,uint256,address,uint256,address)))\":{\"params\":{\"_data\":\"The allocation config which specifies the destination of the funds.\"}},\"constructor\":{\"params\":{\"_directory\":\"The V3 directory address.  \"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"allocate((address,uint256,uint256,uint256,uint256,(bool,bool,uint256,uint256,address,uint256,address)))\":{\"notice\":\"Allocate hook that will transfer treasury funds to V3.\"},\"directory()\":{\"notice\":\"The V3 directory address.\"}},\"notice\":\"Juicebox split allocator for allocating V2 treasury funds to a V3 treasury.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/V2Allocator.sol\":\"V2Allocator\"},\"evmVersion\":\"berlin\",\"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/forge-std/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\":{\"contracts/V2Allocator.sol\":{\"keccak256\":\"0x0ca9e98838547b21f1fa3eaef7fe858eafd83b07e745a5e8f7151847e395ad7e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e294c32b675c9167c7f3e077c5745dab6c7aceb716a03fcbafbd4891cc141a92\",\"dweb:/ipfs/QmTMts3RbSi1kqGNZ2TvvZupUqrSHubn9Ko4awMPRbhd6L\"]},\"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/IJBSplitAllocator.sol\":{\"keccak256\":\"0x5efb6f51fc161f42ff58989386ad99028e4039a0ba897d66f358c3dfcf686105\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://171df7cf5285170894d7d7d00ecb14271204b55d330fa65e1bf9ebfb21741c29\",\"dweb:/ipfs/QmXBmzjVVgGd1hZoStw2qoypJnqyWgYeMXMLyYS7f6Zonu\"]},\"lib/juice-contracts-v2/contracts/interfaces/IJBTokenUriResolver.sol\":{\"keccak256\":\"0xd267fd8ca7c21c2c71794acdb9a98314c33a35fc559e0bf0897a6686d196d174\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://aa7053d4300ed1374f3f993e6e2163d0a05ee780e4e99eb007b55eabc93c724e\",\"dweb:/ipfs/QmYZAUn7VCwqpDWYZNCXLNYMRQpD334YgPRiGCfxQApzuT\"]},\"lib/juice-contracts-v2/contracts/libraries/JBTokens.sol\":{\"keccak256\":\"0xecf82992f7b827766aa55f16872517a646521eef414d8cc9786617ea377e5463\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4bb334faa6d2d071473bfcd7efeb5bfa068c340600c204651d59a94be4e4b147\",\"dweb:/ipfs/QmaKgSCvDNgQ6dh2gZfQ9VhkPuRCoACv8e7sd1K9VFikix\"]},\"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/juice-contracts-v2/contracts/structs/JBSplit.sol\":{\"keccak256\":\"0xc80a16606da8abf76d0f73abc38aee041e24f29342c1939018f70c286e89f105\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d257df1f322904fdbf34a0d28880cc96a1ba3905d19488d83156a7d3476d820f\",\"dweb:/ipfs/QmP6WFuoK6ePEQ2zxRnpu1kWDdFSUTGaEV57eZ4gs9FqC8\"]},\"lib/juice-contracts-v2/contracts/structs/JBSplitAllocationData.sol\":{\"keccak256\":\"0x39f5c41bd31d36774744698ac94484b6cab62d7038df2f29d947668959782e63\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cf81d025aa0f6f93bdcd0b863730f7c574de7c3c4a595ba88e342f46c4b724e4\",\"dweb:/ipfs/QmaQ1frbYciPVV1Qmsfmgts9fgbXKZLQ8jGf9XRikHSmci\"]},\"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/ERC165.sol\":{\"keccak256\":\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d\",\"dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43\"]},\"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.6+commit.11564f7e"
    },
    "language": "Solidity",
    "output": {
      "abi": [
        {
          "inputs": [
            {
              "internalType": "contract IJBDirectory",
              "name": "_directory",
              "type": "address"
            }
          ],
          "stateMutability": "nonpayable",
          "type": "constructor"
        },
        {
          "inputs": [],
          "type": "error",
          "name": "TERMINAL_NOT_FOUND"
        },
        {
          "inputs": [
            {
              "internalType": "struct JBSplitAllocationData",
              "name": "_data",
              "type": "tuple",
              "components": [
                {
                  "internalType": "address",
                  "name": "token",
                  "type": "address"
                },
                {
                  "internalType": "uint256",
                  "name": "amount",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "decimals",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "projectId",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "group",
                  "type": "uint256"
                },
                {
                  "internalType": "struct JBSplit",
                  "name": "split",
                  "type": "tuple",
                  "components": [
                    {
                      "internalType": "bool",
                      "name": "preferClaimed",
                      "type": "bool"
                    },
                    {
                      "internalType": "bool",
                      "name": "preferAddToBalance",
                      "type": "bool"
                    },
                    {
                      "internalType": "uint256",
                      "name": "percent",
                      "type": "uint256"
                    },
                    {
                      "internalType": "uint256",
                      "name": "projectId",
                      "type": "uint256"
                    },
                    {
                      "internalType": "address payable",
                      "name": "beneficiary",
                      "type": "address"
                    },
                    {
                      "internalType": "uint256",
                      "name": "lockedUntil",
                      "type": "uint256"
                    },
                    {
                      "internalType": "contract IJBSplitAllocator",
                      "name": "allocator",
                      "type": "address"
                    }
                  ]
                }
              ]
            }
          ],
          "stateMutability": "payable",
          "type": "function",
          "name": "allocate"
        },
        {
          "inputs": [],
          "stateMutability": "view",
          "type": "function",
          "name": "directory",
          "outputs": [
            {
              "internalType": "contract IJBDirectory",
              "name": "",
              "type": "address"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "bytes4",
              "name": "_interfaceId",
              "type": "bytes4"
            }
          ],
          "stateMutability": "view",
          "type": "function",
          "name": "supportsInterface",
          "outputs": [
            {
              "internalType": "bool",
              "name": "",
              "type": "bool"
            }
          ]
        }
      ],
      "devdoc": {
        "kind": "dev",
        "methods": {
          "allocate((address,uint256,uint256,uint256,uint256,(bool,bool,uint256,uint256,address,uint256,address)))": {
            "params": {
              "_data": "The allocation config which specifies the destination of the funds."
            }
          },
          "constructor": {
            "params": {
              "_directory": "The V3 directory address.  "
            }
          }
        },
        "version": 1
      },
      "userdoc": {
        "kind": "user",
        "methods": {
          "allocate((address,uint256,uint256,uint256,uint256,(bool,bool,uint256,uint256,address,uint256,address)))": {
            "notice": "Allocate hook that will transfer treasury funds to V3."
          },
          "directory()": {
            "notice": "The V3 directory address."
          }
        },
        "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/forge-std/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": {
        "contracts/V2Allocator.sol": "V2Allocator"
      },
      "libraries": {}
    },
    "sources": {
      "contracts/V2Allocator.sol": {
        "keccak256": "0x0ca9e98838547b21f1fa3eaef7fe858eafd83b07e745a5e8f7151847e395ad7e",
        "urls": [
          "bzz-raw://e294c32b675c9167c7f3e077c5745dab6c7aceb716a03fcbafbd4891cc141a92",
          "dweb:/ipfs/QmTMts3RbSi1kqGNZ2TvvZupUqrSHubn9Ko4awMPRbhd6L"
        ],
        "license": "MIT"
      },
      "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/IJBSplitAllocator.sol": {
        "keccak256": "0x5efb6f51fc161f42ff58989386ad99028e4039a0ba897d66f358c3dfcf686105",
        "urls": [
          "bzz-raw://171df7cf5285170894d7d7d00ecb14271204b55d330fa65e1bf9ebfb21741c29",
          "dweb:/ipfs/QmXBmzjVVgGd1hZoStw2qoypJnqyWgYeMXMLyYS7f6Zonu"
        ],
        "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/libraries/JBTokens.sol": {
        "keccak256": "0xecf82992f7b827766aa55f16872517a646521eef414d8cc9786617ea377e5463",
        "urls": [
          "bzz-raw://4bb334faa6d2d071473bfcd7efeb5bfa068c340600c204651d59a94be4e4b147",
          "dweb:/ipfs/QmaKgSCvDNgQ6dh2gZfQ9VhkPuRCoACv8e7sd1K9VFikix"
        ],
        "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/juice-contracts-v2/contracts/structs/JBSplit.sol": {
        "keccak256": "0xc80a16606da8abf76d0f73abc38aee041e24f29342c1939018f70c286e89f105",
        "urls": [
          "bzz-raw://d257df1f322904fdbf34a0d28880cc96a1ba3905d19488d83156a7d3476d820f",
          "dweb:/ipfs/QmP6WFuoK6ePEQ2zxRnpu1kWDdFSUTGaEV57eZ4gs9FqC8"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/structs/JBSplitAllocationData.sol": {
        "keccak256": "0x39f5c41bd31d36774744698ac94484b6cab62d7038df2f29d947668959782e63",
        "urls": [
          "bzz-raw://cf81d025aa0f6f93bdcd0b863730f7c574de7c3c4a595ba88e342f46c4b724e4",
          "dweb:/ipfs/QmaQ1frbYciPVV1Qmsfmgts9fgbXKZLQ8jGf9XRikHSmci"
        ],
        "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/ERC165.sol": {
        "keccak256": "0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b",
        "urls": [
          "bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d",
          "dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43"
        ],
        "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": "contracts/V2Allocator.sol",
    "id": 223,
    "exportedSymbols": {
      "ERC165": [
        30243
      ],
      "IERC165": [
        38868
      ],
      "IERC721": [
        37612
      ],
      "IJBDirectory": [
        31924
      ],
      "IJBFundingCycleBallot": [
        40432
      ],
      "IJBFundingCycleStore": [
        38633
      ],
      "IJBPaymentTerminal": [
        31994
      ],
      "IJBProjects": [
        38202
      ],
      "IJBSplitAllocator": [
        32009
      ],
      "IJBTokenUriResolver": [
        62435
      ],
      "JBBallotState": [
        62441
      ],
      "JBFundingCycle": [
        35849
      ],
      "JBFundingCycleData": [
        35862
      ],
      "JBProjectMetadata": [
        35946
      ],
      "JBSplit": [
        35998
      ],
      "JBSplitAllocationData": [
        32036
      ],
      "JBTokens": [
        32019
      ],
      "V2Allocator": [
        222
      ]
    },
    "nodeType": "SourceUnit",
    "src": "32:2626:2",
    "nodes": [
      {
        "id": 113,
        "nodeType": "PragmaDirective",
        "src": "32:22:2",
        "nodes": [],
        "literals": [
          "solidity",
          "0.8",
          ".6"
        ]
      },
      {
        "id": 114,
        "nodeType": "ImportDirective",
        "src": "56:64:2",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v2/contracts/interfaces/IJBDirectory.sol",
        "file": "@jbx-protocol-v2/contracts/interfaces/IJBDirectory.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 223,
        "sourceUnit": 31925,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 115,
        "nodeType": "ImportDirective",
        "src": "121:70:2",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v2/contracts/interfaces/IJBPaymentTerminal.sol",
        "file": "@jbx-protocol-v2/contracts/interfaces/IJBPaymentTerminal.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 223,
        "sourceUnit": 31995,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 116,
        "nodeType": "ImportDirective",
        "src": "192:69:2",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v2/contracts/interfaces/IJBSplitAllocator.sol",
        "file": "@jbx-protocol-v2/contracts/interfaces/IJBSplitAllocator.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 223,
        "sourceUnit": 32010,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 117,
        "nodeType": "ImportDirective",
        "src": "262:70:2",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v2/contracts/structs/JBSplitAllocationData.sol",
        "file": "@jbx-protocol-v2/contracts/structs/JBSplitAllocationData.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 223,
        "sourceUnit": 32037,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 118,
        "nodeType": "ImportDirective",
        "src": "333:59:2",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v2/contracts/libraries/JBTokens.sol",
        "file": "@jbx-protocol-v2/contracts/libraries/JBTokens.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 223,
        "sourceUnit": 32020,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 119,
        "nodeType": "ImportDirective",
        "src": "393:64:2",
        "nodes": [],
        "absolutePath": "lib/openzeppelin-contracts/contracts/utils/introspection/ERC165.sol",
        "file": "@openzeppelin/contracts/utils/introspection/ERC165.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 223,
        "sourceUnit": 30244,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 222,
        "nodeType": "ContractDefinition",
        "src": "750:1907:2",
        "nodes": [
          {
            "id": 126,
            "nodeType": "ErrorDefinition",
            "src": "1033:27:2",
            "nodes": [],
            "name": "TERMINAL_NOT_FOUND",
            "nameLocation": "1039:18:2",
            "parameters": {
              "id": 125,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1057:2:2"
            }
          },
          {
            "id": 130,
            "nodeType": "VariableDeclaration",
            "src": "1346:39:2",
            "nodes": [],
            "constant": false,
            "documentation": {
              "id": 127,
              "nodeType": "StructuredDocumentation",
              "src": "1293:50:2",
              "text": "@notice\nThe V3 directory address."
            },
            "functionSelector": "c41c2f24",
            "mutability": "immutable",
            "name": "directory",
            "nameLocation": "1376:9:2",
            "scope": 222,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_contract$_IJBDirectory_$31924",
              "typeString": "contract IJBDirectory"
            },
            "typeName": {
              "id": 129,
              "nodeType": "UserDefinedTypeName",
              "pathNode": {
                "id": 128,
                "name": "IJBDirectory",
                "nodeType": "IdentifierPath",
                "referencedDeclaration": 31924,
                "src": "1346:12:2"
              },
              "referencedDeclaration": 31924,
              "src": "1346:12:2",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_IJBDirectory_$31924",
                "typeString": "contract IJBDirectory"
              }
            },
            "visibility": "public"
          },
          {
            "id": 142,
            "nodeType": "FunctionDefinition",
            "src": "1451:70:2",
            "nodes": [],
            "body": {
              "id": 141,
              "nodeType": "Block",
              "src": "1488:33:2",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "id": 139,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 137,
                      "name": "directory",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 130,
                      "src": "1494:9:2",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IJBDirectory_$31924",
                        "typeString": "contract IJBDirectory"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "id": 138,
                      "name": "_directory",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 134,
                      "src": "1506:10:2",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IJBDirectory_$31924",
                        "typeString": "contract IJBDirectory"
                      }
                    },
                    "src": "1494:22:2",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IJBDirectory_$31924",
                      "typeString": "contract IJBDirectory"
                    }
                  },
                  "id": 140,
                  "nodeType": "ExpressionStatement",
                  "src": "1494:22:2"
                }
              ]
            },
            "documentation": {
              "id": 131,
              "nodeType": "StructuredDocumentation",
              "src": "1390:58:2",
              "text": "@param _directory The V3 directory address.  "
            },
            "implemented": true,
            "kind": "constructor",
            "modifiers": [],
            "name": "",
            "nameLocation": "-1:-1:-1",
            "parameters": {
              "id": 135,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 134,
                  "mutability": "mutable",
                  "name": "_directory",
                  "nameLocation": "1476:10:2",
                  "nodeType": "VariableDeclaration",
                  "scope": 142,
                  "src": "1463:23:2",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IJBDirectory_$31924",
                    "typeString": "contract IJBDirectory"
                  },
                  "typeName": {
                    "id": 133,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 132,
                      "name": "IJBDirectory",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 31924,
                      "src": "1463:12:2"
                    },
                    "referencedDeclaration": 31924,
                    "src": "1463:12:2",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IJBDirectory_$31924",
                      "typeString": "contract IJBDirectory"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1462:25:2"
            },
            "returnParameters": {
              "id": 136,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1488:0:2"
            },
            "scope": 222,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "public"
          },
          {
            "id": 198,
            "nodeType": "FunctionDefinition",
            "src": "1693:723:2",
            "nodes": [],
            "body": {
              "id": 197,
              "nodeType": "Block",
              "src": "1775:641:2",
              "nodes": [],
              "statements": [
                {
                  "assignments": [
                    151
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 151,
                      "mutability": "mutable",
                      "name": "_v3ProjectId",
                      "nameLocation": "1868:12:2",
                      "nodeType": "VariableDeclaration",
                      "scope": 197,
                      "src": "1860:20:2",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 150,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "1860:7:2",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 155,
                  "initialValue": {
                    "expression": {
                      "expression": {
                        "id": 152,
                        "name": "_data",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 146,
                        "src": "1883:5:2",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_JBSplitAllocationData_$32036_calldata_ptr",
                          "typeString": "struct JBSplitAllocationData calldata"
                        }
                      },
                      "id": 153,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "split",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 32035,
                      "src": "1883:11:2",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_JBSplit_$35998_calldata_ptr",
                        "typeString": "struct JBSplit calldata"
                      }
                    },
                    "id": 154,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "projectId",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 35990,
                    "src": "1883:21:2",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "1860:44:2"
                },
                {
                  "assignments": [
                    158
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 158,
                      "mutability": "mutable",
                      "name": "_terminal",
                      "nameLocation": "2015:9:2",
                      "nodeType": "VariableDeclaration",
                      "scope": 197,
                      "src": "1996:28:2",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IJBPaymentTerminal_$31994",
                        "typeString": "contract IJBPaymentTerminal"
                      },
                      "typeName": {
                        "id": 157,
                        "nodeType": "UserDefinedTypeName",
                        "pathNode": {
                          "id": 156,
                          "name": "IJBPaymentTerminal",
                          "nodeType": "IdentifierPath",
                          "referencedDeclaration": 31994,
                          "src": "1996:18:2"
                        },
                        "referencedDeclaration": 31994,
                        "src": "1996:18:2",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IJBPaymentTerminal_$31994",
                          "typeString": "contract IJBPaymentTerminal"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 165,
                  "initialValue": {
                    "arguments": [
                      {
                        "id": 161,
                        "name": "_v3ProjectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 151,
                        "src": "2055:12:2",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "expression": {
                          "id": 162,
                          "name": "JBTokens",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 32019,
                          "src": "2069:8:2",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_JBTokens_$32019_$",
                            "typeString": "type(library JBTokens)"
                          }
                        },
                        "id": 163,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "ETH",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 32018,
                        "src": "2069:12:2",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "expression": {
                        "id": 159,
                        "name": "directory",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 130,
                        "src": "2027:9:2",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IJBDirectory_$31924",
                          "typeString": "contract IJBDirectory"
                        }
                      },
                      "id": 160,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "primaryTerminalOf",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 31890,
                      "src": "2027:27:2",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$_t_uint256_$_t_address_$returns$_t_contract$_IJBPaymentTerminal_$31994_$",
                        "typeString": "function (uint256,address) view external returns (contract IJBPaymentTerminal)"
                      }
                    },
                    "id": 164,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2027:55:2",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IJBPaymentTerminal_$31994",
                      "typeString": "contract IJBPaymentTerminal"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "1996:86:2"
                },
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    },
                    "id": 174,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "arguments": [
                        {
                          "id": 168,
                          "name": "_terminal",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 158,
                          "src": "2144:9:2",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_IJBPaymentTerminal_$31994",
                            "typeString": "contract IJBPaymentTerminal"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_contract$_IJBPaymentTerminal_$31994",
                            "typeString": "contract IJBPaymentTerminal"
                          }
                        ],
                        "id": 167,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "lValueRequested": false,
                        "nodeType": "ElementaryTypeNameExpression",
                        "src": "2136:7:2",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_address_$",
                          "typeString": "type(address)"
                        },
                        "typeName": {
                          "id": 166,
                          "name": "address",
                          "nodeType": "ElementaryTypeName",
                          "src": "2136:7:2",
                          "typeDescriptions": {}
                        }
                      },
                      "id": 169,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "2136:18:2",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "arguments": [
                        {
                          "hexValue": "30",
                          "id": 172,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "2166:1:2",
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          }
                        ],
                        "id": 171,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "lValueRequested": false,
                        "nodeType": "ElementaryTypeNameExpression",
                        "src": "2158:7:2",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_address_$",
                          "typeString": "type(address)"
                        },
                        "typeName": {
                          "id": 170,
                          "name": "address",
                          "nodeType": "ElementaryTypeName",
                          "src": "2158:7:2",
                          "typeDescriptions": {}
                        }
                      },
                      "id": 173,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "2158:10:2",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "src": "2136:32:2",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 178,
                  "nodeType": "IfStatement",
                  "src": "2132:65:2",
                  "trueBody": {
                    "errorCall": {
                      "arguments": [],
                      "expression": {
                        "argumentTypes": [],
                        "id": 175,
                        "name": "TERMINAL_NOT_FOUND",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 126,
                        "src": "2177:18:2",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_error_pure$__$returns$__$",
                          "typeString": "function () pure"
                        }
                      },
                      "id": 176,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "2177:20:2",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_tuple$__$",
                        "typeString": "tuple()"
                      }
                    },
                    "id": 177,
                    "nodeType": "RevertStatement",
                    "src": "2170:27:2"
                  }
                },
                {
                  "expression": {
                    "arguments": [
                      {
                        "id": 185,
                        "name": "_v3ProjectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 151,
                        "src": "2310:12:2",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "expression": {
                          "id": 186,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": -15,
                          "src": "2330:3:2",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 187,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "value",
                        "nodeType": "MemberAccess",
                        "src": "2330:9:2",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "expression": {
                          "id": 188,
                          "name": "JBTokens",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 32019,
                          "src": "2347:8:2",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_JBTokens_$32019_$",
                            "typeString": "type(library JBTokens)"
                          }
                        },
                        "id": 189,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "ETH",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 32018,
                        "src": "2347:12:2",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "hexValue": "7632202d3e20763320616c6c6f636174696f6e",
                        "id": 190,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "2367:21:2",
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_59cf80be2d6e6943d4bb374786adfbc5cdac0a76b5294ce594954624b471ff24",
                          "typeString": "literal_string \"v2 -> v3 allocation\""
                        },
                        "value": "v2 -> v3 allocation"
                      },
                      {
                        "arguments": [
                          {
                            "hexValue": "",
                            "id": 193,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "string",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "2402:2:2",
                            "typeDescriptions": {
                              "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
                              "typeString": "literal_string \"\""
                            },
                            "value": ""
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
                              "typeString": "literal_string \"\""
                            }
                          ],
                          "id": 192,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "2396:5:2",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_bytes_storage_ptr_$",
                            "typeString": "type(bytes storage pointer)"
                          },
                          "typeName": {
                            "id": 191,
                            "name": "bytes",
                            "nodeType": "ElementaryTypeName",
                            "src": "2396:5:2",
                            "typeDescriptions": {}
                          }
                        },
                        "id": 194,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "2396:9:2",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes_memory_ptr",
                          "typeString": "bytes memory"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_59cf80be2d6e6943d4bb374786adfbc5cdac0a76b5294ce594954624b471ff24",
                          "typeString": "literal_string \"v2 -> v3 allocation\""
                        },
                        {
                          "typeIdentifier": "t_bytes_memory_ptr",
                          "typeString": "bytes memory"
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          },
                          {
                            "typeIdentifier": "t_stringliteral_59cf80be2d6e6943d4bb374786adfbc5cdac0a76b5294ce594954624b471ff24",
                            "typeString": "literal_string \"v2 -> v3 allocation\""
                          },
                          {
                            "typeIdentifier": "t_bytes_memory_ptr",
                            "typeString": "bytes memory"
                          }
                        ],
                        "expression": {
                          "id": 179,
                          "name": "_terminal",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 158,
                          "src": "2260:9:2",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_IJBPaymentTerminal_$31994",
                            "typeString": "contract IJBPaymentTerminal"
                          }
                        },
                        "id": 181,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "addToBalanceOf",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 31993,
                        "src": "2260:24:2",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_external_payable$_t_uint256_$_t_uint256_$_t_address_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$",
                          "typeString": "function (uint256,uint256,address,string memory,bytes memory) payable external"
                        }
                      },
                      "id": 184,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "names": [
                        "value"
                      ],
                      "nodeType": "FunctionCallOptions",
                      "options": [
                        {
                          "expression": {
                            "id": 182,
                            "name": "msg",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": -15,
                            "src": "2292:3:2",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_message",
                              "typeString": "msg"
                            }
                          },
                          "id": 183,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "value",
                          "nodeType": "MemberAccess",
                          "src": "2292:9:2",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        }
                      ],
                      "src": "2260:42:2",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_payable$_t_uint256_$_t_uint256_$_t_address_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$value",
                        "typeString": "function (uint256,uint256,address,string memory,bytes memory) payable external"
                      }
                    },
                    "id": 195,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2260:151:2",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 196,
                  "nodeType": "ExpressionStatement",
                  "src": "2260:151:2"
                }
              ]
            },
            "baseFunctions": [
              32008
            ],
            "documentation": {
              "id": 143,
              "nodeType": "StructuredDocumentation",
              "src": "1525:165:2",
              "text": "@notice\nAllocate hook that will transfer treasury funds to V3.\n@param _data The allocation config which specifies the destination of the funds."
            },
            "functionSelector": "9d740bfa",
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "allocate",
            "nameLocation": "1702:8:2",
            "overrides": {
              "id": 148,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "1766:8:2"
            },
            "parameters": {
              "id": 147,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 146,
                  "mutability": "mutable",
                  "name": "_data",
                  "nameLocation": "1742:5:2",
                  "nodeType": "VariableDeclaration",
                  "scope": 198,
                  "src": "1711:36:2",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_JBSplitAllocationData_$32036_calldata_ptr",
                    "typeString": "struct JBSplitAllocationData"
                  },
                  "typeName": {
                    "id": 145,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 144,
                      "name": "JBSplitAllocationData",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 32036,
                      "src": "1711:21:2"
                    },
                    "referencedDeclaration": 32036,
                    "src": "1711:21:2",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_JBSplitAllocationData_$32036_storage_ptr",
                      "typeString": "struct JBSplitAllocationData"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1710:38:2"
            },
            "returnParameters": {
              "id": 149,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1775:0:2"
            },
            "scope": 222,
            "stateMutability": "payable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 221,
            "nodeType": "FunctionDefinition",
            "src": "2420:235:2",
            "nodes": [],
            "body": {
              "id": 220,
              "nodeType": "Block",
              "src": "2539:116:2",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "commonType": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    },
                    "id": 218,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "commonType": {
                        "typeIdentifier": "t_bytes4",
                        "typeString": "bytes4"
                      },
                      "id": 213,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "id": 208,
                        "name": "_interfaceId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 200,
                        "src": "2558:12:2",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes4",
                          "typeString": "bytes4"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "==",
                      "rightExpression": {
                        "expression": {
                          "arguments": [
                            {
                              "id": 210,
                              "name": "IJBSplitAllocator",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 32009,
                              "src": "2579:17:2",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_contract$_IJBSplitAllocator_$32009_$",
                                "typeString": "type(contract IJBSplitAllocator)"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_type$_t_contract$_IJBSplitAllocator_$32009_$",
                                "typeString": "type(contract IJBSplitAllocator)"
                              }
                            ],
                            "id": 209,
                            "name": "type",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": -27,
                            "src": "2574:4:2",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_metatype_pure$__$returns$__$",
                              "typeString": "function () pure"
                            }
                          },
                          "id": 211,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "2574:23:2",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_meta_type_t_contract$_IJBSplitAllocator_$32009",
                            "typeString": "type(contract IJBSplitAllocator)"
                          }
                        },
                        "id": 212,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "lValueRequested": false,
                        "memberName": "interfaceId",
                        "nodeType": "MemberAccess",
                        "src": "2574:35:2",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes4",
                          "typeString": "bytes4"
                        }
                      },
                      "src": "2558:51:2",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "||",
                    "rightExpression": {
                      "arguments": [
                        {
                          "id": 216,
                          "name": "_interfaceId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 200,
                          "src": "2637:12:2",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes4",
                            "typeString": "bytes4"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_bytes4",
                            "typeString": "bytes4"
                          }
                        ],
                        "expression": {
                          "id": 214,
                          "name": "super",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": -25,
                          "src": "2613:5:2",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_super$_V2Allocator_$222_$",
                            "typeString": "type(contract super V2Allocator)"
                          }
                        },
                        "id": 215,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "supportsInterface",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 30242,
                        "src": "2613:23:2",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_view$_t_bytes4_$returns$_t_bool_$",
                          "typeString": "function (bytes4) view returns (bool)"
                        }
                      },
                      "id": 217,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "2613:37:2",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "src": "2558:92:2",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "functionReturnParameters": 207,
                  "id": 219,
                  "nodeType": "Return",
                  "src": "2545:105:2"
                }
              ]
            },
            "baseFunctions": [
              30242,
              38867
            ],
            "functionSelector": "01ffc9a7",
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "supportsInterface",
            "nameLocation": "2429:17:2",
            "overrides": {
              "id": 204,
              "nodeType": "OverrideSpecifier",
              "overrides": [
                {
                  "id": 202,
                  "name": "IERC165",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 38868,
                  "src": "2501:7:2"
                },
                {
                  "id": 203,
                  "name": "ERC165",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 30243,
                  "src": "2510:6:2"
                }
              ],
              "src": "2492:25:2"
            },
            "parameters": {
              "id": 201,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 200,
                  "mutability": "mutable",
                  "name": "_interfaceId",
                  "nameLocation": "2454:12:2",
                  "nodeType": "VariableDeclaration",
                  "scope": 221,
                  "src": "2447:19:2",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes4",
                    "typeString": "bytes4"
                  },
                  "typeName": {
                    "id": 199,
                    "name": "bytes4",
                    "nodeType": "ElementaryTypeName",
                    "src": "2447:6:2",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes4",
                      "typeString": "bytes4"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2446:21:2"
            },
            "returnParameters": {
              "id": 207,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 206,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 221,
                  "src": "2531:4:2",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 205,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "2531:4:2",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2530:6:2"
            },
            "scope": 222,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "public"
          }
        ],
        "abstract": false,
        "baseContracts": [
          {
            "baseName": {
              "id": 121,
              "name": "ERC165",
              "nodeType": "IdentifierPath",
              "referencedDeclaration": 30243,
              "src": "774:6:2"
            },
            "id": 122,
            "nodeType": "InheritanceSpecifier",
            "src": "774:6:2"
          },
          {
            "baseName": {
              "id": 123,
              "name": "IJBSplitAllocator",
              "nodeType": "IdentifierPath",
              "referencedDeclaration": 32009,
              "src": "782:17:2"
            },
            "id": 124,
            "nodeType": "InheritanceSpecifier",
            "src": "782:17:2"
          }
        ],
        "contractDependencies": [],
        "contractKind": "contract",
        "documentation": {
          "id": 120,
          "nodeType": "StructuredDocumentation",
          "src": "459:290:2",
          "text": "@notice\nJuicebox split allocator for allocating V2 treasury funds to a V3 treasury.\n@dev\nAdheres to -\nIJBSplitAllocator: Adhere to Allocator pattern to receive payout distributions for allocation. \n@dev\nInherits from -\nERC165: Introspection on interface adherance. "
        },
        "fullyImplemented": true,
        "linearizedBaseContracts": [
          222,
          32009,
          30243,
          38868
        ],
        "name": "V2Allocator",
        "nameLocation": "759:11:2",
        "scope": 223,
        "usedErrors": [
          126
        ]
      }
    ],
    "license": "MIT"
  },
  "id": 2
}