mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 21:08:10 -05:00
21 lines
756 B
Go
21 lines
756 B
Go
package state
|
|
|
|
import (
|
|
ethpb "github.com/OffchainLabs/prysm/v7/proto/prysm/v1alpha1"
|
|
)
|
|
|
|
// ReadOnlyBuilderPendingPayments defines methods for reading builder pending payments from the beacon state.
|
|
type ReadOnlyBuilderPendingPayments interface {
|
|
BuilderPendingPayments() ([]*ethpb.BuilderPendingPayment, error)
|
|
}
|
|
|
|
// WriteOnlyBuilderPendingPayments defines methods for writing builder pending payments to the beacon state.
|
|
type WriteOnlyBuilderPendingPayments interface {
|
|
RotateBuilderPendingPayments() error
|
|
}
|
|
|
|
// WriteOnlyBuilderPendingWithdrawals defines methods for writing builder pending withdrawals to the beacon state.
|
|
type WriteOnlyBuilderPendingWithdrawals interface {
|
|
AppendBuilderPendingWithdrawal(*ethpb.BuilderPendingWithdrawal) error
|
|
}
|