Verified contractPartial
DCLRegistrar
Address0x2a187453064356c898cae034eaed119e1663acb8
- Balance
0 ETH
- Transactions
23,271
- Compiler
solc 0.5.15
- Same code
Only this contract
Details
- Compiler
- solc 0.5.15+commit.6a57276f
- Language
- solidity
- Optimization
- Yes, 200 runs
- EVM version
- istanbul
- License
- Not stated
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 9,412,979
- Creation transaction
- 0xdf186d3eda…de0ed7c938
Read27
- ERC721_RECEIVED() → (bytes4)
- available(string) → (bool)
- balanceOf(address) → (uint256)
- base() → (address)
- baseURI() → (string)
- controllers(address) → (bool)
- domain() → (string)
- domainNameHash() → (bytes32)
- getApproved(uint256) → (address)
- getOwnerOf(string) → (address)
- getTokenId(string) → (uint256)
- isApprovedForAll(address,address) → (bool)
- isOwner() → (bool)
- migrated() → (bool)
- name() → (string)
- owner() → (address)
- ownerOf(uint256) → (address)
- registry() → (address)
- subdomains(bytes32) → (string)
- supportsInterface(bytes4) → (bool)
- symbol() → (string)
- tokenByIndex(uint256) → (uint256)
- tokenOfOwnerByIndex(address,uint256) → (uint256)
- tokenURI(uint256) → (string)
- topdomain() → (string)
- topdomainNameHash() → (bytes32)
- totalSupply() → (uint256)
Write22
- addController(address)
- approve(address,uint256)
- forwardToResolver(bytes)
- migrateNames(bytes32[],address[],uint256[])
- migrationFinished()
- onERC721Received(address,address,uint256,bytes) → (bytes4)
- reclaim(uint256,address)
- reclaim(uint256)
- reclaimDomain(uint256)
- register(string,address)
- removeController(address)
- renounceOwnership()
- safeTransferFrom(address,address,uint256)
- safeTransferFrom(address,address,uint256,bytes)
- setApprovalForAll(address,bool)
- setResolver(address)
- transferDomainOwnership(address,uint256)
- transferFrom(address,address,uint256)
- transferOwnership(address)
- updateBase(address)
- updateBaseURI(string)
- updateRegistry(address)
Events16
- Approval(address,address,uint256)
- ApprovalForAll(address,address,bool)
- BaseURI(string,string)
- BaseUpdated(address,address)
- CallForwarwedToResolver(address,bytes,bytes)
- ControllerAdded(address)
- ControllerRemoved(address)
- DomainReclaimed(uint256)
- DomainTransferred(address,uint256)
- MigrationFinished()
- NameRegistered(address,address,bytes32,string,uint256)
- OwnershipTransferred(address,address)
- Reclaimed(address,address,uint256)
- RegistryUpdated(address,address)
- ResolverUpdated(address,address)
- Transfer(address,address,uint256)
ABI as JSON
[
{
"type": "constructor",
"inputs": [
{
"name": "_registry",
"type": "address",
"internalType": "contract IENSRegistry"
},
{
"name": "_base",
"type": "address",
"internalType": "contract IBaseRegistrar"
},
{
"name": "_topdomain",
"type": "string",
"internalType": "string"
},
{
"name": "_domain",
"type": "string",
"internalType": "string"
},
{
"name": "_baseURI",
"type": "string",
"internalType": "string"
}
],
"payable": false,
"stateMutability": "nonpayable"
},
{
"name": "Approval",
"type": "event",
"inputs": [
{
"name": "owner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "approved",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "tokenId",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "ApprovalForAll",
"type": "event",
"inputs": [
{
"name": "owner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "operator",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "approved",
"type": "bool",
"indexed": false,
"internalType": "bool"
}
],
"anonymous": false
},
{
"name": "BaseURI",
"type": "event",
"inputs": [
{
"name": "_oldBaseURI",
"type": "string",
"indexed": false,
"internalType": "string"
},
{
"name": "_newBaseURI",
"type": "string",
"indexed": false,
"internalType": "string"
}
],
"anonymous": false
},
{
"name": "BaseUpdated",
"type": "event",
"inputs": [
{
"name": "_previousBase",
"type": "address",
"indexed": true,
"internalType": "contract IBaseRegistrar"
},
{
"name": "_newBase",
"type": "address",
"indexed": true,
"internalType": "contract IBaseRegistrar"
}
],
"anonymous": false
},
{
"name": "CallForwarwedToResolver",
"type": "event",
"inputs": [
{
"name": "_resolver",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "_data",
"type": "bytes",
"indexed": false,
"internalType": "bytes"
},
{
"name": "res",
"type": "bytes",
"indexed": false,
"internalType": "bytes"
}
],
"anonymous": false
},
{
"name": "ControllerAdded",
"type": "event",
"inputs": [
{
"name": "_controller",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "ControllerRemoved",
"type": "event",
"inputs": [
{
"name": "_controller",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "DomainReclaimed",
"type": "event",
"inputs": [
{
"name": "_tokenId",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "DomainTransferred",
"type": "event",
"inputs": [
{
"name": "_newOwner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "_tokenId",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "MigrationFinished",
"type": "event",
"inputs": [],
"anonymous": false
},
{
"name": "NameRegistered",
"type": "event",
"inputs": [
{
"name": "_caller",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "_beneficiary",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "_labelHash",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
},
{
"name": "_subdomain",
"type": "string",
"indexed": false,
"internalType": "string"
},
{
"name": "_createdDate",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "OwnershipTransferred",
"type": "event",
"inputs": [
{
"name": "previousOwner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "newOwner",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "Reclaimed",
"type": "event",
"inputs": [
{
"name": "_caller",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "_owner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "_tokenId",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "RegistryUpdated",
"type": "event",
"inputs": [
{
"name": "_previousRegistry",
"type": "address",
"indexed": true,
"internalType": "contract IENSRegistry"
},
{
"name": "_newRegistry",
"type": "address",
"indexed": true,
"internalType": "contract IENSRegistry"
}
],
"anonymous": false
},
{
"name": "ResolverUpdated",
"type": "event",
"inputs": [
{
"name": "_oldResolver",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "_newResolver",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "Transfer",
"type": "event",
"inputs": [
{
"name": "from",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "to",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "tokenId",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "ERC721_RECEIVED",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes4",
"internalType": "bytes4"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "addController",
"type": "function",
"inputs": [
{
"name": "controller",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "approve",
"type": "function",
"inputs": [
{
"name": "to",
"type": "address",
"internalType": "address"
},
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "available",
"type": "function",
"inputs": [
{
"name": "_subdomain",
"type": "string",
"internalType": "string"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "balanceOf",
"type": "function",
"inputs": [
{
"name": "owner",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "base",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "contract IBaseRegistrar"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "baseURI",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "controllers",
"type": "function",
"inputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "domain",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "domainNameHash",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "forwardToResolver",
"type": "function",
"inputs": [
{
"name": "_data",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "getApproved",
"type": "function",
"inputs": [
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "getOwnerOf",
"type": "function",
"inputs": [
{
"name": "_subdomain",
"type": "string",
"internalType": "string"
}
],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "getTokenId",
"type": "function",
"inputs": [
{
"name": "_subdomain",
"type": "string",
"internalType": "string"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "isApprovedForAll",
"type": "function",
"inputs": [
{
"name": "owner",
"type": "address",
"internalType": "address"
},
{
"name": "operator",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "isOwner",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "migrateNames",
"type": "function",
"inputs": [
{
"name": "_names",
"type": "bytes32[]",
"internalType": "bytes32[]"
},
{
"name": "_beneficiaries",
"type": "address[]",
"internalType": "address[]"
},
{
"name": "_createdDates",
"type": "uint256[]",
"internalType": "uint256[]"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "migrated",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "migrationFinished",
"type": "function",
"inputs": [],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "name",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "onERC721Received",
"type": "function",
"inputs": [
{
"name": "",
"type": "address",
"internalType": "address"
},
{
"name": "",
"type": "address",
"internalType": "address"
},
{
"name": "_tokenId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [
{
"name": "",
"type": "bytes4",
"internalType": "bytes4"
}
],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "owner",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "ownerOf",
"type": "function",
"inputs": [
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "reclaim",
"type": "function",
"inputs": [
{
"name": "_tokenId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_owner",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "reclaim",
"type": "function",
"inputs": [
{
"name": "_tokenId",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "reclaimDomain",
"type": "function",
"inputs": [
{
"name": "_tokenId",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "register",
"type": "function",
"inputs": [
{
"name": "_subdomain",
"type": "string",
"internalType": "string"
},
{
"name": "_beneficiary",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "registry",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "contract IENSRegistry"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "removeController",
"type": "function",
"inputs": [
{
"name": "controller",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "renounceOwnership",
"type": "function",
"inputs": [],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "safeTransferFrom",
"type": "function",
"inputs": [
{
"name": "from",
"type": "address",
"internalType": "address"
},
{
"name": "to",
"type": "address",
"internalType": "address"
},
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "safeTransferFrom",
"type": "function",
"inputs": [
{
"name": "from",
"type": "address",
"internalType": "address"
},
{
"name": "to",
"type": "address",
"internalType": "address"
},
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_data",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "setApprovalForAll",
"type": "function",
"inputs": [
{
"name": "to",
"type": "address",
"internalType": "address"
},
{
"name": "approved",
"type": "bool",
"internalType": "bool"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "setResolver",
"type": "function",
"inputs": [
{
"name": "_resolver",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "subdomains",
"type": "function",
"inputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "supportsInterface",
"type": "function",
"inputs": [
{
"name": "interfaceId",
"type": "bytes4",
"internalType": "bytes4"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "symbol",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "tokenByIndex",
"type": "function",
"inputs": [
{
"name": "index",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "tokenOfOwnerByIndex",
"type": "function",
"inputs": [
{
"name": "owner",
"type": "address",
"internalType": "address"
},
{
"name": "index",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "tokenURI",
"type": "function",
"inputs": [
{
"name": "_tokenId",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "topdomain",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "topdomainNameHash",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "totalSupply",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "transferDomainOwnership",
"type": "function",
"inputs": [
{
"name": "_owner",
"type": "address",
"internalType": "address"
},
{
"name": "_tokenId",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "transferFrom",
"type": "function",
"inputs": [
{
"name": "from",
"type": "address",
"internalType": "address"
},
{
"name": "to",
"type": "address",
"internalType": "address"
},
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "transferOwnership",
"type": "function",
"inputs": [
{
"name": "newOwner",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "updateBase",
"type": "function",
"inputs": [
{
"name": "_base",
"type": "address",
"internalType": "contract IBaseRegistrar"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "updateBaseURI",
"type": "function",
"inputs": [
{
"name": "_baseURI",
"type": "string",
"internalType": "string"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "updateRegistry",
"type": "function",
"inputs": [
{
"name": "_registry",
"type": "address",
"internalType": "contract IENSRegistry"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
}
]Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.