{
  "abi": [
    {
      "inputs": [
        {
          "internalType": "contract IJBDirectory",
          "name": "_directory",
          "type": "address"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "constructor"
    },
    {
      "inputs": [],
      "name": "TERMINAL_NOT_FOUND",
      "type": "error"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "projectId",
          "type": "uint256"
        },
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "forProjectId",
          "type": "uint256"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "beneficiary",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "caller",
          "type": "address"
        }
      ],
      "name": "Allocate",
      "type": "event"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_projectId",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "_forProjectId",
          "type": "uint256"
        },
        {
          "internalType": "address",
          "name": "_beneficiary",
          "type": "address"
        }
      ],
      "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": "0x60a060405234801561001057600080fd5b5060405161059538038061059583398101604081905261002f91610044565b60601b6001600160601b031916608052610074565b60006020828403121561005657600080fd5b81516001600160a01b038116811461006d57600080fd5b9392505050565b60805160601c6104fd61009860003960008181608001526101af01526104fd6000f3fe6080604052600436106100345760003560e01c806301ffc9a714610039578063c41c2f241461006e578063ec695ef7146100c7575b600080fd5b34801561004557600080fd5b5061005961005436600461032d565b6100dc565b60405190151581526020015b60405180910390f35b34801561007a57600080fd5b506100a27f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610065565b6100da6100d5366004610393565b610175565b005b60007fffffffff0000000000000000000000000000000000000000000000000000000082167fec695ef700000000000000000000000000000000000000000000000000000000148061016f57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6040517f862026500000000000000000000000000000000000000000000000000000000081526004810183905261eeee60248201526000907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063862026509060440160206040518083038186803b15801561020657600080fd5b505afa15801561021a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061023e9190610376565b905073ffffffffffffffffffffffffffffffffffffffff811661028d576040517ffba10dd600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b604080516020810182526000815290517f0cf8e85800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831691630cf8e8589134916102f5918891849161eeee91906004016103cc565b6000604051808303818588803b15801561030e57600080fd5b505af1158015610322573d6000803e3d6000fd5b505050505050505050565b60006020828403121561033f57600080fd5b81357fffffffff000000000000000000000000000000000000000000000000000000008116811461036f57600080fd5b9392505050565b60006020828403121561038857600080fd5b815161036f816104a2565b6000806000606084860312156103a857600080fd5b833592506020840135915060408401356103c1816104a2565b809150509250925092565b84815260006020858184015273ffffffffffffffffffffffffffffffffffffffff8516604084015260a06060840152601360a08401527f7631202d3e20763320616c6c6f636174696f6e0000000000000000000000000060c084015260e0608084015283518060e085015260005b81811015610457578581018301518582016101000152820161043a565b8181111561046a57600061010083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01692909201610100019695505050505050565b73ffffffffffffffffffffffffffffffffffffffff811681146104c457600080fd5b5056fea264697066735822122019c0b7adefd348fa4b0a57e8ca818ce6e3c4b6c980173ddca75e1d7e226770fc64736f6c63430008060033",
    "sourceMap": "788:2123:1:-:0;;;1486:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1531:22;;-1:-1:-1;1531:22:1;;;788:2123;;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;:::-;788:2123:1;;;;;;;;;;;;",
    "linkReferences": {}
  },
  "deployedBytecode": {
    "object": "0x6080604052600436106100345760003560e01c806301ffc9a714610039578063c41c2f241461006e578063ec695ef7146100c7575b600080fd5b34801561004557600080fd5b5061005961005436600461032d565b6100dc565b60405190151581526020015b60405180910390f35b34801561007a57600080fd5b506100a27f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610065565b6100da6100d5366004610393565b610175565b005b60007fffffffff0000000000000000000000000000000000000000000000000000000082167fec695ef700000000000000000000000000000000000000000000000000000000148061016f57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6040517f862026500000000000000000000000000000000000000000000000000000000081526004810183905261eeee60248201526000907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063862026509060440160206040518083038186803b15801561020657600080fd5b505afa15801561021a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061023e9190610376565b905073ffffffffffffffffffffffffffffffffffffffff811661028d576040517ffba10dd600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b604080516020810182526000815290517f0cf8e85800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831691630cf8e8589134916102f5918891849161eeee91906004016103cc565b6000604051808303818588803b15801561030e57600080fd5b505af1158015610322573d6000803e3d6000fd5b505050505050505050565b60006020828403121561033f57600080fd5b81357fffffffff000000000000000000000000000000000000000000000000000000008116811461036f57600080fd5b9392505050565b60006020828403121561038857600080fd5b815161036f816104a2565b6000806000606084860312156103a857600080fd5b833592506020840135915060408401356103c1816104a2565b809150509250925092565b84815260006020858184015273ffffffffffffffffffffffffffffffffffffffff8516604084015260a06060840152601360a08401527f7631202d3e20763320616c6c6f636174696f6e0000000000000000000000000060c084015260e0608084015283518060e085015260005b81811015610457578581018301518582016101000152820161043a565b8181111561046a57600061010083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01692909201610100019695505050505050565b73ffffffffffffffffffffffffffffffffffffffff811681146104c457600080fd5b5056fea264697066735822122019c0b7adefd348fa4b0a57e8ca818ce6e3c4b6c980173ddca75e1d7e226770fc64736f6c63430008060033",
    "sourceMap": "788:2123:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2719:190;;;;;;;;;;-1:-1:-1;2719:190:1;;;;;:::i;:::-;;:::i;:::-;;;1188:14:168;;1181:22;1163:41;;1151:2;1136:18;2719:190:1;;;;;;;;1380:41;;;;;;;;;;;;;;;;;;1413:42:168;1401:55;;;1383:74;;1371:2;1356:18;1380:41:1;1338:125:168;1924:791:1;;;;;;:::i;:::-;;:::i;:::-;;2719:190;2797:4;2816:47;;;2832:31;2816:47;;:88;;-1:-1:-1;952:25:164;937:40;;;;2867:37:1;2809:95;2719:190;-1:-1:-1;;2719:190:1:o;1924:791::-;2320:58;;;;;;;;1642:25:168;;;241:42:137;1683:18:168;;;1676:83;2287:30:1;;2320:9;:27;;;;;1615:18:168;;2320:58:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2287:91;-1:-1:-1;2432:32:1;;;2428:65;;2473:20;;;;;;;;;;;;;;2428:65;2695:9;;;;;;;;-1:-1:-1;2695:9:1;;2556:154;;;;;:24;;;;;;2588:9;;2556:154;;2606:13;;2588:9;;241:42:137;;2695:9:1;2556:154;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2049:666;1924:791;;;:::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:279::-;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;569:31;594:5;569:31;:::i;635:383::-;712:6;720;728;781:2;769:9;760:7;756:23;752:32;749:2;;;797:1;794;787:12;749:2;833:9;820:23;810:33;;890:2;879:9;875:18;862:32;852:42;;944:2;933:9;929:18;916:32;957:31;982:5;957:31;:::i;:::-;1007:5;997:15;;;739:279;;;;;:::o;1770:1162::-;2102:6;2091:9;2084:25;2065:4;2128:2;2166:6;2161:2;2150:9;2146:18;2139:34;2221:42;2213:6;2209:55;2204:2;2193:9;2189:18;2182:83;2301:3;2296:2;2285:9;2281:18;2274:31;2342:2;2336:3;2325:9;2321:19;2314:31;2382:21;2376:3;2365:9;2361:19;2354:50;2441:3;2435;2424:9;2420:19;2413:32;2474:6;2468:13;2518:6;2512:3;2501:9;2497:19;2490:35;2543:1;2553:141;2567:6;2564:1;2561:13;2553:141;;;2663:14;;;2659:23;;2653:30;2628:17;;;2647:3;2624:27;2617:67;2582:10;;2553:141;;;2712:6;2709:1;2706:13;2703:2;;;2783:1;2777:3;2768:6;2757:9;2753:22;2749:32;2742:43;2703:2;-1:-1:-1;2847:2:168;2835:15;2852:66;2831:88;2816:104;;;;2922:3;2812:114;;2074:858;-1:-1:-1;;;;;;2074:858:168:o;2937:154::-;3023:42;3016:5;3012:54;3005:5;3002:65;2992:2;;3081:1;3078;3071:12;2992:2;2982:109;:::o",
    "linkReferences": {},
    "immutableReferences": {
      "20": [
        {
          "start": 128,
          "length": 32
        },
        {
          "start": 431,
          "length": 32
        }
      ]
    }
  },
  "methodIdentifiers": {
    "allocate(uint256,uint256,address)": "ec695ef7",
    "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\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"forProjectId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"Allocate\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_forProjectId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_beneficiary\",\"type\":\"address\"}],\"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 - IModAllocator: Adhere to Allocator pattern to receive payout distributions for allocation. Inherits from - ERC165: Introspection on interface adherance. \",\"kind\":\"dev\",\"methods\":{\"allocate(uint256,uint256,address)\":{\"params\":{\"_beneficiary\":\"The address that should be the beneficiary of the allocation. This is unused.\",\"_forProjectId\":\"The project ID where the funds will be transferred to.\",\"_projectId\":\"The project ID where the funds are being transferred from. This is unused.\"}},\"constructor\":{\"params\":{\"_directory\":\"The V3 directory address. \"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"allocate(uint256,uint256,address)\":{\"notice\":\"Allocate hook that will transfer treasury funds to V3.\"},\"directory()\":{\"notice\":\"The V3 directory address.\"}},\"notice\":\"Juicebox split allocator for allocating V1 treasury funds to a V3 treasury\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/V1Allocator.sol\":\"V1Allocator\"},\"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/V1Allocator.sol\":{\"keccak256\":\"0x465d04de2e1c93037fc75712513fce496dfc4c7e64e443c4236aaf8a0c54c8a0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://67e78507aec315f00ee3ebdc392cd6106cbc998f4ff0ebe477cea52172f66745\",\"dweb:/ipfs/QmdyCHiAF2F3c2VwKVF8SMV5N24ebGU4jZNomALfWrEd5M\"]},\"lib/juice-contracts-v1/contracts/interfaces/IModAllocator.sol\":{\"keccak256\":\"0x7fa3496d09249348a6be4614d282d4da9aa0042fcae1d5c117001df0ac5c10ca\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://916e1d2173c1d2151ac10be09b4222f5a053e8cef18462d752873226779c808c\",\"dweb:/ipfs/QmZD3CNtE3nDeaqataApxJ28GMajaZ2LbWp5d64pxXbzPb\"]},\"lib/juice-contracts-v3/contracts/enums/JBBallotState.sol\":{\"keccak256\":\"0x891fcac63470398b3a11239da7feba6b07d640809fcefd2404303b823d7378f8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6e6adfceaf284b669a8c1cbcf2da7f18ab31a2d1066f9db8bc914349e7401de7\",\"dweb:/ipfs/QmXLHVRPPZdXUkgAHQbHUtEzAvCJk1P6rJ7wrwfTcfW6fw\"]},\"lib/juice-contracts-v3/contracts/interfaces/IJBDirectory.sol\":{\"keccak256\":\"0x715321646db00514d1355ed43c40cd3f01e94959552fd07797b315d9c49cdb1d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c34c9e1c727ffc63dd42fb6e6ffb3116c8ba15d6a322a300f10f29478974768d\",\"dweb:/ipfs/QmYToaGrbMyyWAuyepYcDd8M6KcmosY8AWhT3uJmPM6Pvy\"]},\"lib/juice-contracts-v3/contracts/interfaces/IJBFundingCycleBallot.sol\":{\"keccak256\":\"0x49553a56209237846bc400cf27f260824a6bd06fd8094a7eb5abb9de75779598\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://559372746f94f28b385bc336df263f583dca5377350645c0b28110b083bdb41a\",\"dweb:/ipfs/QmeQRYqPjXBQCtMKXSFtHVD2ewEPoUAPDxLh4oWTRSKbmx\"]},\"lib/juice-contracts-v3/contracts/interfaces/IJBFundingCycleStore.sol\":{\"keccak256\":\"0xaead823851433be0c2ddc8f8086813e6cd647de3a1bc0f7570a5d6b38c378b5a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7f11fd52ba9ef67b40811d8a2298ae8b69447d2565b3f1069cbb8f0f13bc65e7\",\"dweb:/ipfs/QmVbBzpTxZWar9xvj6x1vW91hJDv2iPVq7aG6waMxaHUPQ\"]},\"lib/juice-contracts-v3/contracts/interfaces/IJBPaymentTerminal.sol\":{\"keccak256\":\"0xb7826f5ed609359ce322c09e83236c47ba385df1c3cad3607e56fd0a2e00eee2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cbb0de0e73f73a04fcfc8f08cab3588b6d608cf5268af737cff6a530f6062c95\",\"dweb:/ipfs/QmPGb8aEbZNHNnrCvuGH52RLvV3kjL3agxQiFrjHoLHaup\"]},\"lib/juice-contracts-v3/contracts/interfaces/IJBProjects.sol\":{\"keccak256\":\"0x7cfc021d0bd7e73b1ba8f4845d7d35e3419d6a14d3d25ca3a8010e7f91062fe4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ff265e13e60da56b93104260ed69ab01153437ec2af9d453781f22ca295eaef9\",\"dweb:/ipfs/QmfGCSLX2Wy26ojf4U12udsdtjSSacbLcZGwCjTw7MjWF8\"]},\"lib/juice-contracts-v3/contracts/interfaces/IJBTokenUriResolver.sol\":{\"keccak256\":\"0xd267fd8ca7c21c2c71794acdb9a98314c33a35fc559e0bf0897a6686d196d174\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://aa7053d4300ed1374f3f993e6e2163d0a05ee780e4e99eb007b55eabc93c724e\",\"dweb:/ipfs/QmYZAUn7VCwqpDWYZNCXLNYMRQpD334YgPRiGCfxQApzuT\"]},\"lib/juice-contracts-v3/contracts/libraries/JBTokens.sol\":{\"keccak256\":\"0xecf82992f7b827766aa55f16872517a646521eef414d8cc9786617ea377e5463\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4bb334faa6d2d071473bfcd7efeb5bfa068c340600c204651d59a94be4e4b147\",\"dweb:/ipfs/QmaKgSCvDNgQ6dh2gZfQ9VhkPuRCoACv8e7sd1K9VFikix\"]},\"lib/juice-contracts-v3/contracts/structs/JBFundingCycle.sol\":{\"keccak256\":\"0xcdd3ac9b6fa67e62ada88d09b73bc35ade1cd77d43db712289266a788928b4c2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8ba0be407022bbeb0e9272884653209ee262b8a4e00ffbba1298c3b119feccba\",\"dweb:/ipfs/QmbtLQzSN3hut4jYVsYPiYDfRkDdGkZmTWBnV2wJKrdM3K\"]},\"lib/juice-contracts-v3/contracts/structs/JBFundingCycleData.sol\":{\"keccak256\":\"0x2aa6368bf4dfc5797e8b02a978293de0c777fae2658de2c825a103587240f3b0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2d7a980ab9b67ad1569d4407b747903cab668a332214117f5ad44feb50af0a3a\",\"dweb:/ipfs/QmSuEzmrmDSihrTKYCk8miq7VQi7WD6jmQePkjDyzt7UpC\"]},\"lib/juice-contracts-v3/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/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": "uint256",
              "name": "projectId",
              "type": "uint256",
              "indexed": true
            },
            {
              "internalType": "uint256",
              "name": "forProjectId",
              "type": "uint256",
              "indexed": true
            },
            {
              "internalType": "address",
              "name": "beneficiary",
              "type": "address",
              "indexed": true
            },
            {
              "internalType": "uint256",
              "name": "amount",
              "type": "uint256",
              "indexed": false
            },
            {
              "internalType": "address",
              "name": "caller",
              "type": "address",
              "indexed": false
            }
          ],
          "type": "event",
          "name": "Allocate",
          "anonymous": false
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "_projectId",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "_forProjectId",
              "type": "uint256"
            },
            {
              "internalType": "address",
              "name": "_beneficiary",
              "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(uint256,uint256,address)": {
            "params": {
              "_beneficiary": "The address that should be the beneficiary of the allocation. This is unused.",
              "_forProjectId": "The project ID where the funds will be transferred to.",
              "_projectId": "The project ID where the funds are being transferred from. This is unused."
            }
          },
          "constructor": {
            "params": {
              "_directory": "The V3 directory address. "
            }
          }
        },
        "version": 1
      },
      "userdoc": {
        "kind": "user",
        "methods": {
          "allocate(uint256,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/V1Allocator.sol": "V1Allocator"
      },
      "libraries": {}
    },
    "sources": {
      "contracts/V1Allocator.sol": {
        "keccak256": "0x465d04de2e1c93037fc75712513fce496dfc4c7e64e443c4236aaf8a0c54c8a0",
        "urls": [
          "bzz-raw://67e78507aec315f00ee3ebdc392cd6106cbc998f4ff0ebe477cea52172f66745",
          "dweb:/ipfs/QmdyCHiAF2F3c2VwKVF8SMV5N24ebGU4jZNomALfWrEd5M"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v1/contracts/interfaces/IModAllocator.sol": {
        "keccak256": "0x7fa3496d09249348a6be4614d282d4da9aa0042fcae1d5c117001df0ac5c10ca",
        "urls": [
          "bzz-raw://916e1d2173c1d2151ac10be09b4222f5a053e8cef18462d752873226779c808c",
          "dweb:/ipfs/QmZD3CNtE3nDeaqataApxJ28GMajaZ2LbWp5d64pxXbzPb"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v3/contracts/enums/JBBallotState.sol": {
        "keccak256": "0x891fcac63470398b3a11239da7feba6b07d640809fcefd2404303b823d7378f8",
        "urls": [
          "bzz-raw://6e6adfceaf284b669a8c1cbcf2da7f18ab31a2d1066f9db8bc914349e7401de7",
          "dweb:/ipfs/QmXLHVRPPZdXUkgAHQbHUtEzAvCJk1P6rJ7wrwfTcfW6fw"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v3/contracts/interfaces/IJBDirectory.sol": {
        "keccak256": "0x715321646db00514d1355ed43c40cd3f01e94959552fd07797b315d9c49cdb1d",
        "urls": [
          "bzz-raw://c34c9e1c727ffc63dd42fb6e6ffb3116c8ba15d6a322a300f10f29478974768d",
          "dweb:/ipfs/QmYToaGrbMyyWAuyepYcDd8M6KcmosY8AWhT3uJmPM6Pvy"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v3/contracts/interfaces/IJBFundingCycleBallot.sol": {
        "keccak256": "0x49553a56209237846bc400cf27f260824a6bd06fd8094a7eb5abb9de75779598",
        "urls": [
          "bzz-raw://559372746f94f28b385bc336df263f583dca5377350645c0b28110b083bdb41a",
          "dweb:/ipfs/QmeQRYqPjXBQCtMKXSFtHVD2ewEPoUAPDxLh4oWTRSKbmx"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v3/contracts/interfaces/IJBFundingCycleStore.sol": {
        "keccak256": "0xaead823851433be0c2ddc8f8086813e6cd647de3a1bc0f7570a5d6b38c378b5a",
        "urls": [
          "bzz-raw://7f11fd52ba9ef67b40811d8a2298ae8b69447d2565b3f1069cbb8f0f13bc65e7",
          "dweb:/ipfs/QmVbBzpTxZWar9xvj6x1vW91hJDv2iPVq7aG6waMxaHUPQ"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v3/contracts/interfaces/IJBPaymentTerminal.sol": {
        "keccak256": "0xb7826f5ed609359ce322c09e83236c47ba385df1c3cad3607e56fd0a2e00eee2",
        "urls": [
          "bzz-raw://cbb0de0e73f73a04fcfc8f08cab3588b6d608cf5268af737cff6a530f6062c95",
          "dweb:/ipfs/QmPGb8aEbZNHNnrCvuGH52RLvV3kjL3agxQiFrjHoLHaup"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v3/contracts/interfaces/IJBProjects.sol": {
        "keccak256": "0x7cfc021d0bd7e73b1ba8f4845d7d35e3419d6a14d3d25ca3a8010e7f91062fe4",
        "urls": [
          "bzz-raw://ff265e13e60da56b93104260ed69ab01153437ec2af9d453781f22ca295eaef9",
          "dweb:/ipfs/QmfGCSLX2Wy26ojf4U12udsdtjSSacbLcZGwCjTw7MjWF8"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v3/contracts/interfaces/IJBTokenUriResolver.sol": {
        "keccak256": "0xd267fd8ca7c21c2c71794acdb9a98314c33a35fc559e0bf0897a6686d196d174",
        "urls": [
          "bzz-raw://aa7053d4300ed1374f3f993e6e2163d0a05ee780e4e99eb007b55eabc93c724e",
          "dweb:/ipfs/QmYZAUn7VCwqpDWYZNCXLNYMRQpD334YgPRiGCfxQApzuT"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v3/contracts/libraries/JBTokens.sol": {
        "keccak256": "0xecf82992f7b827766aa55f16872517a646521eef414d8cc9786617ea377e5463",
        "urls": [
          "bzz-raw://4bb334faa6d2d071473bfcd7efeb5bfa068c340600c204651d59a94be4e4b147",
          "dweb:/ipfs/QmaKgSCvDNgQ6dh2gZfQ9VhkPuRCoACv8e7sd1K9VFikix"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v3/contracts/structs/JBFundingCycle.sol": {
        "keccak256": "0xcdd3ac9b6fa67e62ada88d09b73bc35ade1cd77d43db712289266a788928b4c2",
        "urls": [
          "bzz-raw://8ba0be407022bbeb0e9272884653209ee262b8a4e00ffbba1298c3b119feccba",
          "dweb:/ipfs/QmbtLQzSN3hut4jYVsYPiYDfRkDdGkZmTWBnV2wJKrdM3K"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v3/contracts/structs/JBFundingCycleData.sol": {
        "keccak256": "0x2aa6368bf4dfc5797e8b02a978293de0c777fae2658de2c825a103587240f3b0",
        "urls": [
          "bzz-raw://2d7a980ab9b67ad1569d4407b747903cab668a332214117f5ad44feb50af0a3a",
          "dweb:/ipfs/QmSuEzmrmDSihrTKYCk8miq7VQi7WD6jmQePkjDyzt7UpC"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v3/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/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/V1Allocator.sol",
    "id": 112,
    "exportedSymbols": {
      "ERC165": [
        30243
      ],
      "IERC165": [
        38868
      ],
      "IJBDirectoryV3": [
        26857
      ],
      "IJBPaymentTerminalV3": [
        26927
      ],
      "IModAllocator": [
        11247
      ],
      "JBTokensV3": [
        26937
      ],
      "V1Allocator": [
        111
      ]
    },
    "nodeType": "SourceUnit",
    "src": "32:2880:1",
    "nodes": [
      {
        "id": 1,
        "nodeType": "PragmaDirective",
        "src": "32:22:1",
        "nodes": [],
        "literals": [
          "solidity",
          "0.8",
          ".6"
        ]
      },
      {
        "id": 3,
        "nodeType": "ImportDirective",
        "src": "56:102:1",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v3/contracts/interfaces/IJBDirectory.sol",
        "file": "@jbx-protocol-v3/contracts/interfaces/IJBDirectory.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 112,
        "sourceUnit": 26858,
        "symbolAliases": [
          {
            "foreign": {
              "id": 2,
              "name": "IJBDirectory",
              "nodeType": "Identifier",
              "overloadedDeclarations": [],
              "src": "64:12:1",
              "typeDescriptions": {}
            },
            "local": "IJBDirectoryV3",
            "nameLocation": "-1:-1:-1"
          }
        ],
        "unitAlias": ""
      },
      {
        "id": 5,
        "nodeType": "ImportDirective",
        "src": "159:120:1",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v3/contracts/interfaces/IJBPaymentTerminal.sol",
        "file": "@jbx-protocol-v3/contracts/interfaces/IJBPaymentTerminal.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 112,
        "sourceUnit": 26928,
        "symbolAliases": [
          {
            "foreign": {
              "id": 4,
              "name": "IJBPaymentTerminal",
              "nodeType": "Identifier",
              "overloadedDeclarations": [],
              "src": "167:18:1",
              "typeDescriptions": {}
            },
            "local": "IJBPaymentTerminalV3",
            "nameLocation": "-1:-1:-1"
          }
        ],
        "unitAlias": ""
      },
      {
        "id": 6,
        "nodeType": "ImportDirective",
        "src": "280:65:1",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v1/contracts/interfaces/IModAllocator.sol",
        "file": "@jbx-protocol-v1/contracts/interfaces/IModAllocator.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 112,
        "sourceUnit": 11248,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 8,
        "nodeType": "ImportDirective",
        "src": "346:89:1",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v3/contracts/libraries/JBTokens.sol",
        "file": "@jbx-protocol-v3/contracts/libraries/JBTokens.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 112,
        "sourceUnit": 26938,
        "symbolAliases": [
          {
            "foreign": {
              "id": 7,
              "name": "JBTokens",
              "nodeType": "Identifier",
              "overloadedDeclarations": [],
              "src": "354:8:1",
              "typeDescriptions": {}
            },
            "local": "JBTokensV3",
            "nameLocation": "-1:-1:-1"
          }
        ],
        "unitAlias": ""
      },
      {
        "id": 9,
        "nodeType": "ImportDirective",
        "src": "436:64:1",
        "nodes": [],
        "absolutePath": "lib/openzeppelin-contracts/contracts/utils/introspection/ERC165.sol",
        "file": "@openzeppelin/contracts/utils/introspection/ERC165.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 112,
        "sourceUnit": 30244,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 111,
        "nodeType": "ContractDefinition",
        "src": "788:2123:1",
        "nodes": [
          {
            "id": 16,
            "nodeType": "ErrorDefinition",
            "src": "1067:27:1",
            "nodes": [],
            "name": "TERMINAL_NOT_FOUND",
            "nameLocation": "1073:18:1",
            "parameters": {
              "id": 15,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1091:2:1"
            }
          },
          {
            "id": 20,
            "nodeType": "VariableDeclaration",
            "src": "1380:41:1",
            "nodes": [],
            "constant": false,
            "documentation": {
              "id": 17,
              "nodeType": "StructuredDocumentation",
              "src": "1327:50:1",
              "text": "@notice\nThe V3 directory address."
            },
            "functionSelector": "c41c2f24",
            "mutability": "immutable",
            "name": "directory",
            "nameLocation": "1412:9:1",
            "scope": 111,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_contract$_IJBDirectory_$26857",
              "typeString": "contract IJBDirectory"
            },
            "typeName": {
              "id": 19,
              "nodeType": "UserDefinedTypeName",
              "pathNode": {
                "id": 18,
                "name": "IJBDirectoryV3",
                "nodeType": "IdentifierPath",
                "referencedDeclaration": 26857,
                "src": "1380:14:1"
              },
              "referencedDeclaration": 26857,
              "src": "1380:14:1",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_IJBDirectory_$26857",
                "typeString": "contract IJBDirectory"
              }
            },
            "visibility": "public"
          },
          {
            "id": 32,
            "nodeType": "FunctionDefinition",
            "src": "1486:72:1",
            "nodes": [],
            "body": {
              "id": 31,
              "nodeType": "Block",
              "src": "1525:33:1",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "id": 29,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 27,
                      "name": "directory",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 20,
                      "src": "1531:9:1",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IJBDirectory_$26857",
                        "typeString": "contract IJBDirectory"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "id": 28,
                      "name": "_directory",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 24,
                      "src": "1543:10:1",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IJBDirectory_$26857",
                        "typeString": "contract IJBDirectory"
                      }
                    },
                    "src": "1531:22:1",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IJBDirectory_$26857",
                      "typeString": "contract IJBDirectory"
                    }
                  },
                  "id": 30,
                  "nodeType": "ExpressionStatement",
                  "src": "1531:22:1"
                }
              ]
            },
            "documentation": {
              "id": 21,
              "nodeType": "StructuredDocumentation",
              "src": "1426:57:1",
              "text": "@param _directory The V3 directory address. "
            },
            "implemented": true,
            "kind": "constructor",
            "modifiers": [],
            "name": "",
            "nameLocation": "-1:-1:-1",
            "parameters": {
              "id": 25,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 24,
                  "mutability": "mutable",
                  "name": "_directory",
                  "nameLocation": "1513:10:1",
                  "nodeType": "VariableDeclaration",
                  "scope": 32,
                  "src": "1498:25:1",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IJBDirectory_$26857",
                    "typeString": "contract IJBDirectory"
                  },
                  "typeName": {
                    "id": 23,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 22,
                      "name": "IJBDirectoryV3",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 26857,
                      "src": "1498:14:1"
                    },
                    "referencedDeclaration": 26857,
                    "src": "1498:14:1",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IJBDirectory_$26857",
                      "typeString": "contract IJBDirectory"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1497:27:1"
            },
            "returnParameters": {
              "id": 26,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1525:0:1"
            },
            "scope": 111,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "public"
          },
          {
            "id": 89,
            "nodeType": "FunctionDefinition",
            "src": "1924:791:1",
            "nodes": [],
            "body": {
              "id": 88,
              "nodeType": "Block",
              "src": "2049:666:1",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "id": 43,
                    "name": "_projectId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 35,
                    "src": "2055:10:1",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 44,
                  "nodeType": "ExpressionStatement",
                  "src": "2055:10:1"
                },
                {
                  "expression": {
                    "id": 45,
                    "name": "_beneficiary",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 39,
                    "src": "2127:12:1",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "id": 46,
                  "nodeType": "ExpressionStatement",
                  "src": "2127:12:1"
                },
                {
                  "assignments": [
                    49
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 49,
                      "mutability": "mutable",
                      "name": "_terminal",
                      "nameLocation": "2308:9:1",
                      "nodeType": "VariableDeclaration",
                      "scope": 88,
                      "src": "2287:30:1",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IJBPaymentTerminal_$26927",
                        "typeString": "contract IJBPaymentTerminal"
                      },
                      "typeName": {
                        "id": 48,
                        "nodeType": "UserDefinedTypeName",
                        "pathNode": {
                          "id": 47,
                          "name": "IJBPaymentTerminalV3",
                          "nodeType": "IdentifierPath",
                          "referencedDeclaration": 26927,
                          "src": "2287:20:1"
                        },
                        "referencedDeclaration": 26927,
                        "src": "2287:20:1",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IJBPaymentTerminal_$26927",
                          "typeString": "contract IJBPaymentTerminal"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 56,
                  "initialValue": {
                    "arguments": [
                      {
                        "id": 52,
                        "name": "_forProjectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 37,
                        "src": "2348:13:1",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "expression": {
                          "id": 53,
                          "name": "JBTokensV3",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 26937,
                          "src": "2363:10:1",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_JBTokens_$26937_$",
                            "typeString": "type(library JBTokens)"
                          }
                        },
                        "id": 54,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "ETH",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 26936,
                        "src": "2363:14:1",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "expression": {
                        "id": 50,
                        "name": "directory",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20,
                        "src": "2320:9:1",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IJBDirectory_$26857",
                          "typeString": "contract IJBDirectory"
                        }
                      },
                      "id": 51,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "primaryTerminalOf",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 26823,
                      "src": "2320:27:1",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$_t_uint256_$_t_address_$returns$_t_contract$_IJBPaymentTerminal_$26927_$",
                        "typeString": "function (uint256,address) view external returns (contract IJBPaymentTerminal)"
                      }
                    },
                    "id": 55,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2320:58:1",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IJBPaymentTerminal_$26927",
                      "typeString": "contract IJBPaymentTerminal"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2287:91:1"
                },
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    },
                    "id": 65,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "arguments": [
                        {
                          "id": 59,
                          "name": "_terminal",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 49,
                          "src": "2440:9:1",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_IJBPaymentTerminal_$26927",
                            "typeString": "contract IJBPaymentTerminal"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_contract$_IJBPaymentTerminal_$26927",
                            "typeString": "contract IJBPaymentTerminal"
                          }
                        ],
                        "id": 58,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "lValueRequested": false,
                        "nodeType": "ElementaryTypeNameExpression",
                        "src": "2432:7:1",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_address_$",
                          "typeString": "type(address)"
                        },
                        "typeName": {
                          "id": 57,
                          "name": "address",
                          "nodeType": "ElementaryTypeName",
                          "src": "2432:7:1",
                          "typeDescriptions": {}
                        }
                      },
                      "id": 60,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "2432:18:1",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "arguments": [
                        {
                          "hexValue": "30",
                          "id": 63,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "2462:1:1",
                          "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": 62,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "lValueRequested": false,
                        "nodeType": "ElementaryTypeNameExpression",
                        "src": "2454:7:1",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_address_$",
                          "typeString": "type(address)"
                        },
                        "typeName": {
                          "id": 61,
                          "name": "address",
                          "nodeType": "ElementaryTypeName",
                          "src": "2454:7:1",
                          "typeDescriptions": {}
                        }
                      },
                      "id": 64,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "2454:10:1",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "src": "2432:32:1",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 69,
                  "nodeType": "IfStatement",
                  "src": "2428:65:1",
                  "trueBody": {
                    "errorCall": {
                      "arguments": [],
                      "expression": {
                        "argumentTypes": [],
                        "id": 66,
                        "name": "TERMINAL_NOT_FOUND",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 16,
                        "src": "2473:18:1",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_error_pure$__$returns$__$",
                          "typeString": "function () pure"
                        }
                      },
                      "id": 67,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "2473:20:1",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_tuple$__$",
                        "typeString": "tuple()"
                      }
                    },
                    "id": 68,
                    "nodeType": "RevertStatement",
                    "src": "2466:27:1"
                  }
                },
                {
                  "expression": {
                    "arguments": [
                      {
                        "id": 76,
                        "name": "_forProjectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 37,
                        "src": "2606:13:1",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "expression": {
                          "id": 77,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": -15,
                          "src": "2627:3:1",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 78,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "value",
                        "nodeType": "MemberAccess",
                        "src": "2627:9:1",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "expression": {
                          "id": 79,
                          "name": "JBTokensV3",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 26937,
                          "src": "2644:10:1",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_JBTokens_$26937_$",
                            "typeString": "type(library JBTokens)"
                          }
                        },
                        "id": 80,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "ETH",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 26936,
                        "src": "2644:14:1",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "hexValue": "7631202d3e20763320616c6c6f636174696f6e",
                        "id": 81,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "2666:21:1",
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_0eb3d73c3ca7991144eb8810866114db12812002556ad1263cc2bf52a0553b66",
                          "typeString": "literal_string \"v1 -> v3 allocation\""
                        },
                        "value": "v1 -> v3 allocation"
                      },
                      {
                        "arguments": [
                          {
                            "hexValue": "",
                            "id": 84,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "string",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "2701:2:1",
                            "typeDescriptions": {
                              "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
                              "typeString": "literal_string \"\""
                            },
                            "value": ""
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
                              "typeString": "literal_string \"\""
                            }
                          ],
                          "id": 83,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "2695:5:1",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_bytes_storage_ptr_$",
                            "typeString": "type(bytes storage pointer)"
                          },
                          "typeName": {
                            "id": 82,
                            "name": "bytes",
                            "nodeType": "ElementaryTypeName",
                            "src": "2695:5:1",
                            "typeDescriptions": {}
                          }
                        },
                        "id": 85,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "2695:9:1",
                        "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_0eb3d73c3ca7991144eb8810866114db12812002556ad1263cc2bf52a0553b66",
                          "typeString": "literal_string \"v1 -> 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_0eb3d73c3ca7991144eb8810866114db12812002556ad1263cc2bf52a0553b66",
                            "typeString": "literal_string \"v1 -> v3 allocation\""
                          },
                          {
                            "typeIdentifier": "t_bytes_memory_ptr",
                            "typeString": "bytes memory"
                          }
                        ],
                        "expression": {
                          "id": 70,
                          "name": "_terminal",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 49,
                          "src": "2556:9:1",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_IJBPaymentTerminal_$26927",
                            "typeString": "contract IJBPaymentTerminal"
                          }
                        },
                        "id": 72,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "addToBalanceOf",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 26926,
                        "src": "2556:24:1",
                        "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": 75,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "names": [
                        "value"
                      ],
                      "nodeType": "FunctionCallOptions",
                      "options": [
                        {
                          "expression": {
                            "id": 73,
                            "name": "msg",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": -15,
                            "src": "2588:3:1",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_message",
                              "typeString": "msg"
                            }
                          },
                          "id": 74,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "value",
                          "nodeType": "MemberAccess",
                          "src": "2588:9:1",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        }
                      ],
                      "src": "2556:42:1",
                      "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": 86,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2556:154:1",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 87,
                  "nodeType": "ExpressionStatement",
                  "src": "2556:154:1"
                }
              ]
            },
            "baseFunctions": [
              11246
            ],
            "documentation": {
              "id": 33,
              "nodeType": "StructuredDocumentation",
              "src": "1562:359:1",
              "text": "@notice\nAllocate hook that will transfer treasury funds to V3.\n@param _projectId The project ID where the funds are being transferred from. This is unused.\n@param _forProjectId The project ID where the funds will be transferred to.\n@param _beneficiary The address that should be the beneficiary of the allocation. This is unused."
            },
            "functionSelector": "ec695ef7",
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "allocate",
            "nameLocation": "1933:8:1",
            "overrides": {
              "id": 41,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "2040:8:1"
            },
            "parameters": {
              "id": 40,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 35,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "1955:10:1",
                  "nodeType": "VariableDeclaration",
                  "scope": 89,
                  "src": "1947:18:1",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 34,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1947:7:1",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 37,
                  "mutability": "mutable",
                  "name": "_forProjectId",
                  "nameLocation": "1979:13:1",
                  "nodeType": "VariableDeclaration",
                  "scope": 89,
                  "src": "1971:21:1",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 36,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1971:7:1",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 39,
                  "mutability": "mutable",
                  "name": "_beneficiary",
                  "nameLocation": "2006:12:1",
                  "nodeType": "VariableDeclaration",
                  "scope": 89,
                  "src": "1998:20:1",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 38,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1998:7:1",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1941:81:1"
            },
            "returnParameters": {
              "id": 42,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2049:0:1"
            },
            "scope": 111,
            "stateMutability": "payable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 110,
            "nodeType": "FunctionDefinition",
            "src": "2719:190:1",
            "nodes": [],
            "body": {
              "id": 109,
              "nodeType": "Block",
              "src": "2803:106:1",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "commonType": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    },
                    "id": 107,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "commonType": {
                        "typeIdentifier": "t_bytes4",
                        "typeString": "bytes4"
                      },
                      "id": 102,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "id": 97,
                        "name": "_interfaceId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 91,
                        "src": "2816:12:1",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes4",
                          "typeString": "bytes4"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "==",
                      "rightExpression": {
                        "expression": {
                          "arguments": [
                            {
                              "id": 99,
                              "name": "IModAllocator",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 11247,
                              "src": "2837:13:1",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_contract$_IModAllocator_$11247_$",
                                "typeString": "type(contract IModAllocator)"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_type$_t_contract$_IModAllocator_$11247_$",
                                "typeString": "type(contract IModAllocator)"
                              }
                            ],
                            "id": 98,
                            "name": "type",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": -27,
                            "src": "2832:4:1",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_metatype_pure$__$returns$__$",
                              "typeString": "function () pure"
                            }
                          },
                          "id": 100,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "2832:19:1",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_meta_type_t_contract$_IModAllocator_$11247",
                            "typeString": "type(contract IModAllocator)"
                          }
                        },
                        "id": 101,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "lValueRequested": false,
                        "memberName": "interfaceId",
                        "nodeType": "MemberAccess",
                        "src": "2832:31:1",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes4",
                          "typeString": "bytes4"
                        }
                      },
                      "src": "2816:47:1",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "||",
                    "rightExpression": {
                      "arguments": [
                        {
                          "id": 105,
                          "name": "_interfaceId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 91,
                          "src": "2891:12:1",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes4",
                            "typeString": "bytes4"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_bytes4",
                            "typeString": "bytes4"
                          }
                        ],
                        "expression": {
                          "id": 103,
                          "name": "super",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": -25,
                          "src": "2867:5:1",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_super$_V1Allocator_$111_$",
                            "typeString": "type(contract super V1Allocator)"
                          }
                        },
                        "id": 104,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "supportsInterface",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 30242,
                        "src": "2867:23:1",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_view$_t_bytes4_$returns$_t_bool_$",
                          "typeString": "function (bytes4) view returns (bool)"
                        }
                      },
                      "id": 106,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "2867:37:1",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "src": "2816:88:1",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "functionReturnParameters": 96,
                  "id": 108,
                  "nodeType": "Return",
                  "src": "2809:95:1"
                }
              ]
            },
            "baseFunctions": [
              30242
            ],
            "functionSelector": "01ffc9a7",
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "supportsInterface",
            "nameLocation": "2728:17:1",
            "overrides": {
              "id": 93,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "2779:8:1"
            },
            "parameters": {
              "id": 92,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 91,
                  "mutability": "mutable",
                  "name": "_interfaceId",
                  "nameLocation": "2753:12:1",
                  "nodeType": "VariableDeclaration",
                  "scope": 110,
                  "src": "2746:19:1",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes4",
                    "typeString": "bytes4"
                  },
                  "typeName": {
                    "id": 90,
                    "name": "bytes4",
                    "nodeType": "ElementaryTypeName",
                    "src": "2746:6:1",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes4",
                      "typeString": "bytes4"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2745:21:1"
            },
            "returnParameters": {
              "id": 96,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 95,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 110,
                  "src": "2797:4:1",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 94,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "2797:4:1",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2796:6:1"
            },
            "scope": 111,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "public"
          }
        ],
        "abstract": false,
        "baseContracts": [
          {
            "baseName": {
              "id": 11,
              "name": "ERC165",
              "nodeType": "IdentifierPath",
              "referencedDeclaration": 30243,
              "src": "812:6:1"
            },
            "id": 12,
            "nodeType": "InheritanceSpecifier",
            "src": "812:6:1"
          },
          {
            "baseName": {
              "id": 13,
              "name": "IModAllocator",
              "nodeType": "IdentifierPath",
              "referencedDeclaration": 11247,
              "src": "820:13:1"
            },
            "id": 14,
            "nodeType": "InheritanceSpecifier",
            "src": "820:13:1"
          }
        ],
        "contractDependencies": [],
        "contractKind": "contract",
        "documentation": {
          "id": 10,
          "nodeType": "StructuredDocumentation",
          "src": "502:285:1",
          "text": "@notice\nJuicebox split allocator for allocating V1 treasury funds to a V3 treasury\n@dev\nAdheres to -\nIModAllocator: Adhere to Allocator pattern to receive payout distributions for allocation. \n@dev\nInherits from -\nERC165: Introspection on interface adherance. "
        },
        "fullyImplemented": true,
        "linearizedBaseContracts": [
          111,
          11247,
          30243,
          38868
        ],
        "name": "V1Allocator",
        "nameLocation": "797:11:1",
        "scope": 112,
        "usedErrors": [
          16
        ]
      }
    ],
    "license": "MIT"
  },
  "id": 1
}