Documentation ¶
Index ¶
- type CondNewSequence
- type CondNewSequence_Expecter
- type CondNewSequence_NewSequenceIfWorthToSend_Call
- func (_c *CondNewSequence_NewSequenceIfWorthToSend_Call) Return(_a0 seqsendertypes.Sequence, _a1 error) *CondNewSequence_NewSequenceIfWorthToSend_Call
- func (_c *CondNewSequence_NewSequenceIfWorthToSend_Call) Run(run func(ctx context.Context, txBuilder txbuilder.TxBuilder, ...)) *CondNewSequence_NewSequenceIfWorthToSend_Call
- func (_c *CondNewSequence_NewSequenceIfWorthToSend_Call) RunAndReturn(...) *CondNewSequence_NewSequenceIfWorthToSend_Call
- type GlobalExitRootBananaContractor
- type GlobalExitRootBananaContractor_Expecter
- type GlobalExitRootBananaContractor_L1InfoRootMap_Call
- func (_c *GlobalExitRootBananaContractor_L1InfoRootMap_Call) Return(_a0 [32]byte, _a1 error) *GlobalExitRootBananaContractor_L1InfoRootMap_Call
- func (_c *GlobalExitRootBananaContractor_L1InfoRootMap_Call) Run(run func(opts *bind.CallOpts, index uint32)) *GlobalExitRootBananaContractor_L1InfoRootMap_Call
- func (_c *GlobalExitRootBananaContractor_L1InfoRootMap_Call) RunAndReturn(run func(*bind.CallOpts, uint32) ([32]byte, error)) *GlobalExitRootBananaContractor_L1InfoRootMap_Call
- type GlobalExitRootBananaContractor_String_Call
- func (_c *GlobalExitRootBananaContractor_String_Call) Return(_a0 string) *GlobalExitRootBananaContractor_String_Call
- func (_c *GlobalExitRootBananaContractor_String_Call) Run(run func()) *GlobalExitRootBananaContractor_String_Call
- func (_c *GlobalExitRootBananaContractor_String_Call) RunAndReturn(run func() string) *GlobalExitRootBananaContractor_String_Call
- type GlobalExitRootBananaZKEVMContractor
- type GlobalExitRootBananaZKEVMContractor_Expecter
- type GlobalExitRootBananaZKEVMContractor_L1InfoRootMap_Call
- func (_c *GlobalExitRootBananaZKEVMContractor_L1InfoRootMap_Call) Return(_a0 [32]byte, _a1 error) *GlobalExitRootBananaZKEVMContractor_L1InfoRootMap_Call
- func (_c *GlobalExitRootBananaZKEVMContractor_L1InfoRootMap_Call) Run(run func(opts *bind.CallOpts, index uint32)) *GlobalExitRootBananaZKEVMContractor_L1InfoRootMap_Call
- func (_c *GlobalExitRootBananaZKEVMContractor_L1InfoRootMap_Call) RunAndReturn(run func(*bind.CallOpts, uint32) ([32]byte, error)) *GlobalExitRootBananaZKEVMContractor_L1InfoRootMap_Call
- type GlobalExitRootBananaZKEVMContractor_String_Call
- func (_c *GlobalExitRootBananaZKEVMContractor_String_Call) Return(_a0 string) *GlobalExitRootBananaZKEVMContractor_String_Call
- func (_c *GlobalExitRootBananaZKEVMContractor_String_Call) Run(run func()) *GlobalExitRootBananaZKEVMContractor_String_Call
- func (_c *GlobalExitRootBananaZKEVMContractor_String_Call) RunAndReturn(run func() string) *GlobalExitRootBananaZKEVMContractor_String_Call
- type L1Client
- type L1Client_Expecter
- type L1Client_HeaderByNumber_Call
- func (_c *L1Client_HeaderByNumber_Call) Return(_a0 *types.Header, _a1 error) *L1Client_HeaderByNumber_Call
- func (_c *L1Client_HeaderByNumber_Call) Run(run func(ctx context.Context, number *big.Int)) *L1Client_HeaderByNumber_Call
- func (_c *L1Client_HeaderByNumber_Call) RunAndReturn(run func(context.Context, *big.Int) (*types.Header, error)) *L1Client_HeaderByNumber_Call
- type L1InfoSyncer
- type L1InfoSyncer_Expecter
- type L1InfoSyncer_GetLatestInfoUntilBlock_Call
- func (_c *L1InfoSyncer_GetLatestInfoUntilBlock_Call) Return(_a0 *l1infotreesync.L1InfoTreeLeaf, _a1 error) *L1InfoSyncer_GetLatestInfoUntilBlock_Call
- func (_c *L1InfoSyncer_GetLatestInfoUntilBlock_Call) Run(run func(ctx context.Context, blockNum uint64)) *L1InfoSyncer_GetLatestInfoUntilBlock_Call
- func (_c *L1InfoSyncer_GetLatestInfoUntilBlock_Call) RunAndReturn(run func(context.Context, uint64) (*l1infotreesync.L1InfoTreeLeaf, error)) *L1InfoSyncer_GetLatestInfoUntilBlock_Call
- type RollupBananaBaseContractor
- type RollupBananaBaseContractor_Expecter
- type RollupBananaBaseContractor_LastAccInputHash_Call
- func (_c *RollupBananaBaseContractor_LastAccInputHash_Call) Return(_a0 [32]byte, _a1 error) *RollupBananaBaseContractor_LastAccInputHash_Call
- func (_c *RollupBananaBaseContractor_LastAccInputHash_Call) Run(run func(opts *bind.CallOpts)) *RollupBananaBaseContractor_LastAccInputHash_Call
- func (_c *RollupBananaBaseContractor_LastAccInputHash_Call) RunAndReturn(run func(*bind.CallOpts) ([32]byte, error)) *RollupBananaBaseContractor_LastAccInputHash_Call
- type RollupBananaValidiumContractor
- func (_m *RollupBananaValidiumContractor) EXPECT() *RollupBananaValidiumContractor_Expecter
- func (_m *RollupBananaValidiumContractor) LastAccInputHash(opts *bind.CallOpts) ([32]byte, error)
- func (_m *RollupBananaValidiumContractor) SequenceBatchesValidium(opts *bind.TransactOpts, ...) (*types.Transaction, error)
- type RollupBananaValidiumContractor_Expecter
- func (_e *RollupBananaValidiumContractor_Expecter) LastAccInputHash(opts interface{}) *RollupBananaValidiumContractor_LastAccInputHash_Call
- func (_e *RollupBananaValidiumContractor_Expecter) SequenceBatchesValidium(opts interface{}, batches interface{}, indexL1InfoRoot interface{}, ...) *RollupBananaValidiumContractor_SequenceBatchesValidium_Call
- type RollupBananaValidiumContractor_LastAccInputHash_Call
- func (_c *RollupBananaValidiumContractor_LastAccInputHash_Call) Return(_a0 [32]byte, _a1 error) *RollupBananaValidiumContractor_LastAccInputHash_Call
- func (_c *RollupBananaValidiumContractor_LastAccInputHash_Call) Run(run func(opts *bind.CallOpts)) *RollupBananaValidiumContractor_LastAccInputHash_Call
- func (_c *RollupBananaValidiumContractor_LastAccInputHash_Call) RunAndReturn(run func(*bind.CallOpts) ([32]byte, error)) *RollupBananaValidiumContractor_LastAccInputHash_Call
- type RollupBananaValidiumContractor_SequenceBatchesValidium_Call
- func (_c *RollupBananaValidiumContractor_SequenceBatchesValidium_Call) Return(_a0 *types.Transaction, _a1 error) *RollupBananaValidiumContractor_SequenceBatchesValidium_Call
- func (_c *RollupBananaValidiumContractor_SequenceBatchesValidium_Call) Run(run func(opts *bind.TransactOpts, ...)) *RollupBananaValidiumContractor_SequenceBatchesValidium_Call
- func (_c *RollupBananaValidiumContractor_SequenceBatchesValidium_Call) RunAndReturn(run func(*bind.TransactOpts, ...) (*types.Transaction, error)) *RollupBananaValidiumContractor_SequenceBatchesValidium_Call
- type RollupBananaZKEVMContractor
- type RollupBananaZKEVMContractor_Expecter
- func (_e *RollupBananaZKEVMContractor_Expecter) LastAccInputHash(opts interface{}) *RollupBananaZKEVMContractor_LastAccInputHash_Call
- func (_e *RollupBananaZKEVMContractor_Expecter) SequenceBatches(opts interface{}, batches interface{}, indexL1InfoRoot interface{}, ...) *RollupBananaZKEVMContractor_SequenceBatches_Call
- type RollupBananaZKEVMContractor_LastAccInputHash_Call
- func (_c *RollupBananaZKEVMContractor_LastAccInputHash_Call) Return(_a0 [32]byte, _a1 error) *RollupBananaZKEVMContractor_LastAccInputHash_Call
- func (_c *RollupBananaZKEVMContractor_LastAccInputHash_Call) Run(run func(opts *bind.CallOpts)) *RollupBananaZKEVMContractor_LastAccInputHash_Call
- func (_c *RollupBananaZKEVMContractor_LastAccInputHash_Call) RunAndReturn(run func(*bind.CallOpts) ([32]byte, error)) *RollupBananaZKEVMContractor_LastAccInputHash_Call
- type RollupBananaZKEVMContractor_SequenceBatches_Call
- func (_c *RollupBananaZKEVMContractor_SequenceBatches_Call) Return(_a0 *types.Transaction, _a1 error) *RollupBananaZKEVMContractor_SequenceBatches_Call
- func (_c *RollupBananaZKEVMContractor_SequenceBatches_Call) Run(run func(opts *bind.TransactOpts, ...)) *RollupBananaZKEVMContractor_SequenceBatches_Call
- func (_c *RollupBananaZKEVMContractor_SequenceBatches_Call) RunAndReturn(...) *RollupBananaZKEVMContractor_SequenceBatches_Call
- type RollupElderberryValidiumContractor
- type RollupElderberryValidiumContractor_Expecter
- type RollupElderberryValidiumContractor_SequenceBatchesValidium_Call
- func (_c *RollupElderberryValidiumContractor_SequenceBatchesValidium_Call) Return(_a0 *types.Transaction, _a1 error) *RollupElderberryValidiumContractor_SequenceBatchesValidium_Call
- func (_c *RollupElderberryValidiumContractor_SequenceBatchesValidium_Call) Run(run func(opts *bind.TransactOpts, ...)) *RollupElderberryValidiumContractor_SequenceBatchesValidium_Call
- func (_c *RollupElderberryValidiumContractor_SequenceBatchesValidium_Call) RunAndReturn(run func(*bind.TransactOpts, ...) (*types.Transaction, error)) *RollupElderberryValidiumContractor_SequenceBatchesValidium_Call
- type RollupElderberryZKEVMContractor
- type RollupElderberryZKEVMContractor_Expecter
- type RollupElderberryZKEVMContractor_SequenceBatches_Call
- func (_c *RollupElderberryZKEVMContractor_SequenceBatches_Call) Return(_a0 *types.Transaction, _a1 error) *RollupElderberryZKEVMContractor_SequenceBatches_Call
- func (_c *RollupElderberryZKEVMContractor_SequenceBatches_Call) Run(run func(opts *bind.TransactOpts, ...)) *RollupElderberryZKEVMContractor_SequenceBatches_Call
- func (_c *RollupElderberryZKEVMContractor_SequenceBatches_Call) RunAndReturn(...) *RollupElderberryZKEVMContractor_SequenceBatches_Call
- type TxBuilder
- func (_m *TxBuilder) BuildSequenceBatchesTx(ctx context.Context, sequences seqsendertypes.Sequence) (*types.Transaction, error)
- func (_m *TxBuilder) EXPECT() *TxBuilder_Expecter
- func (_m *TxBuilder) NewBatchFromL2Block(l2Block *datastream.L2Block) seqsendertypes.Batch
- func (_m *TxBuilder) NewSequence(ctx context.Context, batches []seqsendertypes.Batch, coinbase common.Address) (seqsendertypes.Sequence, error)
- func (_m *TxBuilder) NewSequenceIfWorthToSend(ctx context.Context, sequenceBatches []seqsendertypes.Batch, ...) (seqsendertypes.Sequence, error)
- func (_m *TxBuilder) SetCondNewSeq(cond txbuilder.CondNewSequence) txbuilder.CondNewSequence
- func (_m *TxBuilder) String() string
- type TxBuilder_BuildSequenceBatchesTx_Call
- func (_c *TxBuilder_BuildSequenceBatchesTx_Call) Return(_a0 *types.Transaction, _a1 error) *TxBuilder_BuildSequenceBatchesTx_Call
- func (_c *TxBuilder_BuildSequenceBatchesTx_Call) Run(run func(ctx context.Context, sequences seqsendertypes.Sequence)) *TxBuilder_BuildSequenceBatchesTx_Call
- func (_c *TxBuilder_BuildSequenceBatchesTx_Call) RunAndReturn(run func(context.Context, seqsendertypes.Sequence) (*types.Transaction, error)) *TxBuilder_BuildSequenceBatchesTx_Call
- type TxBuilder_Expecter
- func (_e *TxBuilder_Expecter) BuildSequenceBatchesTx(ctx interface{}, sequences interface{}) *TxBuilder_BuildSequenceBatchesTx_Call
- func (_e *TxBuilder_Expecter) NewBatchFromL2Block(l2Block interface{}) *TxBuilder_NewBatchFromL2Block_Call
- func (_e *TxBuilder_Expecter) NewSequence(ctx interface{}, batches interface{}, coinbase interface{}) *TxBuilder_NewSequence_Call
- func (_e *TxBuilder_Expecter) NewSequenceIfWorthToSend(ctx interface{}, sequenceBatches interface{}, l2Coinbase interface{}, ...) *TxBuilder_NewSequenceIfWorthToSend_Call
- func (_e *TxBuilder_Expecter) SetCondNewSeq(cond interface{}) *TxBuilder_SetCondNewSeq_Call
- func (_e *TxBuilder_Expecter) String() *TxBuilder_String_Call
- type TxBuilder_NewBatchFromL2Block_Call
- func (_c *TxBuilder_NewBatchFromL2Block_Call) Return(_a0 seqsendertypes.Batch) *TxBuilder_NewBatchFromL2Block_Call
- func (_c *TxBuilder_NewBatchFromL2Block_Call) Run(run func(l2Block *datastream.L2Block)) *TxBuilder_NewBatchFromL2Block_Call
- func (_c *TxBuilder_NewBatchFromL2Block_Call) RunAndReturn(run func(*datastream.L2Block) seqsendertypes.Batch) *TxBuilder_NewBatchFromL2Block_Call
- type TxBuilder_NewSequenceIfWorthToSend_Call
- func (_c *TxBuilder_NewSequenceIfWorthToSend_Call) Return(_a0 seqsendertypes.Sequence, _a1 error) *TxBuilder_NewSequenceIfWorthToSend_Call
- func (_c *TxBuilder_NewSequenceIfWorthToSend_Call) Run(run func(ctx context.Context, sequenceBatches []seqsendertypes.Batch, ...)) *TxBuilder_NewSequenceIfWorthToSend_Call
- func (_c *TxBuilder_NewSequenceIfWorthToSend_Call) RunAndReturn(...) *TxBuilder_NewSequenceIfWorthToSend_Call
- type TxBuilder_NewSequence_Call
- type TxBuilder_SetCondNewSeq_Call
- func (_c *TxBuilder_SetCondNewSeq_Call) Return(_a0 txbuilder.CondNewSequence) *TxBuilder_SetCondNewSeq_Call
- func (_c *TxBuilder_SetCondNewSeq_Call) Run(run func(cond txbuilder.CondNewSequence)) *TxBuilder_SetCondNewSeq_Call
- func (_c *TxBuilder_SetCondNewSeq_Call) RunAndReturn(run func(txbuilder.CondNewSequence) txbuilder.CondNewSequence) *TxBuilder_SetCondNewSeq_Call
- type TxBuilder_String_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CondNewSequence ¶
CondNewSequence is an autogenerated mock type for the CondNewSequence type
func NewCondNewSequence ¶
func NewCondNewSequence(t interface { mock.TestingT Cleanup(func()) }) *CondNewSequence
NewCondNewSequence creates a new instance of CondNewSequence. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CondNewSequence) EXPECT ¶
func (_m *CondNewSequence) EXPECT() *CondNewSequence_Expecter
func (*CondNewSequence) NewSequenceIfWorthToSend ¶
func (_m *CondNewSequence) NewSequenceIfWorthToSend(ctx context.Context, txBuilder txbuilder.TxBuilder, sequenceBatches []seqsendertypes.Batch, l2Coinbase common.Address) (seqsendertypes.Sequence, error)
NewSequenceIfWorthToSend provides a mock function with given fields: ctx, txBuilder, sequenceBatches, l2Coinbase
type CondNewSequence_Expecter ¶
type CondNewSequence_Expecter struct {
// contains filtered or unexported fields
}
func (*CondNewSequence_Expecter) NewSequenceIfWorthToSend ¶
func (_e *CondNewSequence_Expecter) NewSequenceIfWorthToSend(ctx interface{}, txBuilder interface{}, sequenceBatches interface{}, l2Coinbase interface{}) *CondNewSequence_NewSequenceIfWorthToSend_Call
NewSequenceIfWorthToSend is a helper method to define mock.On call
- ctx context.Context
- txBuilder txbuilder.TxBuilder
- sequenceBatches []seqsendertypes.Batch
- l2Coinbase common.Address
type CondNewSequence_NewSequenceIfWorthToSend_Call ¶
CondNewSequence_NewSequenceIfWorthToSend_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewSequenceIfWorthToSend'
func (*CondNewSequence_NewSequenceIfWorthToSend_Call) Return ¶
func (_c *CondNewSequence_NewSequenceIfWorthToSend_Call) Return(_a0 seqsendertypes.Sequence, _a1 error) *CondNewSequence_NewSequenceIfWorthToSend_Call
func (*CondNewSequence_NewSequenceIfWorthToSend_Call) Run ¶
func (_c *CondNewSequence_NewSequenceIfWorthToSend_Call) Run(run func(ctx context.Context, txBuilder txbuilder.TxBuilder, sequenceBatches []seqsendertypes.Batch, l2Coinbase common.Address)) *CondNewSequence_NewSequenceIfWorthToSend_Call
func (*CondNewSequence_NewSequenceIfWorthToSend_Call) RunAndReturn ¶
func (_c *CondNewSequence_NewSequenceIfWorthToSend_Call) RunAndReturn(run func(context.Context, txbuilder.TxBuilder, []seqsendertypes.Batch, common.Address) (seqsendertypes.Sequence, error)) *CondNewSequence_NewSequenceIfWorthToSend_Call
type GlobalExitRootBananaContractor ¶
GlobalExitRootBananaContractor is an autogenerated mock type for the globalExitRootBananaContractor type
func NewGlobalExitRootBananaContractor ¶
func NewGlobalExitRootBananaContractor(t interface { mock.TestingT Cleanup(func()) }) *GlobalExitRootBananaContractor
NewGlobalExitRootBananaContractor creates a new instance of GlobalExitRootBananaContractor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*GlobalExitRootBananaContractor) EXPECT ¶
func (_m *GlobalExitRootBananaContractor) EXPECT() *GlobalExitRootBananaContractor_Expecter
func (*GlobalExitRootBananaContractor) L1InfoRootMap ¶
func (_m *GlobalExitRootBananaContractor) L1InfoRootMap(opts *bind.CallOpts, index uint32) ([32]byte, error)
L1InfoRootMap provides a mock function with given fields: opts, index
func (*GlobalExitRootBananaContractor) String ¶
func (_m *GlobalExitRootBananaContractor) String() string
String provides a mock function with given fields:
type GlobalExitRootBananaContractor_Expecter ¶
type GlobalExitRootBananaContractor_Expecter struct {
// contains filtered or unexported fields
}
func (*GlobalExitRootBananaContractor_Expecter) L1InfoRootMap ¶
func (_e *GlobalExitRootBananaContractor_Expecter) L1InfoRootMap(opts interface{}, index interface{}) *GlobalExitRootBananaContractor_L1InfoRootMap_Call
L1InfoRootMap is a helper method to define mock.On call
- opts *bind.CallOpts
- index uint32
func (*GlobalExitRootBananaContractor_Expecter) String ¶
func (_e *GlobalExitRootBananaContractor_Expecter) String() *GlobalExitRootBananaContractor_String_Call
String is a helper method to define mock.On call
type GlobalExitRootBananaContractor_L1InfoRootMap_Call ¶
GlobalExitRootBananaContractor_L1InfoRootMap_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'L1InfoRootMap'
func (*GlobalExitRootBananaContractor_L1InfoRootMap_Call) Return ¶
func (_c *GlobalExitRootBananaContractor_L1InfoRootMap_Call) Return(_a0 [32]byte, _a1 error) *GlobalExitRootBananaContractor_L1InfoRootMap_Call
func (*GlobalExitRootBananaContractor_L1InfoRootMap_Call) Run ¶
func (_c *GlobalExitRootBananaContractor_L1InfoRootMap_Call) Run(run func(opts *bind.CallOpts, index uint32)) *GlobalExitRootBananaContractor_L1InfoRootMap_Call
func (*GlobalExitRootBananaContractor_L1InfoRootMap_Call) RunAndReturn ¶
func (_c *GlobalExitRootBananaContractor_L1InfoRootMap_Call) RunAndReturn(run func(*bind.CallOpts, uint32) ([32]byte, error)) *GlobalExitRootBananaContractor_L1InfoRootMap_Call
type GlobalExitRootBananaContractor_String_Call ¶
GlobalExitRootBananaContractor_String_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'String'
func (*GlobalExitRootBananaContractor_String_Call) Return ¶
func (_c *GlobalExitRootBananaContractor_String_Call) Return(_a0 string) *GlobalExitRootBananaContractor_String_Call
func (*GlobalExitRootBananaContractor_String_Call) Run ¶
func (_c *GlobalExitRootBananaContractor_String_Call) Run(run func()) *GlobalExitRootBananaContractor_String_Call
func (*GlobalExitRootBananaContractor_String_Call) RunAndReturn ¶
func (_c *GlobalExitRootBananaContractor_String_Call) RunAndReturn(run func() string) *GlobalExitRootBananaContractor_String_Call
type GlobalExitRootBananaZKEVMContractor ¶
GlobalExitRootBananaZKEVMContractor is an autogenerated mock type for the globalExitRootBananaZKEVMContractor type
func NewGlobalExitRootBananaZKEVMContractor ¶
func NewGlobalExitRootBananaZKEVMContractor(t interface { mock.TestingT Cleanup(func()) }) *GlobalExitRootBananaZKEVMContractor
NewGlobalExitRootBananaZKEVMContractor creates a new instance of GlobalExitRootBananaZKEVMContractor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*GlobalExitRootBananaZKEVMContractor) EXPECT ¶
func (_m *GlobalExitRootBananaZKEVMContractor) EXPECT() *GlobalExitRootBananaZKEVMContractor_Expecter
func (*GlobalExitRootBananaZKEVMContractor) L1InfoRootMap ¶
func (_m *GlobalExitRootBananaZKEVMContractor) L1InfoRootMap(opts *bind.CallOpts, index uint32) ([32]byte, error)
L1InfoRootMap provides a mock function with given fields: opts, index
func (*GlobalExitRootBananaZKEVMContractor) String ¶
func (_m *GlobalExitRootBananaZKEVMContractor) String() string
String provides a mock function with given fields:
type GlobalExitRootBananaZKEVMContractor_Expecter ¶
type GlobalExitRootBananaZKEVMContractor_Expecter struct {
// contains filtered or unexported fields
}
func (*GlobalExitRootBananaZKEVMContractor_Expecter) L1InfoRootMap ¶
func (_e *GlobalExitRootBananaZKEVMContractor_Expecter) L1InfoRootMap(opts interface{}, index interface{}) *GlobalExitRootBananaZKEVMContractor_L1InfoRootMap_Call
L1InfoRootMap is a helper method to define mock.On call
- opts *bind.CallOpts
- index uint32
func (*GlobalExitRootBananaZKEVMContractor_Expecter) String ¶
func (_e *GlobalExitRootBananaZKEVMContractor_Expecter) String() *GlobalExitRootBananaZKEVMContractor_String_Call
String is a helper method to define mock.On call
type GlobalExitRootBananaZKEVMContractor_L1InfoRootMap_Call ¶
GlobalExitRootBananaZKEVMContractor_L1InfoRootMap_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'L1InfoRootMap'
func (*GlobalExitRootBananaZKEVMContractor_L1InfoRootMap_Call) Return ¶
func (_c *GlobalExitRootBananaZKEVMContractor_L1InfoRootMap_Call) Return(_a0 [32]byte, _a1 error) *GlobalExitRootBananaZKEVMContractor_L1InfoRootMap_Call
func (*GlobalExitRootBananaZKEVMContractor_L1InfoRootMap_Call) Run ¶
func (_c *GlobalExitRootBananaZKEVMContractor_L1InfoRootMap_Call) Run(run func(opts *bind.CallOpts, index uint32)) *GlobalExitRootBananaZKEVMContractor_L1InfoRootMap_Call
func (*GlobalExitRootBananaZKEVMContractor_L1InfoRootMap_Call) RunAndReturn ¶
func (_c *GlobalExitRootBananaZKEVMContractor_L1InfoRootMap_Call) RunAndReturn(run func(*bind.CallOpts, uint32) ([32]byte, error)) *GlobalExitRootBananaZKEVMContractor_L1InfoRootMap_Call
type GlobalExitRootBananaZKEVMContractor_String_Call ¶
GlobalExitRootBananaZKEVMContractor_String_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'String'
func (*GlobalExitRootBananaZKEVMContractor_String_Call) Return ¶
func (_c *GlobalExitRootBananaZKEVMContractor_String_Call) Return(_a0 string) *GlobalExitRootBananaZKEVMContractor_String_Call
func (*GlobalExitRootBananaZKEVMContractor_String_Call) Run ¶
func (_c *GlobalExitRootBananaZKEVMContractor_String_Call) Run(run func()) *GlobalExitRootBananaZKEVMContractor_String_Call
func (*GlobalExitRootBananaZKEVMContractor_String_Call) RunAndReturn ¶
func (_c *GlobalExitRootBananaZKEVMContractor_String_Call) RunAndReturn(run func() string) *GlobalExitRootBananaZKEVMContractor_String_Call
type L1Client ¶
L1Client is an autogenerated mock type for the l1Client type
func NewL1Client ¶
NewL1Client creates a new instance of L1Client. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*L1Client) EXPECT ¶
func (_m *L1Client) EXPECT() *L1Client_Expecter
type L1Client_Expecter ¶
type L1Client_Expecter struct {
// contains filtered or unexported fields
}
func (*L1Client_Expecter) HeaderByNumber ¶
func (_e *L1Client_Expecter) HeaderByNumber(ctx interface{}, number interface{}) *L1Client_HeaderByNumber_Call
HeaderByNumber is a helper method to define mock.On call
- ctx context.Context
- number *big.Int
type L1Client_HeaderByNumber_Call ¶
L1Client_HeaderByNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HeaderByNumber'
func (*L1Client_HeaderByNumber_Call) Return ¶
func (_c *L1Client_HeaderByNumber_Call) Return(_a0 *types.Header, _a1 error) *L1Client_HeaderByNumber_Call
func (*L1Client_HeaderByNumber_Call) Run ¶
func (_c *L1Client_HeaderByNumber_Call) Run(run func(ctx context.Context, number *big.Int)) *L1Client_HeaderByNumber_Call
func (*L1Client_HeaderByNumber_Call) RunAndReturn ¶
func (_c *L1Client_HeaderByNumber_Call) RunAndReturn(run func(context.Context, *big.Int) (*types.Header, error)) *L1Client_HeaderByNumber_Call
type L1InfoSyncer ¶
L1InfoSyncer is an autogenerated mock type for the l1InfoSyncer type
func NewL1InfoSyncer ¶
func NewL1InfoSyncer(t interface { mock.TestingT Cleanup(func()) }) *L1InfoSyncer
NewL1InfoSyncer creates a new instance of L1InfoSyncer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*L1InfoSyncer) EXPECT ¶
func (_m *L1InfoSyncer) EXPECT() *L1InfoSyncer_Expecter
func (*L1InfoSyncer) GetLatestInfoUntilBlock ¶
func (_m *L1InfoSyncer) GetLatestInfoUntilBlock(ctx context.Context, blockNum uint64) (*l1infotreesync.L1InfoTreeLeaf, error)
GetLatestInfoUntilBlock provides a mock function with given fields: ctx, blockNum
type L1InfoSyncer_Expecter ¶
type L1InfoSyncer_Expecter struct {
// contains filtered or unexported fields
}
func (*L1InfoSyncer_Expecter) GetLatestInfoUntilBlock ¶
func (_e *L1InfoSyncer_Expecter) GetLatestInfoUntilBlock(ctx interface{}, blockNum interface{}) *L1InfoSyncer_GetLatestInfoUntilBlock_Call
GetLatestInfoUntilBlock is a helper method to define mock.On call
- ctx context.Context
- blockNum uint64
type L1InfoSyncer_GetLatestInfoUntilBlock_Call ¶
L1InfoSyncer_GetLatestInfoUntilBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLatestInfoUntilBlock'
func (*L1InfoSyncer_GetLatestInfoUntilBlock_Call) Return ¶
func (_c *L1InfoSyncer_GetLatestInfoUntilBlock_Call) Return(_a0 *l1infotreesync.L1InfoTreeLeaf, _a1 error) *L1InfoSyncer_GetLatestInfoUntilBlock_Call
func (*L1InfoSyncer_GetLatestInfoUntilBlock_Call) Run ¶
func (_c *L1InfoSyncer_GetLatestInfoUntilBlock_Call) Run(run func(ctx context.Context, blockNum uint64)) *L1InfoSyncer_GetLatestInfoUntilBlock_Call
func (*L1InfoSyncer_GetLatestInfoUntilBlock_Call) RunAndReturn ¶
func (_c *L1InfoSyncer_GetLatestInfoUntilBlock_Call) RunAndReturn(run func(context.Context, uint64) (*l1infotreesync.L1InfoTreeLeaf, error)) *L1InfoSyncer_GetLatestInfoUntilBlock_Call
type RollupBananaBaseContractor ¶
RollupBananaBaseContractor is an autogenerated mock type for the rollupBananaBaseContractor type
func NewRollupBananaBaseContractor ¶
func NewRollupBananaBaseContractor(t interface { mock.TestingT Cleanup(func()) }) *RollupBananaBaseContractor
NewRollupBananaBaseContractor creates a new instance of RollupBananaBaseContractor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*RollupBananaBaseContractor) EXPECT ¶
func (_m *RollupBananaBaseContractor) EXPECT() *RollupBananaBaseContractor_Expecter
func (*RollupBananaBaseContractor) LastAccInputHash ¶
func (_m *RollupBananaBaseContractor) LastAccInputHash(opts *bind.CallOpts) ([32]byte, error)
LastAccInputHash provides a mock function with given fields: opts
type RollupBananaBaseContractor_Expecter ¶
type RollupBananaBaseContractor_Expecter struct {
// contains filtered or unexported fields
}
func (*RollupBananaBaseContractor_Expecter) LastAccInputHash ¶
func (_e *RollupBananaBaseContractor_Expecter) LastAccInputHash(opts interface{}) *RollupBananaBaseContractor_LastAccInputHash_Call
LastAccInputHash is a helper method to define mock.On call
- opts *bind.CallOpts
type RollupBananaBaseContractor_LastAccInputHash_Call ¶
RollupBananaBaseContractor_LastAccInputHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LastAccInputHash'
func (*RollupBananaBaseContractor_LastAccInputHash_Call) Return ¶
func (_c *RollupBananaBaseContractor_LastAccInputHash_Call) Return(_a0 [32]byte, _a1 error) *RollupBananaBaseContractor_LastAccInputHash_Call
func (*RollupBananaBaseContractor_LastAccInputHash_Call) Run ¶
func (_c *RollupBananaBaseContractor_LastAccInputHash_Call) Run(run func(opts *bind.CallOpts)) *RollupBananaBaseContractor_LastAccInputHash_Call
func (*RollupBananaBaseContractor_LastAccInputHash_Call) RunAndReturn ¶
func (_c *RollupBananaBaseContractor_LastAccInputHash_Call) RunAndReturn(run func(*bind.CallOpts) ([32]byte, error)) *RollupBananaBaseContractor_LastAccInputHash_Call
type RollupBananaValidiumContractor ¶
RollupBananaValidiumContractor is an autogenerated mock type for the rollupBananaValidiumContractor type
func NewRollupBananaValidiumContractor ¶
func NewRollupBananaValidiumContractor(t interface { mock.TestingT Cleanup(func()) }) *RollupBananaValidiumContractor
NewRollupBananaValidiumContractor creates a new instance of RollupBananaValidiumContractor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*RollupBananaValidiumContractor) EXPECT ¶
func (_m *RollupBananaValidiumContractor) EXPECT() *RollupBananaValidiumContractor_Expecter
func (*RollupBananaValidiumContractor) LastAccInputHash ¶
func (_m *RollupBananaValidiumContractor) LastAccInputHash(opts *bind.CallOpts) ([32]byte, error)
LastAccInputHash provides a mock function with given fields: opts
func (*RollupBananaValidiumContractor) SequenceBatchesValidium ¶
func (_m *RollupBananaValidiumContractor) SequenceBatchesValidium(opts *bind.TransactOpts, batches []polygonvalidiumetrog.PolygonValidiumEtrogValidiumBatchData, indexL1InfoRoot uint32, maxSequenceTimestamp uint64, expectedFinalAccInputHash [32]byte, l2Coinbase common.Address, dataAvailabilityMessage []byte) (*types.Transaction, error)
SequenceBatchesValidium provides a mock function with given fields: opts, batches, indexL1InfoRoot, maxSequenceTimestamp, expectedFinalAccInputHash, l2Coinbase, dataAvailabilityMessage
type RollupBananaValidiumContractor_Expecter ¶
type RollupBananaValidiumContractor_Expecter struct {
// contains filtered or unexported fields
}
func (*RollupBananaValidiumContractor_Expecter) LastAccInputHash ¶
func (_e *RollupBananaValidiumContractor_Expecter) LastAccInputHash(opts interface{}) *RollupBananaValidiumContractor_LastAccInputHash_Call
LastAccInputHash is a helper method to define mock.On call
- opts *bind.CallOpts
func (*RollupBananaValidiumContractor_Expecter) SequenceBatchesValidium ¶
func (_e *RollupBananaValidiumContractor_Expecter) SequenceBatchesValidium(opts interface{}, batches interface{}, indexL1InfoRoot interface{}, maxSequenceTimestamp interface{}, expectedFinalAccInputHash interface{}, l2Coinbase interface{}, dataAvailabilityMessage interface{}) *RollupBananaValidiumContractor_SequenceBatchesValidium_Call
SequenceBatchesValidium is a helper method to define mock.On call
- opts *bind.TransactOpts
- batches []polygonvalidiumetrog.PolygonValidiumEtrogValidiumBatchData
- indexL1InfoRoot uint32
- maxSequenceTimestamp uint64
- expectedFinalAccInputHash [32]byte
- l2Coinbase common.Address
- dataAvailabilityMessage []byte
type RollupBananaValidiumContractor_LastAccInputHash_Call ¶
RollupBananaValidiumContractor_LastAccInputHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LastAccInputHash'
func (*RollupBananaValidiumContractor_LastAccInputHash_Call) Return ¶
func (_c *RollupBananaValidiumContractor_LastAccInputHash_Call) Return(_a0 [32]byte, _a1 error) *RollupBananaValidiumContractor_LastAccInputHash_Call
func (*RollupBananaValidiumContractor_LastAccInputHash_Call) Run ¶
func (_c *RollupBananaValidiumContractor_LastAccInputHash_Call) Run(run func(opts *bind.CallOpts)) *RollupBananaValidiumContractor_LastAccInputHash_Call
func (*RollupBananaValidiumContractor_LastAccInputHash_Call) RunAndReturn ¶
func (_c *RollupBananaValidiumContractor_LastAccInputHash_Call) RunAndReturn(run func(*bind.CallOpts) ([32]byte, error)) *RollupBananaValidiumContractor_LastAccInputHash_Call
type RollupBananaValidiumContractor_SequenceBatchesValidium_Call ¶
RollupBananaValidiumContractor_SequenceBatchesValidium_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SequenceBatchesValidium'
func (*RollupBananaValidiumContractor_SequenceBatchesValidium_Call) Run ¶
func (_c *RollupBananaValidiumContractor_SequenceBatchesValidium_Call) Run(run func(opts *bind.TransactOpts, batches []polygonvalidiumetrog.PolygonValidiumEtrogValidiumBatchData, indexL1InfoRoot uint32, maxSequenceTimestamp uint64, expectedFinalAccInputHash [32]byte, l2Coinbase common.Address, dataAvailabilityMessage []byte)) *RollupBananaValidiumContractor_SequenceBatchesValidium_Call
func (*RollupBananaValidiumContractor_SequenceBatchesValidium_Call) RunAndReturn ¶
func (_c *RollupBananaValidiumContractor_SequenceBatchesValidium_Call) RunAndReturn(run func(*bind.TransactOpts, []polygonvalidiumetrog.PolygonValidiumEtrogValidiumBatchData, uint32, uint64, [32]byte, common.Address, []byte) (*types.Transaction, error)) *RollupBananaValidiumContractor_SequenceBatchesValidium_Call
type RollupBananaZKEVMContractor ¶
RollupBananaZKEVMContractor is an autogenerated mock type for the rollupBananaZKEVMContractor type
func NewRollupBananaZKEVMContractor ¶
func NewRollupBananaZKEVMContractor(t interface { mock.TestingT Cleanup(func()) }) *RollupBananaZKEVMContractor
NewRollupBananaZKEVMContractor creates a new instance of RollupBananaZKEVMContractor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*RollupBananaZKEVMContractor) EXPECT ¶
func (_m *RollupBananaZKEVMContractor) EXPECT() *RollupBananaZKEVMContractor_Expecter
func (*RollupBananaZKEVMContractor) LastAccInputHash ¶
func (_m *RollupBananaZKEVMContractor) LastAccInputHash(opts *bind.CallOpts) ([32]byte, error)
LastAccInputHash provides a mock function with given fields: opts
func (*RollupBananaZKEVMContractor) SequenceBatches ¶
func (_m *RollupBananaZKEVMContractor) SequenceBatches(opts *bind.TransactOpts, batches []polygonvalidiumetrog.PolygonRollupBaseEtrogBatchData, indexL1InfoRoot uint32, maxSequenceTimestamp uint64, expectedFinalAccInputHash [32]byte, l2Coinbase common.Address) (*types.Transaction, error)
SequenceBatches provides a mock function with given fields: opts, batches, indexL1InfoRoot, maxSequenceTimestamp, expectedFinalAccInputHash, l2Coinbase
type RollupBananaZKEVMContractor_Expecter ¶
type RollupBananaZKEVMContractor_Expecter struct {
// contains filtered or unexported fields
}
func (*RollupBananaZKEVMContractor_Expecter) LastAccInputHash ¶
func (_e *RollupBananaZKEVMContractor_Expecter) LastAccInputHash(opts interface{}) *RollupBananaZKEVMContractor_LastAccInputHash_Call
LastAccInputHash is a helper method to define mock.On call
- opts *bind.CallOpts
func (*RollupBananaZKEVMContractor_Expecter) SequenceBatches ¶
func (_e *RollupBananaZKEVMContractor_Expecter) SequenceBatches(opts interface{}, batches interface{}, indexL1InfoRoot interface{}, maxSequenceTimestamp interface{}, expectedFinalAccInputHash interface{}, l2Coinbase interface{}) *RollupBananaZKEVMContractor_SequenceBatches_Call
SequenceBatches is a helper method to define mock.On call
- opts *bind.TransactOpts
- batches []polygonvalidiumetrog.PolygonRollupBaseEtrogBatchData
- indexL1InfoRoot uint32
- maxSequenceTimestamp uint64
- expectedFinalAccInputHash [32]byte
- l2Coinbase common.Address
type RollupBananaZKEVMContractor_LastAccInputHash_Call ¶
RollupBananaZKEVMContractor_LastAccInputHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LastAccInputHash'
func (*RollupBananaZKEVMContractor_LastAccInputHash_Call) Return ¶
func (_c *RollupBananaZKEVMContractor_LastAccInputHash_Call) Return(_a0 [32]byte, _a1 error) *RollupBananaZKEVMContractor_LastAccInputHash_Call
func (*RollupBananaZKEVMContractor_LastAccInputHash_Call) Run ¶
func (_c *RollupBananaZKEVMContractor_LastAccInputHash_Call) Run(run func(opts *bind.CallOpts)) *RollupBananaZKEVMContractor_LastAccInputHash_Call
func (*RollupBananaZKEVMContractor_LastAccInputHash_Call) RunAndReturn ¶
func (_c *RollupBananaZKEVMContractor_LastAccInputHash_Call) RunAndReturn(run func(*bind.CallOpts) ([32]byte, error)) *RollupBananaZKEVMContractor_LastAccInputHash_Call
type RollupBananaZKEVMContractor_SequenceBatches_Call ¶
RollupBananaZKEVMContractor_SequenceBatches_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SequenceBatches'
func (*RollupBananaZKEVMContractor_SequenceBatches_Call) Return ¶
func (_c *RollupBananaZKEVMContractor_SequenceBatches_Call) Return(_a0 *types.Transaction, _a1 error) *RollupBananaZKEVMContractor_SequenceBatches_Call
func (*RollupBananaZKEVMContractor_SequenceBatches_Call) Run ¶
func (_c *RollupBananaZKEVMContractor_SequenceBatches_Call) Run(run func(opts *bind.TransactOpts, batches []polygonvalidiumetrog.PolygonRollupBaseEtrogBatchData, indexL1InfoRoot uint32, maxSequenceTimestamp uint64, expectedFinalAccInputHash [32]byte, l2Coinbase common.Address)) *RollupBananaZKEVMContractor_SequenceBatches_Call
func (*RollupBananaZKEVMContractor_SequenceBatches_Call) RunAndReturn ¶
func (_c *RollupBananaZKEVMContractor_SequenceBatches_Call) RunAndReturn(run func(*bind.TransactOpts, []polygonvalidiumetrog.PolygonRollupBaseEtrogBatchData, uint32, uint64, [32]byte, common.Address) (*types.Transaction, error)) *RollupBananaZKEVMContractor_SequenceBatches_Call
type RollupElderberryValidiumContractor ¶
RollupElderberryValidiumContractor is an autogenerated mock type for the rollupElderberryValidiumContractor type
func NewRollupElderberryValidiumContractor ¶
func NewRollupElderberryValidiumContractor(t interface { mock.TestingT Cleanup(func()) }) *RollupElderberryValidiumContractor
NewRollupElderberryValidiumContractor creates a new instance of RollupElderberryValidiumContractor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*RollupElderberryValidiumContractor) EXPECT ¶
func (_m *RollupElderberryValidiumContractor) EXPECT() *RollupElderberryValidiumContractor_Expecter
func (*RollupElderberryValidiumContractor) SequenceBatchesValidium ¶
func (_m *RollupElderberryValidiumContractor) SequenceBatchesValidium(opts *bind.TransactOpts, batches []polygonvalidiumetrog.PolygonValidiumEtrogValidiumBatchData, maxSequenceTimestamp uint64, initSequencedBatch uint64, l2Coinbase common.Address, dataAvailabilityMessage []byte) (*types.Transaction, error)
SequenceBatchesValidium provides a mock function with given fields: opts, batches, maxSequenceTimestamp, initSequencedBatch, l2Coinbase, dataAvailabilityMessage
type RollupElderberryValidiumContractor_Expecter ¶
type RollupElderberryValidiumContractor_Expecter struct {
// contains filtered or unexported fields
}
func (*RollupElderberryValidiumContractor_Expecter) SequenceBatchesValidium ¶
func (_e *RollupElderberryValidiumContractor_Expecter) SequenceBatchesValidium(opts interface{}, batches interface{}, maxSequenceTimestamp interface{}, initSequencedBatch interface{}, l2Coinbase interface{}, dataAvailabilityMessage interface{}) *RollupElderberryValidiumContractor_SequenceBatchesValidium_Call
SequenceBatchesValidium is a helper method to define mock.On call
- opts *bind.TransactOpts
- batches []polygonvalidiumetrog.PolygonValidiumEtrogValidiumBatchData
- maxSequenceTimestamp uint64
- initSequencedBatch uint64
- l2Coinbase common.Address
- dataAvailabilityMessage []byte
type RollupElderberryValidiumContractor_SequenceBatchesValidium_Call ¶
RollupElderberryValidiumContractor_SequenceBatchesValidium_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SequenceBatchesValidium'
func (*RollupElderberryValidiumContractor_SequenceBatchesValidium_Call) Run ¶
func (_c *RollupElderberryValidiumContractor_SequenceBatchesValidium_Call) Run(run func(opts *bind.TransactOpts, batches []polygonvalidiumetrog.PolygonValidiumEtrogValidiumBatchData, maxSequenceTimestamp uint64, initSequencedBatch uint64, l2Coinbase common.Address, dataAvailabilityMessage []byte)) *RollupElderberryValidiumContractor_SequenceBatchesValidium_Call
func (*RollupElderberryValidiumContractor_SequenceBatchesValidium_Call) RunAndReturn ¶
func (_c *RollupElderberryValidiumContractor_SequenceBatchesValidium_Call) RunAndReturn(run func(*bind.TransactOpts, []polygonvalidiumetrog.PolygonValidiumEtrogValidiumBatchData, uint64, uint64, common.Address, []byte) (*types.Transaction, error)) *RollupElderberryValidiumContractor_SequenceBatchesValidium_Call
type RollupElderberryZKEVMContractor ¶
RollupElderberryZKEVMContractor is an autogenerated mock type for the rollupElderberryZKEVMContractor type
func NewRollupElderberryZKEVMContractor ¶
func NewRollupElderberryZKEVMContractor(t interface { mock.TestingT Cleanup(func()) }) *RollupElderberryZKEVMContractor
NewRollupElderberryZKEVMContractor creates a new instance of RollupElderberryZKEVMContractor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*RollupElderberryZKEVMContractor) EXPECT ¶
func (_m *RollupElderberryZKEVMContractor) EXPECT() *RollupElderberryZKEVMContractor_Expecter
func (*RollupElderberryZKEVMContractor) SequenceBatches ¶
func (_m *RollupElderberryZKEVMContractor) SequenceBatches(opts *bind.TransactOpts, batches []polygonvalidiumetrog.PolygonRollupBaseEtrogBatchData, maxSequenceTimestamp uint64, initSequencedBatch uint64, l2Coinbase common.Address) (*types.Transaction, error)
SequenceBatches provides a mock function with given fields: opts, batches, maxSequenceTimestamp, initSequencedBatch, l2Coinbase
type RollupElderberryZKEVMContractor_Expecter ¶
type RollupElderberryZKEVMContractor_Expecter struct {
// contains filtered or unexported fields
}
func (*RollupElderberryZKEVMContractor_Expecter) SequenceBatches ¶
func (_e *RollupElderberryZKEVMContractor_Expecter) SequenceBatches(opts interface{}, batches interface{}, maxSequenceTimestamp interface{}, initSequencedBatch interface{}, l2Coinbase interface{}) *RollupElderberryZKEVMContractor_SequenceBatches_Call
SequenceBatches is a helper method to define mock.On call
- opts *bind.TransactOpts
- batches []polygonvalidiumetrog.PolygonRollupBaseEtrogBatchData
- maxSequenceTimestamp uint64
- initSequencedBatch uint64
- l2Coinbase common.Address
type RollupElderberryZKEVMContractor_SequenceBatches_Call ¶
RollupElderberryZKEVMContractor_SequenceBatches_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SequenceBatches'
func (*RollupElderberryZKEVMContractor_SequenceBatches_Call) Return ¶
func (_c *RollupElderberryZKEVMContractor_SequenceBatches_Call) Return(_a0 *types.Transaction, _a1 error) *RollupElderberryZKEVMContractor_SequenceBatches_Call
func (*RollupElderberryZKEVMContractor_SequenceBatches_Call) Run ¶
func (_c *RollupElderberryZKEVMContractor_SequenceBatches_Call) Run(run func(opts *bind.TransactOpts, batches []polygonvalidiumetrog.PolygonRollupBaseEtrogBatchData, maxSequenceTimestamp uint64, initSequencedBatch uint64, l2Coinbase common.Address)) *RollupElderberryZKEVMContractor_SequenceBatches_Call
func (*RollupElderberryZKEVMContractor_SequenceBatches_Call) RunAndReturn ¶
func (_c *RollupElderberryZKEVMContractor_SequenceBatches_Call) RunAndReturn(run func(*bind.TransactOpts, []polygonvalidiumetrog.PolygonRollupBaseEtrogBatchData, uint64, uint64, common.Address) (*types.Transaction, error)) *RollupElderberryZKEVMContractor_SequenceBatches_Call
type TxBuilder ¶
TxBuilder is an autogenerated mock type for the TxBuilder type
func NewTxBuilder ¶
NewTxBuilder creates a new instance of TxBuilder. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*TxBuilder) BuildSequenceBatchesTx ¶
func (_m *TxBuilder) BuildSequenceBatchesTx(ctx context.Context, sequences seqsendertypes.Sequence) (*types.Transaction, error)
BuildSequenceBatchesTx provides a mock function with given fields: ctx, sequences
func (*TxBuilder) EXPECT ¶
func (_m *TxBuilder) EXPECT() *TxBuilder_Expecter
func (*TxBuilder) NewBatchFromL2Block ¶
func (_m *TxBuilder) NewBatchFromL2Block(l2Block *datastream.L2Block) seqsendertypes.Batch
NewBatchFromL2Block provides a mock function with given fields: l2Block
func (*TxBuilder) NewSequence ¶
func (_m *TxBuilder) NewSequence(ctx context.Context, batches []seqsendertypes.Batch, coinbase common.Address) (seqsendertypes.Sequence, error)
NewSequence provides a mock function with given fields: ctx, batches, coinbase
func (*TxBuilder) NewSequenceIfWorthToSend ¶
func (_m *TxBuilder) NewSequenceIfWorthToSend(ctx context.Context, sequenceBatches []seqsendertypes.Batch, l2Coinbase common.Address, batchNumber uint64) (seqsendertypes.Sequence, error)
NewSequenceIfWorthToSend provides a mock function with given fields: ctx, sequenceBatches, l2Coinbase, batchNumber
func (*TxBuilder) SetCondNewSeq ¶
func (_m *TxBuilder) SetCondNewSeq(cond txbuilder.CondNewSequence) txbuilder.CondNewSequence
SetCondNewSeq provides a mock function with given fields: cond
type TxBuilder_BuildSequenceBatchesTx_Call ¶
TxBuilder_BuildSequenceBatchesTx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BuildSequenceBatchesTx'
func (*TxBuilder_BuildSequenceBatchesTx_Call) Return ¶
func (_c *TxBuilder_BuildSequenceBatchesTx_Call) Return(_a0 *types.Transaction, _a1 error) *TxBuilder_BuildSequenceBatchesTx_Call
func (*TxBuilder_BuildSequenceBatchesTx_Call) Run ¶
func (_c *TxBuilder_BuildSequenceBatchesTx_Call) Run(run func(ctx context.Context, sequences seqsendertypes.Sequence)) *TxBuilder_BuildSequenceBatchesTx_Call
func (*TxBuilder_BuildSequenceBatchesTx_Call) RunAndReturn ¶
func (_c *TxBuilder_BuildSequenceBatchesTx_Call) RunAndReturn(run func(context.Context, seqsendertypes.Sequence) (*types.Transaction, error)) *TxBuilder_BuildSequenceBatchesTx_Call
type TxBuilder_Expecter ¶
type TxBuilder_Expecter struct {
// contains filtered or unexported fields
}
func (*TxBuilder_Expecter) BuildSequenceBatchesTx ¶
func (_e *TxBuilder_Expecter) BuildSequenceBatchesTx(ctx interface{}, sequences interface{}) *TxBuilder_BuildSequenceBatchesTx_Call
BuildSequenceBatchesTx is a helper method to define mock.On call
- ctx context.Context
- sequences seqsendertypes.Sequence
func (*TxBuilder_Expecter) NewBatchFromL2Block ¶
func (_e *TxBuilder_Expecter) NewBatchFromL2Block(l2Block interface{}) *TxBuilder_NewBatchFromL2Block_Call
NewBatchFromL2Block is a helper method to define mock.On call
- l2Block *datastream.L2Block
func (*TxBuilder_Expecter) NewSequence ¶
func (_e *TxBuilder_Expecter) NewSequence(ctx interface{}, batches interface{}, coinbase interface{}) *TxBuilder_NewSequence_Call
NewSequence is a helper method to define mock.On call
- ctx context.Context
- batches []seqsendertypes.Batch
- coinbase common.Address
func (*TxBuilder_Expecter) NewSequenceIfWorthToSend ¶
func (_e *TxBuilder_Expecter) NewSequenceIfWorthToSend(ctx interface{}, sequenceBatches interface{}, l2Coinbase interface{}, batchNumber interface{}) *TxBuilder_NewSequenceIfWorthToSend_Call
NewSequenceIfWorthToSend is a helper method to define mock.On call
- ctx context.Context
- sequenceBatches []seqsendertypes.Batch
- l2Coinbase common.Address
- batchNumber uint64
func (*TxBuilder_Expecter) SetCondNewSeq ¶
func (_e *TxBuilder_Expecter) SetCondNewSeq(cond interface{}) *TxBuilder_SetCondNewSeq_Call
SetCondNewSeq is a helper method to define mock.On call
- cond txbuilder.CondNewSequence
func (*TxBuilder_Expecter) String ¶
func (_e *TxBuilder_Expecter) String() *TxBuilder_String_Call
String is a helper method to define mock.On call
type TxBuilder_NewBatchFromL2Block_Call ¶
TxBuilder_NewBatchFromL2Block_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewBatchFromL2Block'
func (*TxBuilder_NewBatchFromL2Block_Call) Return ¶
func (_c *TxBuilder_NewBatchFromL2Block_Call) Return(_a0 seqsendertypes.Batch) *TxBuilder_NewBatchFromL2Block_Call
func (*TxBuilder_NewBatchFromL2Block_Call) Run ¶
func (_c *TxBuilder_NewBatchFromL2Block_Call) Run(run func(l2Block *datastream.L2Block)) *TxBuilder_NewBatchFromL2Block_Call
func (*TxBuilder_NewBatchFromL2Block_Call) RunAndReturn ¶
func (_c *TxBuilder_NewBatchFromL2Block_Call) RunAndReturn(run func(*datastream.L2Block) seqsendertypes.Batch) *TxBuilder_NewBatchFromL2Block_Call
type TxBuilder_NewSequenceIfWorthToSend_Call ¶
TxBuilder_NewSequenceIfWorthToSend_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewSequenceIfWorthToSend'
func (*TxBuilder_NewSequenceIfWorthToSend_Call) Return ¶
func (_c *TxBuilder_NewSequenceIfWorthToSend_Call) Return(_a0 seqsendertypes.Sequence, _a1 error) *TxBuilder_NewSequenceIfWorthToSend_Call
func (*TxBuilder_NewSequenceIfWorthToSend_Call) Run ¶
func (_c *TxBuilder_NewSequenceIfWorthToSend_Call) Run(run func(ctx context.Context, sequenceBatches []seqsendertypes.Batch, l2Coinbase common.Address, batchNumber uint64)) *TxBuilder_NewSequenceIfWorthToSend_Call
func (*TxBuilder_NewSequenceIfWorthToSend_Call) RunAndReturn ¶
func (_c *TxBuilder_NewSequenceIfWorthToSend_Call) RunAndReturn(run func(context.Context, []seqsendertypes.Batch, common.Address, uint64) (seqsendertypes.Sequence, error)) *TxBuilder_NewSequenceIfWorthToSend_Call
type TxBuilder_NewSequence_Call ¶
TxBuilder_NewSequence_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewSequence'
func (*TxBuilder_NewSequence_Call) Return ¶
func (_c *TxBuilder_NewSequence_Call) Return(_a0 seqsendertypes.Sequence, _a1 error) *TxBuilder_NewSequence_Call
func (*TxBuilder_NewSequence_Call) Run ¶
func (_c *TxBuilder_NewSequence_Call) Run(run func(ctx context.Context, batches []seqsendertypes.Batch, coinbase common.Address)) *TxBuilder_NewSequence_Call
func (*TxBuilder_NewSequence_Call) RunAndReturn ¶
func (_c *TxBuilder_NewSequence_Call) RunAndReturn(run func(context.Context, []seqsendertypes.Batch, common.Address) (seqsendertypes.Sequence, error)) *TxBuilder_NewSequence_Call
type TxBuilder_SetCondNewSeq_Call ¶
TxBuilder_SetCondNewSeq_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetCondNewSeq'
func (*TxBuilder_SetCondNewSeq_Call) Return ¶
func (_c *TxBuilder_SetCondNewSeq_Call) Return(_a0 txbuilder.CondNewSequence) *TxBuilder_SetCondNewSeq_Call
func (*TxBuilder_SetCondNewSeq_Call) Run ¶
func (_c *TxBuilder_SetCondNewSeq_Call) Run(run func(cond txbuilder.CondNewSequence)) *TxBuilder_SetCondNewSeq_Call
func (*TxBuilder_SetCondNewSeq_Call) RunAndReturn ¶
func (_c *TxBuilder_SetCondNewSeq_Call) RunAndReturn(run func(txbuilder.CondNewSequence) txbuilder.CondNewSequence) *TxBuilder_SetCondNewSeq_Call
type TxBuilder_String_Call ¶
TxBuilder_String_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'String'
func (*TxBuilder_String_Call) Return ¶
func (_c *TxBuilder_String_Call) Return(_a0 string) *TxBuilder_String_Call
func (*TxBuilder_String_Call) Run ¶
func (_c *TxBuilder_String_Call) Run(run func()) *TxBuilder_String_Call
func (*TxBuilder_String_Call) RunAndReturn ¶
func (_c *TxBuilder_String_Call) RunAndReturn(run func() string) *TxBuilder_String_Call
Source Files ¶
- cond_new_sequence.go
- global_exit_root_banana_contractor.go
- global_exit_root_banana_zkevm_contractor.go
- l1_client.go
- l1_info_syncer.go
- rollup_banana_base_contractor.go
- rollup_banana_validium_contractor.go
- rollup_banana_zkevm_contractor.go
- rollup_elderberry_validium_contractor.go
- rollup_elderberry_zkevm_contractor.go
- tx_builder.go