{
  "contractName": "RegistrarInterface",
  "abi": [
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "label",
          "type": "bytes32"
        },
        {
          "indexed": true,
          "name": "oldOwner",
          "type": "address"
        },
        {
          "indexed": true,
          "name": "newOwner",
          "type": "address"
        }
      ],
      "name": "OwnerChanged",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "label",
          "type": "bytes32"
        }
      ],
      "name": "DomainConfigured",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "label",
          "type": "bytes32"
        }
      ],
      "name": "DomainUnlisted",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "label",
          "type": "bytes32"
        },
        {
          "indexed": false,
          "name": "subdomain",
          "type": "string"
        },
        {
          "indexed": true,
          "name": "owner",
          "type": "address"
        },
        {
          "indexed": true,
          "name": "referrer",
          "type": "address"
        },
        {
          "indexed": false,
          "name": "price",
          "type": "uint256"
        }
      ],
      "name": "NewRegistration",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "label",
          "type": "bytes32"
        },
        {
          "indexed": false,
          "name": "subdomain",
          "type": "string"
        },
        {
          "indexed": false,
          "name": "amount",
          "type": "uint256"
        },
        {
          "indexed": false,
          "name": "expirationDate",
          "type": "uint256"
        }
      ],
      "name": "RentPaid",
      "type": "event"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "label",
          "type": "bytes32"
        },
        {
          "name": "subdomain",
          "type": "string"
        }
      ],
      "name": "query",
      "outputs": [
        {
          "name": "domain",
          "type": "string"
        },
        {
          "name": "signupFee",
          "type": "uint256"
        },
        {
          "name": "rent",
          "type": "uint256"
        },
        {
          "name": "referralFeePPM",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "label",
          "type": "bytes32"
        },
        {
          "name": "subdomain",
          "type": "string"
        },
        {
          "name": "owner",
          "type": "address"
        },
        {
          "name": "referrer",
          "type": "address"
        },
        {
          "name": "resolver",
          "type": "address"
        }
      ],
      "name": "register",
      "outputs": [],
      "payable": true,
      "stateMutability": "payable",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "label",
          "type": "bytes32"
        },
        {
          "name": "subdomain",
          "type": "string"
        }
      ],
      "name": "rentDue",
      "outputs": [
        {
          "name": "timestamp",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "label",
          "type": "bytes32"
        },
        {
          "name": "subdomain",
          "type": "string"
        }
      ],
      "name": "payRent",
      "outputs": [],
      "payable": true,
      "stateMutability": "payable",
      "type": "function"
    }
  ],
  "metadata": "{\"compiler\":{\"version\":\"0.5.8+commit.23d335f2\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":true,\"inputs\":[{\"name\":\"label\",\"type\":\"bytes32\"},{\"name\":\"subdomain\",\"type\":\"string\"}],\"name\":\"query\",\"outputs\":[{\"name\":\"domain\",\"type\":\"string\"},{\"name\":\"signupFee\",\"type\":\"uint256\"},{\"name\":\"rent\",\"type\":\"uint256\"},{\"name\":\"referralFeePPM\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"label\",\"type\":\"bytes32\"},{\"name\":\"subdomain\",\"type\":\"string\"},{\"name\":\"owner\",\"type\":\"address\"},{\"name\":\"referrer\",\"type\":\"address\"},{\"name\":\"resolver\",\"type\":\"address\"}],\"name\":\"register\",\"outputs\":[],\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"label\",\"type\":\"bytes32\"},{\"name\":\"subdomain\",\"type\":\"string\"}],\"name\":\"rentDue\",\"outputs\":[{\"name\":\"timestamp\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"label\",\"type\":\"bytes32\"},{\"name\":\"subdomain\",\"type\":\"string\"}],\"name\":\"payRent\",\"outputs\":[],\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"function\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"label\",\"type\":\"bytes32\"},{\"indexed\":true,\"name\":\"oldOwner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnerChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"label\",\"type\":\"bytes32\"}],\"name\":\"DomainConfigured\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"label\",\"type\":\"bytes32\"}],\"name\":\"DomainUnlisted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"label\",\"type\":\"bytes32\"},{\"indexed\":false,\"name\":\"subdomain\",\"type\":\"string\"},{\"indexed\":true,\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"referrer\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"price\",\"type\":\"uint256\"}],\"name\":\"NewRegistration\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"label\",\"type\":\"bytes32\"},{\"indexed\":false,\"name\":\"subdomain\",\"type\":\"string\"},{\"indexed\":false,\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"expirationDate\",\"type\":\"uint256\"}],\"name\":\"RentPaid\",\"type\":\"event\"}],\"devdoc\":{\"methods\":{}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"@ensdomains/subdomain-registrar/contracts/RegistrarInterface.sol\":\"RegistrarInterface\"},\"evmVersion\":\"petersburg\",\"libraries\":{},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"@ensdomains/subdomain-registrar/contracts/RegistrarInterface.sol\":{\"keccak256\":\"0x32eb0addc992b12a37b1fa94a5666bd540037419a3c02d2ba7537b556503d810\",\"urls\":[\"bzzr://f4715b593ce2e11f3eed23d6941450569d750e7451ae72715801e8abf38a8eb7\"]}},\"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": [
        11779
      ]
    },
    "id": 11780,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 11696,
        "literals": [
          "solidity",
          "^",
          "0.5",
          ".0"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:46"
      },
      {
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": false,
        "id": 11779,
        "linearizedBaseContracts": [
          11779
        ],
        "name": "RegistrarInterface",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "anonymous": false,
            "documentation": null,
            "id": 11704,
            "name": "OwnerChanged",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 11703,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 11698,
                  "indexed": true,
                  "name": "label",
                  "nodeType": "VariableDeclaration",
                  "scope": 11704,
                  "src": "78:21:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 11697,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "78:7:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11700,
                  "indexed": true,
                  "name": "oldOwner",
                  "nodeType": "VariableDeclaration",
                  "scope": 11704,
                  "src": "101:24:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 11699,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "101:7:46",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11702,
                  "indexed": true,
                  "name": "newOwner",
                  "nodeType": "VariableDeclaration",
                  "scope": 11704,
                  "src": "127:24:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 11701,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "127:7:46",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "77:75:46"
            },
            "src": "59:94:46"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 11708,
            "name": "DomainConfigured",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 11707,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 11706,
                  "indexed": true,
                  "name": "label",
                  "nodeType": "VariableDeclaration",
                  "scope": 11708,
                  "src": "181:21:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 11705,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "181:7:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "180:23:46"
            },
            "src": "158:46:46"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 11712,
            "name": "DomainUnlisted",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 11711,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 11710,
                  "indexed": true,
                  "name": "label",
                  "nodeType": "VariableDeclaration",
                  "scope": 11712,
                  "src": "230:21:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 11709,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "230:7:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "229:23:46"
            },
            "src": "209:44:46"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 11724,
            "name": "NewRegistration",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 11723,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 11714,
                  "indexed": true,
                  "name": "label",
                  "nodeType": "VariableDeclaration",
                  "scope": 11724,
                  "src": "280:21:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 11713,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "280:7:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11716,
                  "indexed": false,
                  "name": "subdomain",
                  "nodeType": "VariableDeclaration",
                  "scope": 11724,
                  "src": "303:16:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 11715,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "303:6:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11718,
                  "indexed": true,
                  "name": "owner",
                  "nodeType": "VariableDeclaration",
                  "scope": 11724,
                  "src": "321:21:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 11717,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "321:7:46",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11720,
                  "indexed": true,
                  "name": "referrer",
                  "nodeType": "VariableDeclaration",
                  "scope": 11724,
                  "src": "344:24:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 11719,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "344:7:46",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11722,
                  "indexed": false,
                  "name": "price",
                  "nodeType": "VariableDeclaration",
                  "scope": 11724,
                  "src": "370:10:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 11721,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "370:4:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "279:102:46"
            },
            "src": "258:124:46"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 11734,
            "name": "RentPaid",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 11733,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 11726,
                  "indexed": true,
                  "name": "label",
                  "nodeType": "VariableDeclaration",
                  "scope": 11734,
                  "src": "402:21:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 11725,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "402:7:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11728,
                  "indexed": false,
                  "name": "subdomain",
                  "nodeType": "VariableDeclaration",
                  "scope": 11734,
                  "src": "425:16:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 11727,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "425:6:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11730,
                  "indexed": false,
                  "name": "amount",
                  "nodeType": "VariableDeclaration",
                  "scope": 11734,
                  "src": "443:11:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 11729,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "443:4:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11732,
                  "indexed": false,
                  "name": "expirationDate",
                  "nodeType": "VariableDeclaration",
                  "scope": 11734,
                  "src": "456:19:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 11731,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "456:4:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "401:75:46"
            },
            "src": "387:90:46"
          },
          {
            "body": null,
            "documentation": null,
            "id": 11749,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "query",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 11739,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 11736,
                  "name": "label",
                  "nodeType": "VariableDeclaration",
                  "scope": 11749,
                  "src": "553:13:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 11735,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "553:7:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11738,
                  "name": "subdomain",
                  "nodeType": "VariableDeclaration",
                  "scope": 11749,
                  "src": "568:25:46",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_calldata_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 11737,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "568:6:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "552:42:46"
            },
            "returnParameters": {
              "id": 11748,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 11741,
                  "name": "domain",
                  "nodeType": "VariableDeclaration",
                  "scope": 11749,
                  "src": "618:20:46",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 11740,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "618:6:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11743,
                  "name": "signupFee",
                  "nodeType": "VariableDeclaration",
                  "scope": 11749,
                  "src": "640:14:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 11742,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "640:4:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11745,
                  "name": "rent",
                  "nodeType": "VariableDeclaration",
                  "scope": 11749,
                  "src": "656:9:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 11744,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "656:4:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11747,
                  "name": "referralFeePPM",
                  "nodeType": "VariableDeclaration",
                  "scope": 11749,
                  "src": "667:19:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 11746,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "667:4:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "617:70:46"
            },
            "scope": 11779,
            "src": "538:150:46",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "id": 11762,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "register",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 11760,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 11751,
                  "name": "label",
                  "nodeType": "VariableDeclaration",
                  "scope": 11762,
                  "src": "711:13:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 11750,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "711:7:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11753,
                  "name": "subdomain",
                  "nodeType": "VariableDeclaration",
                  "scope": 11762,
                  "src": "726:25:46",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_calldata_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 11752,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "726:6:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11755,
                  "name": "owner",
                  "nodeType": "VariableDeclaration",
                  "scope": 11762,
                  "src": "753:13:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 11754,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "753:7:46",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11757,
                  "name": "referrer",
                  "nodeType": "VariableDeclaration",
                  "scope": 11762,
                  "src": "768:24:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address_payable",
                    "typeString": "address payable"
                  },
                  "typeName": {
                    "id": 11756,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "768:15:46",
                    "stateMutability": "payable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address_payable",
                      "typeString": "address payable"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11759,
                  "name": "resolver",
                  "nodeType": "VariableDeclaration",
                  "scope": 11762,
                  "src": "794:16:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 11758,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "794:7:46",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "710:101:46"
            },
            "returnParameters": {
              "id": 11761,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "828:0:46"
            },
            "scope": 11779,
            "src": "693:136:46",
            "stateMutability": "payable",
            "superFunction": null,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "id": 11771,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "rentDue",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 11767,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 11764,
                  "name": "label",
                  "nodeType": "VariableDeclaration",
                  "scope": 11771,
                  "src": "852:13:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 11763,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "852:7:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11766,
                  "name": "subdomain",
                  "nodeType": "VariableDeclaration",
                  "scope": 11771,
                  "src": "867:25:46",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_calldata_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 11765,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "867:6:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "851:42:46"
            },
            "returnParameters": {
              "id": 11770,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 11769,
                  "name": "timestamp",
                  "nodeType": "VariableDeclaration",
                  "scope": 11771,
                  "src": "917:14:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 11768,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "917:4:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "916:16:46"
            },
            "scope": 11779,
            "src": "835:98:46",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "id": 11778,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "payRent",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 11776,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 11773,
                  "name": "label",
                  "nodeType": "VariableDeclaration",
                  "scope": 11778,
                  "src": "955:13:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 11772,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "955:7:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11775,
                  "name": "subdomain",
                  "nodeType": "VariableDeclaration",
                  "scope": 11778,
                  "src": "970:25:46",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_calldata_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 11774,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "970:6:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "954:42:46"
            },
            "returnParameters": {
              "id": 11777,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1013:0:46"
            },
            "scope": 11779,
            "src": "938:76:46",
            "stateMutability": "payable",
            "superFunction": null,
            "visibility": "external"
          }
        ],
        "scope": 11780,
        "src": "25:991:46"
      }
    ],
    "src": "0:1017:46"
  },
  "legacyAST": {
    "absolutePath": "@ensdomains/subdomain-registrar/contracts/RegistrarInterface.sol",
    "exportedSymbols": {
      "RegistrarInterface": [
        11779
      ]
    },
    "id": 11780,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 11696,
        "literals": [
          "solidity",
          "^",
          "0.5",
          ".0"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:46"
      },
      {
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": false,
        "id": 11779,
        "linearizedBaseContracts": [
          11779
        ],
        "name": "RegistrarInterface",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "anonymous": false,
            "documentation": null,
            "id": 11704,
            "name": "OwnerChanged",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 11703,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 11698,
                  "indexed": true,
                  "name": "label",
                  "nodeType": "VariableDeclaration",
                  "scope": 11704,
                  "src": "78:21:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 11697,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "78:7:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11700,
                  "indexed": true,
                  "name": "oldOwner",
                  "nodeType": "VariableDeclaration",
                  "scope": 11704,
                  "src": "101:24:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 11699,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "101:7:46",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11702,
                  "indexed": true,
                  "name": "newOwner",
                  "nodeType": "VariableDeclaration",
                  "scope": 11704,
                  "src": "127:24:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 11701,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "127:7:46",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "77:75:46"
            },
            "src": "59:94:46"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 11708,
            "name": "DomainConfigured",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 11707,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 11706,
                  "indexed": true,
                  "name": "label",
                  "nodeType": "VariableDeclaration",
                  "scope": 11708,
                  "src": "181:21:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 11705,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "181:7:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "180:23:46"
            },
            "src": "158:46:46"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 11712,
            "name": "DomainUnlisted",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 11711,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 11710,
                  "indexed": true,
                  "name": "label",
                  "nodeType": "VariableDeclaration",
                  "scope": 11712,
                  "src": "230:21:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 11709,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "230:7:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "229:23:46"
            },
            "src": "209:44:46"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 11724,
            "name": "NewRegistration",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 11723,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 11714,
                  "indexed": true,
                  "name": "label",
                  "nodeType": "VariableDeclaration",
                  "scope": 11724,
                  "src": "280:21:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 11713,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "280:7:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11716,
                  "indexed": false,
                  "name": "subdomain",
                  "nodeType": "VariableDeclaration",
                  "scope": 11724,
                  "src": "303:16:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 11715,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "303:6:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11718,
                  "indexed": true,
                  "name": "owner",
                  "nodeType": "VariableDeclaration",
                  "scope": 11724,
                  "src": "321:21:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 11717,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "321:7:46",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11720,
                  "indexed": true,
                  "name": "referrer",
                  "nodeType": "VariableDeclaration",
                  "scope": 11724,
                  "src": "344:24:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 11719,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "344:7:46",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11722,
                  "indexed": false,
                  "name": "price",
                  "nodeType": "VariableDeclaration",
                  "scope": 11724,
                  "src": "370:10:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 11721,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "370:4:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "279:102:46"
            },
            "src": "258:124:46"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 11734,
            "name": "RentPaid",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 11733,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 11726,
                  "indexed": true,
                  "name": "label",
                  "nodeType": "VariableDeclaration",
                  "scope": 11734,
                  "src": "402:21:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 11725,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "402:7:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11728,
                  "indexed": false,
                  "name": "subdomain",
                  "nodeType": "VariableDeclaration",
                  "scope": 11734,
                  "src": "425:16:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 11727,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "425:6:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11730,
                  "indexed": false,
                  "name": "amount",
                  "nodeType": "VariableDeclaration",
                  "scope": 11734,
                  "src": "443:11:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 11729,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "443:4:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11732,
                  "indexed": false,
                  "name": "expirationDate",
                  "nodeType": "VariableDeclaration",
                  "scope": 11734,
                  "src": "456:19:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 11731,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "456:4:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "401:75:46"
            },
            "src": "387:90:46"
          },
          {
            "body": null,
            "documentation": null,
            "id": 11749,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "query",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 11739,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 11736,
                  "name": "label",
                  "nodeType": "VariableDeclaration",
                  "scope": 11749,
                  "src": "553:13:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 11735,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "553:7:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11738,
                  "name": "subdomain",
                  "nodeType": "VariableDeclaration",
                  "scope": 11749,
                  "src": "568:25:46",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_calldata_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 11737,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "568:6:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "552:42:46"
            },
            "returnParameters": {
              "id": 11748,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 11741,
                  "name": "domain",
                  "nodeType": "VariableDeclaration",
                  "scope": 11749,
                  "src": "618:20:46",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 11740,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "618:6:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11743,
                  "name": "signupFee",
                  "nodeType": "VariableDeclaration",
                  "scope": 11749,
                  "src": "640:14:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 11742,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "640:4:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11745,
                  "name": "rent",
                  "nodeType": "VariableDeclaration",
                  "scope": 11749,
                  "src": "656:9:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 11744,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "656:4:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11747,
                  "name": "referralFeePPM",
                  "nodeType": "VariableDeclaration",
                  "scope": 11749,
                  "src": "667:19:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 11746,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "667:4:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "617:70:46"
            },
            "scope": 11779,
            "src": "538:150:46",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "id": 11762,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "register",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 11760,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 11751,
                  "name": "label",
                  "nodeType": "VariableDeclaration",
                  "scope": 11762,
                  "src": "711:13:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 11750,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "711:7:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11753,
                  "name": "subdomain",
                  "nodeType": "VariableDeclaration",
                  "scope": 11762,
                  "src": "726:25:46",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_calldata_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 11752,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "726:6:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11755,
                  "name": "owner",
                  "nodeType": "VariableDeclaration",
                  "scope": 11762,
                  "src": "753:13:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 11754,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "753:7:46",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11757,
                  "name": "referrer",
                  "nodeType": "VariableDeclaration",
                  "scope": 11762,
                  "src": "768:24:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address_payable",
                    "typeString": "address payable"
                  },
                  "typeName": {
                    "id": 11756,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "768:15:46",
                    "stateMutability": "payable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address_payable",
                      "typeString": "address payable"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11759,
                  "name": "resolver",
                  "nodeType": "VariableDeclaration",
                  "scope": 11762,
                  "src": "794:16:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 11758,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "794:7:46",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "710:101:46"
            },
            "returnParameters": {
              "id": 11761,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "828:0:46"
            },
            "scope": 11779,
            "src": "693:136:46",
            "stateMutability": "payable",
            "superFunction": null,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "id": 11771,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "rentDue",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 11767,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 11764,
                  "name": "label",
                  "nodeType": "VariableDeclaration",
                  "scope": 11771,
                  "src": "852:13:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 11763,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "852:7:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11766,
                  "name": "subdomain",
                  "nodeType": "VariableDeclaration",
                  "scope": 11771,
                  "src": "867:25:46",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_calldata_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 11765,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "867:6:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "851:42:46"
            },
            "returnParameters": {
              "id": 11770,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 11769,
                  "name": "timestamp",
                  "nodeType": "VariableDeclaration",
                  "scope": 11771,
                  "src": "917:14:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 11768,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "917:4:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "916:16:46"
            },
            "scope": 11779,
            "src": "835:98:46",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "id": 11778,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "payRent",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 11776,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 11773,
                  "name": "label",
                  "nodeType": "VariableDeclaration",
                  "scope": 11778,
                  "src": "955:13:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 11772,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "955:7:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 11775,
                  "name": "subdomain",
                  "nodeType": "VariableDeclaration",
                  "scope": 11778,
                  "src": "970:25:46",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_calldata_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 11774,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "970:6:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "954:42:46"
            },
            "returnParameters": {
              "id": 11777,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1013:0:46"
            },
            "scope": 11779,
            "src": "938:76:46",
            "stateMutability": "payable",
            "superFunction": null,
            "visibility": "external"
          }
        ],
        "scope": 11780,
        "src": "25:991:46"
      }
    ],
    "src": "0:1017:46"
  },
  "compiler": {
    "name": "solc",
    "version": "0.5.8+commit.23d335f2.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.0.13",
  "updatedAt": "2020-03-31T16:16:12.028Z",
  "devdoc": {
    "methods": {}
  },
  "userdoc": {
    "methods": {}
  }
}