{
  "contractName": "Controllable",
  "abi": [
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "controller",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "bool",
          "name": "enabled",
          "type": "bool"
        }
      ],
      "name": "ControllerChanged",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "previousOwner",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "newOwner",
          "type": "address"
        }
      ],
      "name": "OwnershipTransferred",
      "type": "event"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "name": "controllers",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "addr",
          "type": "address"
        }
      ],
      "name": "isOwner",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "owner",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "newOwner",
          "type": "address"
        }
      ],
      "name": "transferOwnership",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "controller",
          "type": "address"
        },
        {
          "internalType": "bool",
          "name": "enabled",
          "type": "bool"
        }
      ],
      "name": "setController",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    }
  ],
  "metadata": "{\"compiler\":{\"version\":\"0.7.4+commit.3f05b770\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"controller\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"enabled\",\"type\":\"bool\"}],\"name\":\"ControllerChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"controllers\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"isOwner\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"controller\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"enabled\",\"type\":\"bool\"}],\"name\":\"setController\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@ensdomains/root/contracts/Controllable.sol\":\"Controllable\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"@ensdomains/root/contracts/Controllable.sol\":{\"keccak256\":\"0xde18e4c3e12b45f8de33790e6a42e5597ae559aeafb2aafbfb04c089683f2a9e\",\"urls\":[\"bzz-raw://951e2cf27f912eb4e61b9fff6b2f022a6a0bef5f53b01fd28ed91767d92063d7\",\"dweb:/ipfs/QmR2qd6hWEb5a6midcAStQFgPdqAG5ffGLitpTiaXYsZhp\"]},\"@ensdomains/root/contracts/Ownable.sol\":{\"keccak256\":\"0x251dc24ffd5b4187051ee7114230ffa9fc1ee66451cdd5c12fbe4d2369e006ec\",\"urls\":[\"bzz-raw://4a80ed2713bf6cc1b9bc047588770fae0d516e2079faaa70cbbb77673222f38e\",\"dweb:/ipfs/Qmepae9HDVfGbvMpumnEcxMeWQiKU1bKobbR784UrbbVo1\"]}},\"version\":1}",
  "bytecode": "0x608060405234801561001057600080fd5b50336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610436806100606000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80632f54bf6e1461005c5780638da5cb5b146100b6578063da8c229e146100ea578063e0dba60f14610144578063f2fde38b14610194575b600080fd5b61009e6004803603602081101561007257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506101d8565b60405180821515815260200191505060405180910390f35b6100be610230565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61012c6004803603602081101561010057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610254565b60405180821515815260200191505060405180910390f35b6101926004803603604081101561015a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050610274565b005b6101d6600480360360208110156101aa57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610331565b005b60008173ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16149050919050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60016020528060005260406000206000915054906101000a900460ff1681565b61027d336101d8565b61028657600080fd5b80600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f4c97694570a07277810af7e5669ffd5f6a2d6b74b6e9a274b8b870fd5114cf878260405180821515815260200191505060405180910390a25050565b61033a336101d8565b61034357600080fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505056fea2646970667358221220bd40506c3c0f1c6d9be89b10a514624b9559ef446de7ef8931f55f1d76c1207a64736f6c63430007040033",
  "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100575760003560e01c80632f54bf6e1461005c5780638da5cb5b146100b6578063da8c229e146100ea578063e0dba60f14610144578063f2fde38b14610194575b600080fd5b61009e6004803603602081101561007257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506101d8565b60405180821515815260200191505060405180910390f35b6100be610230565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61012c6004803603602081101561010057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610254565b60405180821515815260200191505060405180910390f35b6101926004803603604081101561015a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050610274565b005b6101d6600480360360208110156101aa57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610331565b005b60008173ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16149050919050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60016020528060005260406000206000915054906101000a900460ff1681565b61027d336101d8565b61028657600080fd5b80600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f4c97694570a07277810af7e5669ffd5f6a2d6b74b6e9a274b8b870fd5114cf878260405180821515815260200191505060405180910390a25050565b61033a336101d8565b61034357600080fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505056fea2646970667358221220bd40506c3c0f1c6d9be89b10a514624b9559ef446de7ef8931f55f1d76c1207a64736f6c63430007040033",
  "immutableReferences": {},
  "generatedSources": [],
  "deployedGeneratedSources": [],
  "sourceMap": "50:428:12:-:0;;;;;;;;;;;;;286:10:13;278:5;;:18;;;;;;;;;;;;;;;;;;50:428:12;;;;;;",
  "deployedSourceMap": "50:428:12:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;462:95:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;49:20;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;89:41:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;299:177;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;309:147:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;462:95;514:4;546;537:13;;:5;;;;;;;;;;:13;;;530:20;;462:95;;;:::o;49:20::-;;;;;;;;;;;;:::o;89:41:12:-;;;;;;;;;;;;;;;;;;;;;;:::o;299:177::-;203:19:13;211:10;203:7;:19::i;:::-;195:28;;;;;;409:7:12::1;383:11;:23;395:10;383:23;;;;;;;;;;;;;;;;:33;;;;;;;;;;;;;;;;;;449:10;431:38;;;461:7;431:38;;;;;;;;;;;;;;;;;;;;299:177:::0;;:::o;309:147:13:-;203:19;211:10;203:7;:19::i;:::-;195:28;;;;;;414:8:::1;386:37;;407:5;::::0;::::1;;;;;;;;386:37;;;;;;;;;;;;441:8;433:5;::::0;:16:::1;;;;;;;;;;;;;;;;;;309:147:::0;:::o",
  "source": "pragma solidity ^0.7.0;\n\nimport \"./Ownable.sol\";\n\ncontract Controllable is Ownable {\n    mapping(address=>bool) public controllers;\n\n    event ControllerChanged(address indexed controller, bool enabled);\n\n    modifier onlyController {\n        require(controllers[msg.sender]);\n        _;\n    }\n\n    function setController(address controller, bool enabled) public onlyOwner {\n        controllers[controller] = enabled;\n        emit ControllerChanged(controller, enabled);\n    }\n}\n",
  "sourcePath": "@ensdomains/root/contracts/Controllable.sol",
  "ast": {
    "absolutePath": "@ensdomains/root/contracts/Controllable.sol",
    "exportedSymbols": {
      "Controllable": [
        4004
      ],
      "Ownable": [
        4064
      ]
    },
    "id": 4005,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 3958,
        "literals": [
          "solidity",
          "^",
          "0.7",
          ".0"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:12"
      },
      {
        "absolutePath": "@ensdomains/root/contracts/Ownable.sol",
        "file": "./Ownable.sol",
        "id": 3959,
        "nodeType": "ImportDirective",
        "scope": 4005,
        "sourceUnit": 4065,
        "src": "25:23:12",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "abstract": false,
        "baseContracts": [
          {
            "baseName": {
              "id": 3960,
              "name": "Ownable",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 4064,
              "src": "75:7:12",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_Ownable_$4064",
                "typeString": "contract Ownable"
              }
            },
            "id": 3961,
            "nodeType": "InheritanceSpecifier",
            "src": "75:7:12"
          }
        ],
        "contractDependencies": [
          4064
        ],
        "contractKind": "contract",
        "fullyImplemented": true,
        "id": 4004,
        "linearizedBaseContracts": [
          4004,
          4064
        ],
        "name": "Controllable",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "constant": false,
            "functionSelector": "da8c229e",
            "id": 3965,
            "mutability": "mutable",
            "name": "controllers",
            "nodeType": "VariableDeclaration",
            "scope": 4004,
            "src": "89:41:12",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_address_$_t_bool_$",
              "typeString": "mapping(address => bool)"
            },
            "typeName": {
              "id": 3964,
              "keyType": {
                "id": 3962,
                "name": "address",
                "nodeType": "ElementaryTypeName",
                "src": "97:7:12",
                "typeDescriptions": {
                  "typeIdentifier": "t_address",
                  "typeString": "address"
                }
              },
              "nodeType": "Mapping",
              "src": "89:22:12",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_address_$_t_bool_$",
                "typeString": "mapping(address => bool)"
              },
              "valueType": {
                "id": 3963,
                "name": "bool",
                "nodeType": "ElementaryTypeName",
                "src": "106:4:12",
                "typeDescriptions": {
                  "typeIdentifier": "t_bool",
                  "typeString": "bool"
                }
              }
            },
            "visibility": "public"
          },
          {
            "anonymous": false,
            "id": 3971,
            "name": "ControllerChanged",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 3970,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 3967,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "controller",
                  "nodeType": "VariableDeclaration",
                  "scope": 3971,
                  "src": "161:26:12",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 3966,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "161:7:12",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 3969,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "enabled",
                  "nodeType": "VariableDeclaration",
                  "scope": 3971,
                  "src": "189:12:12",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 3968,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "189:4:12",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "160:42:12"
            },
            "src": "137:66:12"
          },
          {
            "body": {
              "id": 3981,
              "nodeType": "Block",
              "src": "233:60:12",
              "statements": [
                {
                  "expression": {
                    "arguments": [
                      {
                        "baseExpression": {
                          "id": 3974,
                          "name": "controllers",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 3965,
                          "src": "251:11:12",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_bool_$",
                            "typeString": "mapping(address => bool)"
                          }
                        },
                        "id": 3977,
                        "indexExpression": {
                          "expression": {
                            "id": 3975,
                            "name": "msg",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": -15,
                            "src": "263:3:12",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_message",
                              "typeString": "msg"
                            }
                          },
                          "id": 3976,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "sender",
                          "nodeType": "MemberAccess",
                          "src": "263:10:12",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "251:23:12",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      ],
                      "id": 3973,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        -18,
                        -18
                      ],
                      "referencedDeclaration": -18,
                      "src": "243:7:12",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                        "typeString": "function (bool) pure"
                      }
                    },
                    "id": 3978,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "243:32:12",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 3979,
                  "nodeType": "ExpressionStatement",
                  "src": "243:32:12"
                },
                {
                  "id": 3980,
                  "nodeType": "PlaceholderStatement",
                  "src": "285:1:12"
                }
              ]
            },
            "id": 3982,
            "name": "onlyController",
            "nodeType": "ModifierDefinition",
            "parameters": {
              "id": 3972,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "233:0:12"
            },
            "src": "209:84:12",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "body": {
              "id": 4002,
              "nodeType": "Block",
              "src": "373:103:12",
              "statements": [
                {
                  "expression": {
                    "id": 3995,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "baseExpression": {
                        "id": 3991,
                        "name": "controllers",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 3965,
                        "src": "383:11:12",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_address_$_t_bool_$",
                          "typeString": "mapping(address => bool)"
                        }
                      },
                      "id": 3993,
                      "indexExpression": {
                        "id": 3992,
                        "name": "controller",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 3984,
                        "src": "395:10:12",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "383:23:12",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "id": 3994,
                      "name": "enabled",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 3986,
                      "src": "409:7:12",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "src": "383:33:12",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 3996,
                  "nodeType": "ExpressionStatement",
                  "src": "383:33:12"
                },
                {
                  "eventCall": {
                    "arguments": [
                      {
                        "id": 3998,
                        "name": "controller",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 3984,
                        "src": "449:10:12",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "id": 3999,
                        "name": "enabled",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 3986,
                        "src": "461:7:12",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      ],
                      "id": 3997,
                      "name": "ControllerChanged",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 3971,
                      "src": "431:17:12",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bool_$returns$__$",
                        "typeString": "function (address,bool)"
                      }
                    },
                    "id": 4000,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "431:38:12",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 4001,
                  "nodeType": "EmitStatement",
                  "src": "426:43:12"
                }
              ]
            },
            "functionSelector": "e0dba60f",
            "id": 4003,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "id": 3989,
                "modifierName": {
                  "id": 3988,
                  "name": "onlyOwner",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 4025,
                  "src": "363:9:12",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$__$",
                    "typeString": "modifier ()"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "363:9:12"
              }
            ],
            "name": "setController",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 3987,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 3984,
                  "mutability": "mutable",
                  "name": "controller",
                  "nodeType": "VariableDeclaration",
                  "scope": 4003,
                  "src": "322:18:12",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 3983,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "322:7:12",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 3986,
                  "mutability": "mutable",
                  "name": "enabled",
                  "nodeType": "VariableDeclaration",
                  "scope": 4003,
                  "src": "342:12:12",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 3985,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "342:4:12",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "321:34:12"
            },
            "returnParameters": {
              "id": 3990,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "373:0:12"
            },
            "scope": 4004,
            "src": "299:177:12",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "public"
          }
        ],
        "scope": 4005,
        "src": "50:428:12"
      }
    ],
    "src": "0:479:12"
  },
  "legacyAST": {
    "attributes": {
      "absolutePath": "@ensdomains/root/contracts/Controllable.sol",
      "exportedSymbols": {
        "Controllable": [
          4004
        ],
        "Ownable": [
          4064
        ]
      }
    },
    "children": [
      {
        "attributes": {
          "literals": [
            "solidity",
            "^",
            "0.7",
            ".0"
          ]
        },
        "id": 3958,
        "name": "PragmaDirective",
        "src": "0:23:12"
      },
      {
        "attributes": {
          "SourceUnit": 4065,
          "absolutePath": "@ensdomains/root/contracts/Ownable.sol",
          "file": "./Ownable.sol",
          "scope": 4005,
          "symbolAliases": [
            null
          ],
          "unitAlias": ""
        },
        "id": 3959,
        "name": "ImportDirective",
        "src": "25:23:12"
      },
      {
        "attributes": {
          "abstract": false,
          "contractDependencies": [
            4064
          ],
          "contractKind": "contract",
          "fullyImplemented": true,
          "linearizedBaseContracts": [
            4004,
            4064
          ],
          "name": "Controllable",
          "scope": 4005
        },
        "children": [
          {
            "attributes": {},
            "children": [
              {
                "attributes": {
                  "name": "Ownable",
                  "referencedDeclaration": 4064,
                  "type": "contract Ownable"
                },
                "id": 3960,
                "name": "UserDefinedTypeName",
                "src": "75:7:12"
              }
            ],
            "id": 3961,
            "name": "InheritanceSpecifier",
            "src": "75:7:12"
          },
          {
            "attributes": {
              "constant": false,
              "functionSelector": "da8c229e",
              "mutability": "mutable",
              "name": "controllers",
              "scope": 4004,
              "stateVariable": true,
              "storageLocation": "default",
              "type": "mapping(address => bool)",
              "visibility": "public"
            },
            "children": [
              {
                "attributes": {
                  "type": "mapping(address => bool)"
                },
                "children": [
                  {
                    "attributes": {
                      "name": "address",
                      "type": "address"
                    },
                    "id": 3962,
                    "name": "ElementaryTypeName",
                    "src": "97:7:12"
                  },
                  {
                    "attributes": {
                      "name": "bool",
                      "type": "bool"
                    },
                    "id": 3963,
                    "name": "ElementaryTypeName",
                    "src": "106:4:12"
                  }
                ],
                "id": 3964,
                "name": "Mapping",
                "src": "89:22:12"
              }
            ],
            "id": 3965,
            "name": "VariableDeclaration",
            "src": "89:41:12"
          },
          {
            "attributes": {
              "anonymous": false,
              "name": "ControllerChanged"
            },
            "children": [
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "indexed": true,
                      "mutability": "mutable",
                      "name": "controller",
                      "scope": 3971,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "address",
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "address",
                          "stateMutability": "nonpayable",
                          "type": "address"
                        },
                        "id": 3966,
                        "name": "ElementaryTypeName",
                        "src": "161:7:12"
                      }
                    ],
                    "id": 3967,
                    "name": "VariableDeclaration",
                    "src": "161:26:12"
                  },
                  {
                    "attributes": {
                      "constant": false,
                      "indexed": false,
                      "mutability": "mutable",
                      "name": "enabled",
                      "scope": 3971,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "bool",
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "bool",
                          "type": "bool"
                        },
                        "id": 3968,
                        "name": "ElementaryTypeName",
                        "src": "189:4:12"
                      }
                    ],
                    "id": 3969,
                    "name": "VariableDeclaration",
                    "src": "189:12:12"
                  }
                ],
                "id": 3970,
                "name": "ParameterList",
                "src": "160:42:12"
              }
            ],
            "id": 3971,
            "name": "EventDefinition",
            "src": "137:66:12"
          },
          {
            "attributes": {
              "name": "onlyController",
              "virtual": false,
              "visibility": "internal"
            },
            "children": [
              {
                "attributes": {
                  "parameters": [
                    null
                  ]
                },
                "children": [],
                "id": 3972,
                "name": "ParameterList",
                "src": "233:0:12"
              },
              {
                "children": [
                  {
                    "children": [
                      {
                        "attributes": {
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "isStructConstructorCall": false,
                          "lValueRequested": false,
                          "names": [
                            null
                          ],
                          "tryCall": false,
                          "type": "tuple()",
                          "type_conversion": false
                        },
                        "children": [
                          {
                            "attributes": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                }
                              ],
                              "overloadedDeclarations": [
                                -18,
                                -18
                              ],
                              "referencedDeclaration": -18,
                              "type": "function (bool) pure",
                              "value": "require"
                            },
                            "id": 3973,
                            "name": "Identifier",
                            "src": "243:7:12"
                          },
                          {
                            "attributes": {
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "type": "bool"
                            },
                            "children": [
                              {
                                "attributes": {
                                  "overloadedDeclarations": [
                                    null
                                  ],
                                  "referencedDeclaration": 3965,
                                  "type": "mapping(address => bool)",
                                  "value": "controllers"
                                },
                                "id": 3974,
                                "name": "Identifier",
                                "src": "251:11:12"
                              },
                              {
                                "attributes": {
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "member_name": "sender",
                                  "type": "address payable"
                                },
                                "children": [
                                  {
                                    "attributes": {
                                      "overloadedDeclarations": [
                                        null
                                      ],
                                      "referencedDeclaration": -15,
                                      "type": "msg",
                                      "value": "msg"
                                    },
                                    "id": 3975,
                                    "name": "Identifier",
                                    "src": "263:3:12"
                                  }
                                ],
                                "id": 3976,
                                "name": "MemberAccess",
                                "src": "263:10:12"
                              }
                            ],
                            "id": 3977,
                            "name": "IndexAccess",
                            "src": "251:23:12"
                          }
                        ],
                        "id": 3978,
                        "name": "FunctionCall",
                        "src": "243:32:12"
                      }
                    ],
                    "id": 3979,
                    "name": "ExpressionStatement",
                    "src": "243:32:12"
                  },
                  {
                    "id": 3980,
                    "name": "PlaceholderStatement",
                    "src": "285:1:12"
                  }
                ],
                "id": 3981,
                "name": "Block",
                "src": "233:60:12"
              }
            ],
            "id": 3982,
            "name": "ModifierDefinition",
            "src": "209:84:12"
          },
          {
            "attributes": {
              "functionSelector": "e0dba60f",
              "implemented": true,
              "isConstructor": false,
              "kind": "function",
              "name": "setController",
              "scope": 4004,
              "stateMutability": "nonpayable",
              "virtual": false,
              "visibility": "public"
            },
            "children": [
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "mutability": "mutable",
                      "name": "controller",
                      "scope": 4003,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "address",
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "address",
                          "stateMutability": "nonpayable",
                          "type": "address"
                        },
                        "id": 3983,
                        "name": "ElementaryTypeName",
                        "src": "322:7:12"
                      }
                    ],
                    "id": 3984,
                    "name": "VariableDeclaration",
                    "src": "322:18:12"
                  },
                  {
                    "attributes": {
                      "constant": false,
                      "mutability": "mutable",
                      "name": "enabled",
                      "scope": 4003,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "bool",
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "bool",
                          "type": "bool"
                        },
                        "id": 3985,
                        "name": "ElementaryTypeName",
                        "src": "342:4:12"
                      }
                    ],
                    "id": 3986,
                    "name": "VariableDeclaration",
                    "src": "342:12:12"
                  }
                ],
                "id": 3987,
                "name": "ParameterList",
                "src": "321:34:12"
              },
              {
                "attributes": {
                  "parameters": [
                    null
                  ]
                },
                "children": [],
                "id": 3990,
                "name": "ParameterList",
                "src": "373:0:12"
              },
              {
                "attributes": {},
                "children": [
                  {
                    "attributes": {
                      "overloadedDeclarations": [
                        null
                      ],
                      "referencedDeclaration": 4025,
                      "type": "modifier ()",
                      "value": "onlyOwner"
                    },
                    "id": 3988,
                    "name": "Identifier",
                    "src": "363:9:12"
                  }
                ],
                "id": 3989,
                "name": "ModifierInvocation",
                "src": "363:9:12"
              },
              {
                "children": [
                  {
                    "children": [
                      {
                        "attributes": {
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "operator": "=",
                          "type": "bool"
                        },
                        "children": [
                          {
                            "attributes": {
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": true,
                              "type": "bool"
                            },
                            "children": [
                              {
                                "attributes": {
                                  "overloadedDeclarations": [
                                    null
                                  ],
                                  "referencedDeclaration": 3965,
                                  "type": "mapping(address => bool)",
                                  "value": "controllers"
                                },
                                "id": 3991,
                                "name": "Identifier",
                                "src": "383:11:12"
                              },
                              {
                                "attributes": {
                                  "overloadedDeclarations": [
                                    null
                                  ],
                                  "referencedDeclaration": 3984,
                                  "type": "address",
                                  "value": "controller"
                                },
                                "id": 3992,
                                "name": "Identifier",
                                "src": "395:10:12"
                              }
                            ],
                            "id": 3993,
                            "name": "IndexAccess",
                            "src": "383:23:12"
                          },
                          {
                            "attributes": {
                              "overloadedDeclarations": [
                                null
                              ],
                              "referencedDeclaration": 3986,
                              "type": "bool",
                              "value": "enabled"
                            },
                            "id": 3994,
                            "name": "Identifier",
                            "src": "409:7:12"
                          }
                        ],
                        "id": 3995,
                        "name": "Assignment",
                        "src": "383:33:12"
                      }
                    ],
                    "id": 3996,
                    "name": "ExpressionStatement",
                    "src": "383:33:12"
                  },
                  {
                    "children": [
                      {
                        "attributes": {
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "isStructConstructorCall": false,
                          "lValueRequested": false,
                          "names": [
                            null
                          ],
                          "tryCall": false,
                          "type": "tuple()",
                          "type_conversion": false
                        },
                        "children": [
                          {
                            "attributes": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                },
                                {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                }
                              ],
                              "overloadedDeclarations": [
                                null
                              ],
                              "referencedDeclaration": 3971,
                              "type": "function (address,bool)",
                              "value": "ControllerChanged"
                            },
                            "id": 3997,
                            "name": "Identifier",
                            "src": "431:17:12"
                          },
                          {
                            "attributes": {
                              "overloadedDeclarations": [
                                null
                              ],
                              "referencedDeclaration": 3984,
                              "type": "address",
                              "value": "controller"
                            },
                            "id": 3998,
                            "name": "Identifier",
                            "src": "449:10:12"
                          },
                          {
                            "attributes": {
                              "overloadedDeclarations": [
                                null
                              ],
                              "referencedDeclaration": 3986,
                              "type": "bool",
                              "value": "enabled"
                            },
                            "id": 3999,
                            "name": "Identifier",
                            "src": "461:7:12"
                          }
                        ],
                        "id": 4000,
                        "name": "FunctionCall",
                        "src": "431:38:12"
                      }
                    ],
                    "id": 4001,
                    "name": "EmitStatement",
                    "src": "426:43:12"
                  }
                ],
                "id": 4002,
                "name": "Block",
                "src": "373:103:12"
              }
            ],
            "id": 4003,
            "name": "FunctionDefinition",
            "src": "299:177:12"
          }
        ],
        "id": 4004,
        "name": "ContractDefinition",
        "src": "50:428:12"
      }
    ],
    "id": 4005,
    "name": "SourceUnit",
    "src": "0:479:12"
  },
  "compiler": {
    "name": "solc",
    "version": "0.7.4+commit.3f05b770.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.3.3",
  "updatedAt": "2021-01-21T03:26:26.191Z",
  "devdoc": {
    "kind": "dev",
    "methods": {},
    "version": 1
  },
  "userdoc": {
    "kind": "user",
    "methods": {},
    "version": 1
  }
}