mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-10 03:31:20 +00:00
46c72798c7
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
28 lines
817 B
Go
28 lines
817 B
Go
package validator
|
|
|
|
import "github.com/prysmaticlabs/prysm/v4/beacon-chain/rpc/eth/shared"
|
|
|
|
type AggregateAttestationResponse struct {
|
|
Data *shared.Attestation `json:"data"`
|
|
}
|
|
|
|
type SubmitContributionAndProofsRequest struct {
|
|
Data []*shared.SignedContributionAndProof `json:"data" validate:"required,dive"`
|
|
}
|
|
|
|
type SubmitAggregateAndProofsRequest struct {
|
|
Data []*shared.SignedAggregateAttestationAndProof `json:"data" validate:"required,dive"`
|
|
}
|
|
|
|
type SubmitSyncCommitteeSubscriptionsRequest struct {
|
|
Data []*shared.SyncCommitteeSubscription `json:"data" validate:"required,dive"`
|
|
}
|
|
|
|
type SubmitBeaconCommitteeSubscriptionsRequest struct {
|
|
Data []*shared.BeaconCommitteeSubscription `json:"data" validate:"required,dive"`
|
|
}
|
|
|
|
type GetAttestationDataResponse struct {
|
|
Data *shared.AttestationData `json:"data"`
|
|
}
|