github.com/status-im/status-go@v1.1.0/contracts/mock/contracts.go (about) 1 // Code generated by MockGen. DO NOT EDIT. 2 // Source: contracts/contracts.go 3 4 // Package mock_contracts is a generated GoMock package. 5 package mock_contracts 6 7 import ( 8 reflect "reflect" 9 10 gomock "github.com/golang/mock/gomock" 11 12 common "github.com/ethereum/go-ethereum/common" 13 ethscan "github.com/status-im/status-go/contracts/ethscan" 14 ierc20 "github.com/status-im/status-go/contracts/ierc20" 15 ) 16 17 // MockContractMakerIface is a mock of ContractMakerIface interface. 18 type MockContractMakerIface struct { 19 ctrl *gomock.Controller 20 recorder *MockContractMakerIfaceMockRecorder 21 } 22 23 // MockContractMakerIfaceMockRecorder is the mock recorder for MockContractMakerIface. 24 type MockContractMakerIfaceMockRecorder struct { 25 mock *MockContractMakerIface 26 } 27 28 // NewMockContractMakerIface creates a new mock instance. 29 func NewMockContractMakerIface(ctrl *gomock.Controller) *MockContractMakerIface { 30 mock := &MockContractMakerIface{ctrl: ctrl} 31 mock.recorder = &MockContractMakerIfaceMockRecorder{mock} 32 return mock 33 } 34 35 // EXPECT returns an object that allows the caller to indicate expected use. 36 func (m *MockContractMakerIface) EXPECT() *MockContractMakerIfaceMockRecorder { 37 return m.recorder 38 } 39 40 // NewERC20 mocks base method. 41 func (m *MockContractMakerIface) NewERC20(chainID uint64, contractAddr common.Address) (ierc20.IERC20Iface, error) { 42 m.ctrl.T.Helper() 43 ret := m.ctrl.Call(m, "NewERC20", chainID, contractAddr) 44 ret0, _ := ret[0].(ierc20.IERC20Iface) 45 ret1, _ := ret[1].(error) 46 return ret0, ret1 47 } 48 49 // NewERC20 indicates an expected call of NewERC20. 50 func (mr *MockContractMakerIfaceMockRecorder) NewERC20(chainID, contractAddr interface{}) *gomock.Call { 51 mr.mock.ctrl.T.Helper() 52 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewERC20", reflect.TypeOf((*MockContractMakerIface)(nil).NewERC20), chainID, contractAddr) 53 } 54 55 // NewERC20Caller mocks base method. 56 func (m *MockContractMakerIface) NewERC20Caller(chainID uint64, contractAddr common.Address) (ierc20.IERC20CallerIface, error) { 57 m.ctrl.T.Helper() 58 ret := m.ctrl.Call(m, "NewERC20Caller", chainID, contractAddr) 59 ret0, _ := ret[0].(ierc20.IERC20CallerIface) 60 ret1, _ := ret[1].(error) 61 return ret0, ret1 62 } 63 64 // NewERC20Caller indicates an expected call of NewERC20Caller. 65 func (mr *MockContractMakerIfaceMockRecorder) NewERC20Caller(chainID, contractAddr interface{}) *gomock.Call { 66 mr.mock.ctrl.T.Helper() 67 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewERC20Caller", reflect.TypeOf((*MockContractMakerIface)(nil).NewERC20Caller), chainID, contractAddr) 68 } 69 70 // NewEthScan mocks base method. 71 func (m *MockContractMakerIface) NewEthScan(chainID uint64) (ethscan.BalanceScannerIface, uint, error) { 72 m.ctrl.T.Helper() 73 ret := m.ctrl.Call(m, "NewEthScan", chainID) 74 ret0, _ := ret[0].(ethscan.BalanceScannerIface) 75 ret1, _ := ret[1].(uint) 76 ret2, _ := ret[2].(error) 77 return ret0, ret1, ret2 78 } 79 80 // NewEthScan indicates an expected call of NewEthScan. 81 func (mr *MockContractMakerIfaceMockRecorder) NewEthScan(chainID interface{}) *gomock.Call { 82 mr.mock.ctrl.T.Helper() 83 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewEthScan", reflect.TypeOf((*MockContractMakerIface)(nil).NewEthScan), chainID) 84 }