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-02-09 08:44:45 +00:00
|
|
|
"git.vdb.to/cerc-io/laconic2d/x/auction/keeper"
|
|
|
|
)
|
|
|
|
|
|
|
|
// 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
|
|
|
}
|