mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-10 07:58:22 -05:00
* Migrate Prysm repo to Offchain Labs organization ahead of Pectra upgrade v6 * Replace prysmaticlabs with OffchainLabs on general markdowns * Update mock * Gazelle and add mock.go to excluded generated mock file
19 lines
460 B
Go
19 lines
460 B
Go
package payloadattribute
|
|
|
|
import (
|
|
enginev1 "github.com/OffchainLabs/prysm/v6/proto/engine/v1"
|
|
)
|
|
|
|
type Attributer interface {
|
|
Version() int
|
|
PrevRandao() []byte
|
|
Timestamp() uint64
|
|
SuggestedFeeRecipient() []byte
|
|
Withdrawals() ([]*enginev1.Withdrawal, error)
|
|
ParentBeaconBlockRoot() ([]byte, error)
|
|
PbV1() (*enginev1.PayloadAttributes, error)
|
|
PbV2() (*enginev1.PayloadAttributesV2, error)
|
|
PbV3() (*enginev1.PayloadAttributesV3, error)
|
|
IsEmpty() bool
|
|
}
|