Documentation
¶
Index ¶
- type MockHooks
- func (m MockHooks) AfterOperatorDelegationModified(sdk.Context, uint32, string) error
- func (m MockHooks) AfterPoolDelegationModified(sdk.Context, uint32, string) error
- func (m MockHooks) AfterServiceDelegationModified(sdk.Context, uint32, string) error
- func (m MockHooks) AfterUnbondingInitiated(ctx sdk.Context, unbondingDelegationID uint64) error
- func (m MockHooks) BeforeOperatorDelegationCreated(sdk.Context, uint32, string) error
- func (m MockHooks) BeforeOperatorDelegationRemoved(ctx sdk.Context, operatorID uint32, delegator string) error
- func (m MockHooks) BeforeOperatorDelegationSharesModified(sdk.Context, uint32, string) error
- func (m MockHooks) BeforePoolDelegationCreated(sdk.Context, uint32, string) error
- func (m MockHooks) BeforePoolDelegationRemoved(ctx sdk.Context, poolID uint32, delegator string) error
- func (m MockHooks) BeforePoolDelegationSharesModified(sdk.Context, uint32, string) error
- func (m MockHooks) BeforeServiceDelegationCreated(sdk.Context, uint32, string) error
- func (m MockHooks) BeforeServiceDelegationRemoved(ctx sdk.Context, serviceID uint32, delegator string) error
- func (m MockHooks) BeforeServiceDelegationSharesModified(sdk.Context, uint32, string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockHooks ¶
MockHooks is a mock implementation of the RestakingHooks interface
func (MockHooks) AfterOperatorDelegationModified ¶
AfterOperatorDelegationModified implements restakingtypes.Hooks
func (MockHooks) AfterPoolDelegationModified ¶
AfterPoolDelegationModified implements restakingtypes.Hooks
func (MockHooks) AfterServiceDelegationModified ¶
AfterServiceDelegationModified implements restakingtypes.Hooks
func (MockHooks) AfterUnbondingInitiated ¶
AfterUnbondingInitiated implements restakingtypes.Hooks
func (MockHooks) BeforeOperatorDelegationCreated ¶
BeforeOperatorDelegationCreated implements restakingtypes.Hooks
func (MockHooks) BeforeOperatorDelegationRemoved ¶
func (m MockHooks) BeforeOperatorDelegationRemoved(ctx sdk.Context, operatorID uint32, delegator string) error
BeforeOperatorDelegationRemoved implements restakingtypes.Hooks
func (MockHooks) BeforeOperatorDelegationSharesModified ¶
BeforeOperatorDelegationSharesModified implements restakingtypes.Hooks
func (MockHooks) BeforePoolDelegationCreated ¶
BeforePoolDelegationCreated implements restakingtypes.Hooks
func (MockHooks) BeforePoolDelegationRemoved ¶
func (m MockHooks) BeforePoolDelegationRemoved(ctx sdk.Context, poolID uint32, delegator string) error
BeforePoolDelegationRemoved implements restakingtypes.Hooks
func (MockHooks) BeforePoolDelegationSharesModified ¶
BeforePoolDelegationSharesModified implements restakingtypes.Hooks
func (MockHooks) BeforeServiceDelegationCreated ¶
BeforeServiceDelegationCreated implements restakingtypes.Hooks