mocks

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2022 License: MIT Imports: 6 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(chainID *big.Int) (*bind.TransactOpts, error)

GetTransactor provides a mock function with given fields: chainID

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