Versions in this module Expand all Collapse all v5 v5.0.0 Dec 18, 2024 Changes in this version + type KeeperTestData struct + AssetsKeeper *assetskeeper.Keeper + Keeper *keeper.Keeper + MarketMapKeeper *marketmapkeeper.Keeper + OperatorsKeeper *operatorskeeper.Keeper + OracleKeeper *oraclekeeper.Keeper + PoolsKeeper *poolskeeper.Keeper + ServicesKeeper *serviceskeeper.Keeper + StoreService corestoretypes.KVStoreService + func NewKeeperTestData(t *testing.T) KeeperTestData + type MockHooks struct + CalledMap map[string]bool + func NewMockHooks() *MockHooks + func (m MockHooks) AfterOperatorDelegationModified(context.Context, uint32, string) error + func (m MockHooks) AfterPoolDelegationModified(context.Context, uint32, string) error + func (m MockHooks) AfterServiceDelegationModified(context.Context, uint32, string) error + func (m MockHooks) AfterUnbondingInitiated(ctx context.Context, unbondingDelegationID uint64) error + func (m MockHooks) AfterUserPreferencesModified(ctx context.Context, userAddress string, ...) error + func (m MockHooks) BeforeOperatorDelegationCreated(context.Context, uint32, string) error + func (m MockHooks) BeforeOperatorDelegationRemoved(ctx context.Context, operatorID uint32, delegator string) error + func (m MockHooks) BeforeOperatorDelegationSharesModified(context.Context, uint32, string) error + func (m MockHooks) BeforePoolDelegationCreated(context.Context, uint32, string) error + func (m MockHooks) BeforePoolDelegationRemoved(ctx context.Context, poolID uint32, delegator string) error + func (m MockHooks) BeforePoolDelegationSharesModified(context.Context, uint32, string) error + func (m MockHooks) BeforeServiceDelegationCreated(context.Context, uint32, string) error + func (m MockHooks) BeforeServiceDelegationRemoved(ctx context.Context, serviceID uint32, delegator string) error + func (m MockHooks) BeforeServiceDelegationSharesModified(context.Context, uint32, string) error Other modules containing this package github.com/milkyway-labs/milkyway github.com/milkyway-labs/milkyway/v2 github.com/milkyway-labs/milkyway/v3 github.com/milkyway-labs/milkyway/v4 github.com/milkyway-labs/milkyway/v6 github.com/milkyway-labs/milkyway/v7 github.com/milkyway-labs/milkyway/v9