Documentation
¶
Index ¶
Constants ¶
View Source
const ( ProviderName = "workflow-plugin-crypto" ExecutorProvider = "ethereum-testnet-validator-reward" WorkloadKind = "provider" Operation = "run_validator_reward_proof" EvidenceArtifact = "validator_reward_evidence.json" BlockerArtifact = "validator_reward_blocker.json" ComputeProtocolVersion = "compute.v1alpha1" )
Variables ¶
View Source
var Version = "0.1.0"
Functions ¶
func WriteProbe ¶
Types ¶
type Fixture ¶
type Fixture struct {
ValidatorPubkey string `json:"validator_pubkey,omitempty"`
ValidatorClientVersion string `json:"validator_client_version,omitempty"`
DutyEvidenceRef string `json:"duty_evidence_ref,omitempty"`
RewardAccrualRef string `json:"reward_accrual_ref,omitempty"`
WalletReceiptStatusRef string `json:"wallet_receipt_status_ref,omitempty"`
WalletReceiptStatus string `json:"wallet_receipt_status,omitempty"`
RewardDeltaGwei int64 `json:"reward_delta_gwei,omitempty"`
SourceState string `json:"source_state,omitempty"`
}
type Workload ¶
type Workload struct {
Chain string `json:"chain"`
Network string `json:"network"`
ValidatorClientIdentityRef string `json:"validator_client_identity_ref"`
SignerModeRef string `json:"signer_mode_ref"`
WithdrawalAddressRef string `json:"withdrawal_address_ref"`
FeeRecipientAddressRef string `json:"fee_recipient_address_ref"`
SlashingProtectionRef string `json:"slashing_protection_ref"`
BeaconRPCRef string `json:"beacon_rpc_ref,omitempty"`
BeaconAPIURL string `json:"beacon_api_url,omitempty"`
ValidatorPubkey string `json:"validator_pubkey,omitempty"`
ObservationWindowSeconds int `json:"observation_window_seconds,omitempty"`
Fixture Fixture `json:"fixture,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.