{
  "contractName": "IEVMScriptRegistry",
  "abi": [
    {
      "constant": true,
      "inputs": [
        {
          "name": "script",
          "type": "bytes"
        }
      ],
      "name": "getScriptExecutor",
      "outputs": [
        {
          "name": "",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "executorId",
          "type": "uint256"
        }
      ],
      "name": "disableScriptExecutor",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "executor",
          "type": "address"
        }
      ],
      "name": "addScriptExecutor",
      "outputs": [
        {
          "name": "id",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    }
  ],
  "bytecode": "0x",
  "deployedBytecode": "0x",
  "sourceMap": "",
  "deployedSourceMap": "",
  "source": "pragma solidity 0.4.18;\n\n\ncontract EVMScriptRegistryConstants {\n    bytes32 constant public EVMSCRIPT_REGISTRY_APP_ID = keccak256(\"evmreg.aragonpm.eth\");\n    bytes32 constant public EVMSCRIPT_REGISTRY_APP = keccak256(keccak256(\"app\"), EVMSCRIPT_REGISTRY_APP_ID);\n}\n\n\ninterface IEVMScriptRegistry {\n    function addScriptExecutor(address executor) external returns (uint id);\n    function disableScriptExecutor(uint256 executorId) external;\n\n    function getScriptExecutor(bytes script) public view returns (address);\n}",
  "sourcePath": "@aragon/os/contracts/evmscript/IEVMScriptRegistry.sol",
  "ast": {
    "attributes": {
      "absolutePath": "@aragon/os/contracts/evmscript/IEVMScriptRegistry.sol",
      "exportedSymbols": {
        "EVMScriptRegistryConstants": [
          7877
        ],
        "IEVMScriptRegistry": [
          7897
        ]
      }
    },
    "children": [
      {
        "attributes": {
          "literals": [
            "solidity",
            "0.4",
            ".18"
          ]
        },
        "id": 7863,
        "name": "PragmaDirective",
        "src": "0:23:31"
      },
      {
        "attributes": {
          "baseContracts": [
            null
          ],
          "contractDependencies": [
            null
          ],
          "contractKind": "contract",
          "documentation": null,
          "fullyImplemented": true,
          "linearizedBaseContracts": [
            7877
          ],
          "name": "EVMScriptRegistryConstants",
          "scope": 7898
        },
        "children": [
          {
            "attributes": {
              "constant": true,
              "name": "EVMSCRIPT_REGISTRY_APP_ID",
              "scope": 7877,
              "stateVariable": true,
              "storageLocation": "default",
              "type": "bytes32",
              "visibility": "public"
            },
            "children": [
              {
                "attributes": {
                  "name": "bytes32",
                  "type": "bytes32"
                },
                "id": 7864,
                "name": "ElementaryTypeName",
                "src": "68:7:31"
              },
              {
                "attributes": {
                  "argumentTypes": null,
                  "isConstant": false,
                  "isLValue": false,
                  "isPure": true,
                  "isStructConstructorCall": false,
                  "lValueRequested": false,
                  "names": [
                    null
                  ],
                  "type": "bytes32",
                  "type_conversion": false
                },
                "children": [
                  {
                    "attributes": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_stringliteral_d8ab59c8daa1d3c1a68e4443151e4a34f969b490ad6eec66457988114d1e0794",
                          "typeString": "literal_string \"evmreg.aragonpm.eth\""
                        }
                      ],
                      "overloadedDeclarations": [
                        null
                      ],
                      "referencedDeclaration": 12584,
                      "type": "function () pure returns (bytes32)",
                      "value": "keccak256"
                    },
                    "id": 7865,
                    "name": "Identifier",
                    "src": "120:9:31"
                  },
                  {
                    "attributes": {
                      "argumentTypes": null,
                      "hexvalue": "65766d7265672e617261676f6e706d2e657468",
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "lValueRequested": false,
                      "subdenomination": null,
                      "token": "string",
                      "type": "literal_string \"evmreg.aragonpm.eth\"",
                      "value": "evmreg.aragonpm.eth"
                    },
                    "id": 7866,
                    "name": "Literal",
                    "src": "130:21:31"
                  }
                ],
                "id": 7867,
                "name": "FunctionCall",
                "src": "120:32:31"
              }
            ],
            "id": 7868,
            "name": "VariableDeclaration",
            "src": "68:84:31"
          },
          {
            "attributes": {
              "constant": true,
              "name": "EVMSCRIPT_REGISTRY_APP",
              "scope": 7877,
              "stateVariable": true,
              "storageLocation": "default",
              "type": "bytes32",
              "visibility": "public"
            },
            "children": [
              {
                "attributes": {
                  "name": "bytes32",
                  "type": "bytes32"
                },
                "id": 7869,
                "name": "ElementaryTypeName",
                "src": "158:7:31"
              },
              {
                "attributes": {
                  "argumentTypes": null,
                  "isConstant": false,
                  "isLValue": false,
                  "isPure": true,
                  "isStructConstructorCall": false,
                  "lValueRequested": false,
                  "names": [
                    null
                  ],
                  "type": "bytes32",
                  "type_conversion": false
                },
                "children": [
                  {
                    "attributes": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        },
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      ],
                      "overloadedDeclarations": [
                        null
                      ],
                      "referencedDeclaration": 12584,
                      "type": "function () pure returns (bytes32)",
                      "value": "keccak256"
                    },
                    "id": 7870,
                    "name": "Identifier",
                    "src": "207:9:31"
                  },
                  {
                    "attributes": {
                      "argumentTypes": null,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "isStructConstructorCall": false,
                      "lValueRequested": false,
                      "names": [
                        null
                      ],
                      "type": "bytes32",
                      "type_conversion": false
                    },
                    "children": [
                      {
                        "attributes": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_stringliteral_d6f028ca0e8edb4a8c9757ca4fdccab25fa1e0317da1188108f7d2dee14902fb",
                              "typeString": "literal_string \"app\""
                            }
                          ],
                          "overloadedDeclarations": [
                            null
                          ],
                          "referencedDeclaration": 12584,
                          "type": "function () pure returns (bytes32)",
                          "value": "keccak256"
                        },
                        "id": 7871,
                        "name": "Identifier",
                        "src": "217:9:31"
                      },
                      {
                        "attributes": {
                          "argumentTypes": null,
                          "hexvalue": "617070",
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "subdenomination": null,
                          "token": "string",
                          "type": "literal_string \"app\"",
                          "value": "app"
                        },
                        "id": 7872,
                        "name": "Literal",
                        "src": "227:5:31"
                      }
                    ],
                    "id": 7873,
                    "name": "FunctionCall",
                    "src": "217:16:31"
                  },
                  {
                    "attributes": {
                      "argumentTypes": null,
                      "overloadedDeclarations": [
                        null
                      ],
                      "referencedDeclaration": 7868,
                      "type": "bytes32",
                      "value": "EVMSCRIPT_REGISTRY_APP_ID"
                    },
                    "id": 7874,
                    "name": "Identifier",
                    "src": "235:25:31"
                  }
                ],
                "id": 7875,
                "name": "FunctionCall",
                "src": "207:54:31"
              }
            ],
            "id": 7876,
            "name": "VariableDeclaration",
            "src": "158:103:31"
          }
        ],
        "id": 7877,
        "name": "ContractDefinition",
        "src": "26:238:31"
      },
      {
        "attributes": {
          "baseContracts": [
            null
          ],
          "contractDependencies": [
            null
          ],
          "contractKind": "interface",
          "documentation": null,
          "fullyImplemented": false,
          "linearizedBaseContracts": [
            7897
          ],
          "name": "IEVMScriptRegistry",
          "scope": 7898
        },
        "children": [
          {
            "attributes": {
              "body": null,
              "constant": false,
              "implemented": false,
              "isConstructor": false,
              "modifiers": [
                null
              ],
              "name": "addScriptExecutor",
              "payable": false,
              "scope": 7897,
              "stateMutability": "nonpayable",
              "superFunction": null,
              "visibility": "external"
            },
            "children": [
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "name": "executor",
                      "scope": 7884,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "address",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "address",
                          "type": "address"
                        },
                        "id": 7878,
                        "name": "ElementaryTypeName",
                        "src": "329:7:31"
                      }
                    ],
                    "id": 7879,
                    "name": "VariableDeclaration",
                    "src": "329:16:31"
                  }
                ],
                "id": 7880,
                "name": "ParameterList",
                "src": "328:18:31"
              },
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "name": "id",
                      "scope": 7884,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "uint256",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "uint",
                          "type": "uint256"
                        },
                        "id": 7881,
                        "name": "ElementaryTypeName",
                        "src": "365:4:31"
                      }
                    ],
                    "id": 7882,
                    "name": "VariableDeclaration",
                    "src": "365:7:31"
                  }
                ],
                "id": 7883,
                "name": "ParameterList",
                "src": "364:9:31"
              }
            ],
            "id": 7884,
            "name": "FunctionDefinition",
            "src": "302:72:31"
          },
          {
            "attributes": {
              "body": null,
              "constant": false,
              "implemented": false,
              "isConstructor": false,
              "modifiers": [
                null
              ],
              "name": "disableScriptExecutor",
              "payable": false,
              "scope": 7897,
              "stateMutability": "nonpayable",
              "superFunction": null,
              "visibility": "external"
            },
            "children": [
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "name": "executorId",
                      "scope": 7889,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "uint256",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "uint256",
                          "type": "uint256"
                        },
                        "id": 7885,
                        "name": "ElementaryTypeName",
                        "src": "410:7:31"
                      }
                    ],
                    "id": 7886,
                    "name": "VariableDeclaration",
                    "src": "410:18:31"
                  }
                ],
                "id": 7887,
                "name": "ParameterList",
                "src": "409:20:31"
              },
              {
                "attributes": {
                  "parameters": [
                    null
                  ]
                },
                "children": [],
                "id": 7888,
                "name": "ParameterList",
                "src": "438:0:31"
              }
            ],
            "id": 7889,
            "name": "FunctionDefinition",
            "src": "379:60:31"
          },
          {
            "attributes": {
              "body": null,
              "constant": true,
              "implemented": false,
              "isConstructor": false,
              "modifiers": [
                null
              ],
              "name": "getScriptExecutor",
              "payable": false,
              "scope": 7897,
              "stateMutability": "view",
              "superFunction": null,
              "visibility": "public"
            },
            "children": [
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "name": "script",
                      "scope": 7896,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "bytes memory",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "bytes",
                          "type": "bytes storage pointer"
                        },
                        "id": 7890,
                        "name": "ElementaryTypeName",
                        "src": "472:5:31"
                      }
                    ],
                    "id": 7891,
                    "name": "VariableDeclaration",
                    "src": "472:12:31"
                  }
                ],
                "id": 7892,
                "name": "ParameterList",
                "src": "471:14:31"
              },
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "name": "",
                      "scope": 7896,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "address",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "address",
                          "type": "address"
                        },
                        "id": 7893,
                        "name": "ElementaryTypeName",
                        "src": "507:7:31"
                      }
                    ],
                    "id": 7894,
                    "name": "VariableDeclaration",
                    "src": "507:7:31"
                  }
                ],
                "id": 7895,
                "name": "ParameterList",
                "src": "506:9:31"
              }
            ],
            "id": 7896,
            "name": "FunctionDefinition",
            "src": "445:71:31"
          }
        ],
        "id": 7897,
        "name": "ContractDefinition",
        "src": "267:251:31"
      }
    ],
    "id": 7898,
    "name": "SourceUnit",
    "src": "0:518:31"
  },
  "compiler": {
    "name": "solc",
    "version": "0.4.18+commit.9cf6e910.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "1.0.1",
  "updatedAt": "2018-03-14T08:41:25.092Z"
}