Documentation
¶
Index ¶
- type AccountProvider
- func (_m *AccountProvider) GetAccountAtBlock(ctx context.Context, address flow.Address, blockID flow.Identifier, ...) (*flow.Account, error)
- func (_m *AccountProvider) GetAccountBalanceAtBlock(ctx context.Context, address flow.Address, blockID flow.Identifier, ...) (uint64, error)
- func (_m *AccountProvider) GetAccountKeyAtBlock(ctx context.Context, address flow.Address, keyIndex uint32, ...) (*flow.AccountPublicKey, error)
- func (_m *AccountProvider) GetAccountKeysAtBlock(ctx context.Context, address flow.Address, blockID flow.Identifier, ...) ([]flow.AccountPublicKey, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountProvider ¶
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