Documentation ¶
Overview ¶
Code generated by mockery v1.0.0
Index ¶
- type Store
- func (_m *Store) BatchUpdateERC20BlockNumber(ctx context.Context, blockNumber int64, addrs [][]byte) error
- func (_m *Store) DeleteAccounts(ctx context.Context, contractAddress common.Address, from int64, to int64) error
- func (_m *Store) DeleteTransfer(ctx context.Context, contractAddress common.Address, from int64, to int64) error
- func (_m *Store) FindAccount(ctx context.Context, contractAddress common.Address, address common.Address, ...) (*model.Account, error)
- func (_m *Store) FindAllTransfers(ctx context.Context, contractAddress common.Address, address common.Address) ([]*model.Transfer, error)
- func (_m *Store) FindERC20(ctx context.Context, address common.Address) (*model.ERC20, error)
- func (_m *Store) FindLatestAccounts(ctx context.Context, contractAddress common.Address, addrs [][]byte) ([]*model.Account, error)
- func (_m *Store) InsertAccount(ctx context.Context, _a1 *model.Account) error
- func (_m *Store) InsertERC20(ctx context.Context, code *model.ERC20) error
- func (_m *Store) InsertTransfer(ctx context.Context, event *model.Transfer) error
- func (_m *Store) ListERC20(ctx context.Context) ([]*model.ERC20, error)
- func (_m *Store) ListNewERC20(ctx context.Context) ([]*model.ERC20, error)
- func (_m *Store) ListOldERC20(ctx context.Context) ([]*model.ERC20, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
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) 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 ¶
InsertAccount provides a mock function with given fields: ctx, _a1
func (*Store) InsertERC20 ¶
InsertERC20 provides a mock function with given fields: ctx, code
func (*Store) InsertTransfer ¶ added in v0.2.0
InsertTransfer provides a mock function with given fields: ctx, event
func (*Store) ListNewERC20 ¶ added in v0.2.7
ListNewERC20 provides a mock function with given fields: ctx