{
  "abi": [
    {
      "inputs": [],
      "name": "PERMISSION_INDEX_OUT_OF_BOUNDS",
      "type": "error"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "operator",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "account",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "domain",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256[]",
          "name": "permissionIndexes",
          "type": "uint256[]"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "packed",
          "type": "uint256"
        }
      ],
      "name": "SetOperator",
      "type": "event"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "_operator",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "_account",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "_domain",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "_permissionIndex",
          "type": "uint256"
        }
      ],
      "name": "hasPermission",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "_operator",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "_account",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "_domain",
          "type": "uint256"
        },
        {
          "internalType": "uint256[]",
          "name": "_permissionIndexes",
          "type": "uint256[]"
        }
      ],
      "name": "hasPermissions",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "name": "permissionsOf",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "components": [
            {
              "internalType": "address",
              "name": "operator",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "domain",
              "type": "uint256"
            },
            {
              "internalType": "uint256[]",
              "name": "permissionIndexes",
              "type": "uint256[]"
            }
          ],
          "internalType": "struct JBOperatorData",
          "name": "_operatorData",
          "type": "tuple"
        }
      ],
      "name": "setOperator",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "components": [
            {
              "internalType": "address",
              "name": "operator",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "domain",
              "type": "uint256"
            },
            {
              "internalType": "uint256[]",
              "name": "permissionIndexes",
              "type": "uint256[]"
            }
          ],
          "internalType": "struct JBOperatorData[]",
          "name": "_operatorData",
          "type": "tuple[]"
        }
      ],
      "name": "setOperators",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    }
  ],
  "bytecode": {
    "object": "0x608060405234801561001057600080fd5b50610973806100206000396000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c806380deb2301161005057806380deb230146100a95780638d5f697f146100e7578063c161c93f146100fa57600080fd5b80630f5932f01461006c578063529cdd2e14610094575b600080fd5b61007f61007a36600461067b565b61010d565b60405190151581526020015b60405180910390f35b6100a76100a236600461076e565b6101e0565b005b6100d96100b736600461063f565b6000602081815293815260408082208552928152828120909352825290205481565b60405190815260200161008b565b6100a76100f536600461072c565b6102bf565b61007f6101083660046106ea565b61049b565b6000805b828110156101d157600084848381811061012d5761012d61090e565b90506020020135905060ff811115610171576040517f8e9503a900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff888116600090815260208181526040808320938b16835292815282822089835290522054811c6001166101be576000925050506101d7565b50806101c9816108ae565b915050610111565b50600190505b95945050505050565b60006101f76101f26040840184610808565b610522565b90508060008061020a602086018661061d565b73ffffffffffffffffffffffffffffffffffffffff16815260208082019290925260409081016000908120338083529084528282208785018035808552919095529290912093909355919061025f908561061d565b73ffffffffffffffffffffffffffffffffffffffff167f9dee2ffb464e2d0198cd20321be1ae3f79ed49f7ed4abfaa7ee4fe982bbeb3206102a36040870187610808565b866040516102b3939291906107a9565b60405180910390a45050565b60005b818110156104965760006103018484848181106102e1576102e161090e565b90506020028101906102f39190610870565b6101f2906040810190610808565b9050806000808686868181106103195761031961090e565b905060200281019061032b9190610870565b61033990602081019061061d565b73ffffffffffffffffffffffffffffffffffffffff1681526020808201929092526040908101600090812033825290925281209086868681811061037f5761037f61090e565b90506020028101906103919190610870565b602001358152602001908152602001600020819055508383838181106103b9576103b961090e565b90506020028101906103cb9190610870565b60200135338585858181106103e2576103e261090e565b90506020028101906103f49190610870565b61040290602081019061061d565b73ffffffffffffffffffffffffffffffffffffffff167f9dee2ffb464e2d0198cd20321be1ae3f79ed49f7ed4abfaa7ee4fe982bbeb32087878781811061044b5761044b61090e565b905060200281019061045d9190610870565b61046b906040810190610808565b8660405161047b939291906107a9565b60405180910390a4508061048e816108ae565b9150506102c2565b505050565b600060ff8211156104d8576040517f8e9503a900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5073ffffffffffffffffffffffffffffffffffffffff808516600090815260208181526040808320938716835292815282822085835290522054600190821c811614949350505050565b6000805b828110156105a15760008484838181106105425761054261090e565b90506020020135905060ff811115610586576040517f8e9503a900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001901b919091179080610599816108ae565b915050610526565b5092915050565b803573ffffffffffffffffffffffffffffffffffffffff811681146105cc57600080fd5b919050565b60008083601f8401126105e357600080fd5b50813567ffffffffffffffff8111156105fb57600080fd5b6020830191508360208260051b850101111561061657600080fd5b9250929050565b60006020828403121561062f57600080fd5b610638826105a8565b9392505050565b60008060006060848603121561065457600080fd5b61065d846105a8565b925061066b602085016105a8565b9150604084013590509250925092565b60008060008060006080868803121561069357600080fd5b61069c866105a8565b94506106aa602087016105a8565b935060408601359250606086013567ffffffffffffffff8111156106cd57600080fd5b6106d9888289016105d1565b969995985093965092949392505050565b6000806000806080858703121561070057600080fd5b610709856105a8565b9350610717602086016105a8565b93969395505050506040820135916060013590565b6000806020838503121561073f57600080fd5b823567ffffffffffffffff81111561075657600080fd5b610762858286016105d1565b90969095509350505050565b60006020828403121561078057600080fd5b813567ffffffffffffffff81111561079757600080fd5b82016060818503121561063857600080fd5b6040815282604082015260007f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8411156107e257600080fd5b8360051b8086606085013760009083016060019081526020909201929092529392505050565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261083d57600080fd5b83018035915067ffffffffffffffff82111561085857600080fd5b6020019150600581901b360382131561061657600080fd5b600082357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa18336030181126108a457600080fd5b9190910192915050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415610907577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea264697066735822122046edb99fccbe3f369bd3994bb5b16ee12fd0e8437367a2ba2ba6e8550c76063f64736f6c63430008060033",
    "sourceMap": "441:5954:63:-:0;;;;;;;;;;;;;;;;;;;",
    "linkReferences": {}
  },
  "deployedBytecode": {
    "object": "0x608060405234801561001057600080fd5b50600436106100675760003560e01c806380deb2301161005057806380deb230146100a95780638d5f697f146100e7578063c161c93f146100fa57600080fd5b80630f5932f01461006c578063529cdd2e14610094575b600080fd5b61007f61007a36600461067b565b61010d565b60405190151581526020015b60405180910390f35b6100a76100a236600461076e565b6101e0565b005b6100d96100b736600461063f565b6000602081815293815260408082208552928152828120909352825290205481565b60405190815260200161008b565b6100a76100f536600461072c565b6102bf565b61007f6101083660046106ea565b61049b565b6000805b828110156101d157600084848381811061012d5761012d61090e565b90506020020135905060ff811115610171576040517f8e9503a900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff888116600090815260208181526040808320938b16835292815282822089835290522054811c6001166101be576000925050506101d7565b50806101c9816108ae565b915050610111565b50600190505b95945050505050565b60006101f76101f26040840184610808565b610522565b90508060008061020a602086018661061d565b73ffffffffffffffffffffffffffffffffffffffff16815260208082019290925260409081016000908120338083529084528282208785018035808552919095529290912093909355919061025f908561061d565b73ffffffffffffffffffffffffffffffffffffffff167f9dee2ffb464e2d0198cd20321be1ae3f79ed49f7ed4abfaa7ee4fe982bbeb3206102a36040870187610808565b866040516102b3939291906107a9565b60405180910390a45050565b60005b818110156104965760006103018484848181106102e1576102e161090e565b90506020028101906102f39190610870565b6101f2906040810190610808565b9050806000808686868181106103195761031961090e565b905060200281019061032b9190610870565b61033990602081019061061d565b73ffffffffffffffffffffffffffffffffffffffff1681526020808201929092526040908101600090812033825290925281209086868681811061037f5761037f61090e565b90506020028101906103919190610870565b602001358152602001908152602001600020819055508383838181106103b9576103b961090e565b90506020028101906103cb9190610870565b60200135338585858181106103e2576103e261090e565b90506020028101906103f49190610870565b61040290602081019061061d565b73ffffffffffffffffffffffffffffffffffffffff167f9dee2ffb464e2d0198cd20321be1ae3f79ed49f7ed4abfaa7ee4fe982bbeb32087878781811061044b5761044b61090e565b905060200281019061045d9190610870565b61046b906040810190610808565b8660405161047b939291906107a9565b60405180910390a4508061048e816108ae565b9150506102c2565b505050565b600060ff8211156104d8576040517f8e9503a900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5073ffffffffffffffffffffffffffffffffffffffff808516600090815260208181526040808320938716835292815282822085835290522054600190821c811614949350505050565b6000805b828110156105a15760008484838181106105425761054261090e565b90506020020135905060ff811115610586576040517f8e9503a900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001901b919091179080610599816108ae565b915050610526565b5092915050565b803573ffffffffffffffffffffffffffffffffffffffff811681146105cc57600080fd5b919050565b60008083601f8401126105e357600080fd5b50813567ffffffffffffffff8111156105fb57600080fd5b6020830191508360208260051b850101111561061657600080fd5b9250929050565b60006020828403121561062f57600080fd5b610638826105a8565b9392505050565b60008060006060848603121561065457600080fd5b61065d846105a8565b925061066b602085016105a8565b9150604084013590509250925092565b60008060008060006080868803121561069357600080fd5b61069c866105a8565b94506106aa602087016105a8565b935060408601359250606086013567ffffffffffffffff8111156106cd57600080fd5b6106d9888289016105d1565b969995985093965092949392505050565b6000806000806080858703121561070057600080fd5b610709856105a8565b9350610717602086016105a8565b93969395505050506040820135916060013590565b6000806020838503121561073f57600080fd5b823567ffffffffffffffff81111561075657600080fd5b610762858286016105d1565b90969095509350505050565b60006020828403121561078057600080fd5b813567ffffffffffffffff81111561079757600080fd5b82016060818503121561063857600080fd5b6040815282604082015260007f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8411156107e257600080fd5b8360051b8086606085013760009083016060019081526020909201929092529392505050565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261083d57600080fd5b83018035915067ffffffffffffffff82111561085857600080fd5b6020019150600581901b360382131561061657600080fd5b600082357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa18336030181126108a457600080fd5b9190910192915050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415610907577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea264697066735822122046edb99fccbe3f369bd3994bb5b16ee12fd0e8437367a2ba2ba6e8550c76063f64736f6c63430008060033",
    "sourceMap": "441:5954:63:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3409:512;;;;;;:::i;:::-;;:::i;:::-;;;3893:14:168;;3886:22;3868:41;;3856:2;3841:18;3409:512:63;;;;;;;;4362:473;;;;;;:::i;:::-;;:::i;:::-;;1745:97;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4066:25:168;;;4054:2;4039:18;1745:97:63;4021:76:168;5048:588:63;;;;;;:::i;:::-;;:::i;2569:331::-;;;;;;:::i;:::-;;:::i;3409:512::-;3578:4;;3590:310;3611:30;;;3590:310;;;3657:24;3684:18;;3703:2;3684:22;;;;;;;:::i;:::-;;;;;;;3657:49;;3738:3;3719:16;:22;3715:67;;;3750:32;;;;;;;;;;;;;;3715:67;3797:24;;;;:13;:24;;;;;;;;;;;:34;;;;;;;;;;;:43;;;;;;;:63;;3864:1;3796:69;3791:102;;3888:5;3881:12;;;;;;3791:102;-1:-1:-1;3643:4:63;;;;:::i;:::-;;;;3590:310;;;;3912:4;3905:11;;3409:512;;;;;;;;:::o;4362:473::-;4486:15;4504:51;4523:31;;;;:13;:31;:::i;:::-;4504:18;:51::i;:::-;4486:69;-1:-1:-1;4486:69:63;4590:13;;4604:22;;;;:13;:22;:::i;:::-;4590:37;;;;;;;;;;;;;;;;-1:-1:-1;4590:37:63;;;4628:10;4590:49;;;;;;;;;4640:20;;;;;4590:71;;;;;;;;;;;:81;;;;4640:20;4628:10;4702:22;;4640:13;4702:22;:::i;:::-;4683:147;;;4778:31;;;;:13;:31;:::i;:::-;4817:7;4683:147;;;;;;;;:::i;:::-;;;;;;;;4440:395;4362:473;:::o;5048:588::-;5140:10;5135:497;5156:25;;;5135:497;;;5239:15;5257:55;5276:13;;5290:2;5276:17;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;:35;;;;;;;:::i;5257:55::-;5239:73;;5433:7;5351:13;:41;5365:13;;5379:2;5365:17;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;:26;;;;;;;:::i;:::-;5351:41;;;;;;;;;;;;;;;;-1:-1:-1;5351:41:63;;;5393:10;5351:53;;;;;;;;5405:13;;5419:2;5405:17;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;:24;;;5351:79;;;;;;;;;;;:89;;;;5531:13;;5545:2;5531:17;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;:24;;;5511:10;5475:13;;5489:2;5475:17;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;:26;;;;;;;:::i;:::-;5454:171;;;5565:13;;5579:2;5565:17;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;:35;;;;;;;:::i;:::-;5610:7;5454:171;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;5183:4:63;;;;:::i;:::-;;;;5135:497;;;;5048:588;;:::o;2569:331::-;2724:4;2759:3;2740:16;:22;2736:67;;;2771:32;;;;;;;;;;;;;;2736:67;-1:-1:-1;2820:24:63;;;;:13;:24;;;;;;;;;;;:34;;;;;;;;;;;:43;;;;;;;2887:1;2820:63;;;2819:69;;2818:76;2569:331;;;;;;:::o;6060:333::-;6139:14;;6161:228;6182:20;;;6161:228;;;6218:14;6235:8;;6244:2;6235:12;;;;;;;:::i;:::-;;;;;;;6218:29;;6269:3;6260:6;:12;6256:57;;;6281:32;;;;;;;;;;;;;;6256:57;6371:1;:11;;6361:21;;;;;6204:4;;;;:::i;:::-;;;;6161:228;;;;6060:333;;;;:::o;14:196:168:-;82:20;;142:42;131:54;;121:65;;111:2;;200:1;197;190:12;111:2;63:147;;;:::o;215:390::-;301:8;311:6;365:3;358:4;350:6;346:17;342:27;332:2;;383:1;380;373:12;332:2;-1:-1:-1;406:20:168;;449:18;438:30;;435:2;;;481:1;478;471:12;435:2;518:4;510:6;506:17;494:29;;578:3;571:4;561:6;558:1;554:14;546:6;542:27;538:38;535:47;532:2;;;595:1;592;585:12;532:2;322:283;;;;;:::o;610:186::-;669:6;722:2;710:9;701:7;697:23;693:32;690:2;;;738:1;735;728:12;690:2;761:29;780:9;761:29;:::i;:::-;751:39;680:116;-1:-1:-1;;;680:116:168:o;801:328::-;878:6;886;894;947:2;935:9;926:7;922:23;918:32;915:2;;;963:1;960;953:12;915:2;986:29;1005:9;986:29;:::i;:::-;976:39;;1034:38;1068:2;1057:9;1053:18;1034:38;:::i;:::-;1024:48;;1119:2;1108:9;1104:18;1091:32;1081:42;;905:224;;;;;:::o;1134:677::-;1247:6;1255;1263;1271;1279;1332:3;1320:9;1311:7;1307:23;1303:33;1300:2;;;1349:1;1346;1339:12;1300:2;1372:29;1391:9;1372:29;:::i;:::-;1362:39;;1420:38;1454:2;1443:9;1439:18;1420:38;:::i;:::-;1410:48;;1505:2;1494:9;1490:18;1477:32;1467:42;;1560:2;1549:9;1545:18;1532:32;1587:18;1579:6;1576:30;1573:2;;;1619:1;1616;1609:12;1573:2;1658:93;1743:7;1734:6;1723:9;1719:22;1658:93;:::i;:::-;1290:521;;;;-1:-1:-1;1290:521:168;;-1:-1:-1;1770:8:168;;1632:119;1290:521;-1:-1:-1;;;1290:521:168:o;1816:397::-;1902:6;1910;1918;1926;1979:3;1967:9;1958:7;1954:23;1950:33;1947:2;;;1996:1;1993;1986:12;1947:2;2019:29;2038:9;2019:29;:::i;:::-;2009:39;;2067:38;2101:2;2090:9;2086:18;2067:38;:::i;:::-;1937:276;;2057:48;;-1:-1:-1;;;;2152:2:168;2137:18;;2124:32;;2203:2;2188:18;2175:32;;1937:276::o;2218:495::-;2339:6;2347;2400:2;2388:9;2379:7;2375:23;2371:32;2368:2;;;2416:1;2413;2406:12;2368:2;2456:9;2443:23;2489:18;2481:6;2478:30;2475:2;;;2521:1;2518;2511:12;2475:2;2560:93;2645:7;2636:6;2625:9;2621:22;2560:93;:::i;:::-;2672:8;;2534:119;;-1:-1:-1;2358:355:168;-1:-1:-1;;;;2358:355:168:o;2718:394::-;2812:6;2865:2;2853:9;2844:7;2840:23;2836:32;2833:2;;;2881:1;2878;2871:12;2833:2;2921:9;2908:23;2954:18;2946:6;2943:30;2940:2;;;2986:1;2983;2976:12;2940:2;3009:22;;3065:2;3047:16;;;3043:25;3040:2;;;3081:1;3078;3071:12;3117:606;3334:2;3323:9;3316:21;3373:6;3368:2;3357:9;3353:18;3346:34;3297:4;3403:66;3395:6;3392:78;3389:2;;;3483:1;3480;3473:12;3389:2;3517:6;3514:1;3510:14;3574:6;3566;3561:2;3550:9;3546:18;3533:48;3651:1;3604:22;;;3628:2;3600:31;3640:13;;;3703:4;3688:20;;;3681:36;;;;3600:31;3306:417;-1:-1:-1;;;3306:417:168:o;4102:604::-;4195:4;4201:6;4261:11;4248:25;4351:66;4340:8;4324:14;4320:29;4316:102;4296:18;4292:127;4282:2;;4433:1;4430;4423:12;4282:2;4460:33;;4512:20;;;-1:-1:-1;4555:18:168;4544:30;;4541:2;;;4587:1;4584;4577:12;4541:2;4620:4;4608:17;;-1:-1:-1;4671:1:168;4667:14;;;4651;4647:35;4637:46;;4634:2;;;4696:1;4693;4686:12;4711:391;4812:4;4870:11;4857:25;4960:66;4949:8;4933:14;4929:29;4925:102;4905:18;4901:127;4891:2;;5042:1;5039;5032:12;4891:2;5063:33;;;;;4821:281;-1:-1:-1;;4821:281:168:o;5107:349::-;5146:3;5177:66;5170:5;5167:77;5164:2;;;5277:77;5274:1;5267:88;5378:4;5375:1;5368:15;5406:4;5403:1;5396:15;5164:2;-1:-1:-1;5448:1:168;5437:13;;5154:302::o;5461:184::-;5513:77;5510:1;5503:88;5610:4;5607:1;5600:15;5634:4;5631:1;5624:15",
    "linkReferences": {}
  },
  "methodIdentifiers": {
    "hasPermission(address,address,uint256,uint256)": "c161c93f",
    "hasPermissions(address,address,uint256,uint256[])": "0f5932f0",
    "permissionsOf(address,address,uint256)": "80deb230",
    "setOperator((address,uint256,uint256[]))": "529cdd2e",
    "setOperators((address,uint256,uint256[])[])": "8d5f697f"
  },
  "rawMetadata": "{\"compiler\":{\"version\":\"0.8.6+commit.11564f7e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"PERMISSION_INDEX_OUT_OF_BOUNDS\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"domain\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"permissionIndexes\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"packed\",\"type\":\"uint256\"}],\"name\":\"SetOperator\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_domain\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_permissionIndex\",\"type\":\"uint256\"}],\"name\":\"hasPermission\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_domain\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"_permissionIndexes\",\"type\":\"uint256[]\"}],\"name\":\"hasPermissions\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"permissionsOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"domain\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"permissionIndexes\",\"type\":\"uint256[]\"}],\"internalType\":\"struct JBOperatorData\",\"name\":\"_operatorData\",\"type\":\"tuple\"}],\"name\":\"setOperator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"domain\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"permissionIndexes\",\"type\":\"uint256[]\"}],\"internalType\":\"struct JBOperatorData[]\",\"name\":\"_operatorData\",\"type\":\"tuple[]\"}],\"name\":\"setOperators\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Adheres to - IJBOperatorStore: General interface for the methods in this contract that interact with the blockchain's state according to the protocol's rules.\",\"kind\":\"dev\",\"methods\":{\"hasPermission(address,address,uint256,uint256)\":{\"params\":{\"_account\":\"The account that has given out permissions to the operator.\",\"_domain\":\"The domain that the operator has been given permissions to operate.\",\"_operator\":\"The operator to check.\",\"_permissionIndex\":\"The permission index to check for.\"},\"returns\":{\"_0\":\"A flag indicating whether the operator has the specified permission.\"}},\"hasPermissions(address,address,uint256,uint256[])\":{\"params\":{\"_account\":\"The account that has given out permissions to the operator.\",\"_domain\":\"The domain that the operator has been given permissions to operate.\",\"_operator\":\"The operator to check.\",\"_permissionIndexes\":\"An array of permission indexes to check for.\"},\"returns\":{\"_0\":\"A flag indicating whether the operator has all specified permissions.\"}},\"setOperator((address,uint256,uint256[]))\":{\"details\":\"Only an address can set its own operators.\",\"params\":{\"_operatorData\":\"The data that specifies the params for the operator being set.\"}},\"setOperators((address,uint256,uint256[])[])\":{\"details\":\"Only an address can set its own operators.\",\"params\":{\"_operatorData\":\"The data that specify the params for each operator being set.\"}}},\"stateVariables\":{\"permissionsOf\":{\"details\":\"An account can give an operator permissions that only pertain to a specific domain namespace. There is no domain with a value of 0 \\u2013 accounts can use the 0 domain to give an operator permissions to all domains on their behalf.Permissions are stored in a packed `uint256`. Each 256 bits represents the on/off state of a permission. Applications can specify the significance of each index. _operator The address of the operator. _account The address of the account being operated. _domain The domain within which the permissions apply. Applications can use the domain namespace as they wish.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"hasPermission(address,address,uint256,uint256)\":{\"notice\":\" Whether or not an operator has the permission to take a certain action pertaining to the specified domain.\"},\"hasPermissions(address,address,uint256,uint256[])\":{\"notice\":\" Whether or not an operator has the permission to take certain actions pertaining to the specified domain.\"},\"permissionsOf(address,address,uint256)\":{\"notice\":\"The permissions that an operator has been given to operate on a specific domain.\"},\"setOperator((address,uint256,uint256[]))\":{\"notice\":\"Sets permissions for an operators.\"},\"setOperators((address,uint256,uint256[])[])\":{\"notice\":\"Sets permissions for many operators.\"}},\"notice\":\"Stores operator permissions for all addresses. Addresses can give permissions to any other address to take specific indexed actions on their behalf.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/juice-contracts-v2/contracts/JBOperatorStore.sol\":\"JBOperatorStore\"},\"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\":{\"lib/juice-contracts-v2/contracts/JBOperatorStore.sol\":{\"keccak256\":\"0x23c019ded9baf011549a1d8442a2689a488e19f084a3ee041f682d715461b838\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://97b5f138f041bbd01bfbfc4b8ade04f6e133300123510305b1a891c4cf0531ac\",\"dweb:/ipfs/QmQo2r7ZtwiKTqVo4h9mDSemUb9e3YqxyZGyToY3ftL6i5\"]},\"lib/juice-contracts-v2/contracts/interfaces/IJBOperatorStore.sol\":{\"keccak256\":\"0x17f4929812a356984795fafed8cb2be816a025c9a0771d85595ac0b5ff3cffc5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4379909df832d51d25ac6f863c12e5271c96f01c4fd399eaeb16be3db8786e4c\",\"dweb:/ipfs/QmTeGMNaf3KPT2A54sQ6HoZiBwfGRNqMZtvvci4oAN4z2s\"]},\"lib/juice-contracts-v2/contracts/structs/JBOperatorData.sol\":{\"keccak256\":\"0x3b85be7b69515976ee10770776283911666aceca820b0cf4e201ea4dbffeb6f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1a18afb385759e5440c645f2a5c581e42a7ac357c73c376fb34dbb5d5fd8f9af\",\"dweb:/ipfs/QmZziN5ixwUXpk185YrcneBEVq91gVqYoBD7MrbvTTpALP\"]}},\"version\":1}",
  "metadata": {
    "compiler": {
      "version": "0.8.6+commit.11564f7e"
    },
    "language": "Solidity",
    "output": {
      "abi": [
        {
          "inputs": [],
          "type": "error",
          "name": "PERMISSION_INDEX_OUT_OF_BOUNDS"
        },
        {
          "inputs": [
            {
              "internalType": "address",
              "name": "operator",
              "type": "address",
              "indexed": true
            },
            {
              "internalType": "address",
              "name": "account",
              "type": "address",
              "indexed": true
            },
            {
              "internalType": "uint256",
              "name": "domain",
              "type": "uint256",
              "indexed": true
            },
            {
              "internalType": "uint256[]",
              "name": "permissionIndexes",
              "type": "uint256[]",
              "indexed": false
            },
            {
              "internalType": "uint256",
              "name": "packed",
              "type": "uint256",
              "indexed": false
            }
          ],
          "type": "event",
          "name": "SetOperator",
          "anonymous": false
        },
        {
          "inputs": [
            {
              "internalType": "address",
              "name": "_operator",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "_account",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "_domain",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "_permissionIndex",
              "type": "uint256"
            }
          ],
          "stateMutability": "view",
          "type": "function",
          "name": "hasPermission",
          "outputs": [
            {
              "internalType": "bool",
              "name": "",
              "type": "bool"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "address",
              "name": "_operator",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "_account",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "_domain",
              "type": "uint256"
            },
            {
              "internalType": "uint256[]",
              "name": "_permissionIndexes",
              "type": "uint256[]"
            }
          ],
          "stateMutability": "view",
          "type": "function",
          "name": "hasPermissions",
          "outputs": [
            {
              "internalType": "bool",
              "name": "",
              "type": "bool"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "address",
              "name": "",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "",
              "type": "uint256"
            }
          ],
          "stateMutability": "view",
          "type": "function",
          "name": "permissionsOf",
          "outputs": [
            {
              "internalType": "uint256",
              "name": "",
              "type": "uint256"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "struct JBOperatorData",
              "name": "_operatorData",
              "type": "tuple",
              "components": [
                {
                  "internalType": "address",
                  "name": "operator",
                  "type": "address"
                },
                {
                  "internalType": "uint256",
                  "name": "domain",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256[]",
                  "name": "permissionIndexes",
                  "type": "uint256[]"
                }
              ]
            }
          ],
          "stateMutability": "nonpayable",
          "type": "function",
          "name": "setOperator"
        },
        {
          "inputs": [
            {
              "internalType": "struct JBOperatorData[]",
              "name": "_operatorData",
              "type": "tuple[]",
              "components": [
                {
                  "internalType": "address",
                  "name": "operator",
                  "type": "address"
                },
                {
                  "internalType": "uint256",
                  "name": "domain",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256[]",
                  "name": "permissionIndexes",
                  "type": "uint256[]"
                }
              ]
            }
          ],
          "stateMutability": "nonpayable",
          "type": "function",
          "name": "setOperators"
        }
      ],
      "devdoc": {
        "kind": "dev",
        "methods": {
          "hasPermission(address,address,uint256,uint256)": {
            "params": {
              "_account": "The account that has given out permissions to the operator.",
              "_domain": "The domain that the operator has been given permissions to operate.",
              "_operator": "The operator to check.",
              "_permissionIndex": "The permission index to check for."
            },
            "returns": {
              "_0": "A flag indicating whether the operator has the specified permission."
            }
          },
          "hasPermissions(address,address,uint256,uint256[])": {
            "params": {
              "_account": "The account that has given out permissions to the operator.",
              "_domain": "The domain that the operator has been given permissions to operate.",
              "_operator": "The operator to check.",
              "_permissionIndexes": "An array of permission indexes to check for."
            },
            "returns": {
              "_0": "A flag indicating whether the operator has all specified permissions."
            }
          },
          "setOperator((address,uint256,uint256[]))": {
            "details": "Only an address can set its own operators.",
            "params": {
              "_operatorData": "The data that specifies the params for the operator being set."
            }
          },
          "setOperators((address,uint256,uint256[])[])": {
            "details": "Only an address can set its own operators.",
            "params": {
              "_operatorData": "The data that specify the params for each operator being set."
            }
          }
        },
        "version": 1
      },
      "userdoc": {
        "kind": "user",
        "methods": {
          "hasPermission(address,address,uint256,uint256)": {
            "notice": " Whether or not an operator has the permission to take a certain action pertaining to the specified domain."
          },
          "hasPermissions(address,address,uint256,uint256[])": {
            "notice": " Whether or not an operator has the permission to take certain actions pertaining to the specified domain."
          },
          "permissionsOf(address,address,uint256)": {
            "notice": "The permissions that an operator has been given to operate on a specific domain."
          },
          "setOperator((address,uint256,uint256[]))": {
            "notice": "Sets permissions for an operators."
          },
          "setOperators((address,uint256,uint256[])[])": {
            "notice": "Sets permissions for many operators."
          }
        },
        "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": {
        "lib/juice-contracts-v2/contracts/JBOperatorStore.sol": "JBOperatorStore"
      },
      "libraries": {}
    },
    "sources": {
      "lib/juice-contracts-v2/contracts/JBOperatorStore.sol": {
        "keccak256": "0x23c019ded9baf011549a1d8442a2689a488e19f084a3ee041f682d715461b838",
        "urls": [
          "bzz-raw://97b5f138f041bbd01bfbfc4b8ade04f6e133300123510305b1a891c4cf0531ac",
          "dweb:/ipfs/QmQo2r7ZtwiKTqVo4h9mDSemUb9e3YqxyZGyToY3ftL6i5"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/interfaces/IJBOperatorStore.sol": {
        "keccak256": "0x17f4929812a356984795fafed8cb2be816a025c9a0771d85595ac0b5ff3cffc5",
        "urls": [
          "bzz-raw://4379909df832d51d25ac6f863c12e5271c96f01c4fd399eaeb16be3db8786e4c",
          "dweb:/ipfs/QmTeGMNaf3KPT2A54sQ6HoZiBwfGRNqMZtvvci4oAN4z2s"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/structs/JBOperatorData.sol": {
        "keccak256": "0x3b85be7b69515976ee10770776283911666aceca820b0cf4e201ea4dbffeb6f0",
        "urls": [
          "bzz-raw://1a18afb385759e5440c645f2a5c581e42a7ac357c73c376fb34dbb5d5fd8f9af",
          "dweb:/ipfs/QmZziN5ixwUXpk185YrcneBEVq91gVqYoBD7MrbvTTpALP"
        ],
        "license": "MIT"
      }
    },
    "version": 1
  },
  "ast": {
    "absolutePath": "lib/juice-contracts-v2/contracts/JBOperatorStore.sol",
    "id": 16385,
    "exportedSymbols": {
      "IJBOperatorStore": [
        22704
      ],
      "JBOperatorData": [
        24167
      ],
      "JBOperatorStore": [
        16384
      ]
    },
    "nodeType": "SourceUnit",
    "src": "32:6364:63",
    "nodes": [
      {
        "id": 16114,
        "nodeType": "PragmaDirective",
        "src": "32:22:63",
        "nodes": [],
        "literals": [
          "solidity",
          "0.8",
          ".6"
        ]
      },
      {
        "id": 16115,
        "nodeType": "ImportDirective",
        "src": "56:43:63",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v2/contracts/interfaces/IJBOperatorStore.sol",
        "file": "./interfaces/IJBOperatorStore.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 16385,
        "sourceUnit": 22705,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 16384,
        "nodeType": "ContractDefinition",
        "src": "441:5954:63",
        "nodes": [
          {
            "id": 16120,
            "nodeType": "ErrorDefinition",
            "src": "718:39:63",
            "nodes": [],
            "name": "PERMISSION_INDEX_OUT_OF_BOUNDS",
            "nameLocation": "724:30:63",
            "parameters": {
              "id": 16119,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "754:2:63"
            }
          },
          {
            "id": 16130,
            "nodeType": "VariableDeclaration",
            "src": "1745:97:63",
            "nodes": [],
            "baseFunctions": [
              22663
            ],
            "constant": false,
            "documentation": {
              "id": 16121,
              "nodeType": "StructuredDocumentation",
              "src": "990:752:63",
              "text": "@notice\nThe permissions that an operator has been given to operate on a specific domain.\n@dev\nAn account can give an operator permissions that only pertain to a specific domain namespace.\nThere is no domain with a value of 0 – accounts can use the 0 domain to give an operator\npermissions to all domains on their behalf.\n@dev\nPermissions are stored in a packed `uint256`. Each 256 bits represents the on/off state of a permission. Applications can specify the significance of each index.\n_operator The address of the operator.\n_account The address of the account being operated.\n_domain The domain within which the permissions apply. Applications can use the domain namespace as they wish."
            },
            "functionSelector": "80deb230",
            "mutability": "mutable",
            "name": "permissionsOf",
            "nameLocation": "1829:13:63",
            "overrides": {
              "id": 16129,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "1820:8:63"
            },
            "scope": 16384,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$_$",
              "typeString": "mapping(address => mapping(address => mapping(uint256 => uint256)))"
            },
            "typeName": {
              "id": 16128,
              "keyType": {
                "id": 16122,
                "name": "address",
                "nodeType": "ElementaryTypeName",
                "src": "1753:7:63",
                "typeDescriptions": {
                  "typeIdentifier": "t_address",
                  "typeString": "address"
                }
              },
              "nodeType": "Mapping",
              "src": "1745:67:63",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$_$",
                "typeString": "mapping(address => mapping(address => mapping(uint256 => uint256)))"
              },
              "valueType": {
                "id": 16127,
                "keyType": {
                  "id": 16123,
                  "name": "address",
                  "nodeType": "ElementaryTypeName",
                  "src": "1772:7:63",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  }
                },
                "nodeType": "Mapping",
                "src": "1764:47:63",
                "typeDescriptions": {
                  "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                  "typeString": "mapping(address => mapping(uint256 => uint256))"
                },
                "valueType": {
                  "id": 16126,
                  "keyType": {
                    "id": 16124,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1791:7:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "Mapping",
                  "src": "1783:27:63",
                  "typeDescriptions": {
                    "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                    "typeString": "mapping(uint256 => uint256)"
                  },
                  "valueType": {
                    "id": 16125,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1802:7:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  }
                }
              }
            },
            "visibility": "public"
          },
          {
            "id": 16170,
            "nodeType": "FunctionDefinition",
            "src": "2569:331:63",
            "nodes": [],
            "body": {
              "id": 16169,
              "nodeType": "Block",
              "src": "2730:170:63",
              "nodes": [],
              "statements": [
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 16147,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 16145,
                      "name": "_permissionIndex",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 16139,
                      "src": "2740:16:63",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": ">",
                    "rightExpression": {
                      "hexValue": "323535",
                      "id": 16146,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "2759:3:63",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_255_by_1",
                        "typeString": "int_const 255"
                      },
                      "value": "255"
                    },
                    "src": "2740:22:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 16151,
                  "nodeType": "IfStatement",
                  "src": "2736:67:63",
                  "trueBody": {
                    "errorCall": {
                      "arguments": [],
                      "expression": {
                        "argumentTypes": [],
                        "id": 16148,
                        "name": "PERMISSION_INDEX_OUT_OF_BOUNDS",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 16120,
                        "src": "2771:30:63",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_error_pure$__$returns$__$",
                          "typeString": "function () pure"
                        }
                      },
                      "id": 16149,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "2771:32:63",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_tuple$__$",
                        "typeString": "tuple()"
                      }
                    },
                    "id": 16150,
                    "nodeType": "RevertStatement",
                    "src": "2764:39:63"
                  }
                },
                {
                  "expression": {
                    "components": [
                      {
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 16166,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "components": [
                            {
                              "commonType": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              "id": 16163,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftExpression": {
                                "components": [
                                  {
                                    "commonType": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    },
                                    "id": 16160,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "leftExpression": {
                                      "baseExpression": {
                                        "baseExpression": {
                                          "baseExpression": {
                                            "id": 16152,
                                            "name": "permissionsOf",
                                            "nodeType": "Identifier",
                                            "overloadedDeclarations": [],
                                            "referencedDeclaration": 16130,
                                            "src": "2820:13:63",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$_$",
                                              "typeString": "mapping(address => mapping(address => mapping(uint256 => uint256)))"
                                            }
                                          },
                                          "id": 16154,
                                          "indexExpression": {
                                            "id": 16153,
                                            "name": "_operator",
                                            "nodeType": "Identifier",
                                            "overloadedDeclarations": [],
                                            "referencedDeclaration": 16133,
                                            "src": "2834:9:63",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_address",
                                              "typeString": "address"
                                            }
                                          },
                                          "isConstant": false,
                                          "isLValue": true,
                                          "isPure": false,
                                          "lValueRequested": false,
                                          "nodeType": "IndexAccess",
                                          "src": "2820:24:63",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                                            "typeString": "mapping(address => mapping(uint256 => uint256))"
                                          }
                                        },
                                        "id": 16156,
                                        "indexExpression": {
                                          "id": 16155,
                                          "name": "_account",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 16135,
                                          "src": "2845:8:63",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_address",
                                            "typeString": "address"
                                          }
                                        },
                                        "isConstant": false,
                                        "isLValue": true,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "nodeType": "IndexAccess",
                                        "src": "2820:34:63",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                                          "typeString": "mapping(uint256 => uint256)"
                                        }
                                      },
                                      "id": 16158,
                                      "indexExpression": {
                                        "id": 16157,
                                        "name": "_domain",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 16137,
                                        "src": "2855:7:63",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      },
                                      "isConstant": false,
                                      "isLValue": true,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "nodeType": "IndexAccess",
                                      "src": "2820:43:63",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    },
                                    "nodeType": "BinaryOperation",
                                    "operator": ">>",
                                    "rightExpression": {
                                      "id": 16159,
                                      "name": "_permissionIndex",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 16139,
                                      "src": "2867:16:63",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    },
                                    "src": "2820:63:63",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  }
                                ],
                                "id": 16161,
                                "isConstant": false,
                                "isInlineArray": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "nodeType": "TupleExpression",
                                "src": "2819:65:63",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "nodeType": "BinaryOperation",
                              "operator": "&",
                              "rightExpression": {
                                "hexValue": "31",
                                "id": 16162,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "kind": "number",
                                "lValueRequested": false,
                                "nodeType": "Literal",
                                "src": "2887:1:63",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_rational_1_by_1",
                                  "typeString": "int_const 1"
                                },
                                "value": "1"
                              },
                              "src": "2819:69:63",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            }
                          ],
                          "id": 16164,
                          "isConstant": false,
                          "isInlineArray": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "TupleExpression",
                          "src": "2818:71:63",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "==",
                        "rightExpression": {
                          "hexValue": "31",
                          "id": 16165,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "2893:1:63",
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_1_by_1",
                            "typeString": "int_const 1"
                          },
                          "value": "1"
                        },
                        "src": "2818:76:63",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      }
                    ],
                    "id": 16167,
                    "isConstant": false,
                    "isInlineArray": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "TupleExpression",
                    "src": "2817:78:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "functionReturnParameters": 16144,
                  "id": 16168,
                  "nodeType": "Return",
                  "src": "2810:85:63"
                }
              ]
            },
            "baseFunctions": [
              22676
            ],
            "documentation": {
              "id": 16131,
              "nodeType": "StructuredDocumentation",
              "src": "2076:490:63",
              "text": "@notice \nWhether or not an operator has the permission to take a certain action pertaining to the specified domain.\n@param _operator The operator to check.\n@param _account The account that has given out permissions to the operator.\n@param _domain The domain that the operator has been given permissions to operate.\n@param _permissionIndex The permission index to check for.\n@return A flag indicating whether the operator has the specified permission."
            },
            "functionSelector": "c161c93f",
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "hasPermission",
            "nameLocation": "2578:13:63",
            "overrides": {
              "id": 16141,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "2706:8:63"
            },
            "parameters": {
              "id": 16140,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 16133,
                  "mutability": "mutable",
                  "name": "_operator",
                  "nameLocation": "2605:9:63",
                  "nodeType": "VariableDeclaration",
                  "scope": 16170,
                  "src": "2597:17:63",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 16132,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "2597:7:63",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 16135,
                  "mutability": "mutable",
                  "name": "_account",
                  "nameLocation": "2628:8:63",
                  "nodeType": "VariableDeclaration",
                  "scope": 16170,
                  "src": "2620:16:63",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 16134,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "2620:7:63",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 16137,
                  "mutability": "mutable",
                  "name": "_domain",
                  "nameLocation": "2650:7:63",
                  "nodeType": "VariableDeclaration",
                  "scope": 16170,
                  "src": "2642:15:63",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 16136,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2642:7:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 16139,
                  "mutability": "mutable",
                  "name": "_permissionIndex",
                  "nameLocation": "2671:16:63",
                  "nodeType": "VariableDeclaration",
                  "scope": 16170,
                  "src": "2663:24:63",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 16138,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2663:7:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2591:100:63"
            },
            "returnParameters": {
              "id": 16144,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 16143,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 16170,
                  "src": "2724:4:63",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 16142,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "2724:4:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2723:6:63"
            },
            "scope": 16384,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 16233,
            "nodeType": "FunctionDefinition",
            "src": "3409:512:63",
            "nodes": [],
            "body": {
              "id": 16232,
              "nodeType": "Block",
              "src": "3584:337:63",
              "nodes": [],
              "statements": [
                {
                  "body": {
                    "id": 16228,
                    "nodeType": "Block",
                    "src": "3649:251:63",
                    "statements": [
                      {
                        "assignments": [
                          16198
                        ],
                        "declarations": [
                          {
                            "constant": false,
                            "id": 16198,
                            "mutability": "mutable",
                            "name": "_permissionIndex",
                            "nameLocation": "3665:16:63",
                            "nodeType": "VariableDeclaration",
                            "scope": 16228,
                            "src": "3657:24:63",
                            "stateVariable": false,
                            "storageLocation": "default",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "typeName": {
                              "id": 16197,
                              "name": "uint256",
                              "nodeType": "ElementaryTypeName",
                              "src": "3657:7:63",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "visibility": "internal"
                          }
                        ],
                        "id": 16202,
                        "initialValue": {
                          "baseExpression": {
                            "id": 16199,
                            "name": "_permissionIndexes",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 16180,
                            "src": "3684:18:63",
                            "typeDescriptions": {
                              "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr",
                              "typeString": "uint256[] calldata"
                            }
                          },
                          "id": 16201,
                          "indexExpression": {
                            "id": 16200,
                            "name": "_i",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 16187,
                            "src": "3703:2:63",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "3684:22:63",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "VariableDeclarationStatement",
                        "src": "3657:49:63"
                      },
                      {
                        "condition": {
                          "commonType": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "id": 16205,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "id": 16203,
                            "name": "_permissionIndex",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 16198,
                            "src": "3719:16:63",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": ">",
                          "rightExpression": {
                            "hexValue": "323535",
                            "id": 16204,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "number",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "3738:3:63",
                            "typeDescriptions": {
                              "typeIdentifier": "t_rational_255_by_1",
                              "typeString": "int_const 255"
                            },
                            "value": "255"
                          },
                          "src": "3719:22:63",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "id": 16209,
                        "nodeType": "IfStatement",
                        "src": "3715:67:63",
                        "trueBody": {
                          "errorCall": {
                            "arguments": [],
                            "expression": {
                              "argumentTypes": [],
                              "id": 16206,
                              "name": "PERMISSION_INDEX_OUT_OF_BOUNDS",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 16120,
                              "src": "3750:30:63",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_error_pure$__$returns$__$",
                                "typeString": "function () pure"
                              }
                            },
                            "id": 16207,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "3750:32:63",
                            "tryCall": false,
                            "typeDescriptions": {
                              "typeIdentifier": "t_tuple$__$",
                              "typeString": "tuple()"
                            }
                          },
                          "id": 16208,
                          "nodeType": "RevertStatement",
                          "src": "3743:39:63"
                        }
                      },
                      {
                        "condition": {
                          "commonType": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "id": 16224,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "components": [
                              {
                                "commonType": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                },
                                "id": 16221,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftExpression": {
                                  "components": [
                                    {
                                      "commonType": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      },
                                      "id": 16218,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "leftExpression": {
                                        "baseExpression": {
                                          "baseExpression": {
                                            "baseExpression": {
                                              "id": 16210,
                                              "name": "permissionsOf",
                                              "nodeType": "Identifier",
                                              "overloadedDeclarations": [],
                                              "referencedDeclaration": 16130,
                                              "src": "3797:13:63",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$_$",
                                                "typeString": "mapping(address => mapping(address => mapping(uint256 => uint256)))"
                                              }
                                            },
                                            "id": 16212,
                                            "indexExpression": {
                                              "id": 16211,
                                              "name": "_operator",
                                              "nodeType": "Identifier",
                                              "overloadedDeclarations": [],
                                              "referencedDeclaration": 16173,
                                              "src": "3811:9:63",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_address",
                                                "typeString": "address"
                                              }
                                            },
                                            "isConstant": false,
                                            "isLValue": true,
                                            "isPure": false,
                                            "lValueRequested": false,
                                            "nodeType": "IndexAccess",
                                            "src": "3797:24:63",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                                              "typeString": "mapping(address => mapping(uint256 => uint256))"
                                            }
                                          },
                                          "id": 16214,
                                          "indexExpression": {
                                            "id": 16213,
                                            "name": "_account",
                                            "nodeType": "Identifier",
                                            "overloadedDeclarations": [],
                                            "referencedDeclaration": 16175,
                                            "src": "3822:8:63",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_address",
                                              "typeString": "address"
                                            }
                                          },
                                          "isConstant": false,
                                          "isLValue": true,
                                          "isPure": false,
                                          "lValueRequested": false,
                                          "nodeType": "IndexAccess",
                                          "src": "3797:34:63",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                                            "typeString": "mapping(uint256 => uint256)"
                                          }
                                        },
                                        "id": 16216,
                                        "indexExpression": {
                                          "id": 16215,
                                          "name": "_domain",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 16177,
                                          "src": "3832:7:63",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_uint256",
                                            "typeString": "uint256"
                                          }
                                        },
                                        "isConstant": false,
                                        "isLValue": true,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "nodeType": "IndexAccess",
                                        "src": "3797:43:63",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      },
                                      "nodeType": "BinaryOperation",
                                      "operator": ">>",
                                      "rightExpression": {
                                        "id": 16217,
                                        "name": "_permissionIndex",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 16198,
                                        "src": "3844:16:63",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      },
                                      "src": "3797:63:63",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    }
                                  ],
                                  "id": 16219,
                                  "isConstant": false,
                                  "isInlineArray": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "nodeType": "TupleExpression",
                                  "src": "3796:65:63",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "nodeType": "BinaryOperation",
                                "operator": "&",
                                "rightExpression": {
                                  "hexValue": "31",
                                  "id": 16220,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "kind": "number",
                                  "lValueRequested": false,
                                  "nodeType": "Literal",
                                  "src": "3864:1:63",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_rational_1_by_1",
                                    "typeString": "int_const 1"
                                  },
                                  "value": "1"
                                },
                                "src": "3796:69:63",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              }
                            ],
                            "id": 16222,
                            "isConstant": false,
                            "isInlineArray": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "nodeType": "TupleExpression",
                            "src": "3795:71:63",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "==",
                          "rightExpression": {
                            "hexValue": "30",
                            "id": 16223,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "number",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "3870:1:63",
                            "typeDescriptions": {
                              "typeIdentifier": "t_rational_0_by_1",
                              "typeString": "int_const 0"
                            },
                            "value": "0"
                          },
                          "src": "3795:76:63",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "id": 16227,
                        "nodeType": "IfStatement",
                        "src": "3791:102:63",
                        "trueBody": {
                          "expression": {
                            "hexValue": "66616c7365",
                            "id": 16225,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "bool",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "3888:5:63",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bool",
                              "typeString": "bool"
                            },
                            "value": "false"
                          },
                          "functionReturnParameters": 16185,
                          "id": 16226,
                          "nodeType": "Return",
                          "src": "3881:12:63"
                        }
                      }
                    ]
                  },
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 16193,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 16190,
                      "name": "_i",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 16187,
                      "src": "3611:2:63",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "<",
                    "rightExpression": {
                      "expression": {
                        "id": 16191,
                        "name": "_permissionIndexes",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 16180,
                        "src": "3616:18:63",
                        "typeDescriptions": {
                          "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr",
                          "typeString": "uint256[] calldata"
                        }
                      },
                      "id": 16192,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "length",
                      "nodeType": "MemberAccess",
                      "src": "3616:25:63",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "3611:30:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 16229,
                  "initializationExpression": {
                    "assignments": [
                      16187
                    ],
                    "declarations": [
                      {
                        "constant": false,
                        "id": 16187,
                        "mutability": "mutable",
                        "name": "_i",
                        "nameLocation": "3603:2:63",
                        "nodeType": "VariableDeclaration",
                        "scope": 16229,
                        "src": "3595:10:63",
                        "stateVariable": false,
                        "storageLocation": "default",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "typeName": {
                          "id": 16186,
                          "name": "uint256",
                          "nodeType": "ElementaryTypeName",
                          "src": "3595:7:63",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "visibility": "internal"
                      }
                    ],
                    "id": 16189,
                    "initialValue": {
                      "hexValue": "30",
                      "id": 16188,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "3608:1:63",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "nodeType": "VariableDeclarationStatement",
                    "src": "3595:14:63"
                  },
                  "loopExpression": {
                    "expression": {
                      "id": 16195,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "UnaryOperation",
                      "operator": "++",
                      "prefix": false,
                      "src": "3643:4:63",
                      "subExpression": {
                        "id": 16194,
                        "name": "_i",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 16187,
                        "src": "3643:2:63",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 16196,
                    "nodeType": "ExpressionStatement",
                    "src": "3643:4:63"
                  },
                  "nodeType": "ForStatement",
                  "src": "3590:310:63"
                },
                {
                  "expression": {
                    "hexValue": "74727565",
                    "id": 16230,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": true,
                    "kind": "bool",
                    "lValueRequested": false,
                    "nodeType": "Literal",
                    "src": "3912:4:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    },
                    "value": "true"
                  },
                  "functionReturnParameters": 16185,
                  "id": 16231,
                  "nodeType": "Return",
                  "src": "3905:11:63"
                }
              ]
            },
            "baseFunctions": [
              22690
            ],
            "documentation": {
              "id": 16171,
              "nodeType": "StructuredDocumentation",
              "src": "2904:502:63",
              "text": "@notice \nWhether or not an operator has the permission to take certain actions pertaining to the specified domain.\n@param _operator The operator to check.\n@param _account The account that has given out permissions to the operator.\n@param _domain The domain that the operator has been given permissions to operate.\n@param _permissionIndexes An array of permission indexes to check for.\n@return A flag indicating whether the operator has all specified permissions."
            },
            "functionSelector": "0f5932f0",
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "hasPermissions",
            "nameLocation": "3418:14:63",
            "overrides": {
              "id": 16182,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "3560:8:63"
            },
            "parameters": {
              "id": 16181,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 16173,
                  "mutability": "mutable",
                  "name": "_operator",
                  "nameLocation": "3446:9:63",
                  "nodeType": "VariableDeclaration",
                  "scope": 16233,
                  "src": "3438:17:63",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 16172,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "3438:7:63",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 16175,
                  "mutability": "mutable",
                  "name": "_account",
                  "nameLocation": "3469:8:63",
                  "nodeType": "VariableDeclaration",
                  "scope": 16233,
                  "src": "3461:16:63",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 16174,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "3461:7:63",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 16177,
                  "mutability": "mutable",
                  "name": "_domain",
                  "nameLocation": "3491:7:63",
                  "nodeType": "VariableDeclaration",
                  "scope": 16233,
                  "src": "3483:15:63",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 16176,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "3483:7:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 16180,
                  "mutability": "mutable",
                  "name": "_permissionIndexes",
                  "nameLocation": "3523:18:63",
                  "nodeType": "VariableDeclaration",
                  "scope": 16233,
                  "src": "3504:37:63",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr",
                    "typeString": "uint256[]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 16178,
                      "name": "uint256",
                      "nodeType": "ElementaryTypeName",
                      "src": "3504:7:63",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 16179,
                    "nodeType": "ArrayTypeName",
                    "src": "3504:9:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr",
                      "typeString": "uint256[]"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "3432:113:63"
            },
            "returnParameters": {
              "id": 16185,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 16184,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 16233,
                  "src": "3578:4:63",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 16183,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "3578:4:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "3577:6:63"
            },
            "scope": 16384,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 16274,
            "nodeType": "FunctionDefinition",
            "src": "4362:473:63",
            "nodes": [],
            "body": {
              "id": 16273,
              "nodeType": "Block",
              "src": "4440:395:63",
              "nodes": [],
              "statements": [
                {
                  "assignments": [
                    16242
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 16242,
                      "mutability": "mutable",
                      "name": "_packed",
                      "nameLocation": "4494:7:63",
                      "nodeType": "VariableDeclaration",
                      "scope": 16273,
                      "src": "4486:15:63",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 16241,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "4486:7:63",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 16247,
                  "initialValue": {
                    "arguments": [
                      {
                        "expression": {
                          "id": 16244,
                          "name": "_operatorData",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 16237,
                          "src": "4523:13:63",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_JBOperatorData_$24167_calldata_ptr",
                            "typeString": "struct JBOperatorData calldata"
                          }
                        },
                        "id": 16245,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "permissionIndexes",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 24166,
                        "src": "4523:31:63",
                        "typeDescriptions": {
                          "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr",
                          "typeString": "uint256[] calldata"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr",
                          "typeString": "uint256[] calldata"
                        }
                      ],
                      "id": 16243,
                      "name": "_packedPermissions",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 16383,
                      "src": "4504:18:63",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_pure$_t_array$_t_uint256_$dyn_calldata_ptr_$returns$_t_uint256_$",
                        "typeString": "function (uint256[] calldata) pure returns (uint256)"
                      }
                    },
                    "id": 16246,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "4504:51:63",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "4486:69:63"
                },
                {
                  "expression": {
                    "id": 16259,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "baseExpression": {
                        "baseExpression": {
                          "baseExpression": {
                            "id": 16248,
                            "name": "permissionsOf",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 16130,
                            "src": "4590:13:63",
                            "typeDescriptions": {
                              "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$_$",
                              "typeString": "mapping(address => mapping(address => mapping(uint256 => uint256)))"
                            }
                          },
                          "id": 16255,
                          "indexExpression": {
                            "expression": {
                              "id": 16249,
                              "name": "_operatorData",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 16237,
                              "src": "4604:13:63",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_JBOperatorData_$24167_calldata_ptr",
                                "typeString": "struct JBOperatorData calldata"
                              }
                            },
                            "id": 16250,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "operator",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 24161,
                            "src": "4604:22:63",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "4590:37:63",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                            "typeString": "mapping(address => mapping(uint256 => uint256))"
                          }
                        },
                        "id": 16256,
                        "indexExpression": {
                          "expression": {
                            "id": 16251,
                            "name": "msg",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": -15,
                            "src": "4628:3:63",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_message",
                              "typeString": "msg"
                            }
                          },
                          "id": 16252,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "sender",
                          "nodeType": "MemberAccess",
                          "src": "4628:10:63",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "4590:49:63",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                          "typeString": "mapping(uint256 => uint256)"
                        }
                      },
                      "id": 16257,
                      "indexExpression": {
                        "expression": {
                          "id": 16253,
                          "name": "_operatorData",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 16237,
                          "src": "4640:13:63",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_JBOperatorData_$24167_calldata_ptr",
                            "typeString": "struct JBOperatorData calldata"
                          }
                        },
                        "id": 16254,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "domain",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 24163,
                        "src": "4640:20:63",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "4590:71:63",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "id": 16258,
                      "name": "_packed",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 16242,
                      "src": "4664:7:63",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "4590:81:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 16260,
                  "nodeType": "ExpressionStatement",
                  "src": "4590:81:63"
                },
                {
                  "eventCall": {
                    "arguments": [
                      {
                        "expression": {
                          "id": 16262,
                          "name": "_operatorData",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 16237,
                          "src": "4702:13:63",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_JBOperatorData_$24167_calldata_ptr",
                            "typeString": "struct JBOperatorData calldata"
                          }
                        },
                        "id": 16263,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "operator",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 24161,
                        "src": "4702:22:63",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "expression": {
                          "id": 16264,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": -15,
                          "src": "4732:3:63",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 16265,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "src": "4732:10:63",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "expression": {
                          "id": 16266,
                          "name": "_operatorData",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 16237,
                          "src": "4750:13:63",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_JBOperatorData_$24167_calldata_ptr",
                            "typeString": "struct JBOperatorData calldata"
                          }
                        },
                        "id": 16267,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "domain",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 24163,
                        "src": "4750:20:63",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "expression": {
                          "id": 16268,
                          "name": "_operatorData",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 16237,
                          "src": "4778:13:63",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_JBOperatorData_$24167_calldata_ptr",
                            "typeString": "struct JBOperatorData calldata"
                          }
                        },
                        "id": 16269,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "permissionIndexes",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 24166,
                        "src": "4778:31:63",
                        "typeDescriptions": {
                          "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr",
                          "typeString": "uint256[] calldata"
                        }
                      },
                      {
                        "id": 16270,
                        "name": "_packed",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 16242,
                        "src": "4817:7:63",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr",
                          "typeString": "uint256[] calldata"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "id": 16261,
                      "name": "SetOperator",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 22652,
                      "src": "4683:11:63",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_array$_t_uint256_$dyn_memory_ptr_$_t_uint256_$returns$__$",
                        "typeString": "function (address,address,uint256,uint256[] memory,uint256)"
                      }
                    },
                    "id": 16271,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "4683:147:63",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 16272,
                  "nodeType": "EmitStatement",
                  "src": "4678:152:63"
                }
              ]
            },
            "baseFunctions": [
              22696
            ],
            "documentation": {
              "id": 16234,
              "nodeType": "StructuredDocumentation",
              "src": "4154:205:63",
              "text": "@notice\nSets permissions for an operators.\n@dev\nOnly an address can set its own operators.\n@param _operatorData The data that specifies the params for the operator being set."
            },
            "functionSelector": "529cdd2e",
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "setOperator",
            "nameLocation": "4371:11:63",
            "overrides": {
              "id": 16239,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "4431:8:63"
            },
            "parameters": {
              "id": 16238,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 16237,
                  "mutability": "mutable",
                  "name": "_operatorData",
                  "nameLocation": "4407:13:63",
                  "nodeType": "VariableDeclaration",
                  "scope": 16274,
                  "src": "4383:37:63",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_JBOperatorData_$24167_calldata_ptr",
                    "typeString": "struct JBOperatorData"
                  },
                  "typeName": {
                    "id": 16236,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 16235,
                      "name": "JBOperatorData",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 24167,
                      "src": "4383:14:63"
                    },
                    "referencedDeclaration": 24167,
                    "src": "4383:14:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_JBOperatorData_$24167_storage_ptr",
                      "typeString": "struct JBOperatorData"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "4382:39:63"
            },
            "returnParameters": {
              "id": 16240,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4440:0:63"
            },
            "scope": 16384,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 16341,
            "nodeType": "FunctionDefinition",
            "src": "5048:588:63",
            "nodes": [],
            "body": {
              "id": 16340,
              "nodeType": "Block",
              "src": "5129:507:63",
              "nodes": [],
              "statements": [
                {
                  "body": {
                    "id": 16338,
                    "nodeType": "Block",
                    "src": "5189:443:63",
                    "statements": [
                      {
                        "assignments": [
                          16295
                        ],
                        "declarations": [
                          {
                            "constant": false,
                            "id": 16295,
                            "mutability": "mutable",
                            "name": "_packed",
                            "nameLocation": "5247:7:63",
                            "nodeType": "VariableDeclaration",
                            "scope": 16338,
                            "src": "5239:15:63",
                            "stateVariable": false,
                            "storageLocation": "default",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "typeName": {
                              "id": 16294,
                              "name": "uint256",
                              "nodeType": "ElementaryTypeName",
                              "src": "5239:7:63",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "visibility": "internal"
                          }
                        ],
                        "id": 16302,
                        "initialValue": {
                          "arguments": [
                            {
                              "expression": {
                                "baseExpression": {
                                  "id": 16297,
                                  "name": "_operatorData",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 16279,
                                  "src": "5276:13:63",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_array$_t_struct$_JBOperatorData_$24167_calldata_ptr_$dyn_calldata_ptr",
                                    "typeString": "struct JBOperatorData calldata[] calldata"
                                  }
                                },
                                "id": 16299,
                                "indexExpression": {
                                  "id": 16298,
                                  "name": "_i",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 16284,
                                  "src": "5290:2:63",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "nodeType": "IndexAccess",
                                "src": "5276:17:63",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_JBOperatorData_$24167_calldata_ptr",
                                  "typeString": "struct JBOperatorData calldata"
                                }
                              },
                              "id": 16300,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "permissionIndexes",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 24166,
                              "src": "5276:35:63",
                              "typeDescriptions": {
                                "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr",
                                "typeString": "uint256[] calldata"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr",
                                "typeString": "uint256[] calldata"
                              }
                            ],
                            "id": 16296,
                            "name": "_packedPermissions",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 16383,
                            "src": "5257:18:63",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_pure$_t_array$_t_uint256_$dyn_calldata_ptr_$returns$_t_uint256_$",
                              "typeString": "function (uint256[] calldata) pure returns (uint256)"
                            }
                          },
                          "id": 16301,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "5257:55:63",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "VariableDeclarationStatement",
                        "src": "5239:73:63"
                      },
                      {
                        "expression": {
                          "id": 16318,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "baseExpression": {
                              "baseExpression": {
                                "baseExpression": {
                                  "id": 16303,
                                  "name": "permissionsOf",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 16130,
                                  "src": "5351:13:63",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$_$",
                                    "typeString": "mapping(address => mapping(address => mapping(uint256 => uint256)))"
                                  }
                                },
                                "id": 16314,
                                "indexExpression": {
                                  "expression": {
                                    "baseExpression": {
                                      "id": 16304,
                                      "name": "_operatorData",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 16279,
                                      "src": "5365:13:63",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_array$_t_struct$_JBOperatorData_$24167_calldata_ptr_$dyn_calldata_ptr",
                                        "typeString": "struct JBOperatorData calldata[] calldata"
                                      }
                                    },
                                    "id": 16306,
                                    "indexExpression": {
                                      "id": 16305,
                                      "name": "_i",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 16284,
                                      "src": "5379:2:63",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    },
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "nodeType": "IndexAccess",
                                    "src": "5365:17:63",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_struct$_JBOperatorData_$24167_calldata_ptr",
                                      "typeString": "struct JBOperatorData calldata"
                                    }
                                  },
                                  "id": 16307,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "operator",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 24161,
                                  "src": "5365:26:63",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                },
                                "isConstant": false,
                                "isLValue": true,
                                "isPure": false,
                                "lValueRequested": false,
                                "nodeType": "IndexAccess",
                                "src": "5351:41:63",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                                  "typeString": "mapping(address => mapping(uint256 => uint256))"
                                }
                              },
                              "id": 16315,
                              "indexExpression": {
                                "expression": {
                                  "id": 16308,
                                  "name": "msg",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": -15,
                                  "src": "5393:3:63",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_magic_message",
                                    "typeString": "msg"
                                  }
                                },
                                "id": 16309,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "sender",
                                "nodeType": "MemberAccess",
                                "src": "5393:10:63",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                }
                              },
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "IndexAccess",
                              "src": "5351:53:63",
                              "typeDescriptions": {
                                "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                                "typeString": "mapping(uint256 => uint256)"
                              }
                            },
                            "id": 16316,
                            "indexExpression": {
                              "expression": {
                                "baseExpression": {
                                  "id": 16310,
                                  "name": "_operatorData",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 16279,
                                  "src": "5405:13:63",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_array$_t_struct$_JBOperatorData_$24167_calldata_ptr_$dyn_calldata_ptr",
                                    "typeString": "struct JBOperatorData calldata[] calldata"
                                  }
                                },
                                "id": 16312,
                                "indexExpression": {
                                  "id": 16311,
                                  "name": "_i",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 16284,
                                  "src": "5419:2:63",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "nodeType": "IndexAccess",
                                "src": "5405:17:63",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_JBOperatorData_$24167_calldata_ptr",
                                  "typeString": "struct JBOperatorData calldata"
                                }
                              },
                              "id": 16313,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "domain",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 24163,
                              "src": "5405:24:63",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": true,
                            "nodeType": "IndexAccess",
                            "src": "5351:79:63",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "id": 16317,
                            "name": "_packed",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 16295,
                            "src": "5433:7:63",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "5351:89:63",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 16319,
                        "nodeType": "ExpressionStatement",
                        "src": "5351:89:63"
                      },
                      {
                        "eventCall": {
                          "arguments": [
                            {
                              "expression": {
                                "baseExpression": {
                                  "id": 16321,
                                  "name": "_operatorData",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 16279,
                                  "src": "5475:13:63",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_array$_t_struct$_JBOperatorData_$24167_calldata_ptr_$dyn_calldata_ptr",
                                    "typeString": "struct JBOperatorData calldata[] calldata"
                                  }
                                },
                                "id": 16323,
                                "indexExpression": {
                                  "id": 16322,
                                  "name": "_i",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 16284,
                                  "src": "5489:2:63",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "nodeType": "IndexAccess",
                                "src": "5475:17:63",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_JBOperatorData_$24167_calldata_ptr",
                                  "typeString": "struct JBOperatorData calldata"
                                }
                              },
                              "id": 16324,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "operator",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 24161,
                              "src": "5475:26:63",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            },
                            {
                              "expression": {
                                "id": 16325,
                                "name": "msg",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": -15,
                                "src": "5511:3:63",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_magic_message",
                                  "typeString": "msg"
                                }
                              },
                              "id": 16326,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "sender",
                              "nodeType": "MemberAccess",
                              "src": "5511:10:63",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            },
                            {
                              "expression": {
                                "baseExpression": {
                                  "id": 16327,
                                  "name": "_operatorData",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 16279,
                                  "src": "5531:13:63",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_array$_t_struct$_JBOperatorData_$24167_calldata_ptr_$dyn_calldata_ptr",
                                    "typeString": "struct JBOperatorData calldata[] calldata"
                                  }
                                },
                                "id": 16329,
                                "indexExpression": {
                                  "id": 16328,
                                  "name": "_i",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 16284,
                                  "src": "5545:2:63",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "nodeType": "IndexAccess",
                                "src": "5531:17:63",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_JBOperatorData_$24167_calldata_ptr",
                                  "typeString": "struct JBOperatorData calldata"
                                }
                              },
                              "id": 16330,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "domain",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 24163,
                              "src": "5531:24:63",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "expression": {
                                "baseExpression": {
                                  "id": 16331,
                                  "name": "_operatorData",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 16279,
                                  "src": "5565:13:63",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_array$_t_struct$_JBOperatorData_$24167_calldata_ptr_$dyn_calldata_ptr",
                                    "typeString": "struct JBOperatorData calldata[] calldata"
                                  }
                                },
                                "id": 16333,
                                "indexExpression": {
                                  "id": 16332,
                                  "name": "_i",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 16284,
                                  "src": "5579:2:63",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "nodeType": "IndexAccess",
                                "src": "5565:17:63",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_JBOperatorData_$24167_calldata_ptr",
                                  "typeString": "struct JBOperatorData calldata"
                                }
                              },
                              "id": 16334,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "permissionIndexes",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 24166,
                              "src": "5565:35:63",
                              "typeDescriptions": {
                                "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr",
                                "typeString": "uint256[] calldata"
                              }
                            },
                            {
                              "id": 16335,
                              "name": "_packed",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 16295,
                              "src": "5610:7:63",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              },
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr",
                                "typeString": "uint256[] calldata"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            ],
                            "id": 16320,
                            "name": "SetOperator",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 22652,
                            "src": "5454:11:63",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_array$_t_uint256_$dyn_memory_ptr_$_t_uint256_$returns$__$",
                              "typeString": "function (address,address,uint256,uint256[] memory,uint256)"
                            }
                          },
                          "id": 16336,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "5454:171:63",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 16337,
                        "nodeType": "EmitStatement",
                        "src": "5449:176:63"
                      }
                    ]
                  },
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 16290,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 16287,
                      "name": "_i",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 16284,
                      "src": "5156:2:63",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "<",
                    "rightExpression": {
                      "expression": {
                        "id": 16288,
                        "name": "_operatorData",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 16279,
                        "src": "5161:13:63",
                        "typeDescriptions": {
                          "typeIdentifier": "t_array$_t_struct$_JBOperatorData_$24167_calldata_ptr_$dyn_calldata_ptr",
                          "typeString": "struct JBOperatorData calldata[] calldata"
                        }
                      },
                      "id": 16289,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "length",
                      "nodeType": "MemberAccess",
                      "src": "5161:20:63",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "5156:25:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 16339,
                  "initializationExpression": {
                    "assignments": [
                      16284
                    ],
                    "declarations": [
                      {
                        "constant": false,
                        "id": 16284,
                        "mutability": "mutable",
                        "name": "_i",
                        "nameLocation": "5148:2:63",
                        "nodeType": "VariableDeclaration",
                        "scope": 16339,
                        "src": "5140:10:63",
                        "stateVariable": false,
                        "storageLocation": "default",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "typeName": {
                          "id": 16283,
                          "name": "uint256",
                          "nodeType": "ElementaryTypeName",
                          "src": "5140:7:63",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "visibility": "internal"
                      }
                    ],
                    "id": 16286,
                    "initialValue": {
                      "hexValue": "30",
                      "id": 16285,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "5153:1:63",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "nodeType": "VariableDeclarationStatement",
                    "src": "5140:14:63"
                  },
                  "loopExpression": {
                    "expression": {
                      "id": 16292,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "UnaryOperation",
                      "operator": "++",
                      "prefix": false,
                      "src": "5183:4:63",
                      "subExpression": {
                        "id": 16291,
                        "name": "_i",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 16284,
                        "src": "5183:2:63",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 16293,
                    "nodeType": "ExpressionStatement",
                    "src": "5183:4:63"
                  },
                  "nodeType": "ForStatement",
                  "src": "5135:497:63"
                }
              ]
            },
            "baseFunctions": [
              22703
            ],
            "documentation": {
              "id": 16275,
              "nodeType": "StructuredDocumentation",
              "src": "4839:206:63",
              "text": "@notice\nSets permissions for many operators.\n@dev\nOnly an address can set its own operators.\n@param _operatorData The data that specify the params for each operator being set."
            },
            "functionSelector": "8d5f697f",
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "setOperators",
            "nameLocation": "5057:12:63",
            "overrides": {
              "id": 16281,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "5120:8:63"
            },
            "parameters": {
              "id": 16280,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 16279,
                  "mutability": "mutable",
                  "name": "_operatorData",
                  "nameLocation": "5096:13:63",
                  "nodeType": "VariableDeclaration",
                  "scope": 16341,
                  "src": "5070:39:63",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_struct$_JBOperatorData_$24167_calldata_ptr_$dyn_calldata_ptr",
                    "typeString": "struct JBOperatorData[]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 16277,
                      "nodeType": "UserDefinedTypeName",
                      "pathNode": {
                        "id": 16276,
                        "name": "JBOperatorData",
                        "nodeType": "IdentifierPath",
                        "referencedDeclaration": 24167,
                        "src": "5070:14:63"
                      },
                      "referencedDeclaration": 24167,
                      "src": "5070:14:63",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_JBOperatorData_$24167_storage_ptr",
                        "typeString": "struct JBOperatorData"
                      }
                    },
                    "id": 16278,
                    "nodeType": "ArrayTypeName",
                    "src": "5070:16:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_struct$_JBOperatorData_$24167_storage_$dyn_storage_ptr",
                      "typeString": "struct JBOperatorData[]"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "5069:41:63"
            },
            "returnParameters": {
              "id": 16282,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "5129:0:63"
            },
            "scope": 16384,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 16383,
            "nodeType": "FunctionDefinition",
            "src": "6060:333:63",
            "nodes": [],
            "body": {
              "id": 16382,
              "nodeType": "Block",
              "src": "6155:238:63",
              "nodes": [],
              "statements": [
                {
                  "body": {
                    "id": 16380,
                    "nodeType": "Block",
                    "src": "6210:179:63",
                    "statements": [
                      {
                        "assignments": [
                          16362
                        ],
                        "declarations": [
                          {
                            "constant": false,
                            "id": 16362,
                            "mutability": "mutable",
                            "name": "_index",
                            "nameLocation": "6226:6:63",
                            "nodeType": "VariableDeclaration",
                            "scope": 16380,
                            "src": "6218:14:63",
                            "stateVariable": false,
                            "storageLocation": "default",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "typeName": {
                              "id": 16361,
                              "name": "uint256",
                              "nodeType": "ElementaryTypeName",
                              "src": "6218:7:63",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "visibility": "internal"
                          }
                        ],
                        "id": 16366,
                        "initialValue": {
                          "baseExpression": {
                            "id": 16363,
                            "name": "_indexes",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 16345,
                            "src": "6235:8:63",
                            "typeDescriptions": {
                              "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr",
                              "typeString": "uint256[] calldata"
                            }
                          },
                          "id": 16365,
                          "indexExpression": {
                            "id": 16364,
                            "name": "_i",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 16351,
                            "src": "6244:2:63",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "6235:12:63",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "VariableDeclarationStatement",
                        "src": "6218:29:63"
                      },
                      {
                        "condition": {
                          "commonType": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "id": 16369,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "id": 16367,
                            "name": "_index",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 16362,
                            "src": "6260:6:63",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": ">",
                          "rightExpression": {
                            "hexValue": "323535",
                            "id": 16368,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "number",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "6269:3:63",
                            "typeDescriptions": {
                              "typeIdentifier": "t_rational_255_by_1",
                              "typeString": "int_const 255"
                            },
                            "value": "255"
                          },
                          "src": "6260:12:63",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "id": 16373,
                        "nodeType": "IfStatement",
                        "src": "6256:57:63",
                        "trueBody": {
                          "errorCall": {
                            "arguments": [],
                            "expression": {
                              "argumentTypes": [],
                              "id": 16370,
                              "name": "PERMISSION_INDEX_OUT_OF_BOUNDS",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 16120,
                              "src": "6281:30:63",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_error_pure$__$returns$__$",
                                "typeString": "function () pure"
                              }
                            },
                            "id": 16371,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "6281:32:63",
                            "tryCall": false,
                            "typeDescriptions": {
                              "typeIdentifier": "t_tuple$__$",
                              "typeString": "tuple()"
                            }
                          },
                          "id": 16372,
                          "nodeType": "RevertStatement",
                          "src": "6274:39:63"
                        }
                      },
                      {
                        "expression": {
                          "id": 16378,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "id": 16374,
                            "name": "packed",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 16348,
                            "src": "6361:6:63",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "|=",
                          "rightHandSide": {
                            "commonType": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "id": 16377,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftExpression": {
                              "hexValue": "31",
                              "id": 16375,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "6371:1:63",
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_1_by_1",
                                "typeString": "int_const 1"
                              },
                              "value": "1"
                            },
                            "nodeType": "BinaryOperation",
                            "operator": "<<",
                            "rightExpression": {
                              "id": 16376,
                              "name": "_index",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 16362,
                              "src": "6376:6:63",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "src": "6371:11:63",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "6361:21:63",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 16379,
                        "nodeType": "ExpressionStatement",
                        "src": "6361:21:63"
                      }
                    ]
                  },
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 16357,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 16354,
                      "name": "_i",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 16351,
                      "src": "6182:2:63",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "<",
                    "rightExpression": {
                      "expression": {
                        "id": 16355,
                        "name": "_indexes",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 16345,
                        "src": "6187:8:63",
                        "typeDescriptions": {
                          "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr",
                          "typeString": "uint256[] calldata"
                        }
                      },
                      "id": 16356,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "length",
                      "nodeType": "MemberAccess",
                      "src": "6187:15:63",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "6182:20:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 16381,
                  "initializationExpression": {
                    "assignments": [
                      16351
                    ],
                    "declarations": [
                      {
                        "constant": false,
                        "id": 16351,
                        "mutability": "mutable",
                        "name": "_i",
                        "nameLocation": "6174:2:63",
                        "nodeType": "VariableDeclaration",
                        "scope": 16381,
                        "src": "6166:10:63",
                        "stateVariable": false,
                        "storageLocation": "default",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "typeName": {
                          "id": 16350,
                          "name": "uint256",
                          "nodeType": "ElementaryTypeName",
                          "src": "6166:7:63",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "visibility": "internal"
                      }
                    ],
                    "id": 16353,
                    "initialValue": {
                      "hexValue": "30",
                      "id": 16352,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "6179:1:63",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "nodeType": "VariableDeclarationStatement",
                    "src": "6166:14:63"
                  },
                  "loopExpression": {
                    "expression": {
                      "id": 16359,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "UnaryOperation",
                      "operator": "++",
                      "prefix": false,
                      "src": "6204:4:63",
                      "subExpression": {
                        "id": 16358,
                        "name": "_i",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 16351,
                        "src": "6204:2:63",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 16360,
                    "nodeType": "ExpressionStatement",
                    "src": "6204:4:63"
                  },
                  "nodeType": "ForStatement",
                  "src": "6161:228:63"
                }
              ]
            },
            "documentation": {
              "id": 16342,
              "nodeType": "StructuredDocumentation",
              "src": "5869:188:63",
              "text": "@notice \nConverts an array of permission indexes to a packed `uint256`.\n@param _indexes The indexes of the permissions to pack.\n@return packed The packed value."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_packedPermissions",
            "nameLocation": "6069:18:63",
            "parameters": {
              "id": 16346,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 16345,
                  "mutability": "mutable",
                  "name": "_indexes",
                  "nameLocation": "6107:8:63",
                  "nodeType": "VariableDeclaration",
                  "scope": 16383,
                  "src": "6088:27:63",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr",
                    "typeString": "uint256[]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 16343,
                      "name": "uint256",
                      "nodeType": "ElementaryTypeName",
                      "src": "6088:7:63",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 16344,
                    "nodeType": "ArrayTypeName",
                    "src": "6088:9:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr",
                      "typeString": "uint256[]"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "6087:29:63"
            },
            "returnParameters": {
              "id": 16349,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 16348,
                  "mutability": "mutable",
                  "name": "packed",
                  "nameLocation": "6147:6:63",
                  "nodeType": "VariableDeclaration",
                  "scope": 16383,
                  "src": "6139:14:63",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 16347,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "6139:7:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "6138:16:63"
            },
            "scope": 16384,
            "stateMutability": "pure",
            "virtual": false,
            "visibility": "private"
          }
        ],
        "abstract": false,
        "baseContracts": [
          {
            "baseName": {
              "id": 16117,
              "name": "IJBOperatorStore",
              "nodeType": "IdentifierPath",
              "referencedDeclaration": 22704,
              "src": "469:16:63"
            },
            "id": 16118,
            "nodeType": "InheritanceSpecifier",
            "src": "469:16:63"
          }
        ],
        "contractDependencies": [],
        "contractKind": "contract",
        "documentation": {
          "id": 16116,
          "nodeType": "StructuredDocumentation",
          "src": "101:339:63",
          "text": "@notice\nStores operator permissions for all addresses. Addresses can give permissions to any other address to take specific indexed actions on their behalf.\n@dev\nAdheres to -\nIJBOperatorStore: General interface for the methods in this contract that interact with the blockchain's state according to the protocol's rules."
        },
        "fullyImplemented": true,
        "linearizedBaseContracts": [
          16384,
          22704
        ],
        "name": "JBOperatorStore",
        "nameLocation": "450:15:63",
        "scope": 16385,
        "usedErrors": [
          16120
        ]
      }
    ],
    "license": "MIT"
  },
  "id": 63
}