Documentation ¶
Overview ¶
Package mock_eth is a generated GoMock package.
Index ¶
- type MockStateContract
- func (m *MockStateContract) EXPECT() *MockStateContractMockRecorder
- func (m *MockStateContract) GetGISTProofByRoot(arg0 *bind.CallOpts, arg1, arg2 *big.Int) (contract.IStateGistProof, error)
- func (m *MockStateContract) GetGISTRoot(arg0 *bind.CallOpts) (*big.Int, error)
- func (m *MockStateContract) GetGISTRootInfo(arg0 *bind.CallOpts, arg1 *big.Int) (contract.IStateGistRootInfo, error)
- func (m *MockStateContract) GetStateInfoById(arg0 *bind.CallOpts, arg1 *big.Int) (contract.IStateStateInfo, error)
- func (m *MockStateContract) GetStateInfoByIdAndState(arg0 *bind.CallOpts, arg1 *big.Int, arg2 *big.Int) (contract.IStateStateInfo, error)
- type MockStateContractMockRecorder
- func (mr *MockStateContractMockRecorder) GetGISTProofByRoot(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockStateContractMockRecorder) GetGISTRoot(arg0 interface{}) *gomock.Call
- func (mr *MockStateContractMockRecorder) GetGISTRootInfo(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStateContractMockRecorder) GetStateInfoById(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStateContractMockRecorder) GetStateInfoByIdAndState(arg0, arg1 interface{}, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStateContract ¶
type MockStateContract struct {
// contains filtered or unexported fields
}
MockStateContract is a mock of StateContract interface.
func NewMockStateContract ¶
func NewMockStateContract(ctrl *gomock.Controller) *MockStateContract
NewMockStateContract creates a new mock instance.
func (*MockStateContract) EXPECT ¶
func (m *MockStateContract) EXPECT() *MockStateContractMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStateContract) GetGISTProofByRoot ¶
func (m *MockStateContract) GetGISTProofByRoot(arg0 *bind.CallOpts, arg1, arg2 *big.Int) (contract.IStateGistProof, error)
GetGISTProofByRoot mocks base method.
func (*MockStateContract) GetGISTRoot ¶
GetGISTRoot mocks base method.
func (*MockStateContract) GetGISTRootInfo ¶
func (m *MockStateContract) GetGISTRootInfo(arg0 *bind.CallOpts, arg1 *big.Int) (contract.IStateGistRootInfo, error)
GetGISTRootInfo mocks base method.
func (*MockStateContract) GetStateInfoById ¶
func (m *MockStateContract) GetStateInfoById(arg0 *bind.CallOpts, arg1 *big.Int) (contract.IStateStateInfo, error)
GetStateInfoById mocks base method.
func (*MockStateContract) GetStateInfoByIdAndState ¶
func (m *MockStateContract) GetStateInfoByIdAndState(arg0 *bind.CallOpts, arg1 *big.Int, arg2 *big.Int) (contract.IStateStateInfo, error)
GetStateInfoByIdAndState mocks base method.
type MockStateContractMockRecorder ¶
type MockStateContractMockRecorder struct {
// contains filtered or unexported fields
}
MockStateContractMockRecorder is the mock recorder for MockStateContract.
func (*MockStateContractMockRecorder) GetGISTProofByRoot ¶
func (mr *MockStateContractMockRecorder) GetGISTProofByRoot(arg0, arg1, arg2 interface{}) *gomock.Call
GetGISTProofByRoot indicates an expected call of GetGISTProofByRoot.
func (*MockStateContractMockRecorder) GetGISTRoot ¶
func (mr *MockStateContractMockRecorder) GetGISTRoot(arg0 interface{}) *gomock.Call
GetGISTRoot indicates an expected call of GetGISTRoot.
func (*MockStateContractMockRecorder) GetGISTRootInfo ¶
func (mr *MockStateContractMockRecorder) GetGISTRootInfo(arg0, arg1 interface{}) *gomock.Call
GetGISTRootInfo indicates an expected call of GetGISTRootInfo.
func (*MockStateContractMockRecorder) GetStateInfoById ¶
func (mr *MockStateContractMockRecorder) GetStateInfoById(arg0, arg1 interface{}) *gomock.Call
GetStateInfoById indicates an expected call of GetStateInfoById.
func (*MockStateContractMockRecorder) GetStateInfoByIdAndState ¶
func (mr *MockStateContractMockRecorder) GetStateInfoByIdAndState(arg0, arg1 interface{}, arg2 interface{}) *gomock.Call
GetStateInfoByIdAndState indicates an expected call of GetStateInfoByIdAndState.