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