Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockCaller
- type MockCallerMockRecorder
- type MockEEACaller
- type MockEEACallerMockRecorder
- type MockEthCaller
- func (m *MockEthCaller) BaseFeePerGas(arg0 context.Context, arg1 ethereum.BlockNumber) (*big.Int, error)
- func (m *MockEthCaller) ChainID(arg0 context.Context) (*big.Int, error)
- func (m *MockEthCaller) EXPECT() *MockEthCallerMockRecorder
- func (m *MockEthCaller) EstimateGas(arg0 context.Context, arg1 *ethereum.CallMsg) (uint64, error)
- func (m *MockEthCaller) GasPrice(arg0 context.Context) (*big.Int, error)
- func (m *MockEthCaller) GetTransactionCount(arg0 context.Context, arg1 common.Address, arg2 ethereum.BlockNumber) (uint64, error)
- func (m *MockEthCaller) SendRawPrivateTransaction(arg0 context.Context, arg1 []byte, arg2 *ethereum.PrivateArgs) (common.Hash, error)
- func (m *MockEthCaller) SendRawTransaction(arg0 context.Context, arg1 []byte) (common.Hash, error)
- type MockEthCallerMockRecorder
- func (mr *MockEthCallerMockRecorder) BaseFeePerGas(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEthCallerMockRecorder) ChainID(arg0 interface{}) *gomock.Call
- func (mr *MockEthCallerMockRecorder) EstimateGas(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEthCallerMockRecorder) GasPrice(arg0 interface{}) *gomock.Call
- func (mr *MockEthCallerMockRecorder) GetTransactionCount(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockEthCallerMockRecorder) SendRawPrivateTransaction(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockEthCallerMockRecorder) SendRawTransaction(arg0, arg1 interface{}) *gomock.Call
- type MockPrivCaller
- func (m *MockPrivCaller) DistributeRawTransaction(arg0 context.Context, arg1 []byte) ([]byte, error)
- func (m *MockPrivCaller) EXPECT() *MockPrivCallerMockRecorder
- func (m *MockPrivCaller) GetEeaTransactionCount(ctx context.Context, addr common.Address, privateFrom string, ...) (uint64, error)
- func (m *MockPrivCaller) GetTransactionCount(ctx context.Context, addr common.Address, privacyGroupID string) (uint64, error)
- type MockPrivCallerMockRecorder
- func (mr *MockPrivCallerMockRecorder) DistributeRawTransaction(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPrivCallerMockRecorder) GetEeaTransactionCount(ctx, addr, privateFrom, privateFor interface{}) *gomock.Call
- func (mr *MockPrivCallerMockRecorder) GetTransactionCount(ctx, addr, privacyGroupID interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCaller ¶
type MockCaller struct {
// contains filtered or unexported fields
}
MockCaller is a mock of Caller interface.
func NewMockCaller ¶
func NewMockCaller(ctrl *gomock.Controller) *MockCaller
NewMockCaller creates a new mock instance.
func (*MockCaller) EXPECT ¶
func (m *MockCaller) EXPECT() *MockCallerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockCallerMockRecorder ¶
type MockCallerMockRecorder struct {
// contains filtered or unexported fields
}
MockCallerMockRecorder is the mock recorder for MockCaller.
func (*MockCallerMockRecorder) EEA ¶
func (mr *MockCallerMockRecorder) EEA() *gomock.Call
EEA indicates an expected call of EEA.
func (*MockCallerMockRecorder) Eth ¶
func (mr *MockCallerMockRecorder) Eth() *gomock.Call
Eth indicates an expected call of Eth.
func (*MockCallerMockRecorder) Priv ¶
func (mr *MockCallerMockRecorder) Priv() *gomock.Call
Priv indicates an expected call of Priv.
type MockEEACaller ¶
type MockEEACaller struct {
// contains filtered or unexported fields
}
MockEEACaller is a mock of EEACaller interface.
func NewMockEEACaller ¶
func NewMockEEACaller(ctrl *gomock.Controller) *MockEEACaller
NewMockEEACaller creates a new mock instance.
func (*MockEEACaller) EXPECT ¶
func (m *MockEEACaller) EXPECT() *MockEEACallerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEEACaller) SendRawTransaction ¶
SendRawTransaction mock base method.
type MockEEACallerMockRecorder ¶
type MockEEACallerMockRecorder struct {
// contains filtered or unexported fields
}
MockEEACallerMockRecorder is the mock recorder for MockEEACaller.
func (*MockEEACallerMockRecorder) SendRawTransaction ¶
func (mr *MockEEACallerMockRecorder) SendRawTransaction(arg0, arg1 interface{}) *gomock.Call
SendRawTransaction indicates an expected call of SendRawTransaction.
type MockEthCaller ¶
type MockEthCaller struct {
// contains filtered or unexported fields
}
MockEthCaller is a mock of EthCaller interface
func NewMockEthCaller ¶
func NewMockEthCaller(ctrl *gomock.Controller) *MockEthCaller
NewMockEthCaller creates a new mock instance
func (*MockEthCaller) BaseFeePerGas ¶
func (m *MockEthCaller) BaseFeePerGas(arg0 context.Context, arg1 ethereum.BlockNumber) (*big.Int, error)
BaseFeePerGas mocks base method
func (*MockEthCaller) EXPECT ¶
func (m *MockEthCaller) EXPECT() *MockEthCallerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockEthCaller) EstimateGas ¶
EstimateGas mocks base method
func (*MockEthCaller) GetTransactionCount ¶
func (m *MockEthCaller) GetTransactionCount(arg0 context.Context, arg1 common.Address, arg2 ethereum.BlockNumber) (uint64, error)
GetTransactionCount mocks base method
func (*MockEthCaller) SendRawPrivateTransaction ¶
func (m *MockEthCaller) SendRawPrivateTransaction(arg0 context.Context, arg1 []byte, arg2 *ethereum.PrivateArgs) (common.Hash, error)
SendRawPrivateTransaction mocks base method
func (*MockEthCaller) SendRawTransaction ¶
SendRawTransaction mocks base method
type MockEthCallerMockRecorder ¶
type MockEthCallerMockRecorder struct {
// contains filtered or unexported fields
}
MockEthCallerMockRecorder is the mock recorder for MockEthCaller
func (*MockEthCallerMockRecorder) BaseFeePerGas ¶
func (mr *MockEthCallerMockRecorder) BaseFeePerGas(arg0, arg1 interface{}) *gomock.Call
BaseFeePerGas indicates an expected call of BaseFeePerGas
func (*MockEthCallerMockRecorder) ChainID ¶
func (mr *MockEthCallerMockRecorder) ChainID(arg0 interface{}) *gomock.Call
ChainID indicates an expected call of ChainID
func (*MockEthCallerMockRecorder) EstimateGas ¶
func (mr *MockEthCallerMockRecorder) EstimateGas(arg0, arg1 interface{}) *gomock.Call
EstimateGas indicates an expected call of EstimateGas
func (*MockEthCallerMockRecorder) GasPrice ¶
func (mr *MockEthCallerMockRecorder) GasPrice(arg0 interface{}) *gomock.Call
GasPrice indicates an expected call of GasPrice
func (*MockEthCallerMockRecorder) GetTransactionCount ¶
func (mr *MockEthCallerMockRecorder) GetTransactionCount(arg0, arg1, arg2 interface{}) *gomock.Call
GetTransactionCount indicates an expected call of GetTransactionCount
func (*MockEthCallerMockRecorder) SendRawPrivateTransaction ¶
func (mr *MockEthCallerMockRecorder) SendRawPrivateTransaction(arg0, arg1, arg2 interface{}) *gomock.Call
SendRawPrivateTransaction indicates an expected call of SendRawPrivateTransaction
func (*MockEthCallerMockRecorder) SendRawTransaction ¶
func (mr *MockEthCallerMockRecorder) SendRawTransaction(arg0, arg1 interface{}) *gomock.Call
SendRawTransaction indicates an expected call of SendRawTransaction
type MockPrivCaller ¶
type MockPrivCaller struct {
// contains filtered or unexported fields
}
MockPrivCaller is a mock of PrivCaller interface.
func NewMockPrivCaller ¶
func NewMockPrivCaller(ctrl *gomock.Controller) *MockPrivCaller
NewMockPrivCaller creates a new mock instance.
func (*MockPrivCaller) DistributeRawTransaction ¶
func (m *MockPrivCaller) DistributeRawTransaction(arg0 context.Context, arg1 []byte) ([]byte, error)
DistributeRawTransaction mock base method.
func (*MockPrivCaller) EXPECT ¶
func (m *MockPrivCaller) EXPECT() *MockPrivCallerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPrivCaller) GetEeaTransactionCount ¶
func (m *MockPrivCaller) GetEeaTransactionCount(ctx context.Context, addr common.Address, privateFrom string, privateFor []string) (uint64, error)
GetEeaTransactionCount mock base method.
func (*MockPrivCaller) GetTransactionCount ¶
func (m *MockPrivCaller) GetTransactionCount(ctx context.Context, addr common.Address, privacyGroupID string) (uint64, error)
GetTransactionCount mock base method.
type MockPrivCallerMockRecorder ¶
type MockPrivCallerMockRecorder struct {
// contains filtered or unexported fields
}
MockPrivCallerMockRecorder is the mock recorder for MockPrivCaller.
func (*MockPrivCallerMockRecorder) DistributeRawTransaction ¶
func (mr *MockPrivCallerMockRecorder) DistributeRawTransaction(arg0, arg1 interface{}) *gomock.Call
DistributeRawTransaction indicates an expected call of DistributeRawTransaction.
func (*MockPrivCallerMockRecorder) GetEeaTransactionCount ¶
func (mr *MockPrivCallerMockRecorder) GetEeaTransactionCount(ctx, addr, privateFrom, privateFor interface{}) *gomock.Call
GetEeaTransactionCount indicates an expected call of GetEeaTransactionCount.
func (*MockPrivCallerMockRecorder) GetTransactionCount ¶
func (mr *MockPrivCallerMockRecorder) GetTransactionCount(ctx, addr, privacyGroupID interface{}) *gomock.Call
GetTransactionCount indicates an expected call of GetTransactionCount.