Documentation ¶
Overview ¶
Package mock_calls is a generated GoMock package.
Index ¶
- type MockClientDispatcher
- func (m *MockClientDispatcher) EXPECT() *MockClientDispatcherMockRecorder
- func (m *MockClientDispatcher) From() common.Address
- func (m *MockClientDispatcher) GetTransactionByHash(h common.Hash) (*types.Transaction, bool, error)
- func (m *MockClientDispatcher) LockNonce()
- func (m *MockClientDispatcher) SignAndSendTransaction(ctx context.Context, tx evmclient.CommonTransaction) (common.Hash, error)
- func (m *MockClientDispatcher) TransactionReceipt(ctx context.Context, txHash common.Hash) (*types.Receipt, error)
- func (m *MockClientDispatcher) UnlockNonce()
- func (m *MockClientDispatcher) UnsafeIncreaseNonce() error
- func (m *MockClientDispatcher) UnsafeNonce() (*big.Int, error)
- func (m *MockClientDispatcher) WaitAndReturnTxReceipt(h common.Hash) (*types.Receipt, error)
- type MockClientDispatcherMockRecorder
- func (mr *MockClientDispatcherMockRecorder) From() *gomock.Call
- func (mr *MockClientDispatcherMockRecorder) GetTransactionByHash(h interface{}) *gomock.Call
- func (mr *MockClientDispatcherMockRecorder) LockNonce() *gomock.Call
- func (mr *MockClientDispatcherMockRecorder) SignAndSendTransaction(ctx, tx interface{}) *gomock.Call
- func (mr *MockClientDispatcherMockRecorder) TransactionReceipt(ctx, txHash interface{}) *gomock.Call
- func (mr *MockClientDispatcherMockRecorder) UnlockNonce() *gomock.Call
- func (mr *MockClientDispatcherMockRecorder) UnsafeIncreaseNonce() *gomock.Call
- func (mr *MockClientDispatcherMockRecorder) UnsafeNonce() *gomock.Call
- func (mr *MockClientDispatcherMockRecorder) WaitAndReturnTxReceipt(h interface{}) *gomock.Call
- type MockContractCaller
- type MockContractCallerDispatcher
- func (m *MockContractCallerDispatcher) CallContract(ctx context.Context, callArgs map[string]interface{}, blockNumber *big.Int) ([]byte, error)
- func (m *MockContractCallerDispatcher) CodeAt(ctx context.Context, contract common.Address, blockNumber *big.Int) ([]byte, error)
- func (m *MockContractCallerDispatcher) EXPECT() *MockContractCallerDispatcherMockRecorder
- func (m *MockContractCallerDispatcher) From() common.Address
- func (m *MockContractCallerDispatcher) GetTransactionByHash(h common.Hash) (*types.Transaction, bool, error)
- func (m *MockContractCallerDispatcher) LockNonce()
- func (m *MockContractCallerDispatcher) SignAndSendTransaction(ctx context.Context, tx evmclient.CommonTransaction) (common.Hash, error)
- func (m *MockContractCallerDispatcher) TransactionReceipt(ctx context.Context, txHash common.Hash) (*types.Receipt, error)
- func (m *MockContractCallerDispatcher) UnlockNonce()
- func (m *MockContractCallerDispatcher) UnsafeIncreaseNonce() error
- func (m *MockContractCallerDispatcher) UnsafeNonce() (*big.Int, error)
- func (m *MockContractCallerDispatcher) WaitAndReturnTxReceipt(h common.Hash) (*types.Receipt, error)
- type MockContractCallerDispatcherMockRecorder
- func (mr *MockContractCallerDispatcherMockRecorder) CallContract(ctx, callArgs, blockNumber interface{}) *gomock.Call
- func (mr *MockContractCallerDispatcherMockRecorder) CodeAt(ctx, contract, blockNumber interface{}) *gomock.Call
- func (mr *MockContractCallerDispatcherMockRecorder) From() *gomock.Call
- func (mr *MockContractCallerDispatcherMockRecorder) GetTransactionByHash(h interface{}) *gomock.Call
- func (mr *MockContractCallerDispatcherMockRecorder) LockNonce() *gomock.Call
- func (mr *MockContractCallerDispatcherMockRecorder) SignAndSendTransaction(ctx, tx interface{}) *gomock.Call
- func (mr *MockContractCallerDispatcherMockRecorder) TransactionReceipt(ctx, txHash interface{}) *gomock.Call
- func (mr *MockContractCallerDispatcherMockRecorder) UnlockNonce() *gomock.Call
- func (mr *MockContractCallerDispatcherMockRecorder) UnsafeIncreaseNonce() *gomock.Call
- func (mr *MockContractCallerDispatcherMockRecorder) UnsafeNonce() *gomock.Call
- func (mr *MockContractCallerDispatcherMockRecorder) WaitAndReturnTxReceipt(h interface{}) *gomock.Call
- type MockContractCallerMockRecorder
- type MockContractChecker
- type MockContractCheckerMockRecorder
- type MockGasPricer
- type MockGasPricerMockRecorder
- type MockSimulateCaller
- func (m *MockSimulateCaller) CallContract(ctx context.Context, callArgs map[string]interface{}, blockNumber *big.Int) ([]byte, error)
- func (m *MockSimulateCaller) EXPECT() *MockSimulateCallerMockRecorder
- func (m *MockSimulateCaller) TransactionByHash(ctx context.Context, hash common.Hash) (*types.Transaction, bool, error)
- type MockSimulateCallerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClientDispatcher ¶
type MockClientDispatcher struct {
// contains filtered or unexported fields
}
MockClientDispatcher is a mock of ClientDispatcher interface.
func NewMockClientDispatcher ¶
func NewMockClientDispatcher(ctrl *gomock.Controller) *MockClientDispatcher
NewMockClientDispatcher creates a new mock instance.
func (*MockClientDispatcher) EXPECT ¶
func (m *MockClientDispatcher) EXPECT() *MockClientDispatcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClientDispatcher) From ¶
func (m *MockClientDispatcher) From() common.Address
From mocks base method.
func (*MockClientDispatcher) GetTransactionByHash ¶
func (m *MockClientDispatcher) GetTransactionByHash(h common.Hash) (*types.Transaction, bool, error)
GetTransactionByHash mocks base method.
func (*MockClientDispatcher) LockNonce ¶
func (m *MockClientDispatcher) LockNonce()
LockNonce mocks base method.
func (*MockClientDispatcher) SignAndSendTransaction ¶
func (m *MockClientDispatcher) SignAndSendTransaction(ctx context.Context, tx evmclient.CommonTransaction) (common.Hash, error)
SignAndSendTransaction mocks base method.
func (*MockClientDispatcher) TransactionReceipt ¶ added in v1.3.0
func (m *MockClientDispatcher) TransactionReceipt(ctx context.Context, txHash common.Hash) (*types.Receipt, error)
TransactionReceipt mocks base method.
func (*MockClientDispatcher) UnlockNonce ¶
func (m *MockClientDispatcher) UnlockNonce()
UnlockNonce mocks base method.
func (*MockClientDispatcher) UnsafeIncreaseNonce ¶
func (m *MockClientDispatcher) UnsafeIncreaseNonce() error
UnsafeIncreaseNonce mocks base method.
func (*MockClientDispatcher) UnsafeNonce ¶
func (m *MockClientDispatcher) UnsafeNonce() (*big.Int, error)
UnsafeNonce mocks base method.
func (*MockClientDispatcher) WaitAndReturnTxReceipt ¶
WaitAndReturnTxReceipt mocks base method.
type MockClientDispatcherMockRecorder ¶
type MockClientDispatcherMockRecorder struct {
// contains filtered or unexported fields
}
MockClientDispatcherMockRecorder is the mock recorder for MockClientDispatcher.
func (*MockClientDispatcherMockRecorder) From ¶
func (mr *MockClientDispatcherMockRecorder) From() *gomock.Call
From indicates an expected call of From.
func (*MockClientDispatcherMockRecorder) GetTransactionByHash ¶
func (mr *MockClientDispatcherMockRecorder) GetTransactionByHash(h interface{}) *gomock.Call
GetTransactionByHash indicates an expected call of GetTransactionByHash.
func (*MockClientDispatcherMockRecorder) LockNonce ¶
func (mr *MockClientDispatcherMockRecorder) LockNonce() *gomock.Call
LockNonce indicates an expected call of LockNonce.
func (*MockClientDispatcherMockRecorder) SignAndSendTransaction ¶
func (mr *MockClientDispatcherMockRecorder) SignAndSendTransaction(ctx, tx interface{}) *gomock.Call
SignAndSendTransaction indicates an expected call of SignAndSendTransaction.
func (*MockClientDispatcherMockRecorder) TransactionReceipt ¶ added in v1.3.0
func (mr *MockClientDispatcherMockRecorder) TransactionReceipt(ctx, txHash interface{}) *gomock.Call
TransactionReceipt indicates an expected call of TransactionReceipt.
func (*MockClientDispatcherMockRecorder) UnlockNonce ¶
func (mr *MockClientDispatcherMockRecorder) UnlockNonce() *gomock.Call
UnlockNonce indicates an expected call of UnlockNonce.
func (*MockClientDispatcherMockRecorder) UnsafeIncreaseNonce ¶
func (mr *MockClientDispatcherMockRecorder) UnsafeIncreaseNonce() *gomock.Call
UnsafeIncreaseNonce indicates an expected call of UnsafeIncreaseNonce.
func (*MockClientDispatcherMockRecorder) UnsafeNonce ¶
func (mr *MockClientDispatcherMockRecorder) UnsafeNonce() *gomock.Call
UnsafeNonce indicates an expected call of UnsafeNonce.
func (*MockClientDispatcherMockRecorder) WaitAndReturnTxReceipt ¶
func (mr *MockClientDispatcherMockRecorder) WaitAndReturnTxReceipt(h interface{}) *gomock.Call
WaitAndReturnTxReceipt indicates an expected call of WaitAndReturnTxReceipt.
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]interface{}, blockNumber *big.Int) ([]byte, error)
CallContract mocks base method.
func (*MockContractCaller) EXPECT ¶
func (m *MockContractCaller) EXPECT() *MockContractCallerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockContractCallerDispatcher ¶
type MockContractCallerDispatcher struct {
// contains filtered or unexported fields
}
MockContractCallerDispatcher is a mock of ContractCallerDispatcher interface.
func NewMockContractCallerDispatcher ¶
func NewMockContractCallerDispatcher(ctrl *gomock.Controller) *MockContractCallerDispatcher
NewMockContractCallerDispatcher creates a new mock instance.
func (*MockContractCallerDispatcher) CallContract ¶
func (m *MockContractCallerDispatcher) CallContract(ctx context.Context, callArgs map[string]interface{}, blockNumber *big.Int) ([]byte, error)
CallContract mocks base method.
func (*MockContractCallerDispatcher) CodeAt ¶
func (m *MockContractCallerDispatcher) CodeAt(ctx context.Context, contract common.Address, blockNumber *big.Int) ([]byte, error)
CodeAt mocks base method.
func (*MockContractCallerDispatcher) EXPECT ¶
func (m *MockContractCallerDispatcher) EXPECT() *MockContractCallerDispatcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockContractCallerDispatcher) From ¶
func (m *MockContractCallerDispatcher) From() common.Address
From mocks base method.
func (*MockContractCallerDispatcher) GetTransactionByHash ¶
func (m *MockContractCallerDispatcher) GetTransactionByHash(h common.Hash) (*types.Transaction, bool, error)
GetTransactionByHash mocks base method.
func (*MockContractCallerDispatcher) LockNonce ¶
func (m *MockContractCallerDispatcher) LockNonce()
LockNonce mocks base method.
func (*MockContractCallerDispatcher) SignAndSendTransaction ¶
func (m *MockContractCallerDispatcher) SignAndSendTransaction(ctx context.Context, tx evmclient.CommonTransaction) (common.Hash, error)
SignAndSendTransaction mocks base method.
func (*MockContractCallerDispatcher) TransactionReceipt ¶ added in v1.3.0
func (m *MockContractCallerDispatcher) TransactionReceipt(ctx context.Context, txHash common.Hash) (*types.Receipt, error)
TransactionReceipt mocks base method.
func (*MockContractCallerDispatcher) UnlockNonce ¶
func (m *MockContractCallerDispatcher) UnlockNonce()
UnlockNonce mocks base method.
func (*MockContractCallerDispatcher) UnsafeIncreaseNonce ¶
func (m *MockContractCallerDispatcher) UnsafeIncreaseNonce() error
UnsafeIncreaseNonce mocks base method.
func (*MockContractCallerDispatcher) UnsafeNonce ¶
func (m *MockContractCallerDispatcher) UnsafeNonce() (*big.Int, error)
UnsafeNonce mocks base method.
func (*MockContractCallerDispatcher) WaitAndReturnTxReceipt ¶
func (m *MockContractCallerDispatcher) WaitAndReturnTxReceipt(h common.Hash) (*types.Receipt, error)
WaitAndReturnTxReceipt mocks base method.
type MockContractCallerDispatcherMockRecorder ¶
type MockContractCallerDispatcherMockRecorder struct {
// contains filtered or unexported fields
}
MockContractCallerDispatcherMockRecorder is the mock recorder for MockContractCallerDispatcher.
func (*MockContractCallerDispatcherMockRecorder) CallContract ¶
func (mr *MockContractCallerDispatcherMockRecorder) CallContract(ctx, callArgs, blockNumber interface{}) *gomock.Call
CallContract indicates an expected call of CallContract.
func (*MockContractCallerDispatcherMockRecorder) CodeAt ¶
func (mr *MockContractCallerDispatcherMockRecorder) CodeAt(ctx, contract, blockNumber interface{}) *gomock.Call
CodeAt indicates an expected call of CodeAt.
func (*MockContractCallerDispatcherMockRecorder) From ¶
func (mr *MockContractCallerDispatcherMockRecorder) From() *gomock.Call
From indicates an expected call of From.
func (*MockContractCallerDispatcherMockRecorder) GetTransactionByHash ¶
func (mr *MockContractCallerDispatcherMockRecorder) GetTransactionByHash(h interface{}) *gomock.Call
GetTransactionByHash indicates an expected call of GetTransactionByHash.
func (*MockContractCallerDispatcherMockRecorder) LockNonce ¶
func (mr *MockContractCallerDispatcherMockRecorder) LockNonce() *gomock.Call
LockNonce indicates an expected call of LockNonce.
func (*MockContractCallerDispatcherMockRecorder) SignAndSendTransaction ¶
func (mr *MockContractCallerDispatcherMockRecorder) SignAndSendTransaction(ctx, tx interface{}) *gomock.Call
SignAndSendTransaction indicates an expected call of SignAndSendTransaction.
func (*MockContractCallerDispatcherMockRecorder) TransactionReceipt ¶ added in v1.3.0
func (mr *MockContractCallerDispatcherMockRecorder) TransactionReceipt(ctx, txHash interface{}) *gomock.Call
TransactionReceipt indicates an expected call of TransactionReceipt.
func (*MockContractCallerDispatcherMockRecorder) UnlockNonce ¶
func (mr *MockContractCallerDispatcherMockRecorder) UnlockNonce() *gomock.Call
UnlockNonce indicates an expected call of UnlockNonce.
func (*MockContractCallerDispatcherMockRecorder) UnsafeIncreaseNonce ¶
func (mr *MockContractCallerDispatcherMockRecorder) UnsafeIncreaseNonce() *gomock.Call
UnsafeIncreaseNonce indicates an expected call of UnsafeIncreaseNonce.
func (*MockContractCallerDispatcherMockRecorder) UnsafeNonce ¶
func (mr *MockContractCallerDispatcherMockRecorder) UnsafeNonce() *gomock.Call
UnsafeNonce indicates an expected call of UnsafeNonce.
func (*MockContractCallerDispatcherMockRecorder) WaitAndReturnTxReceipt ¶
func (mr *MockContractCallerDispatcherMockRecorder) WaitAndReturnTxReceipt(h interface{}) *gomock.Call
WaitAndReturnTxReceipt indicates an expected call of WaitAndReturnTxReceipt.
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 interface{}) *gomock.Call
CallContract indicates an expected call of CallContract.
type MockContractChecker ¶
type MockContractChecker struct {
// contains filtered or unexported fields
}
MockContractChecker is a mock of ContractChecker interface.
func NewMockContractChecker ¶
func NewMockContractChecker(ctrl *gomock.Controller) *MockContractChecker
NewMockContractChecker creates a new mock instance.
func (*MockContractChecker) CodeAt ¶
func (m *MockContractChecker) CodeAt(ctx context.Context, contract common.Address, blockNumber *big.Int) ([]byte, error)
CodeAt mocks base method.
func (*MockContractChecker) EXPECT ¶
func (m *MockContractChecker) EXPECT() *MockContractCheckerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockContractCheckerMockRecorder ¶
type MockContractCheckerMockRecorder struct {
// contains filtered or unexported fields
}
MockContractCheckerMockRecorder is the mock recorder for MockContractChecker.
func (*MockContractCheckerMockRecorder) CodeAt ¶
func (mr *MockContractCheckerMockRecorder) CodeAt(ctx, contract, blockNumber interface{}) *gomock.Call
CodeAt indicates an expected call of CodeAt.
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.
func (*MockGasPricerMockRecorder) GasPrice ¶
func (mr *MockGasPricerMockRecorder) GasPrice(priority interface{}) *gomock.Call
GasPrice indicates an expected call of GasPrice.
type MockSimulateCaller ¶
type MockSimulateCaller struct {
// contains filtered or unexported fields
}
MockSimulateCaller is a mock of SimulateCaller interface.
func NewMockSimulateCaller ¶
func NewMockSimulateCaller(ctrl *gomock.Controller) *MockSimulateCaller
NewMockSimulateCaller creates a new mock instance.
func (*MockSimulateCaller) CallContract ¶
func (m *MockSimulateCaller) CallContract(ctx context.Context, callArgs map[string]interface{}, blockNumber *big.Int) ([]byte, error)
CallContract mocks base method.
func (*MockSimulateCaller) EXPECT ¶
func (m *MockSimulateCaller) EXPECT() *MockSimulateCallerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSimulateCaller) TransactionByHash ¶
func (m *MockSimulateCaller) TransactionByHash(ctx context.Context, hash common.Hash) (*types.Transaction, bool, error)
TransactionByHash mocks base method.
type MockSimulateCallerMockRecorder ¶
type MockSimulateCallerMockRecorder struct {
// contains filtered or unexported fields
}
MockSimulateCallerMockRecorder is the mock recorder for MockSimulateCaller.
func (*MockSimulateCallerMockRecorder) CallContract ¶
func (mr *MockSimulateCallerMockRecorder) CallContract(ctx, callArgs, blockNumber interface{}) *gomock.Call
CallContract indicates an expected call of CallContract.
func (*MockSimulateCallerMockRecorder) TransactionByHash ¶
func (mr *MockSimulateCallerMockRecorder) TransactionByHash(ctx, hash interface{}) *gomock.Call
TransactionByHash indicates an expected call of TransactionByHash.