Documentation ¶
Overview ¶
Code generated by go-web3/abigen. DO NOT EDIT. Hash: d644ffae9e5df06d8b503a99da12a04d43a389598849c4f582d8610d8f846672
Code generated by go-web3/abigen. DO NOT EDIT. Hash: 4ebf20f18b6e2d8b4ff95adbefe3a7b58581d17adce4289fbfb8f7c6456f1d73
Index ¶
- func DeployENS(provider *jsonrpc.Client, from web3.Address, args ...interface{}) *contract.Txn
- func DeployResolver(provider *jsonrpc.Client, from web3.Address, args ...interface{}) *contract.Txn
- func ENSAbi() *abi.ABI
- func ENSBin() []byte
- func NameHash(str string) (node web3.Hash)
- func ResolverAbi() *abi.ABI
- func ResolverBin() []byte
- type ENS
- func (e *ENS) Contract() *contract.Contract
- func (e *ENS) NewOwnerEventSig() web3.Hash
- func (e *ENS) NewResolverEventSig() web3.Hash
- func (e *ENS) NewTTLEventSig() web3.Hash
- func (e *ENS) Owner(node [32]byte, block ...web3.BlockNumber) (retval0 web3.Address, err error)
- func (e *ENS) Resolver(node [32]byte, block ...web3.BlockNumber) (retval0 web3.Address, err error)
- func (e *ENS) SetOwner(node [32]byte, owner web3.Address) *contract.Txn
- func (e *ENS) SetResolver(node [32]byte, resolver web3.Address) *contract.Txn
- func (e *ENS) SetSubnodeOwner(node [32]byte, label [32]byte, owner web3.Address) *contract.Txn
- func (e *ENS) SetTTL(node [32]byte, ttl uint64) *contract.Txn
- func (e *ENS) TransferEventSig() web3.Hash
- func (e *ENS) Ttl(node [32]byte, block ...web3.BlockNumber) (retval0 uint64, err error)
- type ENSResolver
- type Resolver
- func (r *Resolver) ABI(node [32]byte, contentTypes *big.Int, block ...web3.BlockNumber) (retval0 *big.Int, retval1 []byte, err error)
- func (r *Resolver) ABIChangedEventSig() web3.Hash
- func (r *Resolver) Addr(node [32]byte, block ...web3.BlockNumber) (retval0 web3.Address, err error)
- func (r *Resolver) AddrChangedEventSig() web3.Hash
- func (r *Resolver) Content(node [32]byte, block ...web3.BlockNumber) (retval0 [32]byte, err error)
- func (r *Resolver) ContentChangedEventSig() web3.Hash
- func (r *Resolver) Contract() *contract.Contract
- func (r *Resolver) Name(node [32]byte, block ...web3.BlockNumber) (retval0 string, err error)
- func (r *Resolver) NameChangedEventSig() web3.Hash
- func (r *Resolver) Pubkey(node [32]byte, block ...web3.BlockNumber) (retval0 [32]byte, retval1 [32]byte, err error)
- func (r *Resolver) PubkeyChangedEventSig() web3.Hash
- func (r *Resolver) SetABI(node [32]byte, contentType *big.Int, data []byte) *contract.Txn
- func (r *Resolver) SetAddr(node [32]byte, addr web3.Address) *contract.Txn
- func (r *Resolver) SetContent(node [32]byte, hash [32]byte) *contract.Txn
- func (r *Resolver) SetName(node [32]byte, name string) *contract.Txn
- func (r *Resolver) SetPubkey(node [32]byte, x [32]byte, y [32]byte) *contract.Txn
- func (r *Resolver) SupportsInterface(interfaceID [4]byte, block ...web3.BlockNumber) (retval0 bool, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeployResolver ¶
DeployResolver deploys a new Resolver contract
Types ¶
type ENS ¶
type ENS struct {
// contains filtered or unexported fields
}
ENS is a solidity contract
func (*ENS) NewOwnerEventSig ¶
func (*ENS) NewResolverEventSig ¶
func (*ENS) NewTTLEventSig ¶
func (*ENS) SetResolver ¶
SetResolver sends a setResolver transaction in the solidity contract
func (*ENS) SetSubnodeOwner ¶
SetSubnodeOwner sends a setSubnodeOwner transaction in the solidity contract
func (*ENS) TransferEventSig ¶
type ENSResolver ¶
type ENSResolver struct {
// contains filtered or unexported fields
}
func NewENSResolver ¶
func NewENSResolver(addr web3.Address, provider *jsonrpc.Client) *ENSResolver
func (*ENSResolver) Resolve ¶
func (e *ENSResolver) Resolve(addr string, block ...web3.BlockNumber) (res web3.Address, err error)
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
Resolver is a solidity contract
func NewResolver ¶
NewResolver creates a new instance of the contract at a specific address
func (*Resolver) ABI ¶
func (r *Resolver) ABI(node [32]byte, contentTypes *big.Int, block ...web3.BlockNumber) (retval0 *big.Int, retval1 []byte, err error)
ABI calls the ABI method in the solidity contract
func (*Resolver) ABIChangedEventSig ¶
func (*Resolver) AddrChangedEventSig ¶
func (*Resolver) ContentChangedEventSig ¶
func (*Resolver) NameChangedEventSig ¶
func (*Resolver) Pubkey ¶
func (r *Resolver) Pubkey(node [32]byte, block ...web3.BlockNumber) (retval0 [32]byte, retval1 [32]byte, err error)
Pubkey calls the pubkey method in the solidity contract
func (*Resolver) PubkeyChangedEventSig ¶
func (*Resolver) SetContent ¶
SetContent sends a setContent transaction in the solidity contract
func (*Resolver) SupportsInterface ¶
func (r *Resolver) SupportsInterface(interfaceID [4]byte, block ...web3.BlockNumber) (retval0 bool, err error)
SupportsInterface calls the supportsInterface method in the solidity contract