// Code generated by mockery. DO NOT EDIT.

package mocks

import (
	big "math/big"

	bind "github.com/ethereum/go-ethereum/accounts/abi/bind"
	common "github.com/ethereum/go-ethereum/common"

	mock "github.com/stretchr/testify/mock"
)

// AggOracleCommitteeContract is an autogenerated mock type for the AggOracleCommitteeContract type
type AggOracleCommitteeContract struct {
	mock.Mock
}

type AggOracleCommitteeContract_Expecter struct {
	mock *mock.Mock
}

func (_m *AggOracleCommitteeContract) EXPECT() *AggOracleCommitteeContract_Expecter {
	return &AggOracleCommitteeContract_Expecter{mock: &_m.Mock}
}

// AddressToLastProposedGER provides a mock function with given fields: opts, oracleMember
func (_m *AggOracleCommitteeContract) AddressToLastProposedGER(opts *bind.CallOpts, oracleMember common.Address) ([32]byte, error) {
	ret := _m.Called(opts, oracleMember)

	if len(ret) == 0 {
		panic("no return value specified for AddressToLastProposedGER")
	}

	var r0 [32]byte
	var r1 error
	if rf, ok := ret.Get(0).(func(*bind.CallOpts, common.Address) ([32]byte, error)); ok {
		return rf(opts, oracleMember)
	}
	if rf, ok := ret.Get(0).(func(*bind.CallOpts, common.Address) [32]byte); ok {
		r0 = rf(opts, oracleMember)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).([32]byte)
		}
	}

	if rf, ok := ret.Get(1).(func(*bind.CallOpts, common.Address) error); ok {
		r1 = rf(opts, oracleMember)
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}

// AggOracleCommitteeContract_AddressToLastProposedGER_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddressToLastProposedGER'
type AggOracleCommitteeContract_AddressToLastProposedGER_Call struct {
	*mock.Call
}

// AddressToLastProposedGER is a helper method to define mock.On call
//   - opts *bind.CallOpts
//   - oracleMember common.Address
func (_e *AggOracleCommitteeContract_Expecter) AddressToLastProposedGER(opts interface{}, oracleMember interface{}) *AggOracleCommitteeContract_AddressToLastProposedGER_Call {
	return &AggOracleCommitteeContract_AddressToLastProposedGER_Call{Call: _e.mock.On("AddressToLastProposedGER", opts, oracleMember)}
}

func (_c *AggOracleCommitteeContract_AddressToLastProposedGER_Call) Run(run func(opts *bind.CallOpts, oracleMember common.Address)) *AggOracleCommitteeContract_AddressToLastProposedGER_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run(args[0].(*bind.CallOpts), args[1].(common.Address))
	})
	return _c
}

func (_c *AggOracleCommitteeContract_AddressToLastProposedGER_Call) Return(_a0 [32]byte, _a1 error) *AggOracleCommitteeContract_AddressToLastProposedGER_Call {
	_c.Call.Return(_a0, _a1)
	return _c
}

func (_c *AggOracleCommitteeContract_AddressToLastProposedGER_Call) RunAndReturn(run func(*bind.CallOpts, common.Address) ([32]byte, error)) *AggOracleCommitteeContract_AddressToLastProposedGER_Call {
	_c.Call.Return(run)
	return _c
}

// GetAggOracleMemberIndex provides a mock function with given fields: opts, oracleMember
func (_m *AggOracleCommitteeContract) GetAggOracleMemberIndex(opts *bind.CallOpts, oracleMember common.Address) (*big.Int, error) {
	ret := _m.Called(opts, oracleMember)

	if len(ret) == 0 {
		panic("no return value specified for GetAggOracleMemberIndex")
	}

	var r0 *big.Int
	var r1 error
	if rf, ok := ret.Get(0).(func(*bind.CallOpts, common.Address) (*big.Int, error)); ok {
		return rf(opts, oracleMember)
	}
	if rf, ok := ret.Get(0).(func(*bind.CallOpts, common.Address) *big.Int); ok {
		r0 = rf(opts, oracleMember)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*big.Int)
		}
	}

	if rf, ok := ret.Get(1).(func(*bind.CallOpts, common.Address) error); ok {
		r1 = rf(opts, oracleMember)
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}

// AggOracleCommitteeContract_GetAggOracleMemberIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAggOracleMemberIndex'
type AggOracleCommitteeContract_GetAggOracleMemberIndex_Call struct {
	*mock.Call
}

// GetAggOracleMemberIndex is a helper method to define mock.On call
//   - opts *bind.CallOpts
//   - oracleMember common.Address
func (_e *AggOracleCommitteeContract_Expecter) GetAggOracleMemberIndex(opts interface{}, oracleMember interface{}) *AggOracleCommitteeContract_GetAggOracleMemberIndex_Call {
	return &AggOracleCommitteeContract_GetAggOracleMemberIndex_Call{Call: _e.mock.On("GetAggOracleMemberIndex", opts, oracleMember)}
}

func (_c *AggOracleCommitteeContract_GetAggOracleMemberIndex_Call) Run(run func(opts *bind.CallOpts, oracleMember common.Address)) *AggOracleCommitteeContract_GetAggOracleMemberIndex_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run(args[0].(*bind.CallOpts), args[1].(common.Address))
	})
	return _c
}

func (_c *AggOracleCommitteeContract_GetAggOracleMemberIndex_Call) Return(_a0 *big.Int, _a1 error) *AggOracleCommitteeContract_GetAggOracleMemberIndex_Call {
	_c.Call.Return(_a0, _a1)
	return _c
}

func (_c *AggOracleCommitteeContract_GetAggOracleMemberIndex_Call) RunAndReturn(run func(*bind.CallOpts, common.Address) (*big.Int, error)) *AggOracleCommitteeContract_GetAggOracleMemberIndex_Call {
	_c.Call.Return(run)
	return _c
}

// NewAggOracleCommitteeContract creates a new instance of AggOracleCommitteeContract. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
// The first argument is typically a *testing.T value.
func NewAggOracleCommitteeContract(t interface {
	mock.TestingT
	Cleanup(func())
}) *AggOracleCommitteeContract {
	mock := &AggOracleCommitteeContract{}
	mock.Mock.Test(t)

	t.Cleanup(func() { mock.AssertExpectations(t) })

	return mock
}
