mocks

package
v0.71.5 Latest Latest
Warning

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

Go to latest
Published: May 26, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBlockchainStats

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

MockBlockchainStats is a mock of BlockchainStats interface.

func NewMockBlockchainStats

func NewMockBlockchainStats(ctrl *gomock.Controller) *MockBlockchainStats

NewMockBlockchainStats creates a new mock instance.

func (*MockBlockchainStats) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockBlockchainStats) Height

func (m *MockBlockchainStats) Height() uint64

Height mocks base method.

type MockBlockchainStatsMockRecorder

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

MockBlockchainStatsMockRecorder is the mock recorder for MockBlockchainStats.

func (*MockBlockchainStatsMockRecorder) Height

Height indicates an expected call of Height.

type MockChain

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

MockChain is a mock of Chain interface.

func NewMockChain

func NewMockChain(ctrl *gomock.Controller) *MockChain

NewMockChain creates a new mock instance.

func (*MockChain) EXPECT

func (m *MockChain) EXPECT() *MockChainMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockChain) GetChainID

func (m *MockChain) GetChainID(arg0 context.Context) (string, error)

GetChainID mocks base method.

func (*MockChain) SubmitTransactionAsync

func (m *MockChain) SubmitTransactionAsync(arg0 context.Context, arg1 *v1.Transaction) (*coretypes.ResultBroadcastTx, error)

SubmitTransactionAsync mocks base method.

func (*MockChain) SubmitTransactionSync

func (m *MockChain) SubmitTransactionSync(arg0 context.Context, arg1 *v1.Transaction) (*coretypes.ResultBroadcastTx, error)

SubmitTransactionSync mocks base method.

type MockChainMockRecorder

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

MockChainMockRecorder is the mock recorder for MockChain.

func (*MockChainMockRecorder) GetChainID

func (mr *MockChainMockRecorder) GetChainID(arg0 interface{}) *gomock.Call

GetChainID indicates an expected call of GetChainID.

func (*MockChainMockRecorder) SubmitTransactionAsync

func (mr *MockChainMockRecorder) SubmitTransactionAsync(arg0, arg1 interface{}) *gomock.Call

SubmitTransactionAsync indicates an expected call of SubmitTransactionAsync.

func (*MockChainMockRecorder) SubmitTransactionSync

func (mr *MockChainMockRecorder) SubmitTransactionSync(arg0, arg1 interface{}) *gomock.Call

SubmitTransactionSync indicates an expected call of SubmitTransactionSync.

Jump to

Keyboard shortcuts

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