Documentation ¶
Index ¶
Constants ¶
View Source
const (
KeyParams = "s/k:params/"
)
Variables ¶
This section is empty.
Functions ¶
func GenSnapshot ¶ added in v0.1.1
func GenSnapshot(dataDir string)
func GetStorageByAddressKey ¶
GetStorageByAddressKey returns a hash of the composite key for a state object's storage prefixed with it's address.
Types ¶
type TempModuleAccountPretty ¶
type TempModuleAccountPretty struct { Address sdk.AccAddress `json:"address" yaml:"address"` EthAddress string `json:"eth_address" yaml:"eth_address"` Coins sdk.Coins `json:"coins" yaml:"coins"` PubKey string `json:"public_key" yaml:"public_key"` AccountNumber uint64 `json:"account_number" yaml:"account_number"` Sequence uint64 `json:"sequence" yaml:"sequence"` Name string `json:"name" yaml:"name"` // name of the module Permissions []string `json:"permissions" yaml:"permissions"` // permissions of module account }
type TempNewAccountPretty ¶
type TempNewAccountPretty struct { Address sdk.AccAddress `json:"address" yaml:"address"` EthAddress string `json:"eth_address" yaml:"eth_address"` Coins sdk.Coins `json:"coins" yaml:"coins"` PubKey string `json:"public_key" yaml:"public_key"` AccountNumber uint64 `json:"account_number" yaml:"account_number"` Sequence uint64 `json:"sequence" yaml:"sequence"` CodeHash string `json:"code_hash" yaml:"code_hash"` Storage map[string]string `json:"storages" yaml:"storages"` }
Click to show internal directories.
Click to hide internal directories.