Documentation ¶
Overview ¶
Package mock_transactor is a generated GoMock package.
Index ¶
- type MockTransactorIface
- func (m *MockTransactorIface) AddSignatureToTransaction(chainID uint64, tx *types.Transaction, sig []byte) (*types.Transaction, error)
- func (m *MockTransactorIface) BuildTransactionWithSignature(chainID uint64, args transactions.SendTxArgs, sig []byte) (*types.Transaction, error)
- func (m *MockTransactorIface) EXPECT() *MockTransactorIfaceMockRecorder
- func (m *MockTransactorIface) EstimateGas(network *params.Network, from, to common.Address, value *big.Int, input []byte) (uint64, error)
- func (m *MockTransactorIface) NextNonce(rpcClient rpc.ClientInterface, chainID uint64, from types0.Address) (uint64, error)
- func (m *MockTransactorIface) SendRawTransaction(chainID uint64, rawTx string) error
- func (m *MockTransactorIface) SendTransaction(sendArgs transactions.SendTxArgs, verifiedAccount *account.SelectedExtKey, ...) (types0.Hash, uint64, error)
- func (m *MockTransactorIface) SendTransactionWithChainID(chainID uint64, sendArgs transactions.SendTxArgs, lastUsedNonce int64, ...) (types0.Hash, uint64, error)
- func (m *MockTransactorIface) SendTransactionWithSignature(from common.Address, symbol string, ...) (types0.Hash, error)
- func (m *MockTransactorIface) StoreAndTrackPendingTx(from common.Address, symbol string, chainID uint64, ...) error
- func (m *MockTransactorIface) ValidateAndBuildTransaction(chainID uint64, sendArgs transactions.SendTxArgs, lastUsedNonce int64) (*types.Transaction, uint64, error)
- type MockTransactorIfaceMockRecorder
- func (mr *MockTransactorIfaceMockRecorder) AddSignatureToTransaction(chainID, tx, sig interface{}) *gomock.Call
- func (mr *MockTransactorIfaceMockRecorder) BuildTransactionWithSignature(chainID, args, sig interface{}) *gomock.Call
- func (mr *MockTransactorIfaceMockRecorder) EstimateGas(network, from, to, value, input interface{}) *gomock.Call
- func (mr *MockTransactorIfaceMockRecorder) NextNonce(rpcClient, chainID, from interface{}) *gomock.Call
- func (mr *MockTransactorIfaceMockRecorder) SendRawTransaction(chainID, rawTx interface{}) *gomock.Call
- func (mr *MockTransactorIfaceMockRecorder) SendTransaction(sendArgs, verifiedAccount, lastUsedNonce interface{}) *gomock.Call
- func (mr *MockTransactorIfaceMockRecorder) SendTransactionWithChainID(chainID, sendArgs, lastUsedNonce, verifiedAccount interface{}) *gomock.Call
- func (mr *MockTransactorIfaceMockRecorder) SendTransactionWithSignature(from, symbol, multiTransactionID, tx interface{}) *gomock.Call
- func (mr *MockTransactorIfaceMockRecorder) StoreAndTrackPendingTx(from, symbol, chainID, multiTransactionID, tx interface{}) *gomock.Call
- func (mr *MockTransactorIfaceMockRecorder) ValidateAndBuildTransaction(chainID, sendArgs, lastUsedNonce interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTransactorIface ¶
type MockTransactorIface struct {
// contains filtered or unexported fields
}
MockTransactorIface is a mock of TransactorIface interface.
func NewMockTransactorIface ¶
func NewMockTransactorIface(ctrl *gomock.Controller) *MockTransactorIface
NewMockTransactorIface creates a new mock instance.
func (*MockTransactorIface) AddSignatureToTransaction ¶
func (m *MockTransactorIface) AddSignatureToTransaction(chainID uint64, tx *types.Transaction, sig []byte) (*types.Transaction, error)
AddSignatureToTransaction mocks base method.
func (*MockTransactorIface) BuildTransactionWithSignature ¶
func (m *MockTransactorIface) BuildTransactionWithSignature(chainID uint64, args transactions.SendTxArgs, sig []byte) (*types.Transaction, error)
BuildTransactionWithSignature mocks base method.
func (*MockTransactorIface) EXPECT ¶
func (m *MockTransactorIface) EXPECT() *MockTransactorIfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTransactorIface) EstimateGas ¶
func (m *MockTransactorIface) EstimateGas(network *params.Network, from, to common.Address, value *big.Int, input []byte) (uint64, error)
EstimateGas mocks base method.
func (*MockTransactorIface) NextNonce ¶
func (m *MockTransactorIface) NextNonce(rpcClient rpc.ClientInterface, chainID uint64, from types0.Address) (uint64, error)
NextNonce mocks base method.
func (*MockTransactorIface) SendRawTransaction ¶
func (m *MockTransactorIface) SendRawTransaction(chainID uint64, rawTx string) error
SendRawTransaction mocks base method.
func (*MockTransactorIface) SendTransaction ¶
func (m *MockTransactorIface) SendTransaction(sendArgs transactions.SendTxArgs, verifiedAccount *account.SelectedExtKey, lastUsedNonce int64) (types0.Hash, uint64, error)
SendTransaction mocks base method.
func (*MockTransactorIface) SendTransactionWithChainID ¶
func (m *MockTransactorIface) SendTransactionWithChainID(chainID uint64, sendArgs transactions.SendTxArgs, lastUsedNonce int64, verifiedAccount *account.SelectedExtKey) (types0.Hash, uint64, error)
SendTransactionWithChainID mocks base method.
func (*MockTransactorIface) SendTransactionWithSignature ¶
func (m *MockTransactorIface) SendTransactionWithSignature(from common.Address, symbol string, multiTransactionID common0.MultiTransactionIDType, tx *types.Transaction) (types0.Hash, error)
SendTransactionWithSignature mocks base method.
func (*MockTransactorIface) StoreAndTrackPendingTx ¶ added in v0.182.36
func (m *MockTransactorIface) StoreAndTrackPendingTx(from common.Address, symbol string, chainID uint64, multiTransactionID common0.MultiTransactionIDType, tx *types.Transaction) error
StoreAndTrackPendingTx mocks base method.
func (*MockTransactorIface) ValidateAndBuildTransaction ¶
func (m *MockTransactorIface) ValidateAndBuildTransaction(chainID uint64, sendArgs transactions.SendTxArgs, lastUsedNonce int64) (*types.Transaction, uint64, error)
ValidateAndBuildTransaction mocks base method.
type MockTransactorIfaceMockRecorder ¶
type MockTransactorIfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockTransactorIfaceMockRecorder is the mock recorder for MockTransactorIface.
func (*MockTransactorIfaceMockRecorder) AddSignatureToTransaction ¶
func (mr *MockTransactorIfaceMockRecorder) AddSignatureToTransaction(chainID, tx, sig interface{}) *gomock.Call
AddSignatureToTransaction indicates an expected call of AddSignatureToTransaction.
func (*MockTransactorIfaceMockRecorder) BuildTransactionWithSignature ¶
func (mr *MockTransactorIfaceMockRecorder) BuildTransactionWithSignature(chainID, args, sig interface{}) *gomock.Call
BuildTransactionWithSignature indicates an expected call of BuildTransactionWithSignature.
func (*MockTransactorIfaceMockRecorder) EstimateGas ¶
func (mr *MockTransactorIfaceMockRecorder) EstimateGas(network, from, to, value, input interface{}) *gomock.Call
EstimateGas indicates an expected call of EstimateGas.
func (*MockTransactorIfaceMockRecorder) NextNonce ¶
func (mr *MockTransactorIfaceMockRecorder) NextNonce(rpcClient, chainID, from interface{}) *gomock.Call
NextNonce indicates an expected call of NextNonce.
func (*MockTransactorIfaceMockRecorder) SendRawTransaction ¶
func (mr *MockTransactorIfaceMockRecorder) SendRawTransaction(chainID, rawTx interface{}) *gomock.Call
SendRawTransaction indicates an expected call of SendRawTransaction.
func (*MockTransactorIfaceMockRecorder) SendTransaction ¶
func (mr *MockTransactorIfaceMockRecorder) SendTransaction(sendArgs, verifiedAccount, lastUsedNonce interface{}) *gomock.Call
SendTransaction indicates an expected call of SendTransaction.
func (*MockTransactorIfaceMockRecorder) SendTransactionWithChainID ¶
func (mr *MockTransactorIfaceMockRecorder) SendTransactionWithChainID(chainID, sendArgs, lastUsedNonce, verifiedAccount interface{}) *gomock.Call
SendTransactionWithChainID indicates an expected call of SendTransactionWithChainID.
func (*MockTransactorIfaceMockRecorder) SendTransactionWithSignature ¶
func (mr *MockTransactorIfaceMockRecorder) SendTransactionWithSignature(from, symbol, multiTransactionID, tx interface{}) *gomock.Call
SendTransactionWithSignature indicates an expected call of SendTransactionWithSignature.
func (*MockTransactorIfaceMockRecorder) StoreAndTrackPendingTx ¶ added in v0.182.36
func (mr *MockTransactorIfaceMockRecorder) StoreAndTrackPendingTx(from, symbol, chainID, multiTransactionID, tx interface{}) *gomock.Call
StoreAndTrackPendingTx indicates an expected call of StoreAndTrackPendingTx.
func (*MockTransactorIfaceMockRecorder) ValidateAndBuildTransaction ¶
func (mr *MockTransactorIfaceMockRecorder) ValidateAndBuildTransaction(chainID, sendArgs, lastUsedNonce interface{}) *gomock.Call
ValidateAndBuildTransaction indicates an expected call of ValidateAndBuildTransaction.