{
  "contractName": "ResolverBase",
  "abi": [
    {
      "constant": true,
      "inputs": [
        {
          "name": "interfaceID",
          "type": "bytes4"
        }
      ],
      "name": "supportsInterface",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "pure",
      "type": "function"
    }
  ],
  "metadata": "{\"compiler\":{\"version\":\"0.5.8+commit.23d335f2\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":true,\"inputs\":[{\"name\":\"interfaceID\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"pure\",\"type\":\"function\"}],\"devdoc\":{\"methods\":{}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"@ensdomains/resolver/contracts/ResolverBase.sol\":\"ResolverBase\"},\"evmVersion\":\"petersburg\",\"libraries\":{},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"@ensdomains/resolver/contracts/ResolverBase.sol\":{\"keccak256\":\"0xfc7d550960829127576d6fc3080513d74ef18a6d7057d0d9262ce071890053e8\",\"urls\":[\"bzzr://81e5565403a67f558d12c787f53f40ff19a5da99c648f8a4f99f2caa449ca0e6\"]}},\"version\":1}",
  "bytecode": "0x",
  "deployedBytecode": "0x",
  "sourceMap": "",
  "deployedSourceMap": "",
  "source": "pragma solidity ^0.5.0;\n\ncontract ResolverBase {\n    bytes4 private constant INTERFACE_META_ID = 0x01ffc9a7;\n\n    function supportsInterface(bytes4 interfaceID) public pure returns(bool) {\n        return interfaceID == INTERFACE_META_ID;\n    }\n\n    function isAuthorised(bytes32 node) internal view returns(bool);\n\n    modifier authorised(bytes32 node) {\n        require(isAuthorised(node));\n        _;\n    }\n\n    function bytesToAddress(bytes memory b) internal pure returns(address payable a) {\n        require(b.length == 20);\n        assembly {\n            a := div(mload(add(b, 32)), exp(256, 12))\n        }\n    }\n\n    function addressToBytes(address a) internal pure returns(bytes memory b) {\n        b = new bytes(20);\n        assembly {\n            mstore(add(b, 32), mul(a, exp(256, 12)))\n        }\n    }\n}\n",
  "sourcePath": "@ensdomains/resolver/contracts/ResolverBase.sol",
  "ast": {
    "absolutePath": "@ensdomains/resolver/contracts/ResolverBase.sol",
    "exportedSymbols": {
      "ResolverBase": [
        9452
      ]
    },
    "id": 9453,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 9385,
        "literals": [
          "solidity",
          "^",
          "0.5",
          ".0"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:34"
      },
      {
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": false,
        "id": 9452,
        "linearizedBaseContracts": [
          9452
        ],
        "name": "ResolverBase",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "constant": true,
            "id": 9388,
            "name": "INTERFACE_META_ID",
            "nodeType": "VariableDeclaration",
            "scope": 9452,
            "src": "53:54:34",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_bytes4",
              "typeString": "bytes4"
            },
            "typeName": {
              "id": 9386,
              "name": "bytes4",
              "nodeType": "ElementaryTypeName",
              "src": "53:6:34",
              "typeDescriptions": {
                "typeIdentifier": "t_bytes4",
                "typeString": "bytes4"
              }
            },
            "value": {
              "argumentTypes": null,
              "hexValue": "30783031666663396137",
              "id": 9387,
              "isConstant": false,
              "isLValue": false,
              "isPure": true,
              "kind": "number",
              "lValueRequested": false,
              "nodeType": "Literal",
              "src": "97:10:34",
              "subdenomination": null,
              "typeDescriptions": {
                "typeIdentifier": "t_rational_33540519_by_1",
                "typeString": "int_const 33540519"
              },
              "value": "0x01ffc9a7"
            },
            "visibility": "private"
          },
          {
            "body": {
              "id": 9399,
              "nodeType": "Block",
              "src": "187:56:34",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_bytes4",
                      "typeString": "bytes4"
                    },
                    "id": 9397,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 9395,
                      "name": "interfaceID",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9390,
                      "src": "204:11:34",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes4",
                        "typeString": "bytes4"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "argumentTypes": null,
                      "id": 9396,
                      "name": "INTERFACE_META_ID",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9388,
                      "src": "219:17:34",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes4",
                        "typeString": "bytes4"
                      }
                    },
                    "src": "204:32:34",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "functionReturnParameters": 9394,
                  "id": 9398,
                  "nodeType": "Return",
                  "src": "197:39:34"
                }
              ]
            },
            "documentation": null,
            "id": 9400,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "supportsInterface",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 9391,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9390,
                  "name": "interfaceID",
                  "nodeType": "VariableDeclaration",
                  "scope": 9400,
                  "src": "141:18:34",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes4",
                    "typeString": "bytes4"
                  },
                  "typeName": {
                    "id": 9389,
                    "name": "bytes4",
                    "nodeType": "ElementaryTypeName",
                    "src": "141:6:34",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes4",
                      "typeString": "bytes4"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "140:20:34"
            },
            "returnParameters": {
              "id": 9394,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9393,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 9400,
                  "src": "181:4:34",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 9392,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "181:4:34",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "180:6:34"
            },
            "scope": 9452,
            "src": "114:129:34",
            "stateMutability": "pure",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": null,
            "documentation": null,
            "id": 9407,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "isAuthorised",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 9403,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9402,
                  "name": "node",
                  "nodeType": "VariableDeclaration",
                  "scope": 9407,
                  "src": "271:12:34",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 9401,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "271:7:34",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "270:14:34"
            },
            "returnParameters": {
              "id": 9406,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9405,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 9407,
                  "src": "307:4:34",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 9404,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "307:4:34",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "306:6:34"
            },
            "scope": 9452,
            "src": "249:64:34",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "internal"
          },
          {
            "body": {
              "id": 9418,
              "nodeType": "Block",
              "src": "353:55:34",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 9413,
                            "name": "node",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 9409,
                            "src": "384:4:34",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bytes32",
                              "typeString": "bytes32"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_bytes32",
                              "typeString": "bytes32"
                            }
                          ],
                          "id": 9412,
                          "name": "isAuthorised",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9407,
                          "src": "371:12:34",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_bool_$",
                            "typeString": "function (bytes32) view returns (bool)"
                          }
                        },
                        "id": 9414,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "371:18:34",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      ],
                      "id": 9411,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        12911,
                        12912
                      ],
                      "referencedDeclaration": 12911,
                      "src": "363:7:34",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                        "typeString": "function (bool) pure"
                      }
                    },
                    "id": 9415,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "363:27:34",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 9416,
                  "nodeType": "ExpressionStatement",
                  "src": "363:27:34"
                },
                {
                  "id": 9417,
                  "nodeType": "PlaceholderStatement",
                  "src": "400:1:34"
                }
              ]
            },
            "documentation": null,
            "id": 9419,
            "name": "authorised",
            "nodeType": "ModifierDefinition",
            "parameters": {
              "id": 9410,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9409,
                  "name": "node",
                  "nodeType": "VariableDeclaration",
                  "scope": 9419,
                  "src": "339:12:34",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 9408,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "339:7:34",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "338:14:34"
            },
            "src": "319:89:34",
            "visibility": "internal"
          },
          {
            "body": {
              "id": 9434,
              "nodeType": "Block",
              "src": "495:123:34",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 9430,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 9427,
                            "name": "b",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 9421,
                            "src": "513:1:34",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bytes_memory_ptr",
                              "typeString": "bytes memory"
                            }
                          },
                          "id": 9428,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "length",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "513:8:34",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "==",
                        "rightExpression": {
                          "argumentTypes": null,
                          "hexValue": "3230",
                          "id": 9429,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "525:2:34",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_20_by_1",
                            "typeString": "int_const 20"
                          },
                          "value": "20"
                        },
                        "src": "513:14:34",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      ],
                      "id": 9426,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        12911,
                        12912
                      ],
                      "referencedDeclaration": 12911,
                      "src": "505:7:34",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                        "typeString": "function (bool) pure"
                      }
                    },
                    "id": 9431,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "505:23:34",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 9432,
                  "nodeType": "ExpressionStatement",
                  "src": "505:23:34"
                },
                {
                  "externalReferences": [
                    {
                      "a": {
                        "declaration": 9424,
                        "isOffset": false,
                        "isSlot": false,
                        "src": "561:1:34",
                        "valueSize": 1
                      }
                    },
                    {
                      "b": {
                        "declaration": 9421,
                        "isOffset": false,
                        "isSlot": false,
                        "src": "580:1:34",
                        "valueSize": 1
                      }
                    }
                  ],
                  "id": 9433,
                  "nodeType": "InlineAssembly",
                  "operations": "{\n    a := div(mload(add(b, 32)), exp(256, 12))\n}",
                  "src": "538:74:34"
                }
              ]
            },
            "documentation": null,
            "id": 9435,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "bytesToAddress",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 9422,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9421,
                  "name": "b",
                  "nodeType": "VariableDeclaration",
                  "scope": 9435,
                  "src": "438:14:34",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_memory_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 9420,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "438:5:34",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "437:16:34"
            },
            "returnParameters": {
              "id": 9425,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9424,
                  "name": "a",
                  "nodeType": "VariableDeclaration",
                  "scope": 9435,
                  "src": "476:17:34",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address_payable",
                    "typeString": "address payable"
                  },
                  "typeName": {
                    "id": 9423,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "476:15:34",
                    "stateMutability": "payable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address_payable",
                      "typeString": "address payable"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "475:19:34"
            },
            "scope": 9452,
            "src": "414:204:34",
            "stateMutability": "pure",
            "superFunction": null,
            "visibility": "internal"
          },
          {
            "body": {
              "id": 9450,
              "nodeType": "Block",
              "src": "697:116:34",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 9447,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 9442,
                      "name": "b",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9440,
                      "src": "707:1:34",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes_memory_ptr",
                        "typeString": "bytes memory"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "hexValue": "3230",
                          "id": 9445,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "721:2:34",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_20_by_1",
                            "typeString": "int_const 20"
                          },
                          "value": "20"
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_rational_20_by_1",
                            "typeString": "int_const 20"
                          }
                        ],
                        "id": 9444,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "lValueRequested": false,
                        "nodeType": "NewExpression",
                        "src": "711:9:34",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_$",
                          "typeString": "function (uint256) pure returns (bytes memory)"
                        },
                        "typeName": {
                          "id": 9443,
                          "name": "bytes",
                          "nodeType": "ElementaryTypeName",
                          "src": "715:5:34",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes_storage_ptr",
                            "typeString": "bytes"
                          }
                        }
                      },
                      "id": 9446,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "711:13:34",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes_memory",
                        "typeString": "bytes memory"
                      }
                    },
                    "src": "707:17:34",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_memory_ptr",
                      "typeString": "bytes memory"
                    }
                  },
                  "id": 9448,
                  "nodeType": "ExpressionStatement",
                  "src": "707:17:34"
                },
                {
                  "externalReferences": [
                    {
                      "b": {
                        "declaration": 9440,
                        "isOffset": false,
                        "isSlot": false,
                        "src": "768:1:34",
                        "valueSize": 1
                      }
                    },
                    {
                      "a": {
                        "declaration": 9437,
                        "isOffset": false,
                        "isSlot": false,
                        "src": "780:1:34",
                        "valueSize": 1
                      }
                    }
                  ],
                  "id": 9449,
                  "nodeType": "InlineAssembly",
                  "operations": "{\n    mstore(add(b, 32), mul(a, exp(256, 12)))\n}",
                  "src": "734:73:34"
                }
              ]
            },
            "documentation": null,
            "id": 9451,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "addressToBytes",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 9438,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9437,
                  "name": "a",
                  "nodeType": "VariableDeclaration",
                  "scope": 9451,
                  "src": "648:9:34",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 9436,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "648:7:34",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "647:11:34"
            },
            "returnParameters": {
              "id": 9441,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9440,
                  "name": "b",
                  "nodeType": "VariableDeclaration",
                  "scope": 9451,
                  "src": "681:14:34",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_memory_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 9439,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "681:5:34",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "680:16:34"
            },
            "scope": 9452,
            "src": "624:189:34",
            "stateMutability": "pure",
            "superFunction": null,
            "visibility": "internal"
          }
        ],
        "scope": 9453,
        "src": "25:790:34"
      }
    ],
    "src": "0:816:34"
  },
  "legacyAST": {
    "absolutePath": "@ensdomains/resolver/contracts/ResolverBase.sol",
    "exportedSymbols": {
      "ResolverBase": [
        9452
      ]
    },
    "id": 9453,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 9385,
        "literals": [
          "solidity",
          "^",
          "0.5",
          ".0"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:34"
      },
      {
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": false,
        "id": 9452,
        "linearizedBaseContracts": [
          9452
        ],
        "name": "ResolverBase",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "constant": true,
            "id": 9388,
            "name": "INTERFACE_META_ID",
            "nodeType": "VariableDeclaration",
            "scope": 9452,
            "src": "53:54:34",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_bytes4",
              "typeString": "bytes4"
            },
            "typeName": {
              "id": 9386,
              "name": "bytes4",
              "nodeType": "ElementaryTypeName",
              "src": "53:6:34",
              "typeDescriptions": {
                "typeIdentifier": "t_bytes4",
                "typeString": "bytes4"
              }
            },
            "value": {
              "argumentTypes": null,
              "hexValue": "30783031666663396137",
              "id": 9387,
              "isConstant": false,
              "isLValue": false,
              "isPure": true,
              "kind": "number",
              "lValueRequested": false,
              "nodeType": "Literal",
              "src": "97:10:34",
              "subdenomination": null,
              "typeDescriptions": {
                "typeIdentifier": "t_rational_33540519_by_1",
                "typeString": "int_const 33540519"
              },
              "value": "0x01ffc9a7"
            },
            "visibility": "private"
          },
          {
            "body": {
              "id": 9399,
              "nodeType": "Block",
              "src": "187:56:34",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_bytes4",
                      "typeString": "bytes4"
                    },
                    "id": 9397,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 9395,
                      "name": "interfaceID",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9390,
                      "src": "204:11:34",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes4",
                        "typeString": "bytes4"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "argumentTypes": null,
                      "id": 9396,
                      "name": "INTERFACE_META_ID",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9388,
                      "src": "219:17:34",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes4",
                        "typeString": "bytes4"
                      }
                    },
                    "src": "204:32:34",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "functionReturnParameters": 9394,
                  "id": 9398,
                  "nodeType": "Return",
                  "src": "197:39:34"
                }
              ]
            },
            "documentation": null,
            "id": 9400,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "supportsInterface",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 9391,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9390,
                  "name": "interfaceID",
                  "nodeType": "VariableDeclaration",
                  "scope": 9400,
                  "src": "141:18:34",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes4",
                    "typeString": "bytes4"
                  },
                  "typeName": {
                    "id": 9389,
                    "name": "bytes4",
                    "nodeType": "ElementaryTypeName",
                    "src": "141:6:34",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes4",
                      "typeString": "bytes4"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "140:20:34"
            },
            "returnParameters": {
              "id": 9394,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9393,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 9400,
                  "src": "181:4:34",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 9392,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "181:4:34",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "180:6:34"
            },
            "scope": 9452,
            "src": "114:129:34",
            "stateMutability": "pure",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": null,
            "documentation": null,
            "id": 9407,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "isAuthorised",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 9403,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9402,
                  "name": "node",
                  "nodeType": "VariableDeclaration",
                  "scope": 9407,
                  "src": "271:12:34",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 9401,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "271:7:34",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "270:14:34"
            },
            "returnParameters": {
              "id": 9406,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9405,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 9407,
                  "src": "307:4:34",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 9404,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "307:4:34",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "306:6:34"
            },
            "scope": 9452,
            "src": "249:64:34",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "internal"
          },
          {
            "body": {
              "id": 9418,
              "nodeType": "Block",
              "src": "353:55:34",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 9413,
                            "name": "node",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 9409,
                            "src": "384:4:34",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bytes32",
                              "typeString": "bytes32"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_bytes32",
                              "typeString": "bytes32"
                            }
                          ],
                          "id": 9412,
                          "name": "isAuthorised",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9407,
                          "src": "371:12:34",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_bool_$",
                            "typeString": "function (bytes32) view returns (bool)"
                          }
                        },
                        "id": 9414,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "371:18:34",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      ],
                      "id": 9411,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        12911,
                        12912
                      ],
                      "referencedDeclaration": 12911,
                      "src": "363:7:34",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                        "typeString": "function (bool) pure"
                      }
                    },
                    "id": 9415,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "363:27:34",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 9416,
                  "nodeType": "ExpressionStatement",
                  "src": "363:27:34"
                },
                {
                  "id": 9417,
                  "nodeType": "PlaceholderStatement",
                  "src": "400:1:34"
                }
              ]
            },
            "documentation": null,
            "id": 9419,
            "name": "authorised",
            "nodeType": "ModifierDefinition",
            "parameters": {
              "id": 9410,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9409,
                  "name": "node",
                  "nodeType": "VariableDeclaration",
                  "scope": 9419,
                  "src": "339:12:34",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 9408,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "339:7:34",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "338:14:34"
            },
            "src": "319:89:34",
            "visibility": "internal"
          },
          {
            "body": {
              "id": 9434,
              "nodeType": "Block",
              "src": "495:123:34",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 9430,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 9427,
                            "name": "b",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 9421,
                            "src": "513:1:34",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bytes_memory_ptr",
                              "typeString": "bytes memory"
                            }
                          },
                          "id": 9428,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "length",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "513:8:34",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "==",
                        "rightExpression": {
                          "argumentTypes": null,
                          "hexValue": "3230",
                          "id": 9429,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "525:2:34",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_20_by_1",
                            "typeString": "int_const 20"
                          },
                          "value": "20"
                        },
                        "src": "513:14:34",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      ],
                      "id": 9426,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        12911,
                        12912
                      ],
                      "referencedDeclaration": 12911,
                      "src": "505:7:34",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                        "typeString": "function (bool) pure"
                      }
                    },
                    "id": 9431,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "505:23:34",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 9432,
                  "nodeType": "ExpressionStatement",
                  "src": "505:23:34"
                },
                {
                  "externalReferences": [
                    {
                      "a": {
                        "declaration": 9424,
                        "isOffset": false,
                        "isSlot": false,
                        "src": "561:1:34",
                        "valueSize": 1
                      }
                    },
                    {
                      "b": {
                        "declaration": 9421,
                        "isOffset": false,
                        "isSlot": false,
                        "src": "580:1:34",
                        "valueSize": 1
                      }
                    }
                  ],
                  "id": 9433,
                  "nodeType": "InlineAssembly",
                  "operations": "{\n    a := div(mload(add(b, 32)), exp(256, 12))\n}",
                  "src": "538:74:34"
                }
              ]
            },
            "documentation": null,
            "id": 9435,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "bytesToAddress",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 9422,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9421,
                  "name": "b",
                  "nodeType": "VariableDeclaration",
                  "scope": 9435,
                  "src": "438:14:34",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_memory_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 9420,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "438:5:34",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "437:16:34"
            },
            "returnParameters": {
              "id": 9425,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9424,
                  "name": "a",
                  "nodeType": "VariableDeclaration",
                  "scope": 9435,
                  "src": "476:17:34",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address_payable",
                    "typeString": "address payable"
                  },
                  "typeName": {
                    "id": 9423,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "476:15:34",
                    "stateMutability": "payable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address_payable",
                      "typeString": "address payable"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "475:19:34"
            },
            "scope": 9452,
            "src": "414:204:34",
            "stateMutability": "pure",
            "superFunction": null,
            "visibility": "internal"
          },
          {
            "body": {
              "id": 9450,
              "nodeType": "Block",
              "src": "697:116:34",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 9447,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 9442,
                      "name": "b",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9440,
                      "src": "707:1:34",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes_memory_ptr",
                        "typeString": "bytes memory"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "hexValue": "3230",
                          "id": 9445,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "721:2:34",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_20_by_1",
                            "typeString": "int_const 20"
                          },
                          "value": "20"
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_rational_20_by_1",
                            "typeString": "int_const 20"
                          }
                        ],
                        "id": 9444,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "lValueRequested": false,
                        "nodeType": "NewExpression",
                        "src": "711:9:34",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_$",
                          "typeString": "function (uint256) pure returns (bytes memory)"
                        },
                        "typeName": {
                          "id": 9443,
                          "name": "bytes",
                          "nodeType": "ElementaryTypeName",
                          "src": "715:5:34",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes_storage_ptr",
                            "typeString": "bytes"
                          }
                        }
                      },
                      "id": 9446,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "711:13:34",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes_memory",
                        "typeString": "bytes memory"
                      }
                    },
                    "src": "707:17:34",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_memory_ptr",
                      "typeString": "bytes memory"
                    }
                  },
                  "id": 9448,
                  "nodeType": "ExpressionStatement",
                  "src": "707:17:34"
                },
                {
                  "externalReferences": [
                    {
                      "b": {
                        "declaration": 9440,
                        "isOffset": false,
                        "isSlot": false,
                        "src": "768:1:34",
                        "valueSize": 1
                      }
                    },
                    {
                      "a": {
                        "declaration": 9437,
                        "isOffset": false,
                        "isSlot": false,
                        "src": "780:1:34",
                        "valueSize": 1
                      }
                    }
                  ],
                  "id": 9449,
                  "nodeType": "InlineAssembly",
                  "operations": "{\n    mstore(add(b, 32), mul(a, exp(256, 12)))\n}",
                  "src": "734:73:34"
                }
              ]
            },
            "documentation": null,
            "id": 9451,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "addressToBytes",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 9438,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9437,
                  "name": "a",
                  "nodeType": "VariableDeclaration",
                  "scope": 9451,
                  "src": "648:9:34",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 9436,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "648:7:34",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "647:11:34"
            },
            "returnParameters": {
              "id": 9441,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9440,
                  "name": "b",
                  "nodeType": "VariableDeclaration",
                  "scope": 9451,
                  "src": "681:14:34",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_memory_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 9439,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "681:5:34",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "680:16:34"
            },
            "scope": 9452,
            "src": "624:189:34",
            "stateMutability": "pure",
            "superFunction": null,
            "visibility": "internal"
          }
        ],
        "scope": 9453,
        "src": "25:790:34"
      }
    ],
    "src": "0:816:34"
  },
  "compiler": {
    "name": "solc",
    "version": "0.5.8+commit.23d335f2.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.0.13",
  "updatedAt": "2020-03-31T16:16:11.979Z",
  "devdoc": {
    "methods": {}
  },
  "userdoc": {
    "methods": {}
  }
}