mocks

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: AGPL-3.0, AGPL-3.0-or-later Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBMock

type DBMock struct {
	mock.Mock
}

DBMock is an autogenerated mock type for the IDB type

func NewDBMock

func NewDBMock(t interface {
	mock.TestingT
	Cleanup(func())
}) *DBMock

NewDBMock creates a new instance of DBMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*DBMock) BeginStateTransaction

func (_m *DBMock) BeginStateTransaction(ctx context.Context) (pgx.Tx, error)

BeginStateTransaction provides a mock function with given fields: ctx

func (*DBMock) EXPECT

func (_m *DBMock) EXPECT() *DBMock_Expecter

type DBMock_BeginStateTransaction_Call

type DBMock_BeginStateTransaction_Call struct {
	*mock.Call
}

DBMock_BeginStateTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BeginStateTransaction'

func (*DBMock_BeginStateTransaction_Call) Return

func (*DBMock_BeginStateTransaction_Call) Run

func (*DBMock_BeginStateTransaction_Call) RunAndReturn

type DBMock_Expecter

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

func (*DBMock_Expecter) BeginStateTransaction

func (_e *DBMock_Expecter) BeginStateTransaction(ctx interface{}) *DBMock_BeginStateTransaction_Call

BeginStateTransaction is a helper method to define mock.On call

  • ctx context.Context

type EthTxManagerMock

type EthTxManagerMock struct {
	mock.Mock
}

EthTxManagerMock is an autogenerated mock type for the IEthTxManager type

func NewEthTxManagerMock

func NewEthTxManagerMock(t interface {
	mock.TestingT
	Cleanup(func())
}) *EthTxManagerMock

NewEthTxManagerMock creates a new instance of EthTxManagerMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*EthTxManagerMock) Add

func (_m *EthTxManagerMock) Add(ctx context.Context, owner string, id string, from common.Address, to *common.Address, value *big.Int, data []byte, gasOffset uint64, dbTx pgx.Tx) error

Add provides a mock function with given fields: ctx, owner, id, from, to, value, data, gasOffset, dbTx

func (*EthTxManagerMock) EXPECT

func (*EthTxManagerMock) Result

Result provides a mock function with given fields: ctx, owner, id, dbTx

type EthTxManagerMock_Add_Call

type EthTxManagerMock_Add_Call struct {
	*mock.Call
}

EthTxManagerMock_Add_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Add'

func (*EthTxManagerMock_Add_Call) Return

func (*EthTxManagerMock_Add_Call) Run

func (_c *EthTxManagerMock_Add_Call) Run(run func(ctx context.Context, owner string, id string, from common.Address, to *common.Address, value *big.Int, data []byte, gasOffset uint64, dbTx pgx.Tx)) *EthTxManagerMock_Add_Call

func (*EthTxManagerMock_Add_Call) RunAndReturn

type EthTxManagerMock_Expecter

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

func (*EthTxManagerMock_Expecter) Add

func (_e *EthTxManagerMock_Expecter) Add(ctx interface{}, owner interface{}, id interface{}, from interface{}, to interface{}, value interface{}, data interface{}, gasOffset interface{}, dbTx interface{}) *EthTxManagerMock_Add_Call

Add is a helper method to define mock.On call

  • ctx context.Context
  • owner string
  • id string
  • from common.Address
  • to *common.Address
  • value *big.Int
  • data []byte
  • gasOffset uint64
  • dbTx pgx.Tx

func (*EthTxManagerMock_Expecter) Result

func (_e *EthTxManagerMock_Expecter) Result(ctx interface{}, owner interface{}, id interface{}, dbTx interface{}) *EthTxManagerMock_Result_Call

Result is a helper method to define mock.On call

  • ctx context.Context
  • owner string
  • id string
  • dbTx pgx.Tx

type EthTxManagerMock_Result_Call

type EthTxManagerMock_Result_Call struct {
	*mock.Call
}

EthTxManagerMock_Result_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Result'

func (*EthTxManagerMock_Result_Call) Return

func (*EthTxManagerMock_Result_Call) Run

func (*EthTxManagerMock_Result_Call) RunAndReturn

type EthereumClientMock

type EthereumClientMock struct {
	mock.Mock
}

EthereumClientMock is an autogenerated mock type for the IEthereumClient type

func NewEthereumClientMock

func NewEthereumClientMock(t interface {
	mock.TestingT
	Cleanup(func())
}) *EthereumClientMock

NewEthereumClientMock creates a new instance of EthereumClientMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*EthereumClientMock) BalanceAt

func (_m *EthereumClientMock) BalanceAt(ctx context.Context, account common.Address, blockNumber *big.Int) (*big.Int, error)

BalanceAt provides a mock function with given fields: ctx, account, blockNumber

func (*EthereumClientMock) BlockByHash

func (_m *EthereumClientMock) BlockByHash(ctx context.Context, hash common.Hash) (*types.Block, error)

BlockByHash provides a mock function with given fields: ctx, hash

func (*EthereumClientMock) BlockByNumber

func (_m *EthereumClientMock) BlockByNumber(ctx context.Context, number *big.Int) (*types.Block, error)

BlockByNumber provides a mock function with given fields: ctx, number

func (*EthereumClientMock) CallContract

func (_m *EthereumClientMock) CallContract(ctx context.Context, call ethereum.CallMsg, blockNumber *big.Int) ([]byte, error)

CallContract provides a mock function with given fields: ctx, call, blockNumber

func (*EthereumClientMock) CodeAt

func (_m *EthereumClientMock) CodeAt(ctx context.Context, account common.Address, blockNumber *big.Int) ([]byte, error)

CodeAt provides a mock function with given fields: ctx, account, blockNumber

func (*EthereumClientMock) EXPECT

func (*EthereumClientMock) EstimateGas

func (_m *EthereumClientMock) EstimateGas(ctx context.Context, call ethereum.CallMsg) (uint64, error)

