package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/kava-labs/kava/x/cdp/types" ) // Implements StakingHooks interface var _ types.CDPHooks = Keeper{} // AfterCDPCreated - call hook if registered func (k Keeper) AfterCDPCreated(ctx sdk.Context, cdp types.CDP) { if k.hooks != nil { k.hooks.AfterCDPCreated(ctx, cdp) } } // BeforeCDPModified - call hook if registered func (k Keeper) BeforeCDPModified(ctx sdk.Context, cdp types.CDP) { if k.hooks != nil { k.hooks.BeforeCDPModified(ctx, cdp) } }