ens

package
v0.171.31 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2023 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Verifier

type Verifier struct {
	// contains filtered or unexported fields
}

func NewVerifier

func NewVerifier(logger *zap.Logger) *Verifier

NewVerifier returns a Verifier attached to the specified logger

func (*Verifier) CheckBatch

func (m *Verifier) CheckBatch(ensDetails []enstypes.ENSDetails, rpcEndpoint, contractAddress string) (map[string]enstypes.ENSResponse, error)

CheckBatch verifies that a registered ENS name matches the expected public key

func (*Verifier) ReverseResolve added in v0.156.1

func (m *Verifier) ReverseResolve(address common.Address, rpcEndpoint string) (string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL