Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountInfo ¶
type AccountInfo struct { Address types.AccAddress `json:"address"` Amount string `json:"amount"` }
type CommissionInfo ¶
type GenesisFiles ¶
type GenesisFiles struct {
GenesisBytes []byte `json:"genesis_bytes"`
}
func NewGenesisFiles ¶
func NewGenesisFiles(chainInfo ChainInfo, validatorInfo []ValidatorInfo, stakingInfo []StakingInfo, supplyInfo SupplyInfo, accountInfo []AccountInfo) (*GenesisFiles, error)
type InitFiles ¶
type StakingInfo ¶
type StakingInfo struct { Address types.AccAddress `json:"address"` PubKey string `json:"pub_key"` ConsensusAddress string `json:"consensus_address"` Tokens string `json:"tokens"` CommissionInfo CommissionInfo `json:"commission_info"` UpdateTime time.Time `json:"update_time"` MinSelfDelegation string `json:"min_self_delegation"` Description stypes.Description `json:"description"` }
type SupplyInfo ¶
type SupplyInfo struct {
Amount string `json:"amount"`
}
type ValidatorInfo ¶
Click to show internal directories.
Click to hide internal directories.