package mint import ( "encoding/json" core "github.com/classic-terra/core/v4/types" "github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/types/module" "github.com/cosmos/cosmos-sdk/x/mint" "github.com/cosmos/cosmos-sdk/x/mint/types" ) var _ module.AppModuleBasic = AppModuleBasic{} // AppModuleBasic defines the basic application module used by the staking module. type AppModuleBasic struct { mint.AppModuleBasic } // DefaultGenesis returns default genesis state as raw bytes for the gov // module. func (am AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage { // customize to set default genesis state deposit denom to uluna defaultGenesisState := types.DefaultGenesisState() defaultGenesisState.Params.MintDenom = core.MicroLunaDenom return cdc.MustMarshalJSON(defaultGenesisState) }