mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-14 03:55:19 +00:00
17 lines
456 B
Go
17 lines
456 B
Go
package keeper
|
|
|
|
import (
|
|
sdk "github.com/cosmos/cosmos-sdk/types"
|
|
"github.com/kava-labs/kava/x/auction/types"
|
|
)
|
|
|
|
// SetParams sets the auth module's parameters.
|
|
func (k Keeper) SetParams(ctx sdk.Context, params types.AuctionParams) {
|
|
k.paramSubspace.SetParamSet(ctx, ¶ms)
|
|
}
|
|
|
|
// GetParams gets the auth module's parameters.
|
|
func (k Keeper) GetParams(ctx sdk.Context) (params types.AuctionParams) {
|
|
k.paramSubspace.GetParamSet(ctx, ¶ms)
|
|
return
|
|
} |