22 lines
723 B
Go
22 lines
723 B
Go
package djzh
|
|
|
|
import (
|
|
sdk "github.com/cosmos/cosmos-sdk/types"
|
|
/* abci "github.com/tendermint/tendermint/abci/types"*/
|
|
)
|
|
|
|
// InitGenesis initialize default parameters
|
|
// and the keeper's address to pubkey map
|
|
func InitGenesis(ctx sdk.Context, k Keeper, /* TODO: Define what keepers the module needs *//*,*/ data GenesisState) {
|
|
// TODO: Define logic for when you would like to initalize a new genesis
|
|
/* return []abci.ValidatorUpdate{}*/
|
|
}
|
|
|
|
// ExportGenesis writes the current store values
|
|
// to a genesis file, which can be imported again
|
|
// with InitGenesis
|
|
func ExportGenesis(ctx sdk.Context, k Keeper) (data GenesisState) {
|
|
// TODO: Define logic for exporting state
|
|
return NewGenesisState()
|
|
}
|