mocks

package
v0.11.7 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Signer

type Signer struct {
	mock.Mock
}

Signer is an autogenerated mock type for the Signer type

func NewSigner added in v0.0.14

func NewSigner(t mockConstructorTestingTNewSigner) *Signer

NewSigner creates a new instance of Signer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Signer) Address

func (_m *Signer) Address() common.Address

Address provides a mock function with given fields:

func (*Signer) GetTransactor

func (_m *Signer) GetTransactor(ctx context.Context, chainID *big.Int) (*bind.TransactOpts, error)

GetTransactor provides a mock function with given fields: ctx, chainID

func (*Signer) PrivKey added in v0.2.0

func (_m *Signer) PrivKey() crypto.PrivKey

PrivKey provides a mock function with given fields:

func (*Signer) SignMessage

func (_m *Signer) SignMessage(ctx context.Context, message []byte, hash bool) (signer.Signature, error)

SignMessage provides a mock function with given fields: ctx, message, hash

Jump to

Keyboard shortcuts

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