contract NameReg { function register(bytes32 name) {} function addressOf(bytes32 name) constant returns (address addr) {} function unregister() {} function nameOf(address addr) constant returns (bytes32 name) {} }