Documentation
¶
Index ¶
- Constants
- Variables
- type DeleteRemoteKeysResp
- type GetKeystoresResp
- type GetRemoteKeys
- type KeystoreImportResp
- type LighthouseWeb3SignerRequest
- type LighthouseWeb3SignerRequests
- type PostRemoteKeys
- type Pubkeys
- type Web3SignerActionsClient
- func (w *Web3SignerActionsClient) EnableWeb3SignerLighthouse(ctx context.Context, kns zeus_common_types.CloudCtxNs, ...) (zeus_pods_resp.ClientResp, error)
- func (w *Web3SignerActionsClient) GetKeystores(ctx context.Context, kns zeus_common_types.CloudCtxNs) ([]GetKeystoresResp, error)
- func (w *Web3SignerActionsClient) GetLighthouseAuth(ctx context.Context, kns zeus_common_types.CloudCtxNs) (zeus_pods_resp.ClientResp, error)
- func (w *Web3SignerActionsClient) GetLighthouseRemoteKeystores(ctx context.Context, kns zeus_common_types.CloudCtxNs) (zeus_pods_resp.ClientResp, error)
- func (w *Web3SignerActionsClient) ImportKeystores(ctx context.Context, kns zeus_common_types.CloudCtxNs, p filepaths.Path, ...) ([]KeystoreImportResp, error)
- type Web3SignerKeystores
Constants ¶
View Source
const Web3SignerType = "web3signer"
Variables ¶
View Source
var Web3SignerPorts = []string{"9000:9000"}
Functions ¶
This section is empty.
Types ¶
type DeleteRemoteKeysResp ¶
type DeleteRemoteKeysResp struct {
Pubkeys []string `json:"pubkeys"`
}
type GetKeystoresResp ¶
type GetRemoteKeys ¶
type KeystoreImportResp ¶
type LighthouseWeb3SignerRequest ¶
type LighthouseWeb3SignerRequest struct { Type string `json:"type" yaml:"type"` Enabled bool `json:"enabled" yaml:"enable"` Description string `json:"description" yaml:"description"` SuggestedFeeRecipient string `json:"suggested_fee_recipient" yaml:"suggested_fee_recipient"` VotingPublicKey string `json:"voting_public_key" yaml:"voting_public_key"` Graffiti string `json:"graffiti,omitempty" yaml:"graffiti,omitempty"` Url string `json:"url,omitempty" yaml:"url,omitempty"` RootCertificatePath string `json:"root_certificate_path,omitempty" yaml:"root_certificate_path,omitempty"` RequestTimeoutMs int `json:"request_timeout_ms,omitempty" yaml:"request_timeout_ms,omitempty"` }
LighthouseWeb3SignerRequest uses 0x prefixed addresses
type LighthouseWeb3SignerRequests ¶
type LighthouseWeb3SignerRequests struct { Enabled bool Web3SignerURL string FeeAddr string Slice []LighthouseWeb3SignerRequest }
func (*LighthouseWeb3SignerRequests) ReadDepositParamsAndExtractToEnableKeysOnWeb3Signer ¶
func (l *LighthouseWeb3SignerRequests) ReadDepositParamsAndExtractToEnableKeysOnWeb3Signer(ctx context.Context, dpSlice signing_automation_ethereum.ValidatorDepositSlice)
func (*LighthouseWeb3SignerRequests) WriteYamlConfig ¶
func (l *LighthouseWeb3SignerRequests) WriteYamlConfig(p filepaths.Path) error
type PostRemoteKeys ¶
type Web3SignerActionsClient ¶
type Web3SignerActionsClient struct {
zeus_client.ZeusClient
}
func (*Web3SignerActionsClient) EnableWeb3SignerLighthouse ¶
func (w *Web3SignerActionsClient) EnableWeb3SignerLighthouse(ctx context.Context, kns zeus_common_types.CloudCtxNs, w3req []LighthouseWeb3SignerRequest, authToken string) (zeus_pods_resp.ClientResp, error)
func (*Web3SignerActionsClient) GetKeystores ¶
func (w *Web3SignerActionsClient) GetKeystores(ctx context.Context, kns zeus_common_types.CloudCtxNs) ([]GetKeystoresResp, error)
func (*Web3SignerActionsClient) GetLighthouseAuth ¶
func (w *Web3SignerActionsClient) GetLighthouseAuth(ctx context.Context, kns zeus_common_types.CloudCtxNs) (zeus_pods_resp.ClientResp, error)
func (*Web3SignerActionsClient) GetLighthouseRemoteKeystores ¶
func (w *Web3SignerActionsClient) GetLighthouseRemoteKeystores(ctx context.Context, kns zeus_common_types.CloudCtxNs) (zeus_pods_resp.ClientResp, error)
func (*Web3SignerActionsClient) ImportKeystores ¶
func (w *Web3SignerActionsClient) ImportKeystores(ctx context.Context, kns zeus_common_types.CloudCtxNs, p filepaths.Path, pw string) ([]KeystoreImportResp, error)
type Web3SignerKeystores ¶
type Web3SignerKeystores struct { Keystores []string `json:"keystores"` Passwords []string `json:"passwords"` SlashingProtection string `json:"slashing_protection,omitempty"` }
func (*Web3SignerKeystores) ReadKeystoreAndAppend ¶
func (k *Web3SignerKeystores) ReadKeystoreAndAppend(fp string) error
func (*Web3SignerKeystores) ReadKeystoreDirAndAppendPw ¶
Click to show internal directories.
Click to hide internal directories.