EstimateGas provides a mock function with given fields: ctx, call

func (*EthereumClientMock) FilterLogs

func (_m *EthereumClientMock) FilterLogs(ctx context.Context, q ethereum.FilterQuery) ([]types.Log, error)

FilterLogs provides a mock function with given fields: ctx, q

func (*EthereumClientMock) HeaderByHash

func (_m *EthereumClientMock) HeaderByHash(ctx context.Context, hash common.Hash) (*types.Header, error)

HeaderByHash provides a mock function with given fields: ctx, hash

func (*EthereumClientMock) HeaderByNumber

func (_m *EthereumClientMock) HeaderByNumber(ctx context.Context, number *big.Int) (*types.Header, error)

HeaderByNumber provides a mock function with given fields: ctx, number

func (*EthereumClientMock) NonceAt

func (_m *EthereumClientMock) NonceAt(ctx context.Context, account common.Address, blockNumber *big.Int) (uint64, error)

NonceAt provides a mock function with given fields: ctx, account, blockNumber

func (*EthereumClientMock) PendingCodeAt

func (_m *EthereumClientMock) PendingCodeAt(ctx context.Context, account common.Address) ([]byte, error)

PendingCodeAt provides a mock function with given fields: ctx, account

func (*EthereumClientMock) PendingNonceAt

func (_m *EthereumClientMock) PendingNonceAt(ctx context.Context, account common.Address) (uint64, error)

PendingNonceAt provides a mock function with given fields: ctx, account

func (*EthereumClientMock) SendTransaction

func (_m *EthereumClientMock) SendTransaction(ctx context.Context, tx *types.Transaction) error

SendTransaction provides a mock function with given fields: ctx, tx

func (*EthereumClientMock) StorageAt

func (_m *EthereumClientMock) StorageAt(ctx context.Context, account common.Address, key common.Hash, blockNumber *big.Int) ([]byte, error)

StorageAt provides a mock function with given fields: ctx, account, key, blockNumber

func (*EthereumClientMock) SubscribeFilterLogs

func (_m *EthereumClientMock) SubscribeFilterLogs(ctx context.Context, q ethereum.FilterQuery, ch chan<- types.Log) (ethereum.Subscription, error)

SubscribeFilterLogs provides a mock function with given fields: ctx, q, ch

func (*EthereumClientMock) SubscribeNewHead

func (_m *EthereumClientMock) SubscribeNewHead(ctx context.Context, ch chan<- *types.Header) (ethereum.Subscription, error)

SubscribeNewHead provides a mock function with given fields: ctx, ch

func (*EthereumClientMock) SuggestGasPrice

func (_m *EthereumClientMock) SuggestGasPrice(ctx context.Context) (*big.Int, error)

SuggestGasPrice provides a mock function with given fields: ctx

func (*EthereumClientMock) SuggestGasTipCap

func (_m *EthereumClientMock) SuggestGasTipCap(ctx context.Context) (*big.Int, error)

SuggestGasTipCap provides a mock function with given fields: ctx

func (*EthereumClientMock) TransactionByHash

func (_m *EthereumClientMock) TransactionByHash(ctx context.Context, txHash common.Hash) (*types.Transaction, bool, error)

TransactionByHash provides a mock function with given fields: ctx, txHash

func (*EthereumClientMock) TransactionCount

func (_m *EthereumClientMock) TransactionCount(ctx context.Context, blockHash common.Hash) (uint, error)

TransactionCount provides a mock function with given fields: ctx, blockHash

func (*EthereumClientMock) TransactionInBlock

func (_m *EthereumClientMock) TransactionInBlock(ctx context.Context, blockHash common.Hash, index uint) (*types.Transaction, error)

TransactionInBlock provides a mock function with given fields: ctx, blockHash, index

func (*EthereumClientMock) TransactionReceipt

func (_m *EthereumClientMock) TransactionReceipt(ctx context.Context, txHash common.Hash) (*types.Receipt, error)

TransactionReceipt provides a mock function with given fields: ctx, txHash

type EthereumClientMock_BalanceAt_Call

type EthereumClientMock_BalanceAt_Call struct {
	*mock.Call
}

EthereumClientMock_BalanceAt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BalanceAt'

func (*EthereumClientMock_BalanceAt_Call) Return

func (*EthereumClientMock_BalanceAt_Call) Run

func (*EthereumClientMock_BalanceAt_Call) RunAndReturn

type EthereumClientMock_BlockByHash_Call

type EthereumClientMock_BlockByHash_Call struct {
	*mock.Call
}

EthereumClientMock_BlockByHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockByHash'

func (*EthereumClientMock_BlockByHash_Call) Return

func (*EthereumClientMock_BlockByHash_Call) Run

func (*EthereumClientMock_BlockByHash_Call) RunAndReturn

type EthereumClientMock_BlockByNumber_Call

type EthereumClientMock_BlockByNumber_Call struct {
	*mock.Call
}

EthereumClientMock_BlockByNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockByNumber'

func (*EthereumClientMock_BlockByNumber_Call) Return

func (*EthereumClientMock_BlockByNumber_Call) Run

func (*EthereumClientMock_BlockByNumber_Call) RunAndReturn

type EthereumClientMock_CallContract_Call

type EthereumClientMock_CallContract_Call struct {
	*mock.Call
}

EthereumClientMock_CallContract_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CallContract'

func (*EthereumClientMock_CallContract_Call) Return

func (*EthereumClientMock_CallContract_Call) Run

func (*EthereumClientMock_CallContract_Call) RunAndReturn

type EthereumClientMock_CodeAt_Call

type EthereumClientMock_CodeAt_Call struct {
	*mock.Call
}

EthereumClientMock_CodeAt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CodeAt'

func (*EthereumClientMock_CodeAt_Call) Return

func (*EthereumClientMock_CodeAt_Call) Run

