Versions in this module Expand all Collapse all v1 v1.0.0 Jul 16, 2024 Changes in this version + type AggregateAttestationProvider interface + AggregateAttestation func(ctx context.Context, opts *api.AggregateAttestationOpts) (*api.Response[*phase0.Attestation], error) + type AggregateAttestationsSubmitter interface + SubmitAggregateAttestations func(ctx context.Context, aggregateAndProofs []*phase0.SignedAggregateAndProof) error + type AttestationDataProvider interface + AttestationData func(ctx context.Context, opts *api.AttestationDataOpts) (*api.Response[*phase0.AttestationData], error) + type AttestationPoolProvider interface + AttestationPool func(ctx context.Context, opts *api.AttestationPoolOpts) (*api.Response[[]*phase0.Attestation], error) + type AttestationsSubmitter interface + SubmitAttestations func(ctx context.Context, attestations []*phase0.Attestation) error + type AttesterDutiesProvider interface + AttesterDuties func(ctx context.Context, opts *api.AttesterDutiesOpts) (*api.Response[[]*apiv1.AttesterDuty], error) + type AttesterSlashingSubmitter interface + SubmitAttesterSlashing func(ctx context.Context, slashing *phase0.AttesterSlashing) error + type BLSToExecutionChangesSubmitter interface + SubmitBLSToExecutionChanges func(ctx context.Context, ...) error + type BeaconBlockHeadersProvider interface + BeaconBlockHeader func(ctx context.Context, opts *api.BeaconBlockHeaderOpts) (*api.Response[*apiv1.BeaconBlockHeader], error) + type BeaconBlockRootProvider interface + BeaconBlockRoot func(ctx context.Context, opts *api.BeaconBlockRootOpts) (*api.Response[*phase0.Root], error) + type BeaconBlockSubmitter interface + SubmitBeaconBlock func(ctx context.Context, block *spec.VersionedSignedBeaconBlock) error + type BeaconCommitteeSubscriptionsSubmitter interface + SubmitBeaconCommitteeSubscriptions func(ctx context.Context, subscriptions []*apiv1.BeaconCommitteeSubscription) error + type BeaconCommitteesProvider interface + BeaconCommittees func(ctx context.Context, opts *api.BeaconCommitteesOpts) (*api.Response[[]*apiv1.BeaconCommittee], error) + type BeaconStateProvider interface + BeaconState func(ctx context.Context, opts *api.BeaconStateOpts) (*api.Response[*spec.VersionedBeaconState], error) + type BeaconStateRandaoProvider interface + BeaconStateRandao func(ctx context.Context, opts *api.BeaconStateRandaoOpts) (*api.Response[*phase0.Root], error) + type BeaconStateRootProvider interface + BeaconStateRoot func(ctx context.Context, opts *api.BeaconStateRootOpts) (*api.Response[*phase0.Root], error) + type BlindedBeaconBlockSubmitter interface + SubmitBlindedBeaconBlock func(ctx context.Context, block *api.VersionedSignedBlindedBeaconBlock) error + type BlindedProposalProvider interface + BlindedProposal func(ctx context.Context, opts *api.BlindedProposalOpts) (*api.Response[*api.VersionedBlindedProposal], error) + type BlindedProposalSubmitter interface + SubmitBlindedProposal func(ctx context.Context, block *api.VersionedSignedBlindedProposal) error + type BlobSidecarsProvider interface + BlobSidecars func(ctx context.Context, opts *api.BlobSidecarsOpts) (*api.Response[[]*deneb.BlobSidecar], error) + type DepositContractProvider interface + DepositContract func(ctx context.Context, opts *api.DepositContractOpts) (*api.Response[*apiv1.DepositContract], error) + type DomainProvider interface + Domain func(ctx context.Context, domainType phase0.DomainType, epoch phase0.Epoch) (phase0.Domain, error) + GenesisDomain func(ctx context.Context, domainType phase0.DomainType) (phase0.Domain, error) + type EpochFromStateIDProvider interface + EpochFromStateID func(ctx context.Context, stateID string) (phase0.Epoch, error) + type EventHandlerFunc func(*apiv1.Event) + type EventsProvider interface + Events func(ctx context.Context, topics []string, handler EventHandlerFunc) error + type FarFutureEpochProvider interface + FarFutureEpoch func(ctx context.Context) (phase0.Epoch, error) + type FinalityProvider interface + Finality func(ctx context.Context, opts *api.FinalityOpts) (*api.Response[*apiv1.Finality], error) + type ForkChoiceProvider interface + ForkChoice func(ctx context.Context, opts *api.ForkChoiceOpts) (*api.Response[*apiv1.ForkChoice], error) + type ForkProvider interface + Fork func(ctx context.Context, opts *api.ForkOpts) (*api.Response[*phase0.Fork], error) + type ForkScheduleProvider interface + ForkSchedule func(ctx context.Context, opts *api.ForkScheduleOpts) (*api.Response[[]*phase0.Fork], error) + type GenesisProvider interface + Genesis func(ctx context.Context, opts *api.GenesisOpts) (*api.Response[*apiv1.Genesis], error) + type GenesisTimeProvider interface + GenesisTime func(ctx context.Context) (time.Time, error) + type NodeClientProvider interface + NodeClient func(ctx context.Context) (*api.Response[string], error) + type NodePeersProvider interface + NodePeers func(ctx context.Context, opts *api.NodePeersOpts) (*api.Response[[]*apiv1.Peer], error) + type NodeSyncingProvider interface + NodeSyncing func(ctx context.Context, opts *api.NodeSyncingOpts) (*api.Response[*apiv1.SyncState], error) + type NodeVersionProvider interface + NodeVersion func(ctx context.Context, opts *api.NodeVersionOpts) (*api.Response[string], error) + type ProposalPreparationsSubmitter interface + SubmitProposalPreparations func(ctx context.Context, preparations []*apiv1.ProposalPreparation) error + type ProposalProvider interface + Proposal func(ctx context.Context, opts *api.ProposalOpts) (*api.Response[*api.VersionedProposal], error) + type ProposalSlashingSubmitter interface + SubmitProposalSlashing func(ctx context.Context, slashing *phase0.ProposerSlashing) error + type ProposalSubmitter interface + SubmitProposal func(ctx context.Context, block *api.VersionedSignedProposal) error + type ProposerDutiesProvider interface + ProposerDuties func(ctx context.Context, opts *api.ProposerDutiesOpts) (*api.Response[[]*apiv1.ProposerDuty], error) + type Service interface + Address func() string + Name func() string + type SignedBeaconBlockProvider interface + SignedBeaconBlock func(ctx context.Context, opts *api.SignedBeaconBlockOpts) (*api.Response[*spec.VersionedSignedBeaconBlock], error) + type SlotDurationProvider interface + SlotDuration func(ctx context.Context) (time.Duration, error) + type SlotFromStateIDProvider interface + SlotFromStateID func(ctx context.Context, stateID string) (phase0.Slot, error) + type SlotsPerEpochProvider interface + SlotsPerEpoch func(ctx context.Context) (uint64, error) + type SpecProvider interface + Spec func(ctx context.Context, opts *api.SpecOpts) (*api.Response[map[string]any], error) + type SyncCommitteeContributionProvider interface + SyncCommitteeContribution func(ctx context.Context, opts *api.SyncCommitteeContributionOpts) (*api.Response[*altair.SyncCommitteeContribution], error) + type SyncCommitteeContributionsSubmitter interface + SubmitSyncCommitteeContributions func(ctx context.Context, ...) error + type SyncCommitteeDutiesProvider interface + SyncCommitteeDuties func(ctx context.Context, opts *api.SyncCommitteeDutiesOpts) (*api.Response[[]*apiv1.SyncCommitteeDuty], error) + type SyncCommitteeMessagesSubmitter interface + SubmitSyncCommitteeMessages func(ctx context.Context, messages []*altair.SyncCommitteeMessage) error + type SyncCommitteeSubscriptionsSubmitter interface + SubmitSyncCommitteeSubscriptions func(ctx context.Context, subscriptions []*apiv1.SyncCommitteeSubscription) error + type SyncCommitteesProvider interface + SyncCommittee func(ctx context.Context, opts *api.SyncCommitteeOpts) (*api.Response[*apiv1.SyncCommittee], error) + type SyncStateProvider interface + SyncState func(ctx context.Context) (*apiv1.SyncState, error) + type TargetAggregatorsPerCommitteeProvider interface + TargetAggregatorsPerCommittee func(ctx context.Context) (uint64, error) + type ValidatorBalancesProvider interface + ValidatorBalances func(ctx context.Context, opts *api.ValidatorBalancesOpts) (*api.Response[map[phase0.ValidatorIndex]phase0.Gwei], error) + type ValidatorIDProvider interface + type ValidatorIndexProvider interface + Index func(ctx context.Context) (phase0.ValidatorIndex, error) + type ValidatorPubKeyProvider interface + PubKey func(ctx context.Context) (phase0.BLSPubKey, error) + type ValidatorRegistrationsSubmitter interface + SubmitValidatorRegistrations func(ctx context.Context, registrations []*api.VersionedSignedValidatorRegistration) error + type ValidatorsProvider interface + Validators func(ctx context.Context, opts *api.ValidatorsOpts) (*api.Response[map[phase0.ValidatorIndex]*apiv1.Validator], error) + type VoluntaryExitPoolProvider interface + VoluntaryExitPool func(ctx context.Context, opts *api.VoluntaryExitPoolOpts) (*api.Response[[]*phase0.SignedVoluntaryExit], error) + type VoluntaryExitSubmitter interface + SubmitVoluntaryExit func(ctx context.Context, voluntaryExit *phase0.SignedVoluntaryExit) error