mocks

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2019 License: LGPL-3.0 Imports: 4 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(ctx context.Context, blockNumber int64, addrs [][]byte) error

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

func (*Store) DeleteAccounts

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

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

func (*Store) DeleteTransfer added in v0.2.0

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

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

func (*Store) FindAccount

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

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

func (*Store) FindAllTransfers added in v0.2.7

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

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

func (*Store) FindERC20

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

FindERC20 provides a mock function with given fields: ctx, address

func (*Store) FindLatestAccounts added in v0.2.2

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

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

func (*Store) InsertAccount

func (_m *Store) InsertAccount(ctx context.Context, _a1 *model.Account) error

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

func (*Store) InsertERC20

func (_m *Store) InsertERC20(ctx context.Context, code *model.ERC20) error

InsertERC20 provides a mock function with given fields: ctx, code

func (*Store) InsertTransfer added in v0.2.0

func (_m *Store) InsertTransfer(ctx context.Context, event *model.Transfer) error

InsertTransfer provides a mock function with given fields: ctx, event

func (*Store) ListERC20

func (_m *Store) ListERC20(ctx context.Context) ([]*model.ERC20, error)

ListERC20 provides a mock function with given fields: ctx

func (*Store) ListNewERC20 added in v0.2.7

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

ListNewERC20 provides a mock function with given fields: ctx

func (*Store) ListOldERC20 added in v0.2.7

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

ListOldERC20 provides a mock function with given fields: ctx

Jump to

Keyboard shortcuts

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