Documentation ¶
Index ¶
- type StakingHooks
- func (_m *StakingHooks) AfterAddingStake(ctx types.Context, username linotypes.AccountKey) types.Error
- func (_m *StakingHooks) AfterSlashing(ctx types.Context, username linotypes.AccountKey) types.Error
- func (_m *StakingHooks) AfterSubtractingStake(ctx types.Context, username linotypes.AccountKey) types.Error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StakingHooks ¶
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
Click to show internal directories.
Click to hide internal directories.