func (_c *EthereumClientMock_CodeAt_Call) Run(run func(ctx context.Context, account common.Address, blockNumber *big.Int)) *EthereumClientMock_CodeAt_Call

func (*EthereumClientMock_CodeAt_Call) RunAndReturn

type EthereumClientMock_EstimateGas_Call

type EthereumClientMock_EstimateGas_Call struct {
	*mock.Call
}

EthereumClientMock_EstimateGas_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EstimateGas'

func (*EthereumClientMock_EstimateGas_Call) Return

func (*EthereumClientMock_EstimateGas_Call) Run

func (*EthereumClientMock_EstimateGas_Call) RunAndReturn

type EthereumClientMock_Expecter

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

func (*EthereumClientMock_Expecter) BalanceAt

func (_e *EthereumClientMock_Expecter) BalanceAt(ctx interface{}, account interface{}, blockNumber interface{}) *EthereumClientMock_BalanceAt_Call

BalanceAt is a helper method to define mock.On call

  • ctx context.Context
  • account common.Address
  • blockNumber *big.Int

func (*EthereumClientMock_Expecter) BlockByHash

func (_e *EthereumClientMock_Expecter) BlockByHash(ctx interface{}, hash interface{}) *EthereumClientMock_BlockByHash_Call

BlockByHash is a helper method to define mock.On call

  • ctx context.Context
  • hash common.Hash

func (*EthereumClientMock_Expecter) BlockByNumber

func (_e *EthereumClientMock_Expecter) BlockByNumber(ctx interface{}, number interface{}) *EthereumClientMock_BlockByNumber_Call

BlockByNumber is a helper method to define mock.On call

  • ctx context.Context
  • number *big.Int

func (*EthereumClientMock_Expecter) CallContract

func (_e *EthereumClientMock_Expecter) CallContract(ctx interface{}, call interface{}, blockNumber interface{}) *EthereumClientMock_CallContract_Call

CallContract is a helper method to define mock.On call

  • ctx context.Context
  • call ethereum.CallMsg
  • blockNumber *big.Int

func (*EthereumClientMock_Expecter) CodeAt

func (_e *EthereumClientMock_Expecter) CodeAt(ctx interface{}, account interface{}, blockNumber interface{}) *EthereumClientMock_CodeAt_Call

CodeAt is a helper method to define mock.On call

  • ctx context.Context
  • account common.Address
  • blockNumber *big.Int

func (*EthereumClientMock_Expecter) EstimateGas

func (_e *EthereumClientMock_Expecter) EstimateGas(ctx interface{}, call interface{}) *EthereumClientMock_EstimateGas_Call

EstimateGas is a helper method to define mock.On call

  • ctx context.Context
  • call ethereum.CallMsg

func (*EthereumClientMock_Expecter) FilterLogs

func (_e *EthereumClientMock_Expecter) FilterLogs(ctx interface{}, q interface{}) *EthereumClientMock_FilterLogs_Call

FilterLogs is a helper method to define mock.On call

  • ctx context.Context
  • q ethereum.FilterQuery

func (*EthereumClientMock_Expecter) HeaderByHash

func (_e *EthereumClientMock_Expecter) HeaderByHash(ctx interface{}, hash interface{}) *EthereumClientMock_HeaderByHash_Call

HeaderByHash is a helper method to define mock.On call

  • ctx context.Context
  • hash common.Hash

func (*EthereumClientMock_Expecter) HeaderByNumber

func (_e *EthereumClientMock_Expecter) HeaderByNumber(ctx interface{}, number interface{}) *EthereumClientMock_HeaderByNumber_Call

HeaderByNumber is a helper method to define mock.On call

  • ctx context.Context
  • number *big.Int

func (*EthereumClientMock_Expecter) NonceAt

func (_e *EthereumClientMock_Expecter) NonceAt(ctx interface{}, account interface{}, blockNumber interface{}) *EthereumClientMock_NonceAt_Call

NonceAt is a helper method to define mock.On call

  • ctx context.Context
  • account common.Address
  • blockNumber *big.Int

func (*EthereumClientMock_Expecter) PendingCodeAt

func (_e *EthereumClientMock_Expecter) PendingCodeAt(ctx interface{}, account interface{}) *EthereumClientMock_PendingCodeAt_Call

PendingCodeAt is a helper method to define mock.On call

  • ctx context.Context
  • account common.Address

func (*EthereumClientMock_Expecter) PendingNonceAt

func (_e *EthereumClientMock_Expecter) PendingNonceAt(ctx interface{}, account interface{}) *EthereumClientMock_PendingNonceAt_Call

PendingNonceAt is a helper method to define mock.On call

  • ctx context.Context
  • account common.Address

func (*EthereumClientMock_Expecter) SendTransaction

func (_e *EthereumClientMock_Expecter) SendTransaction(ctx interface{}, tx interface{}) *EthereumClientMock_SendTransaction_Call

SendTransaction is a helper method to define mock.On call

  • ctx context.Context
  • tx *types.Transaction

func (*EthereumClientMock_Expecter) StorageAt

func (_e *EthereumClientMock_Expecter) StorageAt(ctx interface{}, account interface{}, key interface{}, blockNumber interface{}) *EthereumClientMock_StorageAt_Call

StorageAt is a helper method to define mock.On call

  • ctx context.Context
  • account common.Address
  • key common.Hash
  • blockNumber *big.Int

func (*EthereumClientMock_Expecter) SubscribeFilterLogs

func (_e *EthereumClientMock_Expecter) SubscribeFilterLogs(ctx interface{}, q interface{}, ch interface{}) *EthereumClientMock_SubscribeFilterLogs_Call

SubscribeFilterLogs is a helper method to define mock.On call

  • ctx context.Context
  • q ethereum.FilterQuery
  • ch chan<- types.Log

func (*EthereumClientMock_Expecter) SubscribeNewHead

