hestia_req_types

package
v0.1.20-rc.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EthereumMainnetProtocolNetworkID  = 1
	EthereumEphemeryProtocolNetworkID = 1673748447294772000
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateValidatorServiceRequest

type CreateValidatorServiceRequest struct {
	ServiceRequestWrapper
	ValidatorServiceOrgGroupSlice
}

func (*CreateValidatorServiceRequest) CreateValidatorServiceRequest

func (vsr *CreateValidatorServiceRequest) CreateValidatorServiceRequest(vsg ValidatorServiceOrgGroupSlice, srw ServiceRequestWrapper)

type ServiceRequestWrapper

type ServiceRequestWrapper struct {
	GroupName         string `json:"groupName"`
	ProtocolNetworkID int    `json:"protocolNetworkID"`
	Enabled           bool   `json:"enabled"`
	ServiceURL        string `json:"serviceURL"`
}

type ValidatorServiceOrgGroup

type ValidatorServiceOrgGroup struct {
	Pubkey       string `json:"pubkey"`
	FeeRecipient string `json:"feeRecipient"`
}

type ValidatorServiceOrgGroupSlice

type ValidatorServiceOrgGroupSlice []ValidatorServiceOrgGroup

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL