{
  "contractName": "RegistrarInterface",
  "abi": [
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "bytes32",
          "name": "label",
          "type": "bytes32"
        }
      ],
      "name": "DomainConfigured",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "bytes32",
          "name": "label",
          "type": "bytes32"
        }
      ],
      "name": "DomainUnlisted",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "bytes32",
          "name": "label",
          "type": "bytes32"
        },
        {
          "indexed": false,
          "internalType": "string",
          "name": "subdomain",
          "type": "string"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "owner",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "referrer",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "price",
          "type": "uint256"
        }
      ],
      "name": "NewRegistration",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "bytes32",
          "name": "label",
          "type": "bytes32"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "oldOwner",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "newOwner",
          "type": "address"
        }
      ],
      "name": "OwnerChanged",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "bytes32",
          "name": "label",
          "type": "bytes32"
        },
        {
          "indexed": false,
          "internalType": "string",
          "name": "subdomain",
          "type": "string"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "expirationDate",
          "type": "uint256"
        }
      ],
      "name": "RentPaid",
      "type": "event"
    },
    {
      "constant": true,
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "label",
          "type": "bytes32"
        },
        {
          "internalType": "string",
          "name": "subdomain",
          "type": "string"
        }
      ],
      "name": "query",
      "outputs": [
        {
          "internalType": "string",
          "name": "domain",
          "type": "string"
        },
        {
          "internalType": "uint256",
          "name": "signupFee",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "rent",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "referralFeePPM",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "label",
          "type": "bytes32"
        },
        {
          "internalType": "string",
          "name": "subdomain",
          "type": "string"
        },
        {
          "internalType": "address",
          "name": "owner",
          "type": "address"
        },
        {
          "internalType": "address payable",
          "name": "referrer",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "resolver",
          "type": "address"
        }
      ],
      "name": "register",
      "outputs": [],
      "payable": true,
      "stateMutability": "payable",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "label",
          "type": "bytes32"
        },
        {
          "internalType": "string",
          "name": "subdomain",
          "type": "string"
        }
      ],
      "name": "rentDue",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "timestamp",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "label",
          "type": "bytes32"
        },
        {
          "internalType": "string",
          "name": "subdomain",
          "type": "string"
        }
      ],
      "name": "payRent",
      "outputs": [],
      "payable": true,
      "stateMutability": "payable",
      "type": "function"
    }
  ],
  "metadata": "{\"compiler\":{\"version\":\"0.5.16+commit.9c3226ce\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"label\",\"type\":\"bytes32\"}],\"name\":\"DomainConfigured\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"label\",\"type\":\"bytes32\"}],\"name\":\"DomainUnlisted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"label\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"subdomain\",\"type\":\"string\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"referrer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"}],\"name\":\"NewRegistration\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"label\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnerChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"label\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"subdomain\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"expirationDate\",\"type\":\"uint256\"}],\"name\":\"RentPaid\",\"type\":\"event\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"label\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"subdomain\",\"type\":\"string\"}],\"name\":\"payRent\",\"outputs\":[],\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"label\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"subdomain\",\"type\":\"string\"}],\"name\":\"query\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"domain\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"signupFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"rent\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"referralFeePPM\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"label\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"subdomain\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address payable\",\"name\":\"referrer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"resolver\",\"type\":\"address\"}],\"name\":\"register\",\"outputs\":[],\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"label\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"subdomain\",\"type\":\"string\"}],\"name\":\"rentDue\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"methods\":{}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"@ensdomains/subdomain-registrar/contracts/RegistrarInterface.sol\":\"RegistrarInterface\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"@ensdomains/subdomain-registrar/contracts/RegistrarInterface.sol\":{\"keccak256\":\"0x32eb0addc992b12a37b1fa94a5666bd540037419a3c02d2ba7537b556503d810\",\"urls\":[\"bzz-raw://c7da50663daa8678c844584ca7cf45edc0cf8139686051e1aab079c94027bb10\",\"dweb:/ipfs/Qmd8s5aQg98KyXXn4tEqyFDnTozwRQEBChZxWvwEGu5QJi\"]}},\"version\":1}",
  "bytecode": "0x",
  "deployedBytecode": "0x",
  "sourceMap": "",
  "deployedSourceMap": "",
  "source": "pragma solidity ^0.5.0;\n\ncontract RegistrarInterface {\n    event OwnerChanged(bytes32 indexed label, address indexed oldOwner, address indexed newOwner);\n    event DomainConfigured(bytes32 indexed label);\n    event DomainUnlisted(bytes32 indexed label);\n    event NewRegistration(bytes32 indexed label, string subdomain, address indexed owner, address indexed referrer, uint price);\n    event RentPaid(bytes32 indexed label, string subdomain, uint amount, uint expirationDate);\n\n    // InterfaceID of these four methods is 0xc1b15f5a\n    function query(bytes32 label, string calldata subdomain) external view returns (string memory domain, uint signupFee, uint rent, uint referralFeePPM);\n    function register(bytes32 label, string calldata subdomain, address owner, address payable referrer, address resolver) external payable;\n\n    function rentDue(bytes32 label, string calldata subdomain) external view returns (uint timestamp);\n    function payRent(bytes32 label, string calldata subdomain) external payable;\n}\n",
  "sourcePath": "@ensdomains/subdomain-registrar/contracts/RegistrarInterface.sol",
  "ast": {
    "absolutePath": "@ensdomains/subdomain-registrar/contracts/RegistrarInterface.sol",
    "exportedSymbols": {
      "RegistrarInterface": [
        11881
      ]
    },
    "id": 11882,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 11798,
        "literals": [
          "solidity",
          "^",
          "0.5",
          ".0"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:45"
      },
      {
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": false,
        "id": 11881,
        "linearizedBaseContracts": [
          11881
        ],
        "name": "RegistrarInterface",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "anonymous": false,
            "documentation": null,
            "id": 11806,
            "name": "OwnerChanged",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 11805,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 11800,
                  "indexed": true,
                  "name": "label",
                  "nodeType": "VariableDeclaration",
                  "scope": 11806,
                  "src": "78:21:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 11799,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "78:7:45",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11802,
                  "indexed": true,
                  "name": "oldOwner",
                  "nodeType": "VariableDeclaration",
                  "scope": 11806,
                  "src": "101:24:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 11801,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "101:7:45",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11804,
                  "indexed": true,
                  "name": "newOwner",
                  "nodeType": "VariableDeclaration",
                  "scope": 11806,
                  "src": "127:24:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 11803,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "127:7:45",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "77:75:45"
            },
            "src": "59:94:45"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 11810,
            "name": "DomainConfigured",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 11809,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 11808,
                  "indexed": true,
                  "name": "label",
                  "nodeType": "VariableDeclaration",
                  "scope": 11810,
                  "src": "181:21:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 11807,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "181:7:45",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "180:23:45"
            },
            "src": "158:46:45"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 11814,
            "name": "DomainUnlisted",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 11813,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 11812,
                  "indexed": true,
                  "name": "label",
                  "nodeType": "VariableDeclaration",
                  "scope": 11814,
                  "src": "230:21:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 11811,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "230:7:45",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "229:23:45"
            },
            "src": "209:44:45"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 11826,
            "name": "NewRegistration",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 11825,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 11816,
                  "indexed": true,
                  "name": "label",
                  "nodeType": "VariableDeclaration",
                  "scope": 11826,
                  "src": "280:21:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 11815,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "280:7:45",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11818,
                  "indexed": false,
                  "name": "subdomain",
                  "nodeType": "VariableDeclaration",
                  "scope": 11826,
                  "src": "303:16:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 11817,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "303:6:45",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11820,
                  "indexed": true,
                  "name": "owner",
                  "nodeType": "VariableDeclaration",
                  "scope": 11826,
                  "src": "321:21:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 11819,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "321:7:45",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11822,
                  "indexed": true,
                  "name": "referrer",
                  "nodeType": "VariableDeclaration",
                  "scope": 11826,
                  "src": "344:24:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 11821,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "344:7:45",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11824,
                  "indexed": false,
                  "name": "price",
                  "nodeType": "VariableDeclaration",
                  "scope": 11826,
                  "src": "370:10:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 11823,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "370:4:45",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "279:102:45"
            },
            "src": "258:124:45"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 11836,
            "name": "RentPaid",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 11835,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 11828,
                  "indexed": true,
                  "name": "label",
                  "nodeType": "VariableDeclaration",
                  "scope": 11836,
                  "src": "402:21:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 11827,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "402:7:45",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11830,
                  "indexed": false,
                  "name": "subdomain",
                  "nodeType": "VariableDeclaration",
                  "scope": 11836,
                  "src": "425:16:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 11829,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "425:6:45",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11832,
                  "indexed": false,
                  "name": "amount",
                  "nodeType": "VariableDeclaration",
                  "scope": 11836,
                  "src": "443:11:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 11831,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "443:4:45",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11834,
                  "indexed": false,
                  "name": "expirationDate",
                  "nodeType": "VariableDeclaration",
                  "scope": 11836,
                  "src": "456:19:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 11833,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "456:4:45",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "401:75:45"
            },
            "src": "387:90:45"
          },
          {
            "body": null,
            "documentation": null,
            "id": 11851,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "query",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 11841,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 11838,
                  "name": "label",
                  "nodeType": "VariableDeclaration",
                  "scope": 11851,
                  "src": "553:13:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 11837,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "553:7:45",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11840,
                  "name": "subdomain",
                  "nodeType": "VariableDeclaration",
                  "scope": 11851,
                  "src": "568:25:45",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_calldata_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 11839,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "568:6:45",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "552:42:45"
            },
            "returnParameters": {
              "id": 11850,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 11843,
                  "name": "domain",
                  "nodeType": "VariableDeclaration",
                  "scope": 11851,
                  "src": "618:20:45",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 11842,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "618:6:45",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11845,
                  "name": "signupFee",
                  "nodeType": "VariableDeclaration",
                  "scope": 11851,
                  "src": "640:14:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 11844,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "640:4:45",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11847,
                  "name": "rent",
                  "nodeType": "VariableDeclaration",
                  "scope": 11851,
                  "src": "656:9:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 11846,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "656:4:45",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11849,
                  "name": "referralFeePPM",
                  "nodeType": "VariableDeclaration",
                  "scope": 11851,
                  "src": "667:19:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 11848,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "667:4:45",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "617:70:45"
            },
            "scope": 11881,
            "src": "538:150:45",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "id": 11864,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "register",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 11862,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 11853,
                  "name": "label",
                  "nodeType": "VariableDeclaration",
                  "scope": 11864,
                  "src": "711:13:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 11852,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "711:7:45",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11855,
                  "name": "subdomain",
                  "nodeType": "VariableDeclaration",
                  "scope": 11864,
                  "src": "726:25:45",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_calldata_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 11854,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "726:6:45",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11857,
                  "name": "owner",
                  "nodeType": "VariableDeclaration",
                  "scope": 11864,
                  "src": "753:13:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 11856,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "753:7:45",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11859,
                  "name": "referrer",
                  "nodeType": "VariableDeclaration",
                  "scope": 11864,
                  "src": "768:24:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address_payable",
                    "typeString": "address payable"
                  },
                  "typeName": {
                    "id": 11858,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "768:15:45",
                    "stateMutability": "payable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address_payable",
                      "typeString": "address payable"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11861,
                  "name": "resolver",
                  "nodeType": "VariableDeclaration",
                  "scope": 11864,
                  "src": "794:16:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 11860,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "794:7:45",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "710:101:45"
            },
            "returnParameters": {
              "id": 11863,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "828:0:45"
            },
            "scope": 11881,
            "src": "693:136:45",
            "stateMutability": "payable",
            "superFunction": null,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "id": 11873,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "rentDue",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 11869,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 11866,
                  "name": "label",
                  "nodeType": "VariableDeclaration",
                  "scope": 11873,
                  "src": "852:13:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 11865,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "852:7:45",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11868,
                  "name": "subdomain",
                  "nodeType": "VariableDeclaration",
                  "scope": 11873,
                  "src": "867:25:45",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_calldata_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 11867,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "867:6:45",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "851:42:45"
            },
            "returnParameters": {
              "id": 11872,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 11871,
                  "name": "timestamp",
                  "nodeType": "VariableDeclaration",
                  "scope": 11873,
                  "src": "917:14:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 11870,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "917:4:45",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "916:16:45"
            },
            "scope": 11881,
            "src": "835:98:45",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "id": 11880,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "payRent",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 11878,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 11875,
                  "name": "label",
                  "nodeType": "VariableDeclaration",
                  "scope": 11880,
                  "src": "955:13:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 11874,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "955:7:45",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11877,
                  "name": "subdomain",
                  "nodeType": "VariableDeclaration",
                  "scope": 11880,
                  "src": "970:25:45",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_calldata_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 11876,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "970:6:45",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "954:42:45"
            },
            "returnParameters": {
              "id": 11879,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1013:0:45"
            },
            "scope": 11881,
            "src": "938:76:45",
            "stateMutability": "payable",
            "superFunction": null,
            "visibility": "external"
          }
        ],
        "scope": 11882,
        "src": "25:991:45"
      }
    ],
    "src": "0:1017:45"
  },
  "legacyAST": {
    "absolutePath": "@ensdomains/subdomain-registrar/contracts/RegistrarInterface.sol",
    "exportedSymbols": {
      "RegistrarInterface": [
        11881
      ]
    },
    "id": 11882,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 11798,
        "literals": [
          "solidity",
          "^",
          "0.5",
          ".0"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:45"
      },
      {
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": false,
        "id": 11881,
        "linearizedBaseContracts": [
          11881
        ],
        "name": "RegistrarInterface",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "anonymous": false,
            "documentation": null,
            "id": 11806,
            "name": "OwnerChanged",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 11805,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 11800,
                  "indexed": true,
                  "name": "label",
                  "nodeType": "VariableDeclaration",
                  "scope": 11806,
                  "src": "78:21:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 11799,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "78:7:45",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11802,
                  "indexed": true,
                  "name": "oldOwner",
                  "nodeType": "VariableDeclaration",
                  "scope": 11806,
                  "src": "101:24:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 11801,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "101:7:45",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11804,
                  "indexed": true,
                  "name": "newOwner",
                  "nodeType": "VariableDeclaration",
                  "scope": 11806,
                  "src": "127:24:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 11803,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "127:7:45",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "77:75:45"
            },
            "src": "59:94:45"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 11810,
            "name": "DomainConfigured",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 11809,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 11808,
                  "indexed": true,
                  "name": "label",
                  "nodeType": "VariableDeclaration",
                  "scope": 11810,
                  "src": "181:21:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 11807,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "181:7:45",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "180:23:45"
            },
            "src": "158:46:45"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 11814,
            "name": "DomainUnlisted",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 11813,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 11812,
                  "indexed": true,
                  "name": "label",
                  "nodeType": "VariableDeclaration",
                  "scope": 11814,
                  "src": "230:21:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 11811,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "230:7:45",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "229:23:45"
            },
            "src": "209:44:45"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 11826,
            "name": "NewRegistration",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 11825,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 11816,
                  "indexed": true,
                  "name": "label",
                  "nodeType": "VariableDeclaration",
                  "scope": 11826,
                  "src": "280:21:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 11815,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "280:7:45",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11818,
                  "indexed": false,
                  "name": "subdomain",
                  "nodeType": "VariableDeclaration",
                  "scope": 11826,
                  "src": "303:16:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 11817,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "303:6:45",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11820,
                  "indexed": true,
                  "name": "owner",
                  "nodeType": "VariableDeclaration",
                  "scope": 11826,
                  "src": "321:21:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 11819,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "321:7:45",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11822,
                  "indexed": true,
                  "name": "referrer",
                  "nodeType": "VariableDeclaration",
                  "scope": 11826,
                  "src": "344:24:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 11821,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "344:7:45",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11824,
                  "indexed": false,
                  "name": "price",
                  "nodeType": "VariableDeclaration",
                  "scope": 11826,
                  "src": "370:10:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 11823,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "370:4:45",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "279:102:45"
            },
            "src": "258:124:45"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 11836,
            "name": "RentPaid",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 11835,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 11828,
                  "indexed": true,
                  "name": "label",
                  "nodeType": "VariableDeclaration",
                  "scope": 11836,
                  "src": "402:21:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 11827,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "402:7:45",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11830,
                  "indexed": false,
                  "name": "subdomain",
                  "nodeType": "VariableDeclaration",
                  "scope": 11836,
                  "src": "425:16:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 11829,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "425:6:45",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11832,
                  "indexed": false,
                  "name": "amount",
                  "nodeType": "VariableDeclaration",
                  "scope": 11836,
                  "src": "443:11:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 11831,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "443:4:45",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11834,
                  "indexed": false,
                  "name": "expirationDate",
                  "nodeType": "VariableDeclaration",
                  "scope": 11836,
                  "src": "456:19:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 11833,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "456:4:45",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "401:75:45"
            },
            "src": "387:90:45"
          },
          {
            "body": null,
            "documentation": null,
            "id": 11851,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "query",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 11841,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 11838,
                  "name": "label",
                  "nodeType": "VariableDeclaration",
                  "scope": 11851,
                  "src": "553:13:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 11837,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "553:7:45",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11840,
                  "name": "subdomain",
                  "nodeType": "VariableDeclaration",
                  "scope": 11851,
                  "src": "568:25:45",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_calldata_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 11839,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "568:6:45",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "552:42:45"
            },
            "returnParameters": {
              "id": 11850,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 11843,
                  "name": "domain",
                  "nodeType": "VariableDeclaration",
                  "scope": 11851,
                  "src": "618:20:45",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 11842,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "618:6:45",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11845,
                  "name": "signupFee",
                  "nodeType": "VariableDeclaration",
                  "scope": 11851,
                  "src": "640:14:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 11844,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "640:4:45",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11847,
                  "name": "rent",
                  "nodeType": "VariableDeclaration",
                  "scope": 11851,
                  "src": "656:9:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 11846,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "656:4:45",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11849,
                  "name": "referralFeePPM",
                  "nodeType": "VariableDeclaration",
                  "scope": 11851,
                  "src": "667:19:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 11848,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "667:4:45",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "617:70:45"
            },
            "scope": 11881,
            "src": "538:150:45",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "id": 11864,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "register",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 11862,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 11853,
                  "name": "label",
                  "nodeType": "VariableDeclaration",
                  "scope": 11864,
                  "src": "711:13:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 11852,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "711:7:45",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11855,
                  "name": "subdomain",
                  "nodeType": "VariableDeclaration",
                  "scope": 11864,
                  "src": "726:25:45",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_calldata_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 11854,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "726:6:45",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11857,
                  "name": "owner",
                  "nodeType": "VariableDeclaration",
                  "scope": 11864,
                  "src": "753:13:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 11856,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "753:7:45",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11859,
                  "name": "referrer",
                  "nodeType": "VariableDeclaration",
                  "scope": 11864,
                  "src": "768:24:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address_payable",
                    "typeString": "address payable"
                  },
                  "typeName": {
                    "id": 11858,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "768:15:45",
                    "stateMutability": "payable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address_payable",
                      "typeString": "address payable"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11861,
                  "name": "resolver",
                  "nodeType": "VariableDeclaration",
                  "scope": 11864,
                  "src": "794:16:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 11860,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "794:7:45",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "710:101:45"
            },
            "returnParameters": {
              "id": 11863,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "828:0:45"
            },
            "scope": 11881,
            "src": "693:136:45",
            "stateMutability": "payable",
            "superFunction": null,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "id": 11873,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "rentDue",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 11869,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 11866,
                  "name": "label",
                  "nodeType": "VariableDeclaration",
                  "scope": 11873,
                  "src": "852:13:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 11865,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "852:7:45",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11868,
                  "name": "subdomain",
                  "nodeType": "VariableDeclaration",
                  "scope": 11873,
                  "src": "867:25:45",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_calldata_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 11867,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "867:6:45",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "851:42:45"
            },
            "returnParameters": {
              "id": 11872,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 11871,
                  "name": "timestamp",
                  "nodeType": "VariableDeclaration",
                  "scope": 11873,
                  "src": "917:14:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 11870,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "917:4:45",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "916:16:45"
            },
            "scope": 11881,
            "src": "835:98:45",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "id": 11880,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "payRent",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 11878,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 11875,
                  "name": "label",
                  "nodeType": "VariableDeclaration",
                  "scope": 11880,
                  "src": "955:13:45",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 11874,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "955:7:45",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11877,
                  "name": "subdomain",
                  "nodeType": "VariableDeclaration",
                  "scope": 11880,
                  "src": "970:25:45",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_calldata_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 11876,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "970:6:45",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "954:42:45"
            },
            "returnParameters": {
              "id": 11879,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1013:0:45"
            },
            "scope": 11881,
            "src": "938:76:45",
            "stateMutability": "payable",
            "superFunction": null,
            "visibility": "external"
          }
        ],
        "scope": 11882,
        "src": "25:991:45"
      }
    ],
    "src": "0:1017:45"
  },
  "compiler": {
    "name": "solc",
    "version": "0.5.16+commit.9c3226ce.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.2.0",
  "updatedAt": "2020-06-17T12:57:45.002Z",
  "devdoc": {
    "methods": {}
  },
  "userdoc": {
    "methods": {}
  }
}