func (_e *EthereumClientMock_Expecter) SubscribeNewHead(ctx interface{}, ch interface{}) *EthereumClientMock_SubscribeNewHead_Call

SubscribeNewHead is a helper method to define mock.On call

  • ctx context.Context
  • ch chan<- *types.Header

func (*EthereumClientMock_Expecter) SuggestGasPrice

func (_e *EthereumClientMock_Expecter) SuggestGasPrice(ctx interface{}) *EthereumClientMock_SuggestGasPrice_Call

SuggestGasPrice is a helper method to define mock.On call

  • ctx context.Context

func (*EthereumClientMock_Expecter) SuggestGasTipCap

func (_e *EthereumClientMock_Expecter) SuggestGasTipCap(ctx interface{}) *EthereumClientMock_SuggestGasTipCap_Call

SuggestGasTipCap is a helper method to define mock.On call

  • ctx context.Context

func (*EthereumClientMock_Expecter) TransactionByHash

func (_e *EthereumClientMock_Expecter) TransactionByHash(ctx interface{}, txHash interface{}) *EthereumClientMock_TransactionByHash_Call

TransactionByHash is a helper method to define mock.On call

  • ctx context.Context
  • txHash common.Hash

func (*EthereumClientMock_Expecter) TransactionCount

func (_e *EthereumClientMock_Expecter) TransactionCount(ctx interface{}, blockHash interface{}) *EthereumClientMock_TransactionCount_Call

TransactionCount is a helper method to define mock.On call

  • ctx context.Context
  • blockHash common.Hash

func (*EthereumClientMock_Expecter) TransactionInBlock

func (_e *EthereumClientMock_Expecter) TransactionInBlock(ctx interface{}, blockHash interface{}, index interface{}) *EthereumClientMock_TransactionInBlock_Call

TransactionInBlock is a helper method to define mock.On call

  • ctx context.Context
  • blockHash common.Hash
  • index uint

func (*EthereumClientMock_Expecter) TransactionReceipt

func (_e *EthereumClientMock_Expecter) TransactionReceipt(ctx interface{}, txHash interface{}) *EthereumClientMock_TransactionReceipt_Call

TransactionReceipt is a helper method to define mock.On call

  • ctx context.Context
  • txHash common.Hash

type EthereumClientMock_FilterLogs_Call

type EthereumClientMock_FilterLogs_Call struct {
	*mock.Call
}

EthereumClientMock_FilterLogs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FilterLogs'

func (*EthereumClientMock_FilterLogs_Call) Return

func (*EthereumClientMock_FilterLogs_Call) Run

func (*EthereumClientMock_FilterLogs_Call) RunAndReturn

type EthereumClientMock_HeaderByHash_Call

type EthereumClientMock_HeaderByHash_Call struct {
	*mock.Call
}

EthereumClientMock_HeaderByHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HeaderByHash'

func (*EthereumClientMock_HeaderByHash_Call) Return

func (*EthereumClientMock_HeaderByHash_Call) Run

func (*EthereumClientMock_HeaderByHash_Call) RunAndReturn

type EthereumClientMock_HeaderByNumber_Call

type EthereumClientMock_HeaderByNumber_Call struct {
	*mock.Call
}

EthereumClientMock_HeaderByNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HeaderByNumber'

func (*EthereumClientMock_HeaderByNumber_Call) Return

func (*EthereumClientMock_HeaderByNumber_Call) Run

func (*EthereumClientMock_HeaderByNumber_Call) RunAndReturn

type EthereumClientMock_NonceAt_Call

type EthereumClientMock_NonceAt_Call struct {
	*mock.Call
}

EthereumClientMock_NonceAt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NonceAt'

func (*EthereumClientMock_NonceAt_Call) Return

func (*EthereumClientMock_NonceAt_Call) Run

func (*EthereumClientMock_NonceAt_Call) RunAndReturn

type EthereumClientMock_PendingCodeAt_Call

type EthereumClientMock_PendingCodeAt_Call struct {
	*mock.Call
}

EthereumClientMock_PendingCodeAt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PendingCodeAt'

func (*EthereumClientMock_PendingCodeAt_Call) Return

func (*EthereumClientMock_PendingCodeAt_Call) Run

func (*EthereumClientMock_PendingCodeAt_Call) RunAndReturn

type EthereumClientMock_PendingNonceAt_Call

type EthereumClientMock_PendingNonceAt_Call struct {
	*mock.Call
}

EthereumClientMock_PendingNonceAt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PendingNonceAt'

func (*EthereumClientMock_PendingNonceAt_Call) Return

func (*EthereumClientMock_PendingNonceAt_Call) Run

func (*EthereumClientMock_PendingNonceAt_Call) RunAndReturn

type EthereumClientMock_SendTransaction_Call

type EthereumClientMock_SendTransaction_Call struct {
	*mock.Call
}

EthereumClientMock_SendTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendTransaction'

func (*EthereumClientMock_SendTransaction_Call) Return

func (*EthereumClientMock_SendTransaction_Call) Run

func (*EthereumClientMock_SendTransaction_Call) RunAndReturn

type EthereumClientMock_StorageAt_Call

type EthereumClientMock_StorageAt_Call struct {
	*mock.Call
}

EthereumClientMock_StorageAt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StorageAt'

func (*EthereumClientMock_StorageAt_Call) Return

func (*EthereumClientMock_StorageAt_Call) Run

func (*EthereumClientMock_StorageAt_Call) RunAndReturn

type EthereumClientMock_SubscribeFilterLogs_Call

type EthereumClientMock_SubscribeFilterLogs_Call struct {
	*mock.Call
}

EthereumClientMock_SubscribeFilterLogs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SubscribeFilterLogs'

func (*EthereumClientMock_SubscribeFilterLogs_Call) Return

func (*EthereumClientMock_SubscribeFilterLogs_Call) Run

func (*EthereumClientMock_SubscribeFilterLogs_Call) RunAndReturn

