Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrUnretryableSubmission = errors.New("unretryable submission error")
)
Functions ¶
This section is empty.
Types ¶
type ProveBlockTxBuilder ¶
type ProveBlockTxBuilder struct {
// contains filtered or unexported fields
}
ProveBlockTxBuilder is responsible for building ProveBlock transactions.
func NewProveBlockTxBuilder ¶
func NewProveBlockTxBuilder( rpc *rpc.Client, taikoL1Address common.Address, guardianProverAddress common.Address, ) *ProveBlockTxBuilder
NewProveBlockTxBuilder creates a new ProveBlockTxBuilder instance.
func (*ProveBlockTxBuilder) Build ¶
func (a *ProveBlockTxBuilder) Build( blockID *big.Int, meta *bindings.TaikoDataBlockMetadata, transition *bindings.TaikoDataTransition, tierProof *bindings.TaikoDataTierProof, guardian bool, ) TxBuilder
Build creates a new TaikoL1.ProveBlock transaction with the given nonce.
type Sender ¶
type Sender struct {
// contains filtered or unexported fields
}
Sender is responsible for sending proof submission transactions with a backoff policy.
type TxBuilder ¶
type TxBuilder func(txOpts *bind.TransactOpts) (*txmgr.TxCandidate, error)
TxBuilder will build a transaction with the given nonce.
Click to show internal directories.
Click to hide internal directories.