Documentation ¶
Index ¶
- Constants
- func ProtocolNetworkIDToString(id int) string
- func ProtocolNetworkStringToID(network string) int
- type AuthLamdbaAWS
- type CreateValidatorServiceRequest
- type IrisOrgGroupRoutesRequest
- type ServiceAuthConfig
- type ServiceRequestWrapper
- type ValidatorServiceOrgGroup
- type ValidatorServiceOrgGroupSlice
Constants ¶
View Source
const ( EthereumMainnetProtocolNetworkID = 1 EthereumGoerliProtocolNetworkID = 5 EthereumEphemeryProtocolNetworkID = 1673748447294772000 Goerli = "goerli" Mainnet = "mainnet" Ephemery = "ephemery" )
Variables ¶
This section is empty.
Functions ¶
func ProtocolNetworkStringToID ¶ added in v0.2.2
Types ¶
type AuthLamdbaAWS ¶
type AuthLamdbaAWS struct { ServiceURL string `json:"serviceURL"` SecretName string `json:"secretName"` // this is the name of the secret in the aws secrets manager you use for decrypting your keystores // these are the auth credentials you link to an IAM user that can call your aws lambda function to sign messages // we use these to call your lambda function to sign messages AccessKey string `json:"accessKey"` SecretKey string `json:"accessSecret"` }
type CreateValidatorServiceRequest ¶
type CreateValidatorServiceRequest struct { ServiceRequestWrapper `json:"serviceRequestWrapper"` ValidatorServiceOrgGroupSlice `json:"validatorServiceOrgGroupSlice"` }
func (*CreateValidatorServiceRequest) CreateValidatorServiceRequest ¶
func (vsr *CreateValidatorServiceRequest) CreateValidatorServiceRequest(vsg ValidatorServiceOrgGroupSlice, srw ServiceRequestWrapper)
type IrisOrgGroupRoutesRequest ¶ added in v1.0.0
type ServiceAuthConfig ¶
type ServiceAuthConfig struct {
*AuthLamdbaAWS `json:"awsAuth"`
}
ServiceAuthConfig note: only use one auth type per service url only AWS lambda support for now
func (*ServiceAuthConfig) Validate ¶
func (a *ServiceAuthConfig) Validate() error
type ServiceRequestWrapper ¶
type ServiceRequestWrapper struct { GroupName string `json:"groupName"` ProtocolNetworkID int `json:"protocolNetworkID"` Enabled bool `json:"enabled"` MevEnabled bool `json:"mevEnabled"` ServiceAuth ServiceAuthConfig `json:"serviceAuth"` }
type ValidatorServiceOrgGroupSlice ¶
type ValidatorServiceOrgGroupSlice []ValidatorServiceOrgGroup
Click to show internal directories.
Click to hide internal directories.