account

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Registry

type Registry interface {
	GetSigner() bind.SignerFn
	RegisterSigner(signerFn bind.SignerFn)
	RegisterPrivateKey(ctx context.Context, key *ecdsa.PrivateKey) error
}

type SimpleRegistry

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

func NewSimpleRegistry

func NewSimpleRegistry(chainId *big.Int) *SimpleRegistry

func (*SimpleRegistry) GetSigner

func (r *SimpleRegistry) GetSigner() bind.SignerFn

func (*SimpleRegistry) RegisterPrivateKey

func (r *SimpleRegistry) RegisterPrivateKey(ctx context.Context, key *ecdsa.PrivateKey) error

Registers the private key used for signing txs.

func (*SimpleRegistry) RegisterSigner

func (r *SimpleRegistry) RegisterSigner(signerFn bind.SignerFn)

Jump to

Keyboard shortcuts

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