mocks

package
v0.0.135 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContractType

type ContractType struct {
	mock.Mock
}

ContractType is an autogenerated mock type for the ContractType type

func NewContractType

func NewContractType(t mockConstructorTestingTNewContractType) *ContractType

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

func (*ContractType) ContractInfo

func (_m *ContractType) ContractInfo() *compiler.Contract

ContractInfo provides a mock function with given fields:

func (*ContractType) ContractName

func (_m *ContractType) ContractName() string

ContractName provides a mock function with given fields:

func (*ContractType) ID

func (_m *ContractType) ID() int

ID provides a mock function with given fields:

func (*ContractType) Name

func (_m *ContractType) Name() string

Name provides a mock function with given fields:

type DeployedContract

type DeployedContract struct {
	mock.Mock
}

DeployedContract is an autogenerated mock type for the DeployedContract type

func NewDeployedContract

func NewDeployedContract(t mockConstructorTestingTNewDeployedContract) *DeployedContract

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

func (*DeployedContract) Address

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

Address provides a mock function with given fields:

func (*DeployedContract) ChainID

func (_m *DeployedContract) ChainID() *big.Int

ChainID provides a mock function with given fields:

func (*DeployedContract) ContractHandle

func (_m *DeployedContract) ContractHandle() interface{}

ContractHandle provides a mock function with given fields:

func (*DeployedContract) DeployTx

func (_m *DeployedContract) DeployTx() *types.Transaction

DeployTx provides a mock function with given fields:

func (*DeployedContract) Owner

func (_m *DeployedContract) Owner() common.Address

Owner provides a mock function with given fields:

func (*DeployedContract) OwnerPtr

func (_m *DeployedContract) OwnerPtr() *common.Address

OwnerPtr provides a mock function with given fields:

func (*DeployedContract) String added in v0.0.131

func (_m *DeployedContract) String() string

String provides a mock function with given fields:

Jump to

Keyboard shortcuts

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