Documentation ¶
Overview ¶
Package mock_listener is a generated GoMock package.
Package mock_listener is a generated GoMock package.
Index ¶
- type MockBlockstorer
- type MockBlockstorerMockRecorder
- type MockIBridge
- type MockIBridgeMockRecorder
- type MockIERC20Handler
- type MockIERC20HandlerMockRecorder
- type MockIERC721Handler
- type MockIERC721HandlerMockRecorder
- type MockIGenericHandler
- type MockIGenericHandlerMockRecorder
- type MockIRouter
- type MockIRouterMockRecorder
- type MockValidatorsAggregator
- type MockValidatorsAggregatorMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBlockstorer ¶
type MockBlockstorer struct {
// contains filtered or unexported fields
}
MockBlockstorer is a mock of Blockstorer interface.
func NewMockBlockstorer ¶
func NewMockBlockstorer(ctrl *gomock.Controller) *MockBlockstorer
NewMockBlockstorer creates a new mock instance.
func (*MockBlockstorer) EXPECT ¶
func (m *MockBlockstorer) EXPECT() *MockBlockstorerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBlockstorer) StoreBlock ¶
func (m *MockBlockstorer) StoreBlock(arg0 *big.Int) error
StoreBlock mocks base method.
type MockBlockstorerMockRecorder ¶
type MockBlockstorerMockRecorder struct {
// contains filtered or unexported fields
}
MockBlockstorerMockRecorder is the mock recorder for MockBlockstorer.
func (*MockBlockstorerMockRecorder) StoreBlock ¶
func (mr *MockBlockstorerMockRecorder) StoreBlock(arg0 interface{}) *gomock.Call
StoreBlock indicates an expected call of StoreBlock.
type MockIBridge ¶
type MockIBridge struct {
// contains filtered or unexported fields
}
MockIBridge is a mock of IBridge interface
func NewMockIBridge ¶
func NewMockIBridge(ctrl *gomock.Controller) *MockIBridge
NewMockIBridge creates a new mock instance
func (*MockIBridge) EXPECT ¶
func (m *MockIBridge) EXPECT() *MockIBridgeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockIBridge) ResourceIDToHandlerAddress ¶
func (m *MockIBridge) ResourceIDToHandlerAddress(opts *bind.CallOpts, arg0 [32]byte) (common.Address, error)
ResourceIDToHandlerAddress mocks base method
type MockIBridgeMockRecorder ¶
type MockIBridgeMockRecorder struct {
// contains filtered or unexported fields
}
MockIBridgeMockRecorder is the mock recorder for MockIBridge
func (*MockIBridgeMockRecorder) ResourceIDToHandlerAddress ¶
func (mr *MockIBridgeMockRecorder) ResourceIDToHandlerAddress(opts, arg0 interface{}) *gomock.Call
ResourceIDToHandlerAddress indicates an expected call of ResourceIDToHandlerAddress
type MockIERC20Handler ¶
type MockIERC20Handler struct {
// contains filtered or unexported fields
}
MockIERC20Handler is a mock of IERC20Handler interface
func NewMockIERC20Handler ¶
func NewMockIERC20Handler(ctrl *gomock.Controller) *MockIERC20Handler
NewMockIERC20Handler creates a new mock instance
func (*MockIERC20Handler) EXPECT ¶
func (m *MockIERC20Handler) EXPECT() *MockIERC20HandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockIERC20Handler) GetDepositRecord ¶
func (m *MockIERC20Handler) GetDepositRecord(opts *bind.CallOpts, depositNonce uint64, destId uint8) (ERC20Handler.ERC20HandlerDepositRecord, error)
GetDepositRecord mocks base method
type MockIERC20HandlerMockRecorder ¶
type MockIERC20HandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockIERC20HandlerMockRecorder is the mock recorder for MockIERC20Handler
func (*MockIERC20HandlerMockRecorder) GetDepositRecord ¶
func (mr *MockIERC20HandlerMockRecorder) GetDepositRecord(opts, depositNonce, destId interface{}) *gomock.Call
GetDepositRecord indicates an expected call of GetDepositRecord
type MockIERC721Handler ¶
type MockIERC721Handler struct {
// contains filtered or unexported fields
}
MockIERC721Handler is a mock of IERC721Handler interface
func NewMockIERC721Handler ¶
func NewMockIERC721Handler(ctrl *gomock.Controller) *MockIERC721Handler
NewMockIERC721Handler creates a new mock instance
func (*MockIERC721Handler) EXPECT ¶
func (m *MockIERC721Handler) EXPECT() *MockIERC721HandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockIERC721Handler) GetDepositRecord ¶
func (m *MockIERC721Handler) GetDepositRecord(opts *bind.CallOpts, depositNonce uint64, destId uint8) (ERC721Handler.ERC721HandlerDepositRecord, error)
GetDepositRecord mocks base method
type MockIERC721HandlerMockRecorder ¶
type MockIERC721HandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockIERC721HandlerMockRecorder is the mock recorder for MockIERC721Handler
func (*MockIERC721HandlerMockRecorder) GetDepositRecord ¶
func (mr *MockIERC721HandlerMockRecorder) GetDepositRecord(opts, depositNonce, destId interface{}) *gomock.Call
GetDepositRecord indicates an expected call of GetDepositRecord
type MockIGenericHandler ¶
type MockIGenericHandler struct {
// contains filtered or unexported fields
}
MockIGenericHandler is a mock of IGenericHandler interface
func NewMockIGenericHandler ¶
func NewMockIGenericHandler(ctrl *gomock.Controller) *MockIGenericHandler
NewMockIGenericHandler creates a new mock instance
func (*MockIGenericHandler) EXPECT ¶
func (m *MockIGenericHandler) EXPECT() *MockIGenericHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockIGenericHandler) GetDepositRecord ¶
func (m *MockIGenericHandler) GetDepositRecord(opts *bind.CallOpts, depositNonce uint64, destId uint8) (GenericHandler.GenericHandlerDepositRecord, error)
GetDepositRecord mocks base method
type MockIGenericHandlerMockRecorder ¶
type MockIGenericHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockIGenericHandlerMockRecorder is the mock recorder for MockIGenericHandler
func (*MockIGenericHandlerMockRecorder) GetDepositRecord ¶
func (mr *MockIGenericHandlerMockRecorder) GetDepositRecord(opts, depositNonce, destId interface{}) *gomock.Call
GetDepositRecord indicates an expected call of GetDepositRecord
type MockIRouter ¶
type MockIRouter struct {
// contains filtered or unexported fields
}
MockIRouter is a mock of IRouter interface.
func NewMockIRouter ¶
func NewMockIRouter(ctrl *gomock.Controller) *MockIRouter
NewMockIRouter creates a new mock instance.
func (*MockIRouter) EXPECT ¶
func (m *MockIRouter) EXPECT() *MockIRouterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockIRouterMockRecorder ¶
type MockIRouterMockRecorder struct {
// contains filtered or unexported fields
}
MockIRouterMockRecorder is the mock recorder for MockIRouter.
func (*MockIRouterMockRecorder) Send ¶
func (mr *MockIRouterMockRecorder) Send(msg interface{}) *gomock.Call
Send indicates an expected call of Send.
type MockValidatorsAggregator ¶
type MockValidatorsAggregator struct {
// contains filtered or unexported fields
}
MockValidatorsAggregator is a mock of ValidatorsAggregator interface.
func NewMockValidatorsAggregator ¶
func NewMockValidatorsAggregator(ctrl *gomock.Controller) *MockValidatorsAggregator
NewMockValidatorsAggregator creates a new mock instance.
func (*MockValidatorsAggregator) EXPECT ¶
func (m *MockValidatorsAggregator) EXPECT() *MockValidatorsAggregatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockValidatorsAggregator) GetAPKForBlock ¶
func (m *MockValidatorsAggregator) GetAPKForBlock(block *big.Int, chainID uint8, epochSize uint64) ([]byte, error)
GetAPKForBlock mocks base method.
type MockValidatorsAggregatorMockRecorder ¶
type MockValidatorsAggregatorMockRecorder struct {
// contains filtered or unexported fields
}
MockValidatorsAggregatorMockRecorder is the mock recorder for MockValidatorsAggregator.
func (*MockValidatorsAggregatorMockRecorder) GetAPKForBlock ¶
func (mr *MockValidatorsAggregatorMockRecorder) GetAPKForBlock(block, chainID, epochSize interface{}) *gomock.Call
GetAPKForBlock indicates an expected call of GetAPKForBlock.