Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Commit

Permalink
Merge pull request #312 from ensdomains/remove/resolvers
Browse files Browse the repository at this point in the history
Removes resolvers
  • Loading branch information
Dean Eigenmann committed Jan 7, 2019
2 parents 94f4861 + ca69616 commit 169e633
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 1,058 deletions.
14 changes: 2 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,19 +56,9 @@ Updates the owner of a subnode. For instance, the owner of "foo.com" may change
## setResolver(bytes32 node, address resolver)
Sets the resolver address for the specified node.

# Resolver interface
# Resolvers

Resolvers must implement one mandatory method, `has`, and may implement any number of other resource-type specific methods. Resolvers must `throw` when an unimplemented method is called.

## has(bytes32 node, bytes32 kind) constant returns (bool)

Returns true iff the specified node has the specified record kind available. Record kinds are defined by each resolver type and standardised in EIPs; currently only "addr" is supported.

`has()` must return false iff the corresponding record type specific methods will throw if called.

## addr(bytes32 node) constant returns (address ret)

Implements the addr resource type. Returns the Ethereum address associated with a node if it exists, or `throw`s if it does not.
Resolvers can be found in the resolver specific [repository](https://github.com/ensdomains/resolvers).

# Generating LLL ABI and binary data

Expand Down
27 changes: 0 additions & 27 deletions contracts/DNSResolver.sol

This file was deleted.

47 changes: 0 additions & 47 deletions contracts/DefaultReverseResolver.sol

This file was deleted.

223 changes: 0 additions & 223 deletions contracts/PublicResolver.lll

This file was deleted.

Loading

0 comments on commit 169e633

Please sign in to comment.