mocks

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2018 License: LGPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	mock.Mock
}

Store is an autogenerated mock type for the Store type

func (*Store) BatchUpdateERC20BlockNumber added in v0.2.7

func (_m *Store) BatchUpdateERC20BlockNumber(blockNumber int64, addrs [][]byte) error

BatchUpdateERC20BlockNumber provides a mock function with given fields: blockNumber, addrs

func (*Store) DeleteAccounts

func (_m *Store) DeleteAccounts(contractAddress common.Address, from int64, to int64) error

DeleteAccounts provides a mock function with given fields: contractAddress, from, to

func (*Store) DeleteTransfer added in v0.2.0

func (_m *Store) DeleteTransfer(contractAddress common.Address, from int64, to int64) error

DeleteTransfer provides a mock function with given fields: contractAddress, from, to

func (*Store) FindAccount

func (_m *Store) FindAccount(contractAddress common.Address, address common.Address, blockNr ...int64) (*model.Account, error)

FindAccount provides a mock function with given fields: contractAddress, address, blockNr

func (*Store) FindAllTransfers added in v0.2.7

func (_m *Store) FindAllTransfers(contractAddress common.Address, address common.Address) ([]*model.Transfer, error)

FindAllTransfers provides a mock function with given fields: contractAddress, address

func (*Store) FindERC20

func (_m *Store) FindERC20(address common.Address) (*model.ERC20, error)

FindERC20 provides a mock function with given fields: address

func (*Store) FindLatestAccounts added in v0.2.2

func (_m *Store) FindLatestAccounts(contractAddress common.Address, addrs [][]byte) ([]*model.Account, error)

FindLatestAccounts provides a mock function with given fields: contractAddress, addrs

func (*Store) FindTransfer added in v0.2.0

func (_m *Store) FindTransfer(contractAddress common.Address, address common.Address, blockNr ...int64) (*model.Transfer, error)

FindTransfer provides a mock function with given fields: contractAddress, address, blockNr

func (*Store) InsertAccount

func (_m *Store) InsertAccount(_a0 *model.Account) error

InsertAccount provides a mock function with given fields: _a0

func (*Store) InsertERC20

func (_m *Store) InsertERC20(code *model.ERC20) error

InsertERC20 provides a mock function with given fields: code

func (*Store) InsertTransfer added in v0.2.0

func (_m *Store) InsertTransfer(event *model.Transfer) error

InsertTransfer provides a mock function with given fields: event

func (*Store) ListNewERC20 added in v0.2.7

func (_m *Store) ListNewERC20() ([]*model.ERC20, error)

ListNewERC20 provides a mock function with given fields:

func (*Store) ListOldERC20 added in v0.2.7

func (_m *Store) ListOldERC20() ([]*model.ERC20, error)

ListOldERC20 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