diff --git a/EIPS/eip-137.md b/EIPS/eip-137.md index fa8cdc1c..b28b6fd3 100644 --- a/EIPS/eip-137.md +++ b/EIPS/eip-137.md @@ -179,6 +179,7 @@ The following interfaces are defined: | `pubkey` | 0xc8690233 | #619 | EIPs may define new interfaces to be added to this registry. + ### Contract Address Interface Resolvers wishing to support contract address resources must provide the following function: @@ -189,6 +190,8 @@ function addr(bytes32 node) constant returns (address); If the resolver supports `addr` lookups but the requested node does not have a record, the resolver MUST return the zero address. +Clients resolving the `addr` record MUST check for a zero return value, and treat this in the same manner as a name that does not have a resolver specified - that is, refuse to send funds to or interact with the address. Failure to do this can result in users accidentally sending funds to the 0 address. + Changes to an address MUST trigger the following event: ```