Documentation
¶
Index ¶
- type MockPayerReportManagerContract
- func (_m *MockPayerReportManagerContract) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)
- func (_m *MockPayerReportManagerContract) EXPECT() *MockPayerReportManagerContract_Expecter
- func (_m *MockPayerReportManagerContract) GetPayerReport(opts *bind.CallOpts, originatorNodeID uint32, payerReportIndex *big.Int) (payerreportmanager.IPayerReportManagerPayerReport, error)
- func (_m *MockPayerReportManagerContract) ParsePayerReportSubmitted(log types.Log) (*payerreportmanager.PayerReportManagerPayerReportSubmitted, error)
- func (_m *MockPayerReportManagerContract) ParsePayerReportSubsetSettled(log types.Log) (*payerreportmanager.PayerReportManagerPayerReportSubsetSettled, error)
- type MockPayerReportManagerContract_DOMAINSEPARATOR_Call
- func (_c *MockPayerReportManagerContract_DOMAINSEPARATOR_Call) Return(_a0 [32]byte, _a1 error) *MockPayerReportManagerContract_DOMAINSEPARATOR_Call
- func (_c *MockPayerReportManagerContract_DOMAINSEPARATOR_Call) Run(run func(opts *bind.CallOpts)) *MockPayerReportManagerContract_DOMAINSEPARATOR_Call
- func (_c *MockPayerReportManagerContract_DOMAINSEPARATOR_Call) RunAndReturn(run func(*bind.CallOpts) ([32]byte, error)) *MockPayerReportManagerContract_DOMAINSEPARATOR_Call
- type MockPayerReportManagerContract_Expecter
- func (_e *MockPayerReportManagerContract_Expecter) DOMAINSEPARATOR(opts interface{}) *MockPayerReportManagerContract_DOMAINSEPARATOR_Call
- func (_e *MockPayerReportManagerContract_Expecter) GetPayerReport(opts interface{}, originatorNodeID interface{}, payerReportIndex interface{}) *MockPayerReportManagerContract_GetPayerReport_Call
- func (_e *MockPayerReportManagerContract_Expecter) ParsePayerReportSubmitted(log interface{}) *MockPayerReportManagerContract_ParsePayerReportSubmitted_Call
- func (_e *MockPayerReportManagerContract_Expecter) ParsePayerReportSubsetSettled(log interface{}) *MockPayerReportManagerContract_ParsePayerReportSubsetSettled_Call
- type MockPayerReportManagerContract_GetPayerReport_Call
- func (_c *MockPayerReportManagerContract_GetPayerReport_Call) Return(_a0 payerreportmanager.IPayerReportManagerPayerReport, _a1 error) *MockPayerReportManagerContract_GetPayerReport_Call
- func (_c *MockPayerReportManagerContract_GetPayerReport_Call) Run(...) *MockPayerReportManagerContract_GetPayerReport_Call
- func (_c *MockPayerReportManagerContract_GetPayerReport_Call) RunAndReturn(...) *MockPayerReportManagerContract_GetPayerReport_Call
- type MockPayerReportManagerContract_ParsePayerReportSubmitted_Call
- func (_c *MockPayerReportManagerContract_ParsePayerReportSubmitted_Call) Return(_a0 *payerreportmanager.PayerReportManagerPayerReportSubmitted, _a1 error) *MockPayerReportManagerContract_ParsePayerReportSubmitted_Call
- func (_c *MockPayerReportManagerContract_ParsePayerReportSubmitted_Call) Run(run func(log types.Log)) *MockPayerReportManagerContract_ParsePayerReportSubmitted_Call
- func (_c *MockPayerReportManagerContract_ParsePayerReportSubmitted_Call) RunAndReturn(...) *MockPayerReportManagerContract_ParsePayerReportSubmitted_Call
- type MockPayerReportManagerContract_ParsePayerReportSubsetSettled_Call
- func (_c *MockPayerReportManagerContract_ParsePayerReportSubsetSettled_Call) Return(_a0 *payerreportmanager.PayerReportManagerPayerReportSubsetSettled, _a1 error) *MockPayerReportManagerContract_ParsePayerReportSubsetSettled_Call
- func (_c *MockPayerReportManagerContract_ParsePayerReportSubsetSettled_Call) Run(run func(log types.Log)) *MockPayerReportManagerContract_ParsePayerReportSubsetSettled_Call
- func (_c *MockPayerReportManagerContract_ParsePayerReportSubsetSettled_Call) RunAndReturn(...) *MockPayerReportManagerContract_ParsePayerReportSubsetSettled_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPayerReportManagerContract ¶
MockPayerReportManagerContract is an autogenerated mock type for the PayerReportManagerContract type
func NewMockPayerReportManagerContract ¶
func NewMockPayerReportManagerContract(t interface {
mock.TestingT
Cleanup(func())
}) *MockPayerReportManagerContract
NewMockPayerReportManagerContract creates a new instance of MockPayerReportManagerContract. 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 (*MockPayerReportManagerContract) DOMAINSEPARATOR ¶
func (_m *MockPayerReportManagerContract) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)
DOMAINSEPARATOR provides a mock function with given fields: opts
func (*MockPayerReportManagerContract) EXPECT ¶
func (_m *MockPayerReportManagerContract) EXPECT() *MockPayerReportManagerContract_Expecter
func (*MockPayerReportManagerContract) GetPayerReport ¶
func (_m *MockPayerReportManagerContract) GetPayerReport(opts *bind.CallOpts, originatorNodeID uint32, payerReportIndex *big.Int) (payerreportmanager.IPayerReportManagerPayerReport, error)
GetPayerReport provides a mock function with given fields: opts, originatorNodeID, payerReportIndex
func (*MockPayerReportManagerContract) ParsePayerReportSubmitted ¶
func (_m *MockPayerReportManagerContract) ParsePayerReportSubmitted(log types.Log) (*payerreportmanager.PayerReportManagerPayerReportSubmitted, error)
ParsePayerReportSubmitted provides a mock function with given fields: log
func (*MockPayerReportManagerContract) ParsePayerReportSubsetSettled ¶
func (_m *MockPayerReportManagerContract) ParsePayerReportSubsetSettled(log types.Log) (*payerreportmanager.PayerReportManagerPayerReportSubsetSettled, error)
ParsePayerReportSubsetSettled provides a mock function with given fields: log
type MockPayerReportManagerContract_DOMAINSEPARATOR_Call ¶
MockPayerReportManagerContract_DOMAINSEPARATOR_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DOMAINSEPARATOR'
func (*MockPayerReportManagerContract_DOMAINSEPARATOR_Call) Return ¶
func (_c *MockPayerReportManagerContract_DOMAINSEPARATOR_Call) Return(_a0 [32]byte, _a1 error) *MockPayerReportManagerContract_DOMAINSEPARATOR_Call
func (*MockPayerReportManagerContract_DOMAINSEPARATOR_Call) Run ¶
func (_c *MockPayerReportManagerContract_DOMAINSEPARATOR_Call) Run(run func(opts *bind.CallOpts)) *MockPayerReportManagerContract_DOMAINSEPARATOR_Call
func (*MockPayerReportManagerContract_DOMAINSEPARATOR_Call) RunAndReturn ¶
func (_c *MockPayerReportManagerContract_DOMAINSEPARATOR_Call) RunAndReturn(run func(*bind.CallOpts) ([32]byte, error)) *MockPayerReportManagerContract_DOMAINSEPARATOR_Call
type MockPayerReportManagerContract_Expecter ¶
type MockPayerReportManagerContract_Expecter struct {
// contains filtered or unexported fields
}
func (*MockPayerReportManagerContract_Expecter) DOMAINSEPARATOR ¶
func (_e *MockPayerReportManagerContract_Expecter) DOMAINSEPARATOR(opts interface{}) *MockPayerReportManagerContract_DOMAINSEPARATOR_Call
DOMAINSEPARATOR is a helper method to define mock.On call
- opts *bind.CallOpts
func (*MockPayerReportManagerContract_Expecter) GetPayerReport ¶
func (_e *MockPayerReportManagerContract_Expecter) GetPayerReport(opts interface{}, originatorNodeID interface{}, payerReportIndex interface{}) *MockPayerReportManagerContract_GetPayerReport_Call
GetPayerReport is a helper method to define mock.On call
- opts *bind.CallOpts
- originatorNodeID uint32
- payerReportIndex *big.Int
func (*MockPayerReportManagerContract_Expecter) ParsePayerReportSubmitted ¶
func (_e *MockPayerReportManagerContract_Expecter) ParsePayerReportSubmitted(log interface{}) *MockPayerReportManagerContract_ParsePayerReportSubmitted_Call
ParsePayerReportSubmitted is a helper method to define mock.On call
- log types.Log
func (*MockPayerReportManagerContract_Expecter) ParsePayerReportSubsetSettled ¶
func (_e *MockPayerReportManagerContract_Expecter) ParsePayerReportSubsetSettled(log interface{}) *MockPayerReportManagerContract_ParsePayerReportSubsetSettled_Call
ParsePayerReportSubsetSettled is a helper method to define mock.On call
- log types.Log
type MockPayerReportManagerContract_GetPayerReport_Call ¶
MockPayerReportManagerContract_GetPayerReport_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPayerReport'
func (*MockPayerReportManagerContract_GetPayerReport_Call) Run ¶
func (_c *MockPayerReportManagerContract_GetPayerReport_Call) Run(run func(opts *bind.CallOpts, originatorNodeID uint32, payerReportIndex *big.Int)) *MockPayerReportManagerContract_GetPayerReport_Call
func (*MockPayerReportManagerContract_GetPayerReport_Call) RunAndReturn ¶
func (_c *MockPayerReportManagerContract_GetPayerReport_Call) RunAndReturn(run func(*bind.CallOpts, uint32, *big.Int) (payerreportmanager.IPayerReportManagerPayerReport, error)) *MockPayerReportManagerContract_GetPayerReport_Call
type MockPayerReportManagerContract_ParsePayerReportSubmitted_Call ¶
MockPayerReportManagerContract_ParsePayerReportSubmitted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ParsePayerReportSubmitted'
func (*MockPayerReportManagerContract_ParsePayerReportSubmitted_Call) Run ¶
func (_c *MockPayerReportManagerContract_ParsePayerReportSubmitted_Call) Run(run func(log types.Log)) *MockPayerReportManagerContract_ParsePayerReportSubmitted_Call
func (*MockPayerReportManagerContract_ParsePayerReportSubmitted_Call) RunAndReturn ¶
type MockPayerReportManagerContract_ParsePayerReportSubsetSettled_Call ¶
MockPayerReportManagerContract_ParsePayerReportSubsetSettled_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ParsePayerReportSubsetSettled'