Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: ./chains/evm/client/client.go
Generated by this command:
mockgen -destination=./mock/client.go -source=./chains/evm/client/client.go -package mock
Package mock is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: ./chains/evm/listener/listener.go
Generated by this command:
mockgen -source=./chains/evm/listener/listener.go -destination=./mock/evmListener.go -package mock
Package mock is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: ./chains/evm/transactor/gas/gas-pricer.go
Generated by this command:
mockgen -destination=./mock/gas.go -source=./chains/evm/transactor/gas/gas-pricer.go -package mock
Package mock is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: ./relayer/message/handler.go
Generated by this command:
mockgen -source=./relayer/message/handler.go -destination=./mock/message.go -package mock
Package mock is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: chains/evm/transactor/monitored/monitored.go
Generated by this command:
mockgen -source=chains/evm/transactor/monitored/monitored.go -destination=./mock/monitored.go -package mock
Package mock is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: ./relayer/relayer.go
Generated by this command:
mockgen -destination=./mock/relayer.go -source=./relayer/relayer.go -package mock
Package mock is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: ./store/store.go
Generated by this command:
mockgen -source=./store/store.go -destination=./mock/store.go -package mock
Package mock is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: github.com/sygmaprotocol/sygma-core/chains/substrate/listener (interfaces: ChainConnection)
Generated by this command:
mockgen -destination=./mock/substrateListener.go -package mock github.com/sygmaprotocol/sygma-core/chains/substrate/listener ChainConnection
Package mock is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: chains/evm/transactor/transact.go
Generated by this command:
mockgen -source=chains/evm/transactor/transact.go -destination=./mock/transact.go -package mock
Package mock is a generated GoMock package.
Index ¶
- type MockBlockDeltaMeter
- type MockBlockDeltaMeterMockRecorder
- type MockBlockStorer
- type MockBlockStorerMockRecorder
- type MockChainClient
- type MockChainClientMockRecorder
- type MockChainConnection
- type MockChainConnectionMockRecorder
- type MockClient
- func (m *MockClient) CallContract(ctx context.Context, callArgs map[string]any, blockNumber *big.Int) ([]byte, error)
- func (m *MockClient) CodeAt(ctx context.Context, contract common.Address, blockNumber *big.Int) ([]byte, error)
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) From() common.Address
- func (m *MockClient) GetTransactionByHash(h common.Hash) (*types.Transaction, bool, error)
- func (m *MockClient) LockNonce()
- func (m *MockClient) SignAndSendTransaction(ctx context.Context, tx client.CommonTransaction) (common.Hash, error)
- func (m *MockClient) TransactionReceipt(ctx context.Context, txHash common.Hash) (*types.Receipt, error)
- func (m *MockClient) UnlockNonce()
- func (m *MockClient) UnsafeIncreaseNonce() error
- func (m *MockClient) UnsafeNonce() (*big.Int, error)
- func (m *MockClient) WaitAndReturnTxReceipt(h common.Hash) (*types.Receipt, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) CallContract(ctx, callArgs, blockNumber any) *gomock.Call
- func (mr *MockClientMockRecorder) CodeAt(ctx, contract, blockNumber any) *gomock.Call
- func (mr *MockClientMockRecorder) From() *gomock.Call
- func (mr *MockClientMockRecorder) GetTransactionByHash(h any) *gomock.Call
- func (mr *MockClientMockRecorder) LockNonce() *gomock.Call
- func (mr *MockClientMockRecorder) SignAndSendTransaction(ctx, tx any) *gomock.Call
- func (mr *MockClientMockRecorder) TransactionReceipt(ctx, txHash any) *gomock.Call
- func (mr *MockClientMockRecorder) UnlockNonce() *gomock.Call
- func (mr *MockClientMockRecorder) UnsafeIncreaseNonce() *gomock.Call
- func (mr *MockClientMockRecorder) UnsafeNonce() *gomock.Call
- func (mr *MockClientMockRecorder) WaitAndReturnTxReceipt(h any) *gomock.Call
- type MockCommonTransaction
- type MockCommonTransactionMockRecorder
- type MockContractCaller
- func (m *MockContractCaller) CallContract(ctx context.Context, callArgs map[string]any, blockNumber *big.Int) ([]byte, error)
- func (m *MockContractCaller) CodeAt(ctx context.Context, contract common.Address, blockNumber *big.Int) ([]byte, error)
- func (m *MockContractCaller) EXPECT() *MockContractCallerMockRecorder
- type MockContractCallerMockRecorder
- type MockEventHandler
- type MockEventHandlerMockRecorder
- type MockGasPriceClient
- type MockGasPriceClientMockRecorder
- type MockGasPricer
- type MockGasPricerMockRecorder
- type MockGasTracker
- type MockGasTrackerMockRecorder
- type MockHandler
- type MockHandlerMockRecorder
- type MockKeyValueReader
- type MockKeyValueReaderMockRecorder
- type MockKeyValueReaderWriter
- type MockKeyValueReaderWriterMockRecorder
- type MockKeyValueWriter
- type MockKeyValueWriterMockRecorder
- type MockLondonGasClient
- func (m *MockLondonGasClient) BaseFee() (*big.Int, error)
- func (m *MockLondonGasClient) EXPECT() *MockLondonGasClientMockRecorder
- func (m *MockLondonGasClient) SuggestGasPrice(ctx context.Context) (*big.Int, error)
- func (m *MockLondonGasClient) SuggestGasTipCap(ctx context.Context) (*big.Int, error)
- type MockLondonGasClientMockRecorder
- type MockMessageTracker
- type MockMessageTrackerMockRecorder
- type MockRelayedChain
- func (m *MockRelayedChain) DomainID() uint8
- func (m *MockRelayedChain) EXPECT() *MockRelayedChainMockRecorder
- func (m *MockRelayedChain) PollEvents(ctx context.Context)
- func (m_2 *MockRelayedChain) ReceiveMessage(m *message.Message) (*proposal.Proposal, error)
- func (m *MockRelayedChain) Write(proposals []*proposal.Proposal) error
- type MockRelayedChainMockRecorder
- type MockSigner
- type MockSignerMockRecorder
- type MockTransactionDispatcher
- func (m *MockTransactionDispatcher) EXPECT() *MockTransactionDispatcherMockRecorder
- func (m *MockTransactionDispatcher) From() common.Address
- func (m *MockTransactionDispatcher) GetTransactionByHash(h common.Hash) (*types.Transaction, bool, error)
- func (m *MockTransactionDispatcher) LockNonce()
- func (m *MockTransactionDispatcher) SignAndSendTransaction(ctx context.Context, tx client.CommonTransaction) (common.Hash, error)
- func (m *MockTransactionDispatcher) TransactionReceipt(ctx context.Context, txHash common.Hash) (*types.Receipt, error)
- func (m *MockTransactionDispatcher) UnlockNonce()
- func (m *MockTransactionDispatcher) UnsafeIncreaseNonce() error
- func (m *MockTransactionDispatcher) UnsafeNonce() (*big.Int, error)
- func (m *MockTransactionDispatcher) WaitAndReturnTxReceipt(h common.Hash) (*types.Receipt, error)
- type MockTransactionDispatcherMockRecorder
- func (mr *MockTransactionDispatcherMockRecorder) From() *gomock.Call
- func (mr *MockTransactionDispatcherMockRecorder) GetTransactionByHash(h any) *gomock.Call
- func (mr *MockTransactionDispatcherMockRecorder) LockNonce() *gomock.Call
- func (mr *MockTransactionDispatcherMockRecorder) SignAndSendTransaction(ctx, tx any) *gomock.Call
- func (mr *MockTransactionDispatcherMockRecorder) TransactionReceipt(ctx, txHash any) *gomock.Call
- func (mr *MockTransactionDispatcherMockRecorder) UnlockNonce() *gomock.Call
- func (mr *MockTransactionDispatcherMockRecorder) UnsafeIncreaseNonce() *gomock.Call
- func (mr *MockTransactionDispatcherMockRecorder) UnsafeNonce() *gomock.Call
- func (mr *MockTransactionDispatcherMockRecorder) WaitAndReturnTxReceipt(h any) *gomock.Call
- type MockTransactor
- type MockTransactorMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBlockDeltaMeter ¶
type MockBlockDeltaMeter struct {
// contains filtered or unexported fields
}
MockBlockDeltaMeter is a mock of BlockDeltaMeter interface.
func NewMockBlockDeltaMeter ¶
func NewMockBlockDeltaMeter(ctrl *gomock.Controller) *MockBlockDeltaMeter
NewMockBlockDeltaMeter creates a new mock instance.
func (*MockBlockDeltaMeter) EXPECT ¶
func (m *MockBlockDeltaMeter) EXPECT() *MockBlockDeltaMeterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBlockDeltaMeter) TrackBlockDelta ¶
func (m *MockBlockDeltaMeter) TrackBlockDelta(domainID uint8, head, current *big.Int)
TrackBlockDelta mocks base method.
type MockBlockDeltaMeterMockRecorder ¶
type MockBlockDeltaMeterMockRecorder struct {
// contains filtered or unexported fields
}
MockBlockDeltaMeterMockRecorder is the mock recorder for MockBlockDeltaMeter.
func (*MockBlockDeltaMeterMockRecorder) TrackBlockDelta ¶
func (mr *MockBlockDeltaMeterMockRecorder) TrackBlockDelta(domainID, head, current any) *gomock.Call
TrackBlockDelta indicates an expected call of TrackBlockDelta.
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(block *big.Int, domainID uint8) 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(block, domainID any) *gomock.Call
StoreBlock indicates an expected call of StoreBlock.
type MockChainClient ¶
type MockChainClient struct {
// contains filtered or unexported fields
}
MockChainClient is a mock of ChainClient interface.
func NewMockChainClient ¶
func NewMockChainClient(ctrl *gomock.Controller) *MockChainClient
NewMockChainClient creates a new mock instance.
func (*MockChainClient) EXPECT ¶
func (m *MockChainClient) EXPECT() *MockChainClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockChainClient) LatestBlock ¶
func (m *MockChainClient) LatestBlock() (*big.Int, error)
LatestBlock mocks base method.
type MockChainClientMockRecorder ¶
type MockChainClientMockRecorder struct {
// contains filtered or unexported fields
}
MockChainClientMockRecorder is the mock recorder for MockChainClient.
func (*MockChainClientMockRecorder) LatestBlock ¶
func (mr *MockChainClientMockRecorder) LatestBlock() *gomock.Call
LatestBlock indicates an expected call of LatestBlock.
type MockChainConnection ¶
type MockChainConnection struct {
// contains filtered or unexported fields
}
MockChainConnection is a mock of ChainConnection interface.
func NewMockChainConnection ¶
func NewMockChainConnection(ctrl *gomock.Controller) *MockChainConnection
NewMockChainConnection creates a new mock instance.
func (*MockChainConnection) EXPECT ¶
func (m *MockChainConnection) EXPECT() *MockChainConnectionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockChainConnection) GetBlock ¶
func (m *MockChainConnection) GetBlock(arg0 types.Hash) (*types.SignedBlock, error)
GetBlock mocks base method.
func (*MockChainConnection) GetFinalizedHead ¶
func (m *MockChainConnection) GetFinalizedHead() (types.Hash, error)
GetFinalizedHead mocks base method.
type MockChainConnectionMockRecorder ¶
type MockChainConnectionMockRecorder struct {
// contains filtered or unexported fields
}
MockChainConnectionMockRecorder is the mock recorder for MockChainConnection.
func (*MockChainConnectionMockRecorder) GetBlock ¶
func (mr *MockChainConnectionMockRecorder) GetBlock(arg0 any) *gomock.Call
GetBlock indicates an expected call of GetBlock.
func (*MockChainConnectionMockRecorder) GetFinalizedHead ¶
func (mr *MockChainConnectionMockRecorder) GetFinalizedHead() *gomock.Call
GetFinalizedHead indicates an expected call of GetFinalizedHead.
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface.
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance.
func (*MockClient) CallContract ¶
func (m *MockClient) CallContract(ctx context.Context, callArgs map[string]any, blockNumber *big.Int) ([]byte, error)
CallContract mocks base method.
func (*MockClient) CodeAt ¶
func (m *MockClient) CodeAt(ctx context.Context, contract common.Address, blockNumber *big.Int) ([]byte, error)
CodeAt mocks base method.
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClient) GetTransactionByHash ¶
func (m *MockClient) GetTransactionByHash(h common.Hash) (*types.Transaction, bool, error)
GetTransactionByHash mocks base method.
func (*MockClient) SignAndSendTransaction ¶
func (m *MockClient) SignAndSendTransaction(ctx context.Context, tx client.CommonTransaction) (common.Hash, error)
SignAndSendTransaction mocks base method.
func (*MockClient) TransactionReceipt ¶
func (m *MockClient) TransactionReceipt(ctx context.Context, txHash common.Hash) (*types.Receipt, error)
TransactionReceipt mocks base method.
func (*MockClient) UnsafeIncreaseNonce ¶
func (m *MockClient) UnsafeIncreaseNonce() error
UnsafeIncreaseNonce mocks base method.
func (*MockClient) UnsafeNonce ¶
func (m *MockClient) UnsafeNonce() (*big.Int, error)
UnsafeNonce mocks base method.
func (*MockClient) WaitAndReturnTxReceipt ¶
WaitAndReturnTxReceipt mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) CallContract ¶
func (mr *MockClientMockRecorder) CallContract(ctx, callArgs, blockNumber any) *gomock.Call
CallContract indicates an expected call of CallContract.
func (*MockClientMockRecorder) CodeAt ¶
func (mr *MockClientMockRecorder) CodeAt(ctx, contract, blockNumber any) *gomock.Call
CodeAt indicates an expected call of CodeAt.
func (*MockClientMockRecorder) From ¶
func (mr *MockClientMockRecorder) From() *gomock.Call
From indicates an expected call of From.
func (*MockClientMockRecorder) GetTransactionByHash ¶
func (mr *MockClientMockRecorder) GetTransactionByHash(h any) *gomock.Call
GetTransactionByHash indicates an expected call of GetTransactionByHash.
func (*MockClientMockRecorder) LockNonce ¶
func (mr *MockClientMockRecorder) LockNonce() *gomock.Call
LockNonce indicates an expected call of LockNonce.
func (*MockClientMockRecorder) SignAndSendTransaction ¶
func (mr *MockClientMockRecorder) SignAndSendTransaction(ctx, tx any) *gomock.Call
SignAndSendTransaction indicates an expected call of SignAndSendTransaction.
func (*MockClientMockRecorder) TransactionReceipt ¶
func (mr *MockClientMockRecorder) TransactionReceipt(ctx, txHash any) *gomock.Call
TransactionReceipt indicates an expected call of TransactionReceipt.
func (*MockClientMockRecorder) UnlockNonce ¶
func (mr *MockClientMockRecorder) UnlockNonce() *gomock.Call
UnlockNonce indicates an expected call of UnlockNonce.
func (*MockClientMockRecorder) UnsafeIncreaseNonce ¶
func (mr *MockClientMockRecorder) UnsafeIncreaseNonce() *gomock.Call
UnsafeIncreaseNonce indicates an expected call of UnsafeIncreaseNonce.
func (*MockClientMockRecorder) UnsafeNonce ¶
func (mr *MockClientMockRecorder) UnsafeNonce() *gomock.Call
UnsafeNonce indicates an expected call of UnsafeNonce.
func (*MockClientMockRecorder) WaitAndReturnTxReceipt ¶
func (mr *MockClientMockRecorder) WaitAndReturnTxReceipt(h any) *gomock.Call
WaitAndReturnTxReceipt indicates an expected call of WaitAndReturnTxReceipt.
type MockCommonTransaction ¶
type MockCommonTransaction struct {
// contains filtered or unexported fields
}
MockCommonTransaction is a mock of CommonTransaction interface.
func NewMockCommonTransaction ¶
func NewMockCommonTransaction(ctrl *gomock.Controller) *MockCommonTransaction
NewMockCommonTransaction creates a new mock instance.
func (*MockCommonTransaction) EXPECT ¶
func (m *MockCommonTransaction) EXPECT() *MockCommonTransactionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCommonTransaction) Hash ¶
func (m *MockCommonTransaction) Hash() common.Hash
Hash mocks base method.
func (*MockCommonTransaction) RawWithSignature ¶
func (m *MockCommonTransaction) RawWithSignature(signer client.Signer, domainID *big.Int) ([]byte, error)
RawWithSignature mocks base method.
type MockCommonTransactionMockRecorder ¶
type MockCommonTransactionMockRecorder struct {
// contains filtered or unexported fields
}
MockCommonTransactionMockRecorder is the mock recorder for MockCommonTransaction.
func (*MockCommonTransactionMockRecorder) Hash ¶
func (mr *MockCommonTransactionMockRecorder) Hash() *gomock.Call
Hash indicates an expected call of Hash.
func (*MockCommonTransactionMockRecorder) RawWithSignature ¶
func (mr *MockCommonTransactionMockRecorder) RawWithSignature(signer, domainID any) *gomock.Call
RawWithSignature indicates an expected call of RawWithSignature.
type MockContractCaller ¶
type MockContractCaller struct {
// contains filtered or unexported fields
}
MockContractCaller is a mock of ContractCaller interface.
func NewMockContractCaller ¶
func NewMockContractCaller(ctrl *gomock.Controller) *MockContractCaller
NewMockContractCaller creates a new mock instance.
func (*MockContractCaller) CallContract ¶
func (m *MockContractCaller) CallContract(ctx context.Context, callArgs map[string]any, blockNumber *big.Int) ([]byte, error)
CallContract mocks base method.
func (*MockContractCaller) CodeAt ¶
func (m *MockContractCaller) CodeAt(ctx context.Context, contract common.Address, blockNumber *big.Int) ([]byte, error)
CodeAt mocks base method.
func (*MockContractCaller) EXPECT ¶
func (m *MockContractCaller) EXPECT() *MockContractCallerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockContractCallerMockRecorder ¶
type MockContractCallerMockRecorder struct {
// contains filtered or unexported fields
}
MockContractCallerMockRecorder is the mock recorder for MockContractCaller.
func (*MockContractCallerMockRecorder) CallContract ¶
func (mr *MockContractCallerMockRecorder) CallContract(ctx, callArgs, blockNumber any) *gomock.Call
CallContract indicates an expected call of CallContract.
type MockEventHandler ¶
type MockEventHandler struct {
// contains filtered or unexported fields
}
MockEventHandler is a mock of EventHandler interface.
func NewMockEventHandler ¶
func NewMockEventHandler(ctrl *gomock.Controller) *MockEventHandler
NewMockEventHandler creates a new mock instance.
func (*MockEventHandler) EXPECT ¶
func (m *MockEventHandler) EXPECT() *MockEventHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEventHandler) HandleEvents ¶
func (m *MockEventHandler) HandleEvents(startBlock, endBlock *big.Int) error
HandleEvents mocks base method.
type MockEventHandlerMockRecorder ¶
type MockEventHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockEventHandlerMockRecorder is the mock recorder for MockEventHandler.
func (*MockEventHandlerMockRecorder) HandleEvents ¶
func (mr *MockEventHandlerMockRecorder) HandleEvents(startBlock, endBlock any) *gomock.Call
HandleEvents indicates an expected call of HandleEvents.
type MockGasPriceClient ¶
type MockGasPriceClient struct {
// contains filtered or unexported fields
}
MockGasPriceClient is a mock of GasPriceClient interface.
func NewMockGasPriceClient ¶
func NewMockGasPriceClient(ctrl *gomock.Controller) *MockGasPriceClient
NewMockGasPriceClient creates a new mock instance.
func (*MockGasPriceClient) EXPECT ¶
func (m *MockGasPriceClient) EXPECT() *MockGasPriceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGasPriceClient) SuggestGasPrice ¶
SuggestGasPrice mocks base method.
type MockGasPriceClientMockRecorder ¶
type MockGasPriceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockGasPriceClientMockRecorder is the mock recorder for MockGasPriceClient.
func (*MockGasPriceClientMockRecorder) SuggestGasPrice ¶
func (mr *MockGasPriceClientMockRecorder) SuggestGasPrice(ctx any) *gomock.Call
SuggestGasPrice indicates an expected call of SuggestGasPrice.
type MockGasPricer ¶
type MockGasPricer struct {
// contains filtered or unexported fields
}
MockGasPricer is a mock of GasPricer interface.
func NewMockGasPricer ¶
func NewMockGasPricer(ctrl *gomock.Controller) *MockGasPricer
NewMockGasPricer creates a new mock instance.
func (*MockGasPricer) EXPECT ¶
func (m *MockGasPricer) EXPECT() *MockGasPricerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockGasPricerMockRecorder ¶
type MockGasPricerMockRecorder struct {
// contains filtered or unexported fields
}
MockGasPricerMockRecorder is the mock recorder for MockGasPricer.
type MockGasTracker ¶
type MockGasTracker struct {
// contains filtered or unexported fields
}
MockGasTracker is a mock of GasTracker interface.
func NewMockGasTracker ¶
func NewMockGasTracker(ctrl *gomock.Controller) *MockGasTracker
NewMockGasTracker creates a new mock instance.
func (*MockGasTracker) EXPECT ¶
func (m *MockGasTracker) EXPECT() *MockGasTrackerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGasTracker) TrackGasUsage ¶
func (m *MockGasTracker) TrackGasUsage(domainID uint8, gasUsed uint64, gasPrice *big.Int)
TrackGasUsage mocks base method.
type MockGasTrackerMockRecorder ¶
type MockGasTrackerMockRecorder struct {
// contains filtered or unexported fields
}
MockGasTrackerMockRecorder is the mock recorder for MockGasTracker.
func (*MockGasTrackerMockRecorder) TrackGasUsage ¶
func (mr *MockGasTrackerMockRecorder) TrackGasUsage(domainID, gasUsed, gasPrice any) *gomock.Call
TrackGasUsage indicates an expected call of TrackGasUsage.
type MockHandler ¶
type MockHandler struct {
// contains filtered or unexported fields
}
MockHandler is a mock of Handler interface.
func NewMockHandler ¶
func NewMockHandler(ctrl *gomock.Controller) *MockHandler
NewMockHandler creates a new mock instance.
func (*MockHandler) EXPECT ¶
func (m *MockHandler) EXPECT() *MockHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockHandler) HandleMessage ¶
HandleMessage mocks base method.
type MockHandlerMockRecorder ¶
type MockHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockHandlerMockRecorder is the mock recorder for MockHandler.
func (*MockHandlerMockRecorder) HandleMessage ¶
func (mr *MockHandlerMockRecorder) HandleMessage(m any) *gomock.Call
HandleMessage indicates an expected call of HandleMessage.
type MockKeyValueReader ¶
type MockKeyValueReader struct {
// contains filtered or unexported fields
}
MockKeyValueReader is a mock of KeyValueReader interface.
func NewMockKeyValueReader ¶
func NewMockKeyValueReader(ctrl *gomock.Controller) *MockKeyValueReader
NewMockKeyValueReader creates a new mock instance.
func (*MockKeyValueReader) EXPECT ¶
func (m *MockKeyValueReader) EXPECT() *MockKeyValueReaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockKeyValueReaderMockRecorder ¶
type MockKeyValueReaderMockRecorder struct {
// contains filtered or unexported fields
}
MockKeyValueReaderMockRecorder is the mock recorder for MockKeyValueReader.
type MockKeyValueReaderWriter ¶
type MockKeyValueReaderWriter struct {
// contains filtered or unexported fields
}
MockKeyValueReaderWriter is a mock of KeyValueReaderWriter interface.
func NewMockKeyValueReaderWriter ¶
func NewMockKeyValueReaderWriter(ctrl *gomock.Controller) *MockKeyValueReaderWriter
NewMockKeyValueReaderWriter creates a new mock instance.
func (*MockKeyValueReaderWriter) EXPECT ¶
func (m *MockKeyValueReaderWriter) EXPECT() *MockKeyValueReaderWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockKeyValueReaderWriter) GetByKey ¶
func (m *MockKeyValueReaderWriter) GetByKey(key []byte) ([]byte, error)
GetByKey mocks base method.
func (*MockKeyValueReaderWriter) SetByKey ¶
func (m *MockKeyValueReaderWriter) SetByKey(key, value []byte) error
SetByKey mocks base method.
type MockKeyValueReaderWriterMockRecorder ¶
type MockKeyValueReaderWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockKeyValueReaderWriterMockRecorder is the mock recorder for MockKeyValueReaderWriter.
type MockKeyValueWriter ¶
type MockKeyValueWriter struct {
// contains filtered or unexported fields
}
MockKeyValueWriter is a mock of KeyValueWriter interface.
func NewMockKeyValueWriter ¶
func NewMockKeyValueWriter(ctrl *gomock.Controller) *MockKeyValueWriter
NewMockKeyValueWriter creates a new mock instance.
func (*MockKeyValueWriter) EXPECT ¶
func (m *MockKeyValueWriter) EXPECT() *MockKeyValueWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockKeyValueWriter) SetByKey ¶
func (m *MockKeyValueWriter) SetByKey(key, value []byte) error
SetByKey mocks base method.
type MockKeyValueWriterMockRecorder ¶
type MockKeyValueWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockKeyValueWriterMockRecorder is the mock recorder for MockKeyValueWriter.
type MockLondonGasClient ¶
type MockLondonGasClient struct {
// contains filtered or unexported fields
}
MockLondonGasClient is a mock of LondonGasClient interface.
func NewMockLondonGasClient ¶
func NewMockLondonGasClient(ctrl *gomock.Controller) *MockLondonGasClient
NewMockLondonGasClient creates a new mock instance.
func (*MockLondonGasClient) BaseFee ¶
func (m *MockLondonGasClient) BaseFee() (*big.Int, error)
BaseFee mocks base method.
func (*MockLondonGasClient) EXPECT ¶
func (m *MockLondonGasClient) EXPECT() *MockLondonGasClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLondonGasClient) SuggestGasPrice ¶
SuggestGasPrice mocks base method.
func (*MockLondonGasClient) SuggestGasTipCap ¶
SuggestGasTipCap mocks base method.
type MockLondonGasClientMockRecorder ¶
type MockLondonGasClientMockRecorder struct {
// contains filtered or unexported fields
}
MockLondonGasClientMockRecorder is the mock recorder for MockLondonGasClient.
func (*MockLondonGasClientMockRecorder) BaseFee ¶
func (mr *MockLondonGasClientMockRecorder) BaseFee() *gomock.Call
BaseFee indicates an expected call of BaseFee.
func (*MockLondonGasClientMockRecorder) SuggestGasPrice ¶
func (mr *MockLondonGasClientMockRecorder) SuggestGasPrice(ctx any) *gomock.Call
SuggestGasPrice indicates an expected call of SuggestGasPrice.
func (*MockLondonGasClientMockRecorder) SuggestGasTipCap ¶
func (mr *MockLondonGasClientMockRecorder) SuggestGasTipCap(ctx any) *gomock.Call
SuggestGasTipCap indicates an expected call of SuggestGasTipCap.
type MockMessageTracker ¶
type MockMessageTracker struct {
// contains filtered or unexported fields
}
MockMessageTracker is a mock of MessageTracker interface.
func NewMockMessageTracker ¶
func NewMockMessageTracker(ctrl *gomock.Controller) *MockMessageTracker
NewMockMessageTracker creates a new mock instance.
func (*MockMessageTracker) EXPECT ¶
func (m *MockMessageTracker) EXPECT() *MockMessageTrackerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMessageTracker) TrackMessages ¶
func (m *MockMessageTracker) TrackMessages(msgs []*message.Message, status message.MessageStatus)
TrackMessages mocks base method.
type MockMessageTrackerMockRecorder ¶
type MockMessageTrackerMockRecorder struct {
// contains filtered or unexported fields
}
MockMessageTrackerMockRecorder is the mock recorder for MockMessageTracker.
func (*MockMessageTrackerMockRecorder) TrackMessages ¶
func (mr *MockMessageTrackerMockRecorder) TrackMessages(msgs, status any) *gomock.Call
TrackMessages indicates an expected call of TrackMessages.
type MockRelayedChain ¶
type MockRelayedChain struct {
// contains filtered or unexported fields
}
MockRelayedChain is a mock of RelayedChain interface.
func NewMockRelayedChain ¶
func NewMockRelayedChain(ctrl *gomock.Controller) *MockRelayedChain
NewMockRelayedChain creates a new mock instance.
func (*MockRelayedChain) DomainID ¶
func (m *MockRelayedChain) DomainID() uint8
DomainID mocks base method.
func (*MockRelayedChain) EXPECT ¶
func (m *MockRelayedChain) EXPECT() *MockRelayedChainMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRelayedChain) PollEvents ¶
func (m *MockRelayedChain) PollEvents(ctx context.Context)
PollEvents mocks base method.
func (*MockRelayedChain) ReceiveMessage ¶
ReceiveMessage mocks base method.
type MockRelayedChainMockRecorder ¶
type MockRelayedChainMockRecorder struct {
// contains filtered or unexported fields
}
MockRelayedChainMockRecorder is the mock recorder for MockRelayedChain.
func (*MockRelayedChainMockRecorder) DomainID ¶
func (mr *MockRelayedChainMockRecorder) DomainID() *gomock.Call
DomainID indicates an expected call of DomainID.
func (*MockRelayedChainMockRecorder) PollEvents ¶
func (mr *MockRelayedChainMockRecorder) PollEvents(ctx any) *gomock.Call
PollEvents indicates an expected call of PollEvents.
func (*MockRelayedChainMockRecorder) ReceiveMessage ¶
func (mr *MockRelayedChainMockRecorder) ReceiveMessage(m any) *gomock.Call
ReceiveMessage indicates an expected call of ReceiveMessage.
type MockSigner ¶
type MockSigner struct {
// contains filtered or unexported fields
}
MockSigner is a mock of Signer interface.
func NewMockSigner ¶
func NewMockSigner(ctrl *gomock.Controller) *MockSigner
NewMockSigner creates a new mock instance.
func (*MockSigner) CommonAddress ¶
func (m *MockSigner) CommonAddress() common.Address
CommonAddress mocks base method.
func (*MockSigner) EXPECT ¶
func (m *MockSigner) EXPECT() *MockSignerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockSignerMockRecorder ¶
type MockSignerMockRecorder struct {
// contains filtered or unexported fields
}
MockSignerMockRecorder is the mock recorder for MockSigner.
func (*MockSignerMockRecorder) CommonAddress ¶
func (mr *MockSignerMockRecorder) CommonAddress() *gomock.Call
CommonAddress indicates an expected call of CommonAddress.
type MockTransactionDispatcher ¶
type MockTransactionDispatcher struct {
// contains filtered or unexported fields
}
MockTransactionDispatcher is a mock of TransactionDispatcher interface.
func NewMockTransactionDispatcher ¶
func NewMockTransactionDispatcher(ctrl *gomock.Controller) *MockTransactionDispatcher
NewMockTransactionDispatcher creates a new mock instance.
func (*MockTransactionDispatcher) EXPECT ¶
func (m *MockTransactionDispatcher) EXPECT() *MockTransactionDispatcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTransactionDispatcher) From ¶
func (m *MockTransactionDispatcher) From() common.Address
From mocks base method.
func (*MockTransactionDispatcher) GetTransactionByHash ¶
func (m *MockTransactionDispatcher) GetTransactionByHash(h common.Hash) (*types.Transaction, bool, error)
GetTransactionByHash mocks base method.
func (*MockTransactionDispatcher) LockNonce ¶
func (m *MockTransactionDispatcher) LockNonce()
LockNonce mocks base method.
func (*MockTransactionDispatcher) SignAndSendTransaction ¶
func (m *MockTransactionDispatcher) SignAndSendTransaction(ctx context.Context, tx client.CommonTransaction) (common.Hash, error)
SignAndSendTransaction mocks base method.
func (*MockTransactionDispatcher) TransactionReceipt ¶
func (m *MockTransactionDispatcher) TransactionReceipt(ctx context.Context, txHash common.Hash) (*types.Receipt, error)
TransactionReceipt mocks base method.
func (*MockTransactionDispatcher) UnlockNonce ¶
func (m *MockTransactionDispatcher) UnlockNonce()
UnlockNonce mocks base method.
func (*MockTransactionDispatcher) UnsafeIncreaseNonce ¶
func (m *MockTransactionDispatcher) UnsafeIncreaseNonce() error
UnsafeIncreaseNonce mocks base method.
func (*MockTransactionDispatcher) UnsafeNonce ¶
func (m *MockTransactionDispatcher) UnsafeNonce() (*big.Int, error)
UnsafeNonce mocks base method.
func (*MockTransactionDispatcher) WaitAndReturnTxReceipt ¶
WaitAndReturnTxReceipt mocks base method.
type MockTransactionDispatcherMockRecorder ¶
type MockTransactionDispatcherMockRecorder struct {
// contains filtered or unexported fields
}
MockTransactionDispatcherMockRecorder is the mock recorder for MockTransactionDispatcher.
func (*MockTransactionDispatcherMockRecorder) From ¶
func (mr *MockTransactionDispatcherMockRecorder) From() *gomock.Call
From indicates an expected call of From.
func (*MockTransactionDispatcherMockRecorder) GetTransactionByHash ¶
func (mr *MockTransactionDispatcherMockRecorder) GetTransactionByHash(h any) *gomock.Call
GetTransactionByHash indicates an expected call of GetTransactionByHash.
func (*MockTransactionDispatcherMockRecorder) LockNonce ¶
func (mr *MockTransactionDispatcherMockRecorder) LockNonce() *gomock.Call
LockNonce indicates an expected call of LockNonce.
func (*MockTransactionDispatcherMockRecorder) SignAndSendTransaction ¶
func (mr *MockTransactionDispatcherMockRecorder) SignAndSendTransaction(ctx, tx any) *gomock.Call
SignAndSendTransaction indicates an expected call of SignAndSendTransaction.
func (*MockTransactionDispatcherMockRecorder) TransactionReceipt ¶
func (mr *MockTransactionDispatcherMockRecorder) TransactionReceipt(ctx, txHash any) *gomock.Call
TransactionReceipt indicates an expected call of TransactionReceipt.
func (*MockTransactionDispatcherMockRecorder) UnlockNonce ¶
func (mr *MockTransactionDispatcherMockRecorder) UnlockNonce() *gomock.Call
UnlockNonce indicates an expected call of UnlockNonce.
func (*MockTransactionDispatcherMockRecorder) UnsafeIncreaseNonce ¶
func (mr *MockTransactionDispatcherMockRecorder) UnsafeIncreaseNonce() *gomock.Call
UnsafeIncreaseNonce indicates an expected call of UnsafeIncreaseNonce.
func (*MockTransactionDispatcherMockRecorder) UnsafeNonce ¶
func (mr *MockTransactionDispatcherMockRecorder) UnsafeNonce() *gomock.Call
UnsafeNonce indicates an expected call of UnsafeNonce.
func (*MockTransactionDispatcherMockRecorder) WaitAndReturnTxReceipt ¶
func (mr *MockTransactionDispatcherMockRecorder) WaitAndReturnTxReceipt(h any) *gomock.Call
WaitAndReturnTxReceipt indicates an expected call of WaitAndReturnTxReceipt.
type MockTransactor ¶
type MockTransactor struct {
// contains filtered or unexported fields
}
MockTransactor is a mock of Transactor interface.
func NewMockTransactor ¶
func NewMockTransactor(ctrl *gomock.Controller) *MockTransactor
NewMockTransactor creates a new mock instance.
func (*MockTransactor) EXPECT ¶
func (m *MockTransactor) EXPECT() *MockTransactorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTransactor) Transact ¶
func (m *MockTransactor) Transact(to *common.Address, data []byte, opts transactor.TransactOptions) (*common.Hash, error)
Transact mocks base method.
type MockTransactorMockRecorder ¶
type MockTransactorMockRecorder struct {
// contains filtered or unexported fields
}
MockTransactorMockRecorder is the mock recorder for MockTransactor.