Documentation
¶
Index ¶
- type AgglayerManagerUpgradeQuerier
- type AgglayerManagerUpgradeQuerier_Expecter
- type AgglayerManagerUpgradeQuerier_GetUpgradeBlock_Call
- func (_c *AgglayerManagerUpgradeQuerier_GetUpgradeBlock_Call) Return(_a0 uint64) *AgglayerManagerUpgradeQuerier_GetUpgradeBlock_Call
- func (_c *AgglayerManagerUpgradeQuerier_GetUpgradeBlock_Call) Run(run func(ctx context.Context, versionID uint8)) *AgglayerManagerUpgradeQuerier_GetUpgradeBlock_Call
- func (_c *AgglayerManagerUpgradeQuerier_GetUpgradeBlock_Call) RunAndReturn(run func(context.Context, uint8) uint64) *AgglayerManagerUpgradeQuerier_GetUpgradeBlock_Call
- type Bridger
- func (_m *Bridger) EXPECT() *Bridger_Expecter
- func (_m *Bridger) GetBridgeByDepositCount(ctx context.Context, depositCount uint32) (*bridgesync.Bridge, error)
- func (_m *Bridger) GetBridgesByContent(ctx context.Context, leafType uint8, originAddress common.Address, ...) ([]*bridgesync.Bridge, error)
- func (_m *Bridger) GetBridgesPaged(ctx context.Context, pageNumber uint32, pageSize uint32, depositCount *uint64, ...) ([]*bridgesync.Bridge, int, error)
- func (_m *Bridger) GetClaimsByGER(ctx context.Context, globalExitRoot common.Hash) ([]*bridgesync.Claim, error)
- func (_m *Bridger) GetClaimsPaged(ctx context.Context, page uint32, pageSize uint32, networkIDs []uint32, ...) ([]*bridgesync.Claim, int, error)
- func (_m *Bridger) GetContractDepositCount(ctx context.Context) (uint32, error)
- func (_m *Bridger) GetLastProcessedBlock(ctx context.Context) (uint64, error)
- func (_m *Bridger) GetLastReorgEvent(ctx context.Context) (*bridgesync.LastReorg, error)
- func (_m *Bridger) GetLastRoot(ctx context.Context) (*types.Root, error)
- func (_m *Bridger) GetLatestNetworkBlock(ctx context.Context) (uint64, error)
- func (_m *Bridger) GetLegacyTokenMigrations(ctx context.Context, pageNumber uint32, pageSize uint32) ([]*bridgesync.LegacyTokenMigration, int, error)
- func (_m *Bridger) GetProof(ctx context.Context, depositCount uint32, localExitRoot common.Hash) (types.Proof, error)
- func (_m *Bridger) GetRootByLER(ctx context.Context, ler common.Hash) (*types.Root, error)
- func (_m *Bridger) GetSetClaimsPaged(ctx context.Context, page uint32, pageSize uint32, globalIndex *big.Int) ([]*bridgesync.SetClaim, int, error)
- func (_m *Bridger) GetTokenMappings(ctx context.Context, pageNumber uint32, pageSize uint32, ...) ([]*bridgesync.TokenMapping, int, error)
- func (_m *Bridger) GetUnsetClaimsPaged(ctx context.Context, page uint32, pageSize uint32, globalIndex *big.Int) ([]*bridgesync.UnsetClaim, int, error)
- func (_m *Bridger) IsActive(ctx context.Context) bool
- type Bridger_Expecter
- func (_e *Bridger_Expecter) GetBridgeByDepositCount(ctx interface{}, depositCount interface{}) *Bridger_GetBridgeByDepositCount_Call
- func (_e *Bridger_Expecter) GetBridgesByContent(ctx interface{}, leafType interface{}, originAddress interface{}, ...) *Bridger_GetBridgesByContent_Call
- func (_e *Bridger_Expecter) GetBridgesPaged(ctx interface{}, pageNumber interface{}, pageSize interface{}, ...) *Bridger_GetBridgesPaged_Call
- func (_e *Bridger_Expecter) GetClaimsByGER(ctx interface{}, globalExitRoot interface{}) *Bridger_GetClaimsByGER_Call
- func (_e *Bridger_Expecter) GetClaimsPaged(ctx interface{}, page interface{}, pageSize interface{}, ...) *Bridger_GetClaimsPaged_Call
- func (_e *Bridger_Expecter) GetContractDepositCount(ctx interface{}) *Bridger_GetContractDepositCount_Call
- func (_e *Bridger_Expecter) GetLastProcessedBlock(ctx interface{}) *Bridger_GetLastProcessedBlock_Call
- func (_e *Bridger_Expecter) GetLastReorgEvent(ctx interface{}) *Bridger_GetLastReorgEvent_Call
- func (_e *Bridger_Expecter) GetLastRoot(ctx interface{}) *Bridger_GetLastRoot_Call
- func (_e *Bridger_Expecter) GetLatestNetworkBlock(ctx interface{}) *Bridger_GetLatestNetworkBlock_Call
- func (_e *Bridger_Expecter) GetLegacyTokenMigrations(ctx interface{}, pageNumber interface{}, pageSize interface{}) *Bridger_GetLegacyTokenMigrations_Call
- func (_e *Bridger_Expecter) GetProof(ctx interface{}, depositCount interface{}, localExitRoot interface{}) *Bridger_GetProof_Call
- func (_e *Bridger_Expecter) GetRootByLER(ctx interface{}, ler interface{}) *Bridger_GetRootByLER_Call
- func (_e *Bridger_Expecter) GetSetClaimsPaged(ctx interface{}, page interface{}, pageSize interface{}, ...) *Bridger_GetSetClaimsPaged_Call
- func (_e *Bridger_Expecter) GetTokenMappings(ctx interface{}, pageNumber interface{}, pageSize interface{}, ...) *Bridger_GetTokenMappings_Call
- func (_e *Bridger_Expecter) GetUnsetClaimsPaged(ctx interface{}, page interface{}, pageSize interface{}, ...) *Bridger_GetUnsetClaimsPaged_Call
- func (_e *Bridger_Expecter) IsActive(ctx interface{}) *Bridger_IsActive_Call
- type Bridger_GetBridgeByDepositCount_Call
- func (_c *Bridger_GetBridgeByDepositCount_Call) Return(_a0 *bridgesync.Bridge, _a1 error) *Bridger_GetBridgeByDepositCount_Call
- func (_c *Bridger_GetBridgeByDepositCount_Call) Run(run func(ctx context.Context, depositCount uint32)) *Bridger_GetBridgeByDepositCount_Call
- func (_c *Bridger_GetBridgeByDepositCount_Call) RunAndReturn(run func(context.Context, uint32) (*bridgesync.Bridge, error)) *Bridger_GetBridgeByDepositCount_Call
- type Bridger_GetBridgesByContent_Call
- func (_c *Bridger_GetBridgesByContent_Call) Return(_a0 []*bridgesync.Bridge, _a1 error) *Bridger_GetBridgesByContent_Call
- func (_c *Bridger_GetBridgesByContent_Call) Run(...) *Bridger_GetBridgesByContent_Call
- func (_c *Bridger_GetBridgesByContent_Call) RunAndReturn(...) *Bridger_GetBridgesByContent_Call
- type Bridger_GetBridgesPaged_Call
- type Bridger_GetClaimsByGER_Call
- func (_c *Bridger_GetClaimsByGER_Call) Return(_a0 []*bridgesync.Claim, _a1 error) *Bridger_GetClaimsByGER_Call
- func (_c *Bridger_GetClaimsByGER_Call) Run(run func(ctx context.Context, globalExitRoot common.Hash)) *Bridger_GetClaimsByGER_Call
- func (_c *Bridger_GetClaimsByGER_Call) RunAndReturn(run func(context.Context, common.Hash) ([]*bridgesync.Claim, error)) *Bridger_GetClaimsByGER_Call
- type Bridger_GetClaimsPaged_Call
- type Bridger_GetContractDepositCount_Call
- func (_c *Bridger_GetContractDepositCount_Call) Return(_a0 uint32, _a1 error) *Bridger_GetContractDepositCount_Call
- func (_c *Bridger_GetContractDepositCount_Call) Run(run func(ctx context.Context)) *Bridger_GetContractDepositCount_Call
- func (_c *Bridger_GetContractDepositCount_Call) RunAndReturn(run func(context.Context) (uint32, error)) *Bridger_GetContractDepositCount_Call
- type Bridger_GetLastProcessedBlock_Call
- func (_c *Bridger_GetLastProcessedBlock_Call) Return(_a0 uint64, _a1 error) *Bridger_GetLastProcessedBlock_Call
- func (_c *Bridger_GetLastProcessedBlock_Call) Run(run func(ctx context.Context)) *Bridger_GetLastProcessedBlock_Call
- func (_c *Bridger_GetLastProcessedBlock_Call) RunAndReturn(run func(context.Context) (uint64, error)) *Bridger_GetLastProcessedBlock_Call
- type Bridger_GetLastReorgEvent_Call
- func (_c *Bridger_GetLastReorgEvent_Call) Return(_a0 *bridgesync.LastReorg, _a1 error) *Bridger_GetLastReorgEvent_Call
- func (_c *Bridger_GetLastReorgEvent_Call) Run(run func(ctx context.Context)) *Bridger_GetLastReorgEvent_Call
- func (_c *Bridger_GetLastReorgEvent_Call) RunAndReturn(run func(context.Context) (*bridgesync.LastReorg, error)) *Bridger_GetLastReorgEvent_Call
- type Bridger_GetLastRoot_Call
- func (_c *Bridger_GetLastRoot_Call) Return(_a0 *types.Root, _a1 error) *Bridger_GetLastRoot_Call
- func (_c *Bridger_GetLastRoot_Call) Run(run func(ctx context.Context)) *Bridger_GetLastRoot_Call
- func (_c *Bridger_GetLastRoot_Call) RunAndReturn(run func(context.Context) (*types.Root, error)) *Bridger_GetLastRoot_Call
- type Bridger_GetLatestNetworkBlock_Call
- func (_c *Bridger_GetLatestNetworkBlock_Call) Return(_a0 uint64, _a1 error) *Bridger_GetLatestNetworkBlock_Call
- func (_c *Bridger_GetLatestNetworkBlock_Call) Run(run func(ctx context.Context)) *Bridger_GetLatestNetworkBlock_Call
- func (_c *Bridger_GetLatestNetworkBlock_Call) RunAndReturn(run func(context.Context) (uint64, error)) *Bridger_GetLatestNetworkBlock_Call
- type Bridger_GetLegacyTokenMigrations_Call
- func (_c *Bridger_GetLegacyTokenMigrations_Call) Return(_a0 []*bridgesync.LegacyTokenMigration, _a1 int, _a2 error) *Bridger_GetLegacyTokenMigrations_Call
- func (_c *Bridger_GetLegacyTokenMigrations_Call) Run(run func(ctx context.Context, pageNumber uint32, pageSize uint32)) *Bridger_GetLegacyTokenMigrations_Call
- func (_c *Bridger_GetLegacyTokenMigrations_Call) RunAndReturn(...) *Bridger_GetLegacyTokenMigrations_Call
- type Bridger_GetProof_Call
- func (_c *Bridger_GetProof_Call) Return(_a0 types.Proof, _a1 error) *Bridger_GetProof_Call
- func (_c *Bridger_GetProof_Call) Run(run func(ctx context.Context, depositCount uint32, localExitRoot common.Hash)) *Bridger_GetProof_Call
- func (_c *Bridger_GetProof_Call) RunAndReturn(run func(context.Context, uint32, common.Hash) (types.Proof, error)) *Bridger_GetProof_Call
- type Bridger_GetRootByLER_Call
- func (_c *Bridger_GetRootByLER_Call) Return(_a0 *types.Root, _a1 error) *Bridger_GetRootByLER_Call
- func (_c *Bridger_GetRootByLER_Call) Run(run func(ctx context.Context, ler common.Hash)) *Bridger_GetRootByLER_Call
- func (_c *Bridger_GetRootByLER_Call) RunAndReturn(run func(context.Context, common.Hash) (*types.Root, error)) *Bridger_GetRootByLER_Call
- type Bridger_GetSetClaimsPaged_Call
- func (_c *Bridger_GetSetClaimsPaged_Call) Return(_a0 []*bridgesync.SetClaim, _a1 int, _a2 error) *Bridger_GetSetClaimsPaged_Call
- func (_c *Bridger_GetSetClaimsPaged_Call) Run(...) *Bridger_GetSetClaimsPaged_Call
- func (_c *Bridger_GetSetClaimsPaged_Call) RunAndReturn(...) *Bridger_GetSetClaimsPaged_Call
- type Bridger_GetTokenMappings_Call
- func (_c *Bridger_GetTokenMappings_Call) Return(_a0 []*bridgesync.TokenMapping, _a1 int, _a2 error) *Bridger_GetTokenMappings_Call
- func (_c *Bridger_GetTokenMappings_Call) Run(run func(ctx context.Context, pageNumber uint32, pageSize uint32, ...)) *Bridger_GetTokenMappings_Call
- func (_c *Bridger_GetTokenMappings_Call) RunAndReturn(...) *Bridger_GetTokenMappings_Call
- type Bridger_GetUnsetClaimsPaged_Call
- func (_c *Bridger_GetUnsetClaimsPaged_Call) Return(_a0 []*bridgesync.UnsetClaim, _a1 int, _a2 error) *Bridger_GetUnsetClaimsPaged_Call
- func (_c *Bridger_GetUnsetClaimsPaged_Call) Run(...) *Bridger_GetUnsetClaimsPaged_Call
- func (_c *Bridger_GetUnsetClaimsPaged_Call) RunAndReturn(...) *Bridger_GetUnsetClaimsPaged_Call
- type Bridger_IsActive_Call
- type L1InfoTreeSyncer
- func (_m *L1InfoTreeSyncer) EXPECT() *L1InfoTreeSyncer_Expecter
- func (_m *L1InfoTreeSyncer) GetFirstInfo() (*l1infotreesync.L1InfoTreeLeaf, error)
- func (_m *L1InfoTreeSyncer) GetFirstInfoAfterBlock(blockNum uint64) (*l1infotreesync.L1InfoTreeLeaf, error)
- func (_m *L1InfoTreeSyncer) GetFirstL1InfoWithRollupExitRoot(rollupExitRoot common.Hash) (*l1infotreesync.L1InfoTreeLeaf, error)
- func (_m *L1InfoTreeSyncer) GetFirstVerifiedBatches(rollupID uint32) (*l1infotreesync.VerifyBatches, error)
- func (_m *L1InfoTreeSyncer) GetFirstVerifiedBatchesAfterBlock(rollupID uint32, blockNum uint64) (*l1infotreesync.VerifyBatches, error)
- func (_m *L1InfoTreeSyncer) GetInfoByIndex(ctx context.Context, index uint32) (*l1infotreesync.L1InfoTreeLeaf, error)
- func (_m *L1InfoTreeSyncer) GetLastInfo() (*l1infotreesync.L1InfoTreeLeaf, error)
- func (_m *L1InfoTreeSyncer) GetLastVerifiedBatches(rollupID uint32) (*l1infotreesync.VerifyBatches, error)
- func (_m *L1InfoTreeSyncer) GetLocalExitRoot(ctx context.Context, networkID uint32, rollupExitRoot common.Hash) (common.Hash, error)
- func (_m *L1InfoTreeSyncer) GetRollupExitTreeMerkleProof(ctx context.Context, networkID uint32, root common.Hash) (types.Proof, error)
- type L1InfoTreeSyncer_Expecter
- func (_e *L1InfoTreeSyncer_Expecter) GetFirstInfo() *L1InfoTreeSyncer_GetFirstInfo_Call
- func (_e *L1InfoTreeSyncer_Expecter) GetFirstInfoAfterBlock(blockNum interface{}) *L1InfoTreeSyncer_GetFirstInfoAfterBlock_Call
- func (_e *L1InfoTreeSyncer_Expecter) GetFirstL1InfoWithRollupExitRoot(rollupExitRoot interface{}) *L1InfoTreeSyncer_GetFirstL1InfoWithRollupExitRoot_Call
- func (_e *L1InfoTreeSyncer_Expecter) GetFirstVerifiedBatches(rollupID interface{}) *L1InfoTreeSyncer_GetFirstVerifiedBatches_Call
- func (_e *L1InfoTreeSyncer_Expecter) GetFirstVerifiedBatchesAfterBlock(rollupID interface{}, blockNum interface{}) *L1InfoTreeSyncer_GetFirstVerifiedBatchesAfterBlock_Call
- func (_e *L1InfoTreeSyncer_Expecter) GetInfoByIndex(ctx interface{}, index interface{}) *L1InfoTreeSyncer_GetInfoByIndex_Call
- func (_e *L1InfoTreeSyncer_Expecter) GetLastInfo() *L1InfoTreeSyncer_GetLastInfo_Call
- func (_e *L1InfoTreeSyncer_Expecter) GetLastVerifiedBatches(rollupID interface{}) *L1InfoTreeSyncer_GetLastVerifiedBatches_Call
- func (_e *L1InfoTreeSyncer_Expecter) GetLocalExitRoot(ctx interface{}, networkID interface{}, rollupExitRoot interface{}) *L1InfoTreeSyncer_GetLocalExitRoot_Call
- func (_e *L1InfoTreeSyncer_Expecter) GetRollupExitTreeMerkleProof(ctx interface{}, networkID interface{}, root interface{}) *L1InfoTreeSyncer_GetRollupExitTreeMerkleProof_Call
- type L1InfoTreeSyncer_GetFirstInfoAfterBlock_Call
- func (_c *L1InfoTreeSyncer_GetFirstInfoAfterBlock_Call) Return(_a0 *l1infotreesync.L1InfoTreeLeaf, _a1 error) *L1InfoTreeSyncer_GetFirstInfoAfterBlock_Call
- func (_c *L1InfoTreeSyncer_GetFirstInfoAfterBlock_Call) Run(run func(blockNum uint64)) *L1InfoTreeSyncer_GetFirstInfoAfterBlock_Call
- func (_c *L1InfoTreeSyncer_GetFirstInfoAfterBlock_Call) RunAndReturn(run func(uint64) (*l1infotreesync.L1InfoTreeLeaf, error)) *L1InfoTreeSyncer_GetFirstInfoAfterBlock_Call
- type L1InfoTreeSyncer_GetFirstInfo_Call
- func (_c *L1InfoTreeSyncer_GetFirstInfo_Call) Return(_a0 *l1infotreesync.L1InfoTreeLeaf, _a1 error) *L1InfoTreeSyncer_GetFirstInfo_Call
- func (_c *L1InfoTreeSyncer_GetFirstInfo_Call) Run(run func()) *L1InfoTreeSyncer_GetFirstInfo_Call
- func (_c *L1InfoTreeSyncer_GetFirstInfo_Call) RunAndReturn(run func() (*l1infotreesync.L1InfoTreeLeaf, error)) *L1InfoTreeSyncer_GetFirstInfo_Call
- type L1InfoTreeSyncer_GetFirstL1InfoWithRollupExitRoot_Call
- func (_c *L1InfoTreeSyncer_GetFirstL1InfoWithRollupExitRoot_Call) Return(_a0 *l1infotreesync.L1InfoTreeLeaf, _a1 error) *L1InfoTreeSyncer_GetFirstL1InfoWithRollupExitRoot_Call
- func (_c *L1InfoTreeSyncer_GetFirstL1InfoWithRollupExitRoot_Call) Run(run func(rollupExitRoot common.Hash)) *L1InfoTreeSyncer_GetFirstL1InfoWithRollupExitRoot_Call
- func (_c *L1InfoTreeSyncer_GetFirstL1InfoWithRollupExitRoot_Call) RunAndReturn(run func(common.Hash) (*l1infotreesync.L1InfoTreeLeaf, error)) *L1InfoTreeSyncer_GetFirstL1InfoWithRollupExitRoot_Call
- type L1InfoTreeSyncer_GetFirstVerifiedBatchesAfterBlock_Call
- func (_c *L1InfoTreeSyncer_GetFirstVerifiedBatchesAfterBlock_Call) Return(_a0 *l1infotreesync.VerifyBatches, _a1 error) *L1InfoTreeSyncer_GetFirstVerifiedBatchesAfterBlock_Call
- func (_c *L1InfoTreeSyncer_GetFirstVerifiedBatchesAfterBlock_Call) Run(run func(rollupID uint32, blockNum uint64)) *L1InfoTreeSyncer_GetFirstVerifiedBatchesAfterBlock_Call
- func (_c *L1InfoTreeSyncer_GetFirstVerifiedBatchesAfterBlock_Call) RunAndReturn(run func(uint32, uint64) (*l1infotreesync.VerifyBatches, error)) *L1InfoTreeSyncer_GetFirstVerifiedBatchesAfterBlock_Call
- type L1InfoTreeSyncer_GetFirstVerifiedBatches_Call
- func (_c *L1InfoTreeSyncer_GetFirstVerifiedBatches_Call) Return(_a0 *l1infotreesync.VerifyBatches, _a1 error) *L1InfoTreeSyncer_GetFirstVerifiedBatches_Call
- func (_c *L1InfoTreeSyncer_GetFirstVerifiedBatches_Call) Run(run func(rollupID uint32)) *L1InfoTreeSyncer_GetFirstVerifiedBatches_Call
- func (_c *L1InfoTreeSyncer_GetFirstVerifiedBatches_Call) RunAndReturn(run func(uint32) (*l1infotreesync.VerifyBatches, error)) *L1InfoTreeSyncer_GetFirstVerifiedBatches_Call
- type L1InfoTreeSyncer_GetInfoByIndex_Call
- func (_c *L1InfoTreeSyncer_GetInfoByIndex_Call) Return(_a0 *l1infotreesync.L1InfoTreeLeaf, _a1 error) *L1InfoTreeSyncer_GetInfoByIndex_Call
- func (_c *L1InfoTreeSyncer_GetInfoByIndex_Call) Run(run func(ctx context.Context, index uint32)) *L1InfoTreeSyncer_GetInfoByIndex_Call
- func (_c *L1InfoTreeSyncer_GetInfoByIndex_Call) RunAndReturn(run func(context.Context, uint32) (*l1infotreesync.L1InfoTreeLeaf, error)) *L1InfoTreeSyncer_GetInfoByIndex_Call
- type L1InfoTreeSyncer_GetLastInfo_Call
- func (_c *L1InfoTreeSyncer_GetLastInfo_Call) Return(_a0 *l1infotreesync.L1InfoTreeLeaf, _a1 error) *L1InfoTreeSyncer_GetLastInfo_Call
- func (_c *L1InfoTreeSyncer_GetLastInfo_Call) Run(run func()) *L1InfoTreeSyncer_GetLastInfo_Call
- func (_c *L1InfoTreeSyncer_GetLastInfo_Call) RunAndReturn(run func() (*l1infotreesync.L1InfoTreeLeaf, error)) *L1InfoTreeSyncer_GetLastInfo_Call
- type L1InfoTreeSyncer_GetLastVerifiedBatches_Call
- func (_c *L1InfoTreeSyncer_GetLastVerifiedBatches_Call) Return(_a0 *l1infotreesync.VerifyBatches, _a1 error) *L1InfoTreeSyncer_GetLastVerifiedBatches_Call
- func (_c *L1InfoTreeSyncer_GetLastVerifiedBatches_Call) Run(run func(rollupID uint32)) *L1InfoTreeSyncer_GetLastVerifiedBatches_Call
- func (_c *L1InfoTreeSyncer_GetLastVerifiedBatches_Call) RunAndReturn(run func(uint32) (*l1infotreesync.VerifyBatches, error)) *L1InfoTreeSyncer_GetLastVerifiedBatches_Call
- type L1InfoTreeSyncer_GetLocalExitRoot_Call
- func (_c *L1InfoTreeSyncer_GetLocalExitRoot_Call) Return(_a0 common.Hash, _a1 error) *L1InfoTreeSyncer_GetLocalExitRoot_Call
- func (_c *L1InfoTreeSyncer_GetLocalExitRoot_Call) Run(run func(ctx context.Context, networkID uint32, rollupExitRoot common.Hash)) *L1InfoTreeSyncer_GetLocalExitRoot_Call
- func (_c *L1InfoTreeSyncer_GetLocalExitRoot_Call) RunAndReturn(run func(context.Context, uint32, common.Hash) (common.Hash, error)) *L1InfoTreeSyncer_GetLocalExitRoot_Call
- type L1InfoTreeSyncer_GetRollupExitTreeMerkleProof_Call
- func (_c *L1InfoTreeSyncer_GetRollupExitTreeMerkleProof_Call) Return(_a0 types.Proof, _a1 error) *L1InfoTreeSyncer_GetRollupExitTreeMerkleProof_Call
- func (_c *L1InfoTreeSyncer_GetRollupExitTreeMerkleProof_Call) Run(run func(ctx context.Context, networkID uint32, root common.Hash)) *L1InfoTreeSyncer_GetRollupExitTreeMerkleProof_Call
- func (_c *L1InfoTreeSyncer_GetRollupExitTreeMerkleProof_Call) RunAndReturn(run func(context.Context, uint32, common.Hash) (types.Proof, error)) *L1InfoTreeSyncer_GetRollupExitTreeMerkleProof_Call
- type L2GERSyncer
- func (_m *L2GERSyncer) EXPECT() *L2GERSyncer_Expecter
- func (_m *L2GERSyncer) GetFirstGERAfterL1InfoTreeIndex(ctx context.Context, atOrAfterL1InfoTreeIndex uint32) (l2gersync.GlobalExitRootInfo, error)
- func (_m *L2GERSyncer) GetRemoveGEREvents(ctx context.Context, globalExitRoot *common.Hash, limit uint32) ([]*l2gersync.RemoveGEREvent, error)
- type L2GERSyncer_Expecter
- func (_e *L2GERSyncer_Expecter) GetFirstGERAfterL1InfoTreeIndex(ctx interface{}, atOrAfterL1InfoTreeIndex interface{}) *L2GERSyncer_GetFirstGERAfterL1InfoTreeIndex_Call
- func (_e *L2GERSyncer_Expecter) GetRemoveGEREvents(ctx interface{}, globalExitRoot interface{}, limit interface{}) *L2GERSyncer_GetRemoveGEREvents_Call
- type L2GERSyncer_GetFirstGERAfterL1InfoTreeIndex_Call
- func (_c *L2GERSyncer_GetFirstGERAfterL1InfoTreeIndex_Call) Return(_a0 l2gersync.GlobalExitRootInfo, _a1 error) *L2GERSyncer_GetFirstGERAfterL1InfoTreeIndex_Call
- func (_c *L2GERSyncer_GetFirstGERAfterL1InfoTreeIndex_Call) Run(run func(ctx context.Context, atOrAfterL1InfoTreeIndex uint32)) *L2GERSyncer_GetFirstGERAfterL1InfoTreeIndex_Call
- func (_c *L2GERSyncer_GetFirstGERAfterL1InfoTreeIndex_Call) RunAndReturn(run func(context.Context, uint32) (l2gersync.GlobalExitRootInfo, error)) *L2GERSyncer_GetFirstGERAfterL1InfoTreeIndex_Call
- type L2GERSyncer_GetRemoveGEREvents_Call
- func (_c *L2GERSyncer_GetRemoveGEREvents_Call) Return(_a0 []*l2gersync.RemoveGEREvent, _a1 error) *L2GERSyncer_GetRemoveGEREvents_Call
- func (_c *L2GERSyncer_GetRemoveGEREvents_Call) Run(run func(ctx context.Context, globalExitRoot *common.Hash, limit uint32)) *L2GERSyncer_GetRemoveGEREvents_Call
- func (_c *L2GERSyncer_GetRemoveGEREvents_Call) RunAndReturn(...) *L2GERSyncer_GetRemoveGEREvents_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgglayerManagerUpgradeQuerier ¶ added in v0.8.0
AgglayerManagerUpgradeQuerier is an autogenerated mock type for the AgglayerManagerUpgradeQuerier type
func NewAgglayerManagerUpgradeQuerier ¶ added in v0.8.0
func NewAgglayerManagerUpgradeQuerier(t interface {
mock.TestingT
Cleanup(func())
}) *AgglayerManagerUpgradeQuerier
NewAgglayerManagerUpgradeQuerier creates a new instance of AgglayerManagerUpgradeQuerier. 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 (*AgglayerManagerUpgradeQuerier) EXPECT ¶ added in v0.8.0
func (_m *AgglayerManagerUpgradeQuerier) EXPECT() *AgglayerManagerUpgradeQuerier_Expecter
func (*AgglayerManagerUpgradeQuerier) GetUpgradeBlock ¶ added in v0.8.0
func (_m *AgglayerManagerUpgradeQuerier) GetUpgradeBlock(ctx context.Context, versionID uint8) uint64
GetUpgradeBlock provides a mock function with given fields: ctx, versionID
type AgglayerManagerUpgradeQuerier_Expecter ¶ added in v0.8.0
type AgglayerManagerUpgradeQuerier_Expecter struct {
// contains filtered or unexported fields
}
func (*AgglayerManagerUpgradeQuerier_Expecter) GetUpgradeBlock ¶ added in v0.8.0
func (_e *AgglayerManagerUpgradeQuerier_Expecter) GetUpgradeBlock(ctx interface{}, versionID interface{}) *AgglayerManagerUpgradeQuerier_GetUpgradeBlock_Call
GetUpgradeBlock is a helper method to define mock.On call
- ctx context.Context
- versionID uint8
type AgglayerManagerUpgradeQuerier_GetUpgradeBlock_Call ¶ added in v0.8.0
AgglayerManagerUpgradeQuerier_GetUpgradeBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUpgradeBlock'
func (*AgglayerManagerUpgradeQuerier_GetUpgradeBlock_Call) Run ¶ added in v0.8.0
func (_c *AgglayerManagerUpgradeQuerier_GetUpgradeBlock_Call) Run(run func(ctx context.Context, versionID uint8)) *AgglayerManagerUpgradeQuerier_GetUpgradeBlock_Call
func (*AgglayerManagerUpgradeQuerier_GetUpgradeBlock_Call) RunAndReturn ¶ added in v0.8.0
func (_c *AgglayerManagerUpgradeQuerier_GetUpgradeBlock_Call) RunAndReturn(run func(context.Context, uint8) uint64) *AgglayerManagerUpgradeQuerier_GetUpgradeBlock_Call
type Bridger ¶
Bridger is an autogenerated mock type for the Bridger type
func NewBridger ¶
NewBridger creates a new instance of Bridger. 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 (*Bridger) EXPECT ¶
func (_m *Bridger) EXPECT() *Bridger_Expecter
func (*Bridger) GetBridgeByDepositCount ¶ added in v0.8.2
func (_m *Bridger) GetBridgeByDepositCount(ctx context.Context, depositCount uint32) (*bridgesync.Bridge, error)
GetBridgeByDepositCount provides a mock function with given fields: ctx, depositCount
func (*Bridger) GetBridgesByContent ¶ added in v0.8.2
func (_m *Bridger) GetBridgesByContent(ctx context.Context, leafType uint8, originAddress common.Address, destinationNetwork uint32, destinationAddress common.Address, amount *big.Int, metadata []byte) ([]*bridgesync.Bridge, error)
GetBridgesByContent provides a mock function with given fields: ctx, leafType, originAddress, destinationNetwork, destinationAddress, amount, metadata
func (*Bridger) GetBridgesPaged ¶
func (_m *Bridger) GetBridgesPaged(ctx context.Context, pageNumber uint32, pageSize uint32, depositCount *uint64, networkIDs []uint32, fromAddress string) ([]*bridgesync.Bridge, int, error)
GetBridgesPaged provides a mock function with given fields: ctx, pageNumber, pageSize, depositCount, networkIDs, fromAddress
func (*Bridger) GetClaimsByGER ¶ added in v0.8.2
func (_m *Bridger) GetClaimsByGER(ctx context.Context, globalExitRoot common.Hash) ([]*bridgesync.Claim, error)
GetClaimsByGER provides a mock function with given fields: ctx, globalExitRoot
func (*Bridger) GetClaimsPaged ¶
func (_m *Bridger) GetClaimsPaged(ctx context.Context, page uint32, pageSize uint32, networkIDs []uint32, globalIndex *big.Int) ([]*bridgesync.Claim, int, error)
GetClaimsPaged provides a mock function with given fields: ctx, page, pageSize, networkIDs, globalIndex
func (*Bridger) GetContractDepositCount ¶
GetContractDepositCount provides a mock function with given fields: ctx
func (*Bridger) GetLastProcessedBlock ¶ added in v0.7.0
GetLastProcessedBlock provides a mock function with given fields: ctx
func (*Bridger) GetLastReorgEvent ¶
GetLastReorgEvent provides a mock function with given fields: ctx
func (*Bridger) GetLastRoot ¶
GetLastRoot provides a mock function with given fields: ctx
func (*Bridger) GetLatestNetworkBlock ¶ added in v0.7.0
GetLatestNetworkBlock provides a mock function with given fields: ctx
func (*Bridger) GetLegacyTokenMigrations ¶
func (_m *Bridger) GetLegacyTokenMigrations(ctx context.Context, pageNumber uint32, pageSize uint32) ([]*bridgesync.LegacyTokenMigration, int, error)
GetLegacyTokenMigrations provides a mock function with given fields: ctx, pageNumber, pageSize
func (*Bridger) GetProof ¶
func (_m *Bridger) GetProof(ctx context.Context, depositCount uint32, localExitRoot common.Hash) (types.Proof, error)
GetProof provides a mock function with given fields: ctx, depositCount, localExitRoot
func (*Bridger) GetRootByLER ¶
GetRootByLER provides a mock function with given fields: ctx, ler
func (*Bridger) GetSetClaimsPaged ¶ added in v0.8.2
func (_m *Bridger) GetSetClaimsPaged(ctx context.Context, page uint32, pageSize uint32, globalIndex *big.Int) ([]*bridgesync.SetClaim, int, error)
GetSetClaimsPaged provides a mock function with given fields: ctx, page, pageSize, globalIndex
func (*Bridger) GetTokenMappings ¶
func (_m *Bridger) GetTokenMappings(ctx context.Context, pageNumber uint32, pageSize uint32, originTokenAddress string) ([]*bridgesync.TokenMapping, int, error)
GetTokenMappings provides a mock function with given fields: ctx, pageNumber, pageSize, originTokenAddress
func (*Bridger) GetUnsetClaimsPaged ¶ added in v0.8.0
func (_m *Bridger) GetUnsetClaimsPaged(ctx context.Context, page uint32, pageSize uint32, globalIndex *big.Int) ([]*bridgesync.UnsetClaim, int, error)
GetUnsetClaimsPaged provides a mock function with given fields: ctx, page, pageSize, globalIndex
type Bridger_Expecter ¶
type Bridger_Expecter struct {
// contains filtered or unexported fields
}
func (*Bridger_Expecter) GetBridgeByDepositCount ¶ added in v0.8.2
func (_e *Bridger_Expecter) GetBridgeByDepositCount(ctx interface{}, depositCount interface{}) *Bridger_GetBridgeByDepositCount_Call
GetBridgeByDepositCount is a helper method to define mock.On call
- ctx context.Context
- depositCount uint32
func (*Bridger_Expecter) GetBridgesByContent ¶ added in v0.8.2
func (_e *Bridger_Expecter) GetBridgesByContent(ctx interface{}, leafType interface{}, originAddress interface{}, destinationNetwork interface{}, destinationAddress interface{}, amount interface{}, metadata interface{}) *Bridger_GetBridgesByContent_Call
GetBridgesByContent is a helper method to define mock.On call
- ctx context.Context
- leafType uint8
- originAddress common.Address
- destinationNetwork uint32
- destinationAddress common.Address
- amount *big.Int
- metadata []byte
func (*Bridger_Expecter) GetBridgesPaged ¶
func (_e *Bridger_Expecter) GetBridgesPaged(ctx interface{}, pageNumber interface{}, pageSize interface{}, depositCount interface{}, networkIDs interface{}, fromAddress interface{}) *Bridger_GetBridgesPaged_Call
GetBridgesPaged is a helper method to define mock.On call
- ctx context.Context
- pageNumber uint32
- pageSize uint32
- depositCount *uint64
- networkIDs []uint32
- fromAddress string
func (*Bridger_Expecter) GetClaimsByGER ¶ added in v0.8.2
func (_e *Bridger_Expecter) GetClaimsByGER(ctx interface{}, globalExitRoot interface{}) *Bridger_GetClaimsByGER_Call
GetClaimsByGER is a helper method to define mock.On call
- ctx context.Context
- globalExitRoot common.Hash
func (*Bridger_Expecter) GetClaimsPaged ¶
func (_e *Bridger_Expecter) GetClaimsPaged(ctx interface{}, page interface{}, pageSize interface{}, networkIDs interface{}, globalIndex interface{}) *Bridger_GetClaimsPaged_Call
GetClaimsPaged is a helper method to define mock.On call
- ctx context.Context
- page uint32
- pageSize uint32
- networkIDs []uint32
- globalIndex *big.Int
func (*Bridger_Expecter) GetContractDepositCount ¶
func (_e *Bridger_Expecter) GetContractDepositCount(ctx interface{}) *Bridger_GetContractDepositCount_Call
GetContractDepositCount is a helper method to define mock.On call
- ctx context.Context
func (*Bridger_Expecter) GetLastProcessedBlock ¶ added in v0.7.0
func (_e *Bridger_Expecter) GetLastProcessedBlock(ctx interface{}) *Bridger_GetLastProcessedBlock_Call
GetLastProcessedBlock is a helper method to define mock.On call
- ctx context.Context
func (*Bridger_Expecter) GetLastReorgEvent ¶
func (_e *Bridger_Expecter) GetLastReorgEvent(ctx interface{}) *Bridger_GetLastReorgEvent_Call
GetLastReorgEvent is a helper method to define mock.On call
- ctx context.Context
func (*Bridger_Expecter) GetLastRoot ¶
func (_e *Bridger_Expecter) GetLastRoot(ctx interface{}) *Bridger_GetLastRoot_Call
GetLastRoot is a helper method to define mock.On call
- ctx context.Context
func (*Bridger_Expecter) GetLatestNetworkBlock ¶ added in v0.7.0
func (_e *Bridger_Expecter) GetLatestNetworkBlock(ctx interface{}) *Bridger_GetLatestNetworkBlock_Call
GetLatestNetworkBlock is a helper method to define mock.On call
- ctx context.Context
func (*Bridger_Expecter) GetLegacyTokenMigrations ¶
func (_e *Bridger_Expecter) GetLegacyTokenMigrations(ctx interface{}, pageNumber interface{}, pageSize interface{}) *Bridger_GetLegacyTokenMigrations_Call
GetLegacyTokenMigrations is a helper method to define mock.On call
- ctx context.Context
- pageNumber uint32
- pageSize uint32
func (*Bridger_Expecter) GetProof ¶
func (_e *Bridger_Expecter) GetProof(ctx interface{}, depositCount interface{}, localExitRoot interface{}) *Bridger_GetProof_Call
GetProof is a helper method to define mock.On call
- ctx context.Context
- depositCount uint32
- localExitRoot common.Hash
func (*Bridger_Expecter) GetRootByLER ¶
func (_e *Bridger_Expecter) GetRootByLER(ctx interface{}, ler interface{}) *Bridger_GetRootByLER_Call
GetRootByLER is a helper method to define mock.On call
- ctx context.Context
- ler common.Hash
func (*Bridger_Expecter) GetSetClaimsPaged ¶ added in v0.8.2
func (_e *Bridger_Expecter) GetSetClaimsPaged(ctx interface{}, page interface{}, pageSize interface{}, globalIndex interface{}) *Bridger_GetSetClaimsPaged_Call
GetSetClaimsPaged is a helper method to define mock.On call
- ctx context.Context
- page uint32
- pageSize uint32
- globalIndex *big.Int
func (*Bridger_Expecter) GetTokenMappings ¶
func (_e *Bridger_Expecter) GetTokenMappings(ctx interface{}, pageNumber interface{}, pageSize interface{}, originTokenAddress interface{}) *Bridger_GetTokenMappings_Call
GetTokenMappings is a helper method to define mock.On call
- ctx context.Context
- pageNumber uint32
- pageSize uint32
- originTokenAddress string
func (*Bridger_Expecter) GetUnsetClaimsPaged ¶ added in v0.8.0
func (_e *Bridger_Expecter) GetUnsetClaimsPaged(ctx interface{}, page interface{}, pageSize interface{}, globalIndex interface{}) *Bridger_GetUnsetClaimsPaged_Call
GetUnsetClaimsPaged is a helper method to define mock.On call
- ctx context.Context
- page uint32
- pageSize uint32
- globalIndex *big.Int
func (*Bridger_Expecter) IsActive ¶ added in v0.7.0
func (_e *Bridger_Expecter) IsActive(ctx interface{}) *Bridger_IsActive_Call
IsActive is a helper method to define mock.On call
- ctx context.Context
type Bridger_GetBridgeByDepositCount_Call ¶ added in v0.8.2
Bridger_GetBridgeByDepositCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBridgeByDepositCount'
func (*Bridger_GetBridgeByDepositCount_Call) Return ¶ added in v0.8.2
func (_c *Bridger_GetBridgeByDepositCount_Call) Return(_a0 *bridgesync.Bridge, _a1 error) *Bridger_GetBridgeByDepositCount_Call
func (*Bridger_GetBridgeByDepositCount_Call) Run ¶ added in v0.8.2
func (_c *Bridger_GetBridgeByDepositCount_Call) Run(run func(ctx context.Context, depositCount uint32)) *Bridger_GetBridgeByDepositCount_Call
func (*Bridger_GetBridgeByDepositCount_Call) RunAndReturn ¶ added in v0.8.2
func (_c *Bridger_GetBridgeByDepositCount_Call) RunAndReturn(run func(context.Context, uint32) (*bridgesync.Bridge, error)) *Bridger_GetBridgeByDepositCount_Call
type Bridger_GetBridgesByContent_Call ¶ added in v0.8.2
Bridger_GetBridgesByContent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBridgesByContent'
func (*Bridger_GetBridgesByContent_Call) Return ¶ added in v0.8.2
func (_c *Bridger_GetBridgesByContent_Call) Return(_a0 []*bridgesync.Bridge, _a1 error) *Bridger_GetBridgesByContent_Call
func (*Bridger_GetBridgesByContent_Call) RunAndReturn ¶ added in v0.8.2
type Bridger_GetBridgesPaged_Call ¶
Bridger_GetBridgesPaged_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBridgesPaged'
func (*Bridger_GetBridgesPaged_Call) Return ¶
func (_c *Bridger_GetBridgesPaged_Call) Return(_a0 []*bridgesync.Bridge, _a1 int, _a2 error) *Bridger_GetBridgesPaged_Call
func (*Bridger_GetBridgesPaged_Call) Run ¶
func (_c *Bridger_GetBridgesPaged_Call) Run(run func(ctx context.Context, pageNumber uint32, pageSize uint32, depositCount *uint64, networkIDs []uint32, fromAddress string)) *Bridger_GetBridgesPaged_Call
func (*Bridger_GetBridgesPaged_Call) RunAndReturn ¶
func (_c *Bridger_GetBridgesPaged_Call) RunAndReturn(run func(context.Context, uint32, uint32, *uint64, []uint32, string) ([]*bridgesync.Bridge, int, error)) *Bridger_GetBridgesPaged_Call
type Bridger_GetClaimsByGER_Call ¶ added in v0.8.2
Bridger_GetClaimsByGER_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetClaimsByGER'
func (*Bridger_GetClaimsByGER_Call) Return ¶ added in v0.8.2
func (_c *Bridger_GetClaimsByGER_Call) Return(_a0 []*bridgesync.Claim, _a1 error) *Bridger_GetClaimsByGER_Call
func (*Bridger_GetClaimsByGER_Call) Run ¶ added in v0.8.2
func (_c *Bridger_GetClaimsByGER_Call) Run(run func(ctx context.Context, globalExitRoot common.Hash)) *Bridger_GetClaimsByGER_Call
func (*Bridger_GetClaimsByGER_Call) RunAndReturn ¶ added in v0.8.2
func (_c *Bridger_GetClaimsByGER_Call) RunAndReturn(run func(context.Context, common.Hash) ([]*bridgesync.Claim, error)) *Bridger_GetClaimsByGER_Call
type Bridger_GetClaimsPaged_Call ¶
Bridger_GetClaimsPaged_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetClaimsPaged'
func (*Bridger_GetClaimsPaged_Call) Return ¶
func (_c *Bridger_GetClaimsPaged_Call) Return(_a0 []*bridgesync.Claim, _a1 int, _a2 error) *Bridger_GetClaimsPaged_Call
func (*Bridger_GetClaimsPaged_Call) Run ¶
func (_c *Bridger_GetClaimsPaged_Call) Run(run func(ctx context.Context, page uint32, pageSize uint32, networkIDs []uint32, globalIndex *big.Int)) *Bridger_GetClaimsPaged_Call
func (*Bridger_GetClaimsPaged_Call) RunAndReturn ¶
func (_c *Bridger_GetClaimsPaged_Call) RunAndReturn(run func(context.Context, uint32, uint32, []uint32, *big.Int) ([]*bridgesync.Claim, int, error)) *Bridger_GetClaimsPaged_Call
type Bridger_GetContractDepositCount_Call ¶
Bridger_GetContractDepositCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetContractDepositCount'
func (*Bridger_GetContractDepositCount_Call) Return ¶
func (_c *Bridger_GetContractDepositCount_Call) Return(_a0 uint32, _a1 error) *Bridger_GetContractDepositCount_Call
func (*Bridger_GetContractDepositCount_Call) Run ¶
func (_c *Bridger_GetContractDepositCount_Call) Run(run func(ctx context.Context)) *Bridger_GetContractDepositCount_Call
func (*Bridger_GetContractDepositCount_Call) RunAndReturn ¶
func (_c *Bridger_GetContractDepositCount_Call) RunAndReturn(run func(context.Context) (uint32, error)) *Bridger_GetContractDepositCount_Call
type Bridger_GetLastProcessedBlock_Call ¶ added in v0.7.0
Bridger_GetLastProcessedBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastProcessedBlock'
func (*Bridger_GetLastProcessedBlock_Call) Return ¶ added in v0.7.0
func (_c *Bridger_GetLastProcessedBlock_Call) Return(_a0 uint64, _a1 error) *Bridger_GetLastProcessedBlock_Call
func (*Bridger_GetLastProcessedBlock_Call) Run ¶ added in v0.7.0
func (_c *Bridger_GetLastProcessedBlock_Call) Run(run func(ctx context.Context)) *Bridger_GetLastProcessedBlock_Call
func (*Bridger_GetLastProcessedBlock_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Bridger_GetLastProcessedBlock_Call) RunAndReturn(run func(context.Context) (uint64, error)) *Bridger_GetLastProcessedBlock_Call
type Bridger_GetLastReorgEvent_Call ¶
Bridger_GetLastReorgEvent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastReorgEvent'
func (*Bridger_GetLastReorgEvent_Call) Return ¶
func (_c *Bridger_GetLastReorgEvent_Call) Return(_a0 *bridgesync.LastReorg, _a1 error) *Bridger_GetLastReorgEvent_Call
func (*Bridger_GetLastReorgEvent_Call) Run ¶
func (_c *Bridger_GetLastReorgEvent_Call) Run(run func(ctx context.Context)) *Bridger_GetLastReorgEvent_Call
func (*Bridger_GetLastReorgEvent_Call) RunAndReturn ¶
func (_c *Bridger_GetLastReorgEvent_Call) RunAndReturn(run func(context.Context) (*bridgesync.LastReorg, error)) *Bridger_GetLastReorgEvent_Call
type Bridger_GetLastRoot_Call ¶
Bridger_GetLastRoot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastRoot'
func (*Bridger_GetLastRoot_Call) Return ¶
func (_c *Bridger_GetLastRoot_Call) Return(_a0 *types.Root, _a1 error) *Bridger_GetLastRoot_Call
func (*Bridger_GetLastRoot_Call) Run ¶
func (_c *Bridger_GetLastRoot_Call) Run(run func(ctx context.Context)) *Bridger_GetLastRoot_Call
func (*Bridger_GetLastRoot_Call) RunAndReturn ¶
func (_c *Bridger_GetLastRoot_Call) RunAndReturn(run func(context.Context) (*types.Root, error)) *Bridger_GetLastRoot_Call
type Bridger_GetLatestNetworkBlock_Call ¶ added in v0.7.0
Bridger_GetLatestNetworkBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLatestNetworkBlock'
func (*Bridger_GetLatestNetworkBlock_Call) Return ¶ added in v0.7.0
func (_c *Bridger_GetLatestNetworkBlock_Call) Return(_a0 uint64, _a1 error) *Bridger_GetLatestNetworkBlock_Call
func (*Bridger_GetLatestNetworkBlock_Call) Run ¶ added in v0.7.0
func (_c *Bridger_GetLatestNetworkBlock_Call) Run(run func(ctx context.Context)) *Bridger_GetLatestNetworkBlock_Call
func (*Bridger_GetLatestNetworkBlock_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Bridger_GetLatestNetworkBlock_Call) RunAndReturn(run func(context.Context) (uint64, error)) *Bridger_GetLatestNetworkBlock_Call
type Bridger_GetLegacyTokenMigrations_Call ¶
Bridger_GetLegacyTokenMigrations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLegacyTokenMigrations'
func (*Bridger_GetLegacyTokenMigrations_Call) Return ¶
func (_c *Bridger_GetLegacyTokenMigrations_Call) Return(_a0 []*bridgesync.LegacyTokenMigration, _a1 int, _a2 error) *Bridger_GetLegacyTokenMigrations_Call
func (*Bridger_GetLegacyTokenMigrations_Call) Run ¶
func (_c *Bridger_GetLegacyTokenMigrations_Call) Run(run func(ctx context.Context, pageNumber uint32, pageSize uint32)) *Bridger_GetLegacyTokenMigrations_Call
func (*Bridger_GetLegacyTokenMigrations_Call) RunAndReturn ¶
func (_c *Bridger_GetLegacyTokenMigrations_Call) RunAndReturn(run func(context.Context, uint32, uint32) ([]*bridgesync.LegacyTokenMigration, int, error)) *Bridger_GetLegacyTokenMigrations_Call
type Bridger_GetProof_Call ¶
Bridger_GetProof_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetProof'
func (*Bridger_GetProof_Call) Return ¶
func (_c *Bridger_GetProof_Call) Return(_a0 types.Proof, _a1 error) *Bridger_GetProof_Call
func (*Bridger_GetProof_Call) Run ¶
func (_c *Bridger_GetProof_Call) Run(run func(ctx context.Context, depositCount uint32, localExitRoot common.Hash)) *Bridger_GetProof_Call
func (*Bridger_GetProof_Call) RunAndReturn ¶
func (_c *Bridger_GetProof_Call) RunAndReturn(run func(context.Context, uint32, common.Hash) (types.Proof, error)) *Bridger_GetProof_Call
type Bridger_GetRootByLER_Call ¶
Bridger_GetRootByLER_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRootByLER'
func (*Bridger_GetRootByLER_Call) Return ¶
func (_c *Bridger_GetRootByLER_Call) Return(_a0 *types.Root, _a1 error) *Bridger_GetRootByLER_Call
func (*Bridger_GetRootByLER_Call) Run ¶
func (_c *Bridger_GetRootByLER_Call) Run(run func(ctx context.Context, ler common.Hash)) *Bridger_GetRootByLER_Call
func (*Bridger_GetRootByLER_Call) RunAndReturn ¶
func (_c *Bridger_GetRootByLER_Call) RunAndReturn(run func(context.Context, common.Hash) (*types.Root, error)) *Bridger_GetRootByLER_Call
type Bridger_GetSetClaimsPaged_Call ¶ added in v0.8.2
Bridger_GetSetClaimsPaged_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSetClaimsPaged'
func (*Bridger_GetSetClaimsPaged_Call) Return ¶ added in v0.8.2
func (_c *Bridger_GetSetClaimsPaged_Call) Return(_a0 []*bridgesync.SetClaim, _a1 int, _a2 error) *Bridger_GetSetClaimsPaged_Call
func (*Bridger_GetSetClaimsPaged_Call) Run ¶ added in v0.8.2
func (_c *Bridger_GetSetClaimsPaged_Call) Run(run func(ctx context.Context, page uint32, pageSize uint32, globalIndex *big.Int)) *Bridger_GetSetClaimsPaged_Call
func (*Bridger_GetSetClaimsPaged_Call) RunAndReturn ¶ added in v0.8.2
func (_c *Bridger_GetSetClaimsPaged_Call) RunAndReturn(run func(context.Context, uint32, uint32, *big.Int) ([]*bridgesync.SetClaim, int, error)) *Bridger_GetSetClaimsPaged_Call
type Bridger_GetTokenMappings_Call ¶
Bridger_GetTokenMappings_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTokenMappings'
func (*Bridger_GetTokenMappings_Call) Return ¶
func (_c *Bridger_GetTokenMappings_Call) Return(_a0 []*bridgesync.TokenMapping, _a1 int, _a2 error) *Bridger_GetTokenMappings_Call
func (*Bridger_GetTokenMappings_Call) Run ¶
func (_c *Bridger_GetTokenMappings_Call) Run(run func(ctx context.Context, pageNumber uint32, pageSize uint32, originTokenAddress string)) *Bridger_GetTokenMappings_Call
func (*Bridger_GetTokenMappings_Call) RunAndReturn ¶
func (_c *Bridger_GetTokenMappings_Call) RunAndReturn(run func(context.Context, uint32, uint32, string) ([]*bridgesync.TokenMapping, int, error)) *Bridger_GetTokenMappings_Call
type Bridger_GetUnsetClaimsPaged_Call ¶ added in v0.8.0
Bridger_GetUnsetClaimsPaged_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUnsetClaimsPaged'
func (*Bridger_GetUnsetClaimsPaged_Call) Return ¶ added in v0.8.0
func (_c *Bridger_GetUnsetClaimsPaged_Call) Return(_a0 []*bridgesync.UnsetClaim, _a1 int, _a2 error) *Bridger_GetUnsetClaimsPaged_Call
func (*Bridger_GetUnsetClaimsPaged_Call) Run ¶ added in v0.8.0
func (_c *Bridger_GetUnsetClaimsPaged_Call) Run(run func(ctx context.Context, page uint32, pageSize uint32, globalIndex *big.Int)) *Bridger_GetUnsetClaimsPaged_Call
func (*Bridger_GetUnsetClaimsPaged_Call) RunAndReturn ¶ added in v0.8.0
func (_c *Bridger_GetUnsetClaimsPaged_Call) RunAndReturn(run func(context.Context, uint32, uint32, *big.Int) ([]*bridgesync.UnsetClaim, int, error)) *Bridger_GetUnsetClaimsPaged_Call
type Bridger_IsActive_Call ¶ added in v0.7.0
Bridger_IsActive_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsActive'
func (*Bridger_IsActive_Call) Return ¶ added in v0.7.0
func (_c *Bridger_IsActive_Call) Return(_a0 bool) *Bridger_IsActive_Call
func (*Bridger_IsActive_Call) Run ¶ added in v0.7.0
func (_c *Bridger_IsActive_Call) Run(run func(ctx context.Context)) *Bridger_IsActive_Call
func (*Bridger_IsActive_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Bridger_IsActive_Call) RunAndReturn(run func(context.Context) bool) *Bridger_IsActive_Call
type L1InfoTreeSyncer ¶ added in v0.7.0
L1InfoTreeSyncer is an autogenerated mock type for the L1InfoTreeSyncer type
func NewL1InfoTreeSyncer ¶ added in v0.7.0
func NewL1InfoTreeSyncer(t interface {
mock.TestingT
Cleanup(func())
}) *L1InfoTreeSyncer
NewL1InfoTreeSyncer creates a new instance of L1InfoTreeSyncer. 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 (*L1InfoTreeSyncer) EXPECT ¶ added in v0.7.0
func (_m *L1InfoTreeSyncer) EXPECT() *L1InfoTreeSyncer_Expecter
func (*L1InfoTreeSyncer) GetFirstInfo ¶ added in v0.7.0
func (_m *L1InfoTreeSyncer) GetFirstInfo() (*l1infotreesync.L1InfoTreeLeaf, error)
GetFirstInfo provides a mock function with no fields
func (*L1InfoTreeSyncer) GetFirstInfoAfterBlock ¶ added in v0.7.0
func (_m *L1InfoTreeSyncer) GetFirstInfoAfterBlock(blockNum uint64) (*l1infotreesync.L1InfoTreeLeaf, error)
GetFirstInfoAfterBlock provides a mock function with given fields: blockNum
func (*L1InfoTreeSyncer) GetFirstL1InfoWithRollupExitRoot ¶ added in v0.7.0
func (_m *L1InfoTreeSyncer) GetFirstL1InfoWithRollupExitRoot(rollupExitRoot common.Hash) (*l1infotreesync.L1InfoTreeLeaf, error)
GetFirstL1InfoWithRollupExitRoot provides a mock function with given fields: rollupExitRoot
func (*L1InfoTreeSyncer) GetFirstVerifiedBatches ¶ added in v0.7.0
func (_m *L1InfoTreeSyncer) GetFirstVerifiedBatches(rollupID uint32) (*l1infotreesync.VerifyBatches, error)
GetFirstVerifiedBatches provides a mock function with given fields: rollupID
func (*L1InfoTreeSyncer) GetFirstVerifiedBatchesAfterBlock ¶ added in v0.7.0
func (_m *L1InfoTreeSyncer) GetFirstVerifiedBatchesAfterBlock(rollupID uint32, blockNum uint64) (*l1infotreesync.VerifyBatches, error)
GetFirstVerifiedBatchesAfterBlock provides a mock function with given fields: rollupID, blockNum
func (*L1InfoTreeSyncer) GetInfoByIndex ¶ added in v0.7.0
func (_m *L1InfoTreeSyncer) GetInfoByIndex(ctx context.Context, index uint32) (*l1infotreesync.L1InfoTreeLeaf, error)
GetInfoByIndex provides a mock function with given fields: ctx, index
func (*L1InfoTreeSyncer) GetLastInfo ¶ added in v0.7.0
func (_m *L1InfoTreeSyncer) GetLastInfo() (*l1infotreesync.L1InfoTreeLeaf, error)
GetLastInfo provides a mock function with no fields
func (*L1InfoTreeSyncer) GetLastVerifiedBatches ¶ added in v0.7.0
func (_m *L1InfoTreeSyncer) GetLastVerifiedBatches(rollupID uint32) (*l1infotreesync.VerifyBatches, error)
GetLastVerifiedBatches provides a mock function with given fields: rollupID
func (*L1InfoTreeSyncer) GetLocalExitRoot ¶ added in v0.7.0
func (_m *L1InfoTreeSyncer) GetLocalExitRoot(ctx context.Context, networkID uint32, rollupExitRoot common.Hash) (common.Hash, error)
GetLocalExitRoot provides a mock function with given fields: ctx, networkID, rollupExitRoot
func (*L1InfoTreeSyncer) GetRollupExitTreeMerkleProof ¶ added in v0.7.0
func (_m *L1InfoTreeSyncer) GetRollupExitTreeMerkleProof(ctx context.Context, networkID uint32, root common.Hash) (types.Proof, error)
GetRollupExitTreeMerkleProof provides a mock function with given fields: ctx, networkID, root
type L1InfoTreeSyncer_Expecter ¶ added in v0.7.0
type L1InfoTreeSyncer_Expecter struct {
// contains filtered or unexported fields
}
func (*L1InfoTreeSyncer_Expecter) GetFirstInfo ¶ added in v0.7.0
func (_e *L1InfoTreeSyncer_Expecter) GetFirstInfo() *L1InfoTreeSyncer_GetFirstInfo_Call
GetFirstInfo is a helper method to define mock.On call
func (*L1InfoTreeSyncer_Expecter) GetFirstInfoAfterBlock ¶ added in v0.7.0
func (_e *L1InfoTreeSyncer_Expecter) GetFirstInfoAfterBlock(blockNum interface{}) *L1InfoTreeSyncer_GetFirstInfoAfterBlock_Call
GetFirstInfoAfterBlock is a helper method to define mock.On call
- blockNum uint64
func (*L1InfoTreeSyncer_Expecter) GetFirstL1InfoWithRollupExitRoot ¶ added in v0.7.0
func (_e *L1InfoTreeSyncer_Expecter) GetFirstL1InfoWithRollupExitRoot(rollupExitRoot interface{}) *L1InfoTreeSyncer_GetFirstL1InfoWithRollupExitRoot_Call
GetFirstL1InfoWithRollupExitRoot is a helper method to define mock.On call
- rollupExitRoot common.Hash
func (*L1InfoTreeSyncer_Expecter) GetFirstVerifiedBatches ¶ added in v0.7.0
func (_e *L1InfoTreeSyncer_Expecter) GetFirstVerifiedBatches(rollupID interface{}) *L1InfoTreeSyncer_GetFirstVerifiedBatches_Call
GetFirstVerifiedBatches is a helper method to define mock.On call
- rollupID uint32
func (*L1InfoTreeSyncer_Expecter) GetFirstVerifiedBatchesAfterBlock ¶ added in v0.7.0
func (_e *L1InfoTreeSyncer_Expecter) GetFirstVerifiedBatchesAfterBlock(rollupID interface{}, blockNum interface{}) *L1InfoTreeSyncer_GetFirstVerifiedBatchesAfterBlock_Call
GetFirstVerifiedBatchesAfterBlock is a helper method to define mock.On call
- rollupID uint32
- blockNum uint64
func (*L1InfoTreeSyncer_Expecter) GetInfoByIndex ¶ added in v0.7.0
func (_e *L1InfoTreeSyncer_Expecter) GetInfoByIndex(ctx interface{}, index interface{}) *L1InfoTreeSyncer_GetInfoByIndex_Call
GetInfoByIndex is a helper method to define mock.On call
- ctx context.Context
- index uint32
func (*L1InfoTreeSyncer_Expecter) GetLastInfo ¶ added in v0.7.0
func (_e *L1InfoTreeSyncer_Expecter) GetLastInfo() *L1InfoTreeSyncer_GetLastInfo_Call
GetLastInfo is a helper method to define mock.On call
func (*L1InfoTreeSyncer_Expecter) GetLastVerifiedBatches ¶ added in v0.7.0
func (_e *L1InfoTreeSyncer_Expecter) GetLastVerifiedBatches(rollupID interface{}) *L1InfoTreeSyncer_GetLastVerifiedBatches_Call
GetLastVerifiedBatches is a helper method to define mock.On call
- rollupID uint32
func (*L1InfoTreeSyncer_Expecter) GetLocalExitRoot ¶ added in v0.7.0
func (_e *L1InfoTreeSyncer_Expecter) GetLocalExitRoot(ctx interface{}, networkID interface{}, rollupExitRoot interface{}) *L1InfoTreeSyncer_GetLocalExitRoot_Call
GetLocalExitRoot is a helper method to define mock.On call
- ctx context.Context
- networkID uint32
- rollupExitRoot common.Hash
func (*L1InfoTreeSyncer_Expecter) GetRollupExitTreeMerkleProof ¶ added in v0.7.0
func (_e *L1InfoTreeSyncer_Expecter) GetRollupExitTreeMerkleProof(ctx interface{}, networkID interface{}, root interface{}) *L1InfoTreeSyncer_GetRollupExitTreeMerkleProof_Call
GetRollupExitTreeMerkleProof is a helper method to define mock.On call
- ctx context.Context
- networkID uint32
- root common.Hash
type L1InfoTreeSyncer_GetFirstInfoAfterBlock_Call ¶ added in v0.7.0
L1InfoTreeSyncer_GetFirstInfoAfterBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFirstInfoAfterBlock'
func (*L1InfoTreeSyncer_GetFirstInfoAfterBlock_Call) Return ¶ added in v0.7.0
func (_c *L1InfoTreeSyncer_GetFirstInfoAfterBlock_Call) Return(_a0 *l1infotreesync.L1InfoTreeLeaf, _a1 error) *L1InfoTreeSyncer_GetFirstInfoAfterBlock_Call
func (*L1InfoTreeSyncer_GetFirstInfoAfterBlock_Call) Run ¶ added in v0.7.0
func (_c *L1InfoTreeSyncer_GetFirstInfoAfterBlock_Call) Run(run func(blockNum uint64)) *L1InfoTreeSyncer_GetFirstInfoAfterBlock_Call
func (*L1InfoTreeSyncer_GetFirstInfoAfterBlock_Call) RunAndReturn ¶ added in v0.7.0
func (_c *L1InfoTreeSyncer_GetFirstInfoAfterBlock_Call) RunAndReturn(run func(uint64) (*l1infotreesync.L1InfoTreeLeaf, error)) *L1InfoTreeSyncer_GetFirstInfoAfterBlock_Call
type L1InfoTreeSyncer_GetFirstInfo_Call ¶ added in v0.7.0
L1InfoTreeSyncer_GetFirstInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFirstInfo'
func (*L1InfoTreeSyncer_GetFirstInfo_Call) Return ¶ added in v0.7.0
func (_c *L1InfoTreeSyncer_GetFirstInfo_Call) Return(_a0 *l1infotreesync.L1InfoTreeLeaf, _a1 error) *L1InfoTreeSyncer_GetFirstInfo_Call
func (*L1InfoTreeSyncer_GetFirstInfo_Call) Run ¶ added in v0.7.0
func (_c *L1InfoTreeSyncer_GetFirstInfo_Call) Run(run func()) *L1InfoTreeSyncer_GetFirstInfo_Call
func (*L1InfoTreeSyncer_GetFirstInfo_Call) RunAndReturn ¶ added in v0.7.0
func (_c *L1InfoTreeSyncer_GetFirstInfo_Call) RunAndReturn(run func() (*l1infotreesync.L1InfoTreeLeaf, error)) *L1InfoTreeSyncer_GetFirstInfo_Call
type L1InfoTreeSyncer_GetFirstL1InfoWithRollupExitRoot_Call ¶ added in v0.7.0
L1InfoTreeSyncer_GetFirstL1InfoWithRollupExitRoot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFirstL1InfoWithRollupExitRoot'
func (*L1InfoTreeSyncer_GetFirstL1InfoWithRollupExitRoot_Call) Run ¶ added in v0.7.0
func (_c *L1InfoTreeSyncer_GetFirstL1InfoWithRollupExitRoot_Call) Run(run func(rollupExitRoot common.Hash)) *L1InfoTreeSyncer_GetFirstL1InfoWithRollupExitRoot_Call
func (*L1InfoTreeSyncer_GetFirstL1InfoWithRollupExitRoot_Call) RunAndReturn ¶ added in v0.7.0
func (_c *L1InfoTreeSyncer_GetFirstL1InfoWithRollupExitRoot_Call) RunAndReturn(run func(common.Hash) (*l1infotreesync.L1InfoTreeLeaf, error)) *L1InfoTreeSyncer_GetFirstL1InfoWithRollupExitRoot_Call
type L1InfoTreeSyncer_GetFirstVerifiedBatchesAfterBlock_Call ¶ added in v0.7.0
L1InfoTreeSyncer_GetFirstVerifiedBatchesAfterBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFirstVerifiedBatchesAfterBlock'
func (*L1InfoTreeSyncer_GetFirstVerifiedBatchesAfterBlock_Call) Run ¶ added in v0.7.0
func (_c *L1InfoTreeSyncer_GetFirstVerifiedBatchesAfterBlock_Call) Run(run func(rollupID uint32, blockNum uint64)) *L1InfoTreeSyncer_GetFirstVerifiedBatchesAfterBlock_Call
func (*L1InfoTreeSyncer_GetFirstVerifiedBatchesAfterBlock_Call) RunAndReturn ¶ added in v0.7.0
func (_c *L1InfoTreeSyncer_GetFirstVerifiedBatchesAfterBlock_Call) RunAndReturn(run func(uint32, uint64) (*l1infotreesync.VerifyBatches, error)) *L1InfoTreeSyncer_GetFirstVerifiedBatchesAfterBlock_Call
type L1InfoTreeSyncer_GetFirstVerifiedBatches_Call ¶ added in v0.7.0
L1InfoTreeSyncer_GetFirstVerifiedBatches_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFirstVerifiedBatches'
func (*L1InfoTreeSyncer_GetFirstVerifiedBatches_Call) Return ¶ added in v0.7.0
func (_c *L1InfoTreeSyncer_GetFirstVerifiedBatches_Call) Return(_a0 *l1infotreesync.VerifyBatches, _a1 error) *L1InfoTreeSyncer_GetFirstVerifiedBatches_Call
func (*L1InfoTreeSyncer_GetFirstVerifiedBatches_Call) Run ¶ added in v0.7.0
func (_c *L1InfoTreeSyncer_GetFirstVerifiedBatches_Call) Run(run func(rollupID uint32)) *L1InfoTreeSyncer_GetFirstVerifiedBatches_Call
func (*L1InfoTreeSyncer_GetFirstVerifiedBatches_Call) RunAndReturn ¶ added in v0.7.0
func (_c *L1InfoTreeSyncer_GetFirstVerifiedBatches_Call) RunAndReturn(run func(uint32) (*l1infotreesync.VerifyBatches, error)) *L1InfoTreeSyncer_GetFirstVerifiedBatches_Call
type L1InfoTreeSyncer_GetInfoByIndex_Call ¶ added in v0.7.0
L1InfoTreeSyncer_GetInfoByIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetInfoByIndex'
func (*L1InfoTreeSyncer_GetInfoByIndex_Call) Return ¶ added in v0.7.0
func (_c *L1InfoTreeSyncer_GetInfoByIndex_Call) Return(_a0 *l1infotreesync.L1InfoTreeLeaf, _a1 error) *L1InfoTreeSyncer_GetInfoByIndex_Call
func (*L1InfoTreeSyncer_GetInfoByIndex_Call) Run ¶ added in v0.7.0
func (_c *L1InfoTreeSyncer_GetInfoByIndex_Call) Run(run func(ctx context.Context, index uint32)) *L1InfoTreeSyncer_GetInfoByIndex_Call
func (*L1InfoTreeSyncer_GetInfoByIndex_Call) RunAndReturn ¶ added in v0.7.0
func (_c *L1InfoTreeSyncer_GetInfoByIndex_Call) RunAndReturn(run func(context.Context, uint32) (*l1infotreesync.L1InfoTreeLeaf, error)) *L1InfoTreeSyncer_GetInfoByIndex_Call
type L1InfoTreeSyncer_GetLastInfo_Call ¶ added in v0.7.0
L1InfoTreeSyncer_GetLastInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastInfo'
func (*L1InfoTreeSyncer_GetLastInfo_Call) Return ¶ added in v0.7.0
func (_c *L1InfoTreeSyncer_GetLastInfo_Call) Return(_a0 *l1infotreesync.L1InfoTreeLeaf, _a1 error) *L1InfoTreeSyncer_GetLastInfo_Call
func (*L1InfoTreeSyncer_GetLastInfo_Call) Run ¶ added in v0.7.0
func (_c *L1InfoTreeSyncer_GetLastInfo_Call) Run(run func()) *L1InfoTreeSyncer_GetLastInfo_Call
func (*L1InfoTreeSyncer_GetLastInfo_Call) RunAndReturn ¶ added in v0.7.0
func (_c *L1InfoTreeSyncer_GetLastInfo_Call) RunAndReturn(run func() (*l1infotreesync.L1InfoTreeLeaf, error)) *L1InfoTreeSyncer_GetLastInfo_Call
type L1InfoTreeSyncer_GetLastVerifiedBatches_Call ¶ added in v0.7.0
L1InfoTreeSyncer_GetLastVerifiedBatches_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastVerifiedBatches'
func (*L1InfoTreeSyncer_GetLastVerifiedBatches_Call) Return ¶ added in v0.7.0
func (_c *L1InfoTreeSyncer_GetLastVerifiedBatches_Call) Return(_a0 *l1infotreesync.VerifyBatches, _a1 error) *L1InfoTreeSyncer_GetLastVerifiedBatches_Call
func (*L1InfoTreeSyncer_GetLastVerifiedBatches_Call) Run ¶ added in v0.7.0
func (_c *L1InfoTreeSyncer_GetLastVerifiedBatches_Call) Run(run func(rollupID uint32)) *L1InfoTreeSyncer_GetLastVerifiedBatches_Call
func (*L1InfoTreeSyncer_GetLastVerifiedBatches_Call) RunAndReturn ¶ added in v0.7.0
func (_c *L1InfoTreeSyncer_GetLastVerifiedBatches_Call) RunAndReturn(run func(uint32) (*l1infotreesync.VerifyBatches, error)) *L1InfoTreeSyncer_GetLastVerifiedBatches_Call
type L1InfoTreeSyncer_GetLocalExitRoot_Call ¶ added in v0.7.0
L1InfoTreeSyncer_GetLocalExitRoot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLocalExitRoot'
func (*L1InfoTreeSyncer_GetLocalExitRoot_Call) Return ¶ added in v0.7.0
func (_c *L1InfoTreeSyncer_GetLocalExitRoot_Call) Return(_a0 common.Hash, _a1 error) *L1InfoTreeSyncer_GetLocalExitRoot_Call
func (*L1InfoTreeSyncer_GetLocalExitRoot_Call) Run ¶ added in v0.7.0
func (_c *L1InfoTreeSyncer_GetLocalExitRoot_Call) Run(run func(ctx context.Context, networkID uint32, rollupExitRoot common.Hash)) *L1InfoTreeSyncer_GetLocalExitRoot_Call
func (*L1InfoTreeSyncer_GetLocalExitRoot_Call) RunAndReturn ¶ added in v0.7.0
func (_c *L1InfoTreeSyncer_GetLocalExitRoot_Call) RunAndReturn(run func(context.Context, uint32, common.Hash) (common.Hash, error)) *L1InfoTreeSyncer_GetLocalExitRoot_Call
type L1InfoTreeSyncer_GetRollupExitTreeMerkleProof_Call ¶ added in v0.7.0
L1InfoTreeSyncer_GetRollupExitTreeMerkleProof_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRollupExitTreeMerkleProof'
func (*L1InfoTreeSyncer_GetRollupExitTreeMerkleProof_Call) Return ¶ added in v0.7.0
func (_c *L1InfoTreeSyncer_GetRollupExitTreeMerkleProof_Call) Return(_a0 types.Proof, _a1 error) *L1InfoTreeSyncer_GetRollupExitTreeMerkleProof_Call
func (*L1InfoTreeSyncer_GetRollupExitTreeMerkleProof_Call) Run ¶ added in v0.7.0
func (_c *L1InfoTreeSyncer_GetRollupExitTreeMerkleProof_Call) Run(run func(ctx context.Context, networkID uint32, root common.Hash)) *L1InfoTreeSyncer_GetRollupExitTreeMerkleProof_Call
func (*L1InfoTreeSyncer_GetRollupExitTreeMerkleProof_Call) RunAndReturn ¶ added in v0.7.0
func (_c *L1InfoTreeSyncer_GetRollupExitTreeMerkleProof_Call) RunAndReturn(run func(context.Context, uint32, common.Hash) (types.Proof, error)) *L1InfoTreeSyncer_GetRollupExitTreeMerkleProof_Call
type L2GERSyncer ¶ added in v0.7.0
L2GERSyncer is an autogenerated mock type for the L2GERSyncer type
func NewL2GERSyncer ¶ added in v0.7.0
func NewL2GERSyncer(t interface {
mock.TestingT
Cleanup(func())
}) *L2GERSyncer
NewL2GERSyncer creates a new instance of L2GERSyncer. 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 (*L2GERSyncer) EXPECT ¶ added in v0.7.0
func (_m *L2GERSyncer) EXPECT() *L2GERSyncer_Expecter
func (*L2GERSyncer) GetFirstGERAfterL1InfoTreeIndex ¶ added in v0.7.0
func (_m *L2GERSyncer) GetFirstGERAfterL1InfoTreeIndex(ctx context.Context, atOrAfterL1InfoTreeIndex uint32) (l2gersync.GlobalExitRootInfo, error)
GetFirstGERAfterL1InfoTreeIndex provides a mock function with given fields: ctx, atOrAfterL1InfoTreeIndex
func (*L2GERSyncer) GetRemoveGEREvents ¶ added in v0.8.0
func (_m *L2GERSyncer) GetRemoveGEREvents(ctx context.Context, globalExitRoot *common.Hash, limit uint32) ([]*l2gersync.RemoveGEREvent, error)
GetRemoveGEREvents provides a mock function with given fields: ctx, globalExitRoot, limit
type L2GERSyncer_Expecter ¶ added in v0.7.0
type L2GERSyncer_Expecter struct {
// contains filtered or unexported fields
}
func (*L2GERSyncer_Expecter) GetFirstGERAfterL1InfoTreeIndex ¶ added in v0.7.0
func (_e *L2GERSyncer_Expecter) GetFirstGERAfterL1InfoTreeIndex(ctx interface{}, atOrAfterL1InfoTreeIndex interface{}) *L2GERSyncer_GetFirstGERAfterL1InfoTreeIndex_Call
GetFirstGERAfterL1InfoTreeIndex is a helper method to define mock.On call
- ctx context.Context
- atOrAfterL1InfoTreeIndex uint32
func (*L2GERSyncer_Expecter) GetRemoveGEREvents ¶ added in v0.8.0
func (_e *L2GERSyncer_Expecter) GetRemoveGEREvents(ctx interface{}, globalExitRoot interface{}, limit interface{}) *L2GERSyncer_GetRemoveGEREvents_Call
GetRemoveGEREvents is a helper method to define mock.On call
- ctx context.Context
- globalExitRoot *common.Hash
- limit uint32
type L2GERSyncer_GetFirstGERAfterL1InfoTreeIndex_Call ¶ added in v0.7.0
L2GERSyncer_GetFirstGERAfterL1InfoTreeIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFirstGERAfterL1InfoTreeIndex'
func (*L2GERSyncer_GetFirstGERAfterL1InfoTreeIndex_Call) Return ¶ added in v0.7.0
func (_c *L2GERSyncer_GetFirstGERAfterL1InfoTreeIndex_Call) Return(_a0 l2gersync.GlobalExitRootInfo, _a1 error) *L2GERSyncer_GetFirstGERAfterL1InfoTreeIndex_Call
func (*L2GERSyncer_GetFirstGERAfterL1InfoTreeIndex_Call) Run ¶ added in v0.7.0
func (_c *L2GERSyncer_GetFirstGERAfterL1InfoTreeIndex_Call) Run(run func(ctx context.Context, atOrAfterL1InfoTreeIndex uint32)) *L2GERSyncer_GetFirstGERAfterL1InfoTreeIndex_Call
func (*L2GERSyncer_GetFirstGERAfterL1InfoTreeIndex_Call) RunAndReturn ¶ added in v0.7.0
func (_c *L2GERSyncer_GetFirstGERAfterL1InfoTreeIndex_Call) RunAndReturn(run func(context.Context, uint32) (l2gersync.GlobalExitRootInfo, error)) *L2GERSyncer_GetFirstGERAfterL1InfoTreeIndex_Call
type L2GERSyncer_GetRemoveGEREvents_Call ¶ added in v0.8.0
L2GERSyncer_GetRemoveGEREvents_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRemoveGEREvents'
func (*L2GERSyncer_GetRemoveGEREvents_Call) Return ¶ added in v0.8.0
func (_c *L2GERSyncer_GetRemoveGEREvents_Call) Return(_a0 []*l2gersync.RemoveGEREvent, _a1 error) *L2GERSyncer_GetRemoveGEREvents_Call
func (*L2GERSyncer_GetRemoveGEREvents_Call) Run ¶ added in v0.8.0
func (_c *L2GERSyncer_GetRemoveGEREvents_Call) Run(run func(ctx context.Context, globalExitRoot *common.Hash, limit uint32)) *L2GERSyncer_GetRemoveGEREvents_Call
func (*L2GERSyncer_GetRemoveGEREvents_Call) RunAndReturn ¶ added in v0.8.0
func (_c *L2GERSyncer_GetRemoveGEREvents_Call) RunAndReturn(run func(context.Context, *common.Hash, uint32) ([]*l2gersync.RemoveGEREvent, error)) *L2GERSyncer_GetRemoveGEREvents_Call