Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppState ¶
type AppState struct { StartHeight string `json:"start_height"` Validators []Validator `json:"validators"` Candidates []Candidate `json:"candidates"` Accounts []Account `json:"accounts"` Coins []Coin `json:"coins"` UsedChecks []string `json:"used_checks"` MaxGas string `json:"max_gas"` TotalSlashed string `json:"total_slashed"` }
type Candidate ¶
type Candidate struct { RewardAddress string `json:"reward_address"` OwnerAddress string `json:"owner_address"` TotalNoahStake string `json:"total_noah_stake"` PubKey string `json:"pub_key"` Commission string `json:"commission"` Stakes []Stake `json:"stakes"` CreatedAtBlock string `json:"created_at_block"` Status int `json:"status"` }
type ExplorerGenesisUploader ¶
type ExplorerGenesisUploader struct {
// contains filtered or unexported fields
}
func New ¶
func New(env *models.ExtenderEnvironment) *ExplorerGenesisUploader
func (*ExplorerGenesisUploader) Do ¶
func (egu *ExplorerGenesisUploader) Do() error
type Genesis ¶
type Genesis struct { GenesisTime time.Time `json:"genesis_time"` ChainID string `json:"chain_id"` ConsensusParams struct { Block struct { MaxBytes string `json:"max_bytes"` MaxGas string `json:"max_gas"` TimeIotaMs string `json:"time_iota_ms"` } `json:"block"` Evidence struct { MaxAge string `json:"max_age"` } `json:"evidence"` Validator struct { PubKeyTypes []string `json:"pub_key_types"` } `json:"validator"` } `json:"consensus_params"` AppHash string `json:"app_hash"` AppState AppState `json:"app_state"` }
type GenesisResponse ¶
Click to show internal directories.
Click to hide internal directories.