2024-02-09 08:44:45 +00:00
|
|
|
package module
|
|
|
|
|
|
|
|
import (
|
|
|
|
"context"
|
|
|
|
|
2024-02-15 06:56:18 +00:00
|
|
|
sdk "github.com/cosmos/cosmos-sdk/types"
|
|
|
|
|
2024-04-01 09:57:26 +00:00
|
|
|
"git.vdb.to/cerc-io/laconicd/x/auction/keeper"
|
2024-02-09 08:44:45 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// EndBlocker is called every block
|
2024-02-28 04:34:58 +00:00
|
|
|
func EndBlocker(ctx context.Context, k *keeper.Keeper) error {
|
2024-02-15 06:56:18 +00:00
|
|
|
sdkCtx := sdk.UnwrapSDKContext(ctx)
|
2024-02-09 08:44:45 +00:00
|
|
|
|
2024-02-15 06:56:18 +00:00
|
|
|
return k.EndBlockerProcessAuctions(sdkCtx)
|
2024-02-09 08:44:45 +00:00
|
|
|
}
|