type EthereumClientMock_SubscribeNewHead_Call

type EthereumClientMock_SubscribeNewHead_Call struct {
	*mock.Call
}

EthereumClientMock_SubscribeNewHead_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SubscribeNewHead'

func (*EthereumClientMock_SubscribeNewHead_Call) Return

func (*EthereumClientMock_SubscribeNewHead_Call) Run

func (*EthereumClientMock_SubscribeNewHead_Call) RunAndReturn

type EthereumClientMock_SuggestGasPrice_Call

type EthereumClientMock_SuggestGasPrice_Call struct {
	*mock.Call
}

EthereumClientMock_SuggestGasPrice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SuggestGasPrice'

func (*EthereumClientMock_SuggestGasPrice_Call) Return

func (*EthereumClientMock_SuggestGasPrice_Call) Run

func (*EthereumClientMock_SuggestGasPrice_Call) RunAndReturn

type EthereumClientMock_SuggestGasTipCap_Call

type EthereumClientMock_SuggestGasTipCap_Call struct {
	*mock.Call
}

EthereumClientMock_SuggestGasTipCap_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SuggestGasTipCap'

func (*EthereumClientMock_SuggestGasTipCap_Call) Return

func (*EthereumClientMock_SuggestGasTipCap_Call) Run

func (*EthereumClientMock_SuggestGasTipCap_Call) RunAndReturn

type EthereumClientMock_TransactionByHash_Call

type EthereumClientMock_TransactionByHash_Call struct {
	*mock.Call
}

EthereumClientMock_TransactionByHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionByHash'

func (*EthereumClientMock_TransactionByHash_Call) Return

func (*EthereumClientMock_TransactionByHash_Call) Run

func (*EthereumClientMock_TransactionByHash_Call) RunAndReturn

type EthereumClientMock_TransactionCount_Call

type EthereumClientMock_TransactionCount_Call struct {
	*mock.Call
}

EthereumClientMock_TransactionCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionCount'

func (*EthereumClientMock_TransactionCount_Call) Return

func (*EthereumClientMock_TransactionCount_Call) Run

func (*EthereumClientMock_TransactionCount_Call) RunAndReturn

type EthereumClientMock_TransactionInBlock_Call

type EthereumClientMock_TransactionInBlock_Call struct {
	*mock.Call
}

EthereumClientMock_TransactionInBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionInBlock'

func (*EthereumClientMock_TransactionInBlock_Call) Return

func (*EthereumClientMock_TransactionInBlock_Call) Run

func (*EthereumClientMock_TransactionInBlock_Call) RunAndReturn

type EthereumClientMock_TransactionReceipt_Call

type EthereumClientMock_TransactionReceipt_Call struct {
	*mock.Call
}

EthereumClientMock_TransactionReceipt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionReceipt'

func (*EthereumClientMock_TransactionReceipt_Call) Return

func (*EthereumClientMock_TransactionReceipt_Call) Run

func (*EthereumClientMock_TransactionReceipt_Call) RunAndReturn

type EthermanMock

type EthermanMock struct {
	mock.Mock
}

EthermanMock is an autogenerated mock type for the IEtherman type

func NewEthermanMock

func NewEthermanMock(t interface {
	mock.TestingT
	Cleanup(func())
}) *EthermanMock

NewEthermanMock creates a new instance of EthermanMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*EthermanMock) BuildTrustedVerifyBatchesTxData

func (_m *EthermanMock) BuildTrustedVerifyBatchesTxData(lastVerifiedBatch uint64, newVerifiedBatch uint64, proof tx.ZKP, rollupId uint32) ([]byte, error)

BuildTrustedVerifyBatchesTxData provides a mock function with given fields: lastVerifiedBatch, newVerifiedBatch, proof, rollupId

func (*EthermanMock) CallContract

func (_m *EthermanMock) CallContract(ctx context.Context, call ethereum.CallMsg, blockNumber *big.Int) ([]byte, error)

CallContract provides a mock function with given fields: ctx, call, blockNumber

func (*EthermanMock) CheckTxWasMined added in v0.1.3

func (_m *EthermanMock) CheckTxWasMined(ctx context.Context, txHash common.Hash) (bool, *coretypes.Receipt, error)

CheckTxWasMined provides a mock function with given fields: ctx, txHash

func (*EthermanMock) EXPECT

func (_m *EthermanMock) EXPECT() *EthermanMock_Expecter

func (*EthermanMock) EstimateGas added in v0.1.3

func (_m *EthermanMock) EstimateGas(ctx context.Context, from common.Address, to *common.Address, value *big.Int, data []byte) (uint64, error)

EstimateGas provides a mock function with given fields: ctx, from, to, value, data

func (*EthermanMock) GetLastBlock added in v0.1.3

func (_m *EthermanMock) GetLastBlock(ctx context.Context, dbTx pgx.Tx) (*state.Block, error)

GetLastBlock provides a mock function with given fields: ctx, dbTx

func (*EthermanMock) GetRevertMessage added in v0.1.3

func (_m *EthermanMock) GetRevertMessage(ctx context.Context, _a1 *coretypes.Transaction) (string, error)

GetRevertMessage provides a mock function with given fields: ctx, _a1

func (*EthermanMock) GetSequencerAddr

func (_m *EthermanMock) GetSequencerAddr(rollupId uint32) (common.Address, error)

GetSequencerAddr provides a mock function with given fields: rollupId

func (*EthermanMock) GetTx added in v0.1.3

func (_m *EthermanMock) GetTx(ctx context.Context, txHash common.Hash) (*coretypes.Transaction, bool, error)

GetTx provides a mock function with given fields: ctx, txHash

func (*EthermanMock) GetTxReceipt added in v0.1.3

func (_m *EthermanMock) GetTxReceipt(ctx context.Context, txHash common.Hash) (*coretypes.Receipt, error)

GetTxReceipt provides a mock function with given fields: ctx, txHash

func (*EthermanMock) PendingNonce added in v0.1.3

func (_m *EthermanMock) PendingNonce(ctx context.Context, account common.Address) (uint64, error)

PendingNonce provides a mock function with given fields: ctx, account

func (*EthermanMock) SendTx added in v0.1.3

func (_m *EthermanMock) SendTx(ctx context.Context, _a1 *coretypes.Transaction) error

SendTx provides a mock function with given fields: ctx, _a1

func (*EthermanMock) SignTx added in v0.1.3

SignTx provides a mock function with given fields: ctx, sender, _a2

func (*EthermanMock) SuggestedGasPrice added in v0.1.3

func (_m *EthermanMock) SuggestedGasPrice(ctx context.Context) (*big.Int, error)

SuggestedGasPrice provides a mock function with given fields: ctx

func (*EthermanMock) WaitTxToBeMined added in v0.1.3

func (_m *EthermanMock) WaitTxToBeMined(ctx context.Context, _a1 *coretypes.Transaction, timeout time.Duration) (bool, error)

WaitTxToBeMined provides a mock function with given fields: ctx, _a1, timeout

type EthermanMock_BuildTrustedVerifyBatchesTxData_Call

type EthermanMock_BuildTrustedVerifyBatchesTxData_Call struct {
	*mock.Call
}

EthermanMock_BuildTrustedVerifyBatchesTxData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BuildTrustedVerifyBatchesTxData'

func (*EthermanMock_BuildTrustedVerifyBatchesTxData_Call) Return

func (*EthermanMock_BuildTrustedVerifyBatchesTxData_Call) Run

func (_c *EthermanMock_BuildTrustedVerifyBatchesTxData_Call) Run(run func(lastVerifiedBatch uint64, newVerifiedBatch uint64, proof tx.ZKP, rollupId uint32)) *EthermanMock_BuildTrustedVerifyBatchesTxData_Call

func (*EthermanMock_BuildTrustedVerifyBatchesTxData_Call) RunAndReturn

type EthermanMock_CallContract_Call

type EthermanMock_CallContract_Call struct {
	*mock.Call
}

EthermanMock_CallContract_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CallContract'

func (*EthermanMock_CallContract_Call) Return

func (*EthermanMock_CallContract_Call) Run

func (*EthermanMock_CallContract_Call) RunAndReturn

type EthermanMock_CheckTxWasMined_Call added in v0.1.3

type EthermanMock_CheckTxWasMined_Call struct {
	*mock.Call
}

EthermanMock_CheckTxWasMined_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckTxWasMined'

func (*EthermanMock_CheckTxWasMined_Call) Return added in v0.1.3

func (*EthermanMock_CheckTxWasMined_Call) Run added in v0.1.3

func (*EthermanMock_CheckTxWasMined_Call) RunAndReturn added in v0.1.3

type EthermanMock_EstimateGas_Call added in v0.1.3

type EthermanMock_EstimateGas_Call struct {
	*mock.Call
}

EthermanMock_EstimateGas_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EstimateGas'

func (*EthermanMock_EstimateGas_Call) Return added in v0.1.3

func (*EthermanMock_EstimateGas_Call) Run added in v0.1.3

func (*EthermanMock_EstimateGas_Call) RunAndReturn added in v0.1.3

type EthermanMock_Expecter

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

func (*EthermanMock_Expecter) BuildTrustedVerifyBatchesTxData

func (_e *EthermanMock_Expecter) BuildTrustedVerifyBatchesTxData(lastVerifiedBatch interface{}, newVerifiedBatch interface{}, proof interface{}, rollupId interface{}) *EthermanMock_BuildTrustedVerifyBatchesTxData_Call

BuildTrustedVerifyBatchesTxData is a helper method to define mock.On call

  • lastVerifiedBatch uint64
  • newVerifiedBatch uint64
  • proof tx.ZKP
  • rollupId uint32

func (*EthermanMock_Expecter) CallContract

func (_e *EthermanMock_Expecter) CallContract(ctx interface{}, call interface{}, blockNumber interface{}) *EthermanMock_CallContract_Call

CallContract is a helper method to define mock.On call

  • ctx context.Context
  • call ethereum.CallMsg
  • blockNumber *big.Int

func (*EthermanMock_Expecter) CheckTxWasMined added in v0.1.3

func (_e *EthermanMock_Expecter) CheckTxWasMined(ctx interface{}, txHash interface{}) *EthermanMock_CheckTxWasMined_Call

CheckTxWasMined is a helper method to define mock.On call

  • ctx context.Context
  • txHash common.Hash

func (*EthermanMock_Expecter) EstimateGas added in v0.1.3

func (_e *EthermanMock_Expecter) EstimateGas(ctx interface{}, from interface{}, to interface{}, value interface{}, data interface{}) *EthermanMock_EstimateGas_Call

EstimateGas is a helper method to define mock.On call

  • ctx context.Context
  • from common.Address
  • to *common.Address
  • value *big.Int
  • data []byte

func (*EthermanMock_Expecter) GetLastBlock added in v0.1.3

func (_e *EthermanMock_Expecter) GetLastBlock(ctx interface{}, dbTx interface{}) *EthermanMock_GetLastBlock_Call

GetLastBlock is a helper method to define mock.On call

  • ctx context.Context
  • dbTx pgx.Tx

func (*EthermanMock_Expecter) GetRevertMessage added in v0.1.3

func (_e *EthermanMock_Expecter) GetRevertMessage(ctx interface{}, _a1 interface{}) *EthermanMock_GetRevertMessage_Call

GetRevertMessage is a helper method to define mock.On call

  • ctx context.Context
  • _a1 *coretypes.Transaction

func (*EthermanMock_Expecter) GetSequencerAddr

func (_e *EthermanMock_Expecter) GetSequencerAddr(rollupId interface{}) *EthermanMock_GetSequencerAddr_Call

GetSequencerAddr is a helper method to define mock.On call

  • rollupId uint32

func (*EthermanMock_Expecter) GetTx added in v0.1.3

func (_e *EthermanMock_Expecter) GetTx(ctx interface{}, txHash interface{}) *EthermanMock_GetTx_Call

GetTx is a helper method to define mock.On call

  • ctx context.Context
  • txHash common.Hash

func (*EthermanMock_Expecter) GetTxReceipt added in v0.1.3

func (_e *EthermanMock_Expecter) GetTxReceipt(ctx interface{}, txHash interface{}) *EthermanMock_GetTxReceipt_Call

GetTxReceipt is a helper method to define mock.On call

  • ctx context.Context
  • txHash common.Hash

func (*EthermanMock_Expecter) PendingNonce added in v0.1.3

func (_e *EthermanMock_Expecter) PendingNonce(ctx interface{}, account interface{}) *EthermanMock_PendingNonce_Call

PendingNonce is a helper method to define mock.On call

  • ctx context.Context
  • account common.Address

func (*EthermanMock_Expecter) SendTx added in v0.1.3

func (_e *EthermanMock_Expecter) SendTx(ctx interface{}, _a1 interface{}) *EthermanMock_SendTx_Call

SendTx is a helper method to define mock.On call

  • ctx context.Context
  • _a1 *coretypes.Transaction

func (*EthermanMock_Expecter) SignTx added in v0.1.3

func (_e *EthermanMock_Expecter) SignTx(ctx interface{}, sender interface{}, _a2 interface{}) *EthermanMock_SignTx_Call

SignTx is a helper method to define mock.On call

  • ctx context.Context
  • sender common.Address
  • _a2 *coretypes.Transaction

func (*EthermanMock_Expecter) SuggestedGasPrice added in v0.1.3

func (_e *EthermanMock_Expecter) SuggestedGasPrice(ctx interface{}) *EthermanMock_SuggestedGasPrice_Call

SuggestedGasPrice is a helper method to define mock.On call

  • ctx context.Context

func (*EthermanMock_Expecter) WaitTxToBeMined added in v0.1.3

func (_e *EthermanMock_Expecter) WaitTxToBeMined(ctx interface{}, _a1 interface{}, timeout interface{}) *EthermanMock_WaitTxToBeMined_Call

WaitTxToBeMined is a helper method to define mock.On call

  • ctx context.Context
  • _a1 *coretypes.Transaction
  • timeout time.Duration

type EthermanMock_GetLastBlock_Call added in v0.1.3

type EthermanMock_GetLastBlock_Call struct {
	*mock.Call
}

EthermanMock_GetLastBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastBlock'

func (*EthermanMock_GetLastBlock_Call) Return added in v0.1.3

func (*EthermanMock_GetLastBlock_Call) Run added in v0.1.3

func (*EthermanMock_GetLastBlock_Call) RunAndReturn added in v0.1.3

type EthermanMock_GetRevertMessage_Call added in v0.1.3

type EthermanMock_GetRevertMessage_Call struct {
	*mock.Call
}

EthermanMock_GetRevertMessage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRevertMessage'

func (*EthermanMock_GetRevertMessage_Call) Return added in v0.1.3

func (*EthermanMock_GetRevertMessage_Call) Run added in v0.1.3

func (*EthermanMock_GetRevertMessage_Call) RunAndReturn added in v0.1.3

type EthermanMock_GetSequencerAddr_Call

type EthermanMock_GetSequencerAddr_Call struct {
	*mock.Call
}

EthermanMock_GetSequencerAddr_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSequencerAddr'

func (*EthermanMock_GetSequencerAddr_Call) Return

func (*EthermanMock_GetSequencerAddr_Call) Run

func (*EthermanMock_GetSequencerAddr_Call) RunAndReturn

type EthermanMock_GetTxReceipt_Call added in v0.1.3

type EthermanMock_GetTxReceipt_Call struct {
	*mock.Call
}

EthermanMock_GetTxReceipt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTxReceipt'

func (*EthermanMock_GetTxReceipt_Call) Return added in v0.1.3

func (*EthermanMock_GetTxReceipt_Call) Run added in v0.1.3

func (*EthermanMock_GetTxReceipt_Call) RunAndReturn added in v0.1.3

type EthermanMock_GetTx_Call added in v0.1.3

type EthermanMock_GetTx_Call struct {
	*mock.Call
}

EthermanMock_GetTx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTx'

func (*EthermanMock_GetTx_Call) Return added in v0.1.3

func (*EthermanMock_GetTx_Call) Run added in v0.1.3

func (*EthermanMock_GetTx_Call) RunAndReturn added in v0.1.3

type EthermanMock_PendingNonce_Call added in v0.1.3

type EthermanMock_PendingNonce_Call struct {
	*mock.Call
}

EthermanMock_PendingNonce_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PendingNonce'

func (*EthermanMock_PendingNonce_Call) Return added in v0.1.3

func (*EthermanMock_PendingNonce_Call) Run added in v0.1.3

func (*EthermanMock_PendingNonce_Call) RunAndReturn added in v0.1.3

type EthermanMock_SendTx_Call added in v0.1.3

type EthermanMock_SendTx_Call struct {
	*mock.Call
}

EthermanMock_SendTx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendTx'

func (*EthermanMock_SendTx_Call) Return added in v0.1.3

func (*EthermanMock_SendTx_Call) Run added in v0.1.3

func (*EthermanMock_SendTx_Call) RunAndReturn added in v0.1.3

type EthermanMock_SignTx_Call added in v0.1.3

type EthermanMock_SignTx_Call struct {
	*mock.Call
}

EthermanMock_SignTx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SignTx'

func (*EthermanMock_SignTx_Call) Return added in v0.1.3

func (*EthermanMock_SignTx_Call) Run added in v0.1.3

func (*EthermanMock_SignTx_Call) RunAndReturn added in v0.1.3

type EthermanMock_SuggestedGasPrice_Call added in v0.1.3

type EthermanMock_SuggestedGasPrice_Call struct {
	*mock.Call
}

EthermanMock_SuggestedGasPrice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SuggestedGasPrice'

func (*EthermanMock_SuggestedGasPrice_Call) Return added in v0.1.3

func (*EthermanMock_SuggestedGasPrice_Call) Run added in v0.1.3

func (*EthermanMock_SuggestedGasPrice_Call) RunAndReturn added in v0.1.3

type EthermanMock_WaitTxToBeMined_Call added in v0.1.3

type EthermanMock_WaitTxToBeMined_Call struct {
	*mock.Call
}

EthermanMock_WaitTxToBeMined_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WaitTxToBeMined'

func (*EthermanMock_WaitTxToBeMined_Call) Return added in v0.1.3

func (*EthermanMock_WaitTxToBeMined_Call) Run added in v0.1.3

func (*EthermanMock_WaitTxToBeMined_Call) RunAndReturn added in v0.1.3

type TxMock

type TxMock struct {
	mock.Mock
}

func (*TxMock) Begin

func (tx *TxMock) Begin(ctx context.Context) (pgx.Tx, error)

func (*TxMock) BeginFunc

func (tx *TxMock) BeginFunc(ctx context.Context, f func(pgx.Tx) error) (err error)

func (*TxMock) Commit

func (tx *TxMock) Commit(ctx context.Context) error

func (*TxMock) Conn

func (tx *TxMock) Conn() *pgx.Conn

func (*TxMock) CopyFrom

func (tx *TxMock) CopyFrom(ctx context.Context, tableName pgx.Identifier,
	columnNames []string, rowSrc pgx.CopyFromSource) (int64, error)

func (*TxMock) Exec

func (tx *TxMock) Exec(ctx context.Context, sql string, arguments ...interface{}) (commandTag pgconn.CommandTag, err error)

func (*TxMock) LargeObjects

func (tx *TxMock) LargeObjects() pgx.LargeObjects

func (*TxMock) Prepare

func (tx *TxMock) Prepare(ctx context.Context, name, sql string) (*pgconn.StatementDescription, error)

func (*TxMock) Query

func (tx *TxMock) Query(ctx context.Context, sql string, args ...interface{}) (pgx.Rows, error)

func (*TxMock) QueryFunc

func (tx *TxMock) QueryFunc(ctx context.Context, sql string,
	args []interface{}, scans []interface{}, f func(pgx.QueryFuncRow) error) (pgconn.CommandTag, error)

func (*TxMock) QueryRow

func (tx *TxMock) QueryRow(ctx context.Context, sql string, args ...interface{}) pgx.Row

func (*TxMock) Rollback

func (tx *TxMock) Rollback(ctx context.Context) error

func (*TxMock) SendBatch

func (tx *TxMock) SendBatch(ctx context.Context, b *pgx.Batch) pgx.BatchResults

type ZkEVMClientClientCreatorMock

type ZkEVMClientClientCreatorMock struct {
	mock.Mock
}

ZkEVMClientClientCreatorMock is an autogenerated mock type for the IZkEVMClientClientCreator type

func NewZkEVMClientClientCreatorMock

func NewZkEVMClientClientCreatorMock(t interface {
	mock.TestingT
	Cleanup(func())
}) *ZkEVMClientClientCreatorMock

NewZkEVMClientClientCreatorMock creates a new instance of ZkEVMClientClientCreatorMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ZkEVMClientClientCreatorMock) EXPECT

func (*ZkEVMClientClientCreatorMock) NewClient

NewClient provides a mock function with given fields: rpc

type ZkEVMClientClientCreatorMock_Expecter

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

func (*ZkEVMClientClientCreatorMock_Expecter) NewClient

NewClient is a helper method to define mock.On call

  • rpc string

type ZkEVMClientClientCreatorMock_NewClient_Call

type ZkEVMClientClientCreatorMock_NewClient_Call struct {
	*mock.Call
}

ZkEVMClientClientCreatorMock_NewClient_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewClient'

func (*ZkEVMClientClientCreatorMock_NewClient_Call) Return

func (*ZkEVMClientClientCreatorMock_NewClient_Call) Run

func (*ZkEVMClientClientCreatorMock_NewClient_Call) RunAndReturn

type ZkEVMClientMock

type ZkEVMClientMock struct {
	mock.Mock
}

ZkEVMClientMock is an autogenerated mock type for the IZkEVMClient type

func NewZkEVMClientMock

func NewZkEVMClientMock(t interface {
	mock.TestingT
	Cleanup(func())
}) *ZkEVMClientMock

NewZkEVMClientMock creates a new instance of ZkEVMClientMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ZkEVMClientMock) BatchByNumber

func (_m *ZkEVMClientMock) BatchByNumber(ctx context.Context, number *big.Int) (*types.Batch, error)

BatchByNumber provides a mock function with given fields: ctx, number

func (*ZkEVMClientMock) EXPECT

type ZkEVMClientMock_BatchByNumber_Call

type ZkEVMClientMock_BatchByNumber_Call struct {
	*mock.Call
}

ZkEVMClientMock_BatchByNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchByNumber'

func (*ZkEVMClientMock_BatchByNumber_Call) Return

func (*ZkEVMClientMock_BatchByNumber_Call) Run

func (*ZkEVMClientMock_BatchByNumber_Call) RunAndReturn

type ZkEVMClientMock_Expecter

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

func (*ZkEVMClientMock_Expecter) BatchByNumber

func (_e *ZkEVMClientMock_Expecter) BatchByNumber(ctx interface{}, number interface{}) *ZkEVMClientMock_BatchByNumber_Call

BatchByNumber is a helper method to define mock.On call

  • ctx context.Context
  • number *big.Int

Jump to

Keyboard shortcuts

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