mock

package
v0.43.1-rc.1.access-me... Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2025 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountProvider

type AccountProvider struct {
	mock.Mock
}

AccountProvider is an autogenerated mock type for the AccountProvider type

func NewAccountProvider

func NewAccountProvider(t interface {
	mock.TestingT
	Cleanup(func())
}) *AccountProvider

NewAccountProvider creates a new instance of AccountProvider. 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 (*AccountProvider) GetAccountAtBlock

func (_m *AccountProvider) GetAccountAtBlock(ctx context.Context, address flow.Address, blockID flow.Identifier, height uint64) (*flow.Account, error)

GetAccountAtBlock provides a mock function with given fields: ctx, address, blockID, height

func (*AccountProvider) GetAccountBalanceAtBlock

func (_m *AccountProvider) GetAccountBalanceAtBlock(ctx context.Context, address flow.Address, blockID flow.Identifier, height uint64) (uint64, error)

GetAccountBalanceAtBlock provides a mock function with given fields: ctx, address, blockID, height

func (*AccountProvider) GetAccountKeyAtBlock

func (_m *AccountProvider) GetAccountKeyAtBlock(ctx context.Context, address flow.Address, keyIndex uint32, blockID flow.Identifier, height uint64) (*flow.AccountPublicKey, error)

GetAccountKeyAtBlock provides a mock function with given fields: ctx, address, keyIndex, blockID, height

func (*AccountProvider) GetAccountKeysAtBlock

func (_m *AccountProvider) GetAccountKeysAtBlock(ctx context.Context, address flow.Address, blockID flow.Identifier, height uint64) ([]flow.AccountPublicKey, error)

GetAccountKeysAtBlock provides a mock function with given fields: ctx, address, blockID, height

Jump to

Keyboard shortcuts

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