mocks

package
v0.6.11 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2020 License: Apache-2.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 StakingHooks

type StakingHooks struct {
	mock.Mock
}

StakingHooks is an autogenerated mock type for the StakingHooks type

func (*StakingHooks) AfterAddingStake

func (_m *StakingHooks) AfterAddingStake(ctx types.Context, username linotypes.AccountKey) types.Error

AfterAddingStake provides a mock function with given fields: ctx, username

func (*StakingHooks) AfterSlashing

func (_m *StakingHooks) AfterSlashing(ctx types.Context, username linotypes.AccountKey) types.Error

AfterSlashing provides a mock function with given fields: ctx, username

func (*StakingHooks) AfterSubtractingStake

func (_m *StakingHooks) AfterSubtractingStake(ctx types.Context, username linotypes.AccountKey) types.Error

AfterSubtractingStake provides a mock function with given fields: ctx, username

Jump to

Keyboard shortcuts

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