Versions in this module Expand all Collapse all v0 v0.9.38 Jul 9, 2015 v0.9.36 Jul 7, 2015 Changes in this version + const GlobalRegistrarAbi + const GlobalRegistrarCode + const GlobalRegistrarSrc + const HashRegCode + const HashRegSrc + const UrlHintCode + const UrlHintSrc + var GlobalRegistrarAddr = "0x0" + var HashRegAddr = "0x0" + var HashRegName = "HashReg" + var UrlHintAddr = "0x0" + var UrlHintName = "UrlHint" + type Backend interface + Call func(fromStr, toStr, valueStr, gasStr, gasPriceStr, codeStr string) (string, string, error) + StorageAt func(string, string) string + Transact func(fromStr, toStr, nonceStr, valueStr, gasStr, gasPriceStr, codeStr string) (string, error) + type Registrar struct + func New(b Backend) (res *Registrar) + func (self *Registrar) HashToHash(khash common.Hash) (chash common.Hash, err error) + func (self *Registrar) HashToUrl(chash common.Hash) (uri string, err error) + func (self *Registrar) NameToAddr(from common.Address, name string) (address common.Address, err error) + func (self *Registrar) ReserveName(address common.Address, name string) (txh string, err error) + func (self *Registrar) SetAddressToName(from common.Address, name string, address common.Address) (txh string, err error) + func (self *Registrar) SetGlobalRegistrar(namereg string, addr common.Address) (txhash string, err error) + func (self *Registrar) SetHashReg(hashreg string, addr common.Address) (txhash string, err error) + func (self *Registrar) SetHashToHash(address common.Address, codehash, dochash common.Hash) (txh string, err error) + func (self *Registrar) SetOwner(address common.Address) (txh string, err error) + func (self *Registrar) SetUrlHint(urlhint string, addr common.Address) (txhash string, err error) + func (self *Registrar) SetUrlToHash(address common.Address, hash common.Hash, url string) (txh string, err error) + type VersionedRegistrar interface + Registry func() *Registrar + Resolver func(*big.Int) *Registrar