2023-07-24 22:16:45 +00:00
|
|
|
package validator
|
|
|
|
|
|
|
|
import "github.com/prysmaticlabs/prysm/v4/beacon-chain/rpc/eth/shared"
|
|
|
|
|
|
|
|
type AggregateAttestationResponse struct {
|
2023-08-03 22:24:23 +00:00
|
|
|
Data *shared.Attestation `json:"data" validate:"required"`
|
2023-07-24 22:16:45 +00:00
|
|
|
}
|
2023-07-31 17:32:39 +00:00
|
|
|
|
|
|
|
type SubmitContributionAndProofsRequest struct {
|
2023-08-08 22:54:04 +00:00
|
|
|
Data []*shared.SignedContributionAndProof `json:"data" validate:"required,dive"`
|
2023-08-03 22:24:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type SubmitAggregateAndProofsRequest struct {
|
2023-08-08 22:54:04 +00:00
|
|
|
Data []*shared.SignedAggregateAttestationAndProof `json:"data" validate:"required,dive"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type SubmitSyncCommitteeSubscriptionsRequest struct {
|
|
|
|
Data []*shared.SyncCommitteeSubscription `json:"data" validate:"required,dive"`
|
2023-07-31 17:32:39 +00:00
|
|
|
}
|