laconicd-deprecated/app/genesis.go

23 lines
621 B
Go
Raw Normal View History

2018-08-24 18:56:43 +00:00
package app
import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/ethermint/types"
)
type (
// GenesisState defines the application's genesis state. It contains all the
// information required and accounts to initialize the blockchain.
GenesisState struct {
2018-10-24 14:22:02 +00:00
Accounts []GenesisAccount `json:"accounts"`
2018-08-24 18:56:43 +00:00
}
// GenesisAccount defines an account to be initialized in the genesis state.
GenesisAccount struct {
Address sdk.AccAddress `json:"address"`
Coins sdk.Coins `json:"coins"`
Code []byte `json:"code,omitempty"`
Storage types.Storage `json:"storage,omitempty"`
}
)