2019-06-20 13:37:57 +00:00
|
|
|
package app
|
|
|
|
|
|
|
|
import (
|
|
|
|
"encoding/json"
|
|
|
|
)
|
|
|
|
|
2019-07-19 14:06:33 +00:00
|
|
|
// GenesisState represents the genesis state of the blockchain. It is a map from module names to module genesis states.
|
2019-07-18 17:36:31 +00:00
|
|
|
type GenesisState map[string]json.RawMessage
|
2019-06-20 13:37:57 +00:00
|
|
|
|
2019-07-18 17:36:31 +00:00
|
|
|
// NewDefaultGenesisState generates the default state for the application.
|
2019-06-20 13:37:57 +00:00
|
|
|
func NewDefaultGenesisState() GenesisState {
|
2019-07-18 17:36:31 +00:00
|
|
|
return ModuleBasics.DefaultGenesis()
|
2019-06-20 13:37:57 +00:00
|
|
|
}
|