Documentation ¶
Index ¶
- type ChainReader
- func (_m *ChainReader) BatchGetLatestValues(ctx context.Context, request types.BatchGetLatestValuesRequest) (types.BatchGetLatestValuesResult, error)
- func (_m *ChainReader) Bind(ctx context.Context, bindings []types.BoundContract) error
- func (_m *ChainReader) Close() error
- func (_m *ChainReader) EXPECT() *ChainReader_Expecter
- func (_m *ChainReader) GetLatestValue(ctx context.Context, contractName string, method string, ...) error
- func (_m *ChainReader) HealthReport() map[string]error
- func (_m *ChainReader) Name() string
- func (_m *ChainReader) QueryKey(ctx context.Context, contractName string, filter query.KeyFilter, ...) ([]types.Sequence, error)
- func (_m *ChainReader) Ready() error
- func (_m *ChainReader) Start(_a0 context.Context) error
- type ChainReader_BatchGetLatestValues_Call
- func (_c *ChainReader_BatchGetLatestValues_Call) Return(_a0 types.BatchGetLatestValuesResult, _a1 error) *ChainReader_BatchGetLatestValues_Call
- func (_c *ChainReader_BatchGetLatestValues_Call) Run(run func(ctx context.Context, request types.BatchGetLatestValuesRequest)) *ChainReader_BatchGetLatestValues_Call
- func (_c *ChainReader_BatchGetLatestValues_Call) RunAndReturn(...) *ChainReader_BatchGetLatestValues_Call
- type ChainReader_Bind_Call
- func (_c *ChainReader_Bind_Call) Return(_a0 error) *ChainReader_Bind_Call
- func (_c *ChainReader_Bind_Call) Run(run func(ctx context.Context, bindings []types.BoundContract)) *ChainReader_Bind_Call
- func (_c *ChainReader_Bind_Call) RunAndReturn(run func(context.Context, []types.BoundContract) error) *ChainReader_Bind_Call
- type ChainReader_Close_Call
- type ChainReader_Expecter
- func (_e *ChainReader_Expecter) BatchGetLatestValues(ctx interface{}, request interface{}) *ChainReader_BatchGetLatestValues_Call
- func (_e *ChainReader_Expecter) Bind(ctx interface{}, bindings interface{}) *ChainReader_Bind_Call
- func (_e *ChainReader_Expecter) Close() *ChainReader_Close_Call
- func (_e *ChainReader_Expecter) GetLatestValue(ctx interface{}, contractName interface{}, method interface{}, ...) *ChainReader_GetLatestValue_Call
- func (_e *ChainReader_Expecter) HealthReport() *ChainReader_HealthReport_Call
- func (_e *ChainReader_Expecter) Name() *ChainReader_Name_Call
- func (_e *ChainReader_Expecter) QueryKey(ctx interface{}, contractName interface{}, filter interface{}, ...) *ChainReader_QueryKey_Call
- func (_e *ChainReader_Expecter) Ready() *ChainReader_Ready_Call
- func (_e *ChainReader_Expecter) Start(_a0 interface{}) *ChainReader_Start_Call
- type ChainReader_GetLatestValue_Call
- func (_c *ChainReader_GetLatestValue_Call) Return(_a0 error) *ChainReader_GetLatestValue_Call
- func (_c *ChainReader_GetLatestValue_Call) Run(run func(ctx context.Context, contractName string, method string, ...)) *ChainReader_GetLatestValue_Call
- func (_c *ChainReader_GetLatestValue_Call) RunAndReturn(...) *ChainReader_GetLatestValue_Call
- type ChainReader_HealthReport_Call
- func (_c *ChainReader_HealthReport_Call) Return(_a0 map[string]error) *ChainReader_HealthReport_Call
- func (_c *ChainReader_HealthReport_Call) Run(run func()) *ChainReader_HealthReport_Call
- func (_c *ChainReader_HealthReport_Call) RunAndReturn(run func() map[string]error) *ChainReader_HealthReport_Call
- type ChainReader_Name_Call
- type ChainReader_QueryKey_Call
- type ChainReader_Ready_Call
- type ChainReader_Start_Call
- type ChainWriter
- func (_m *ChainWriter) Close() error
- func (_m *ChainWriter) EXPECT() *ChainWriter_Expecter
- func (_m *ChainWriter) GetFeeComponents(ctx context.Context) (*types.ChainFeeComponents, error)
- func (_m *ChainWriter) GetTransactionStatus(ctx context.Context, transactionID string) (types.TransactionStatus, error)
- func (_m *ChainWriter) HealthReport() map[string]error
- func (_m *ChainWriter) Name() string
- func (_m *ChainWriter) Ready() error
- func (_m *ChainWriter) Start(_a0 context.Context) error
- func (_m *ChainWriter) SubmitTransaction(ctx context.Context, contractName string, method string, args interface{}, ...) error
- type ChainWriter_Close_Call
- type ChainWriter_Expecter
- func (_e *ChainWriter_Expecter) Close() *ChainWriter_Close_Call
- func (_e *ChainWriter_Expecter) GetFeeComponents(ctx interface{}) *ChainWriter_GetFeeComponents_Call
- func (_e *ChainWriter_Expecter) GetTransactionStatus(ctx interface{}, transactionID interface{}) *ChainWriter_GetTransactionStatus_Call
- func (_e *ChainWriter_Expecter) HealthReport() *ChainWriter_HealthReport_Call
- func (_e *ChainWriter_Expecter) Name() *ChainWriter_Name_Call
- func (_e *ChainWriter_Expecter) Ready() *ChainWriter_Ready_Call
- func (_e *ChainWriter_Expecter) Start(_a0 interface{}) *ChainWriter_Start_Call
- func (_e *ChainWriter_Expecter) SubmitTransaction(ctx interface{}, contractName interface{}, method interface{}, ...) *ChainWriter_SubmitTransaction_Call
- type ChainWriter_GetFeeComponents_Call
- func (_c *ChainWriter_GetFeeComponents_Call) Return(_a0 *types.ChainFeeComponents, _a1 error) *ChainWriter_GetFeeComponents_Call
- func (_c *ChainWriter_GetFeeComponents_Call) Run(run func(ctx context.Context)) *ChainWriter_GetFeeComponents_Call
- func (_c *ChainWriter_GetFeeComponents_Call) RunAndReturn(run func(context.Context) (*types.ChainFeeComponents, error)) *ChainWriter_GetFeeComponents_Call
- type ChainWriter_GetTransactionStatus_Call
- func (_c *ChainWriter_GetTransactionStatus_Call) Return(_a0 types.TransactionStatus, _a1 error) *ChainWriter_GetTransactionStatus_Call
- func (_c *ChainWriter_GetTransactionStatus_Call) Run(run func(ctx context.Context, transactionID string)) *ChainWriter_GetTransactionStatus_Call
- func (_c *ChainWriter_GetTransactionStatus_Call) RunAndReturn(run func(context.Context, string) (types.TransactionStatus, error)) *ChainWriter_GetTransactionStatus_Call
- type ChainWriter_HealthReport_Call
- func (_c *ChainWriter_HealthReport_Call) Return(_a0 map[string]error) *ChainWriter_HealthReport_Call
- func (_c *ChainWriter_HealthReport_Call) Run(run func()) *ChainWriter_HealthReport_Call
- func (_c *ChainWriter_HealthReport_Call) RunAndReturn(run func() map[string]error) *ChainWriter_HealthReport_Call
- type ChainWriter_Name_Call
- type ChainWriter_Ready_Call
- type ChainWriter_Start_Call
- type ChainWriter_SubmitTransaction_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainReader ¶
ChainReader is an autogenerated mock type for the ChainReader type
func NewChainReader ¶
func NewChainReader(t interface { mock.TestingT Cleanup(func()) }) *ChainReader
NewChainReader creates a new instance of ChainReader. 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 (*ChainReader) BatchGetLatestValues ¶ added in v2.15.0
func (_m *ChainReader) BatchGetLatestValues(ctx context.Context, request types.BatchGetLatestValuesRequest) (types.BatchGetLatestValuesResult, error)
BatchGetLatestValues provides a mock function with given fields: ctx, request
func (*ChainReader) Bind ¶
func (_m *ChainReader) Bind(ctx context.Context, bindings []types.BoundContract) error
Bind provides a mock function with given fields: ctx, bindings
func (*ChainReader) Close ¶
func (_m *ChainReader) Close() error
Close provides a mock function with given fields:
func (*ChainReader) EXPECT ¶ added in v2.15.0
func (_m *ChainReader) EXPECT() *ChainReader_Expecter
func (*ChainReader) GetLatestValue ¶
func (_m *ChainReader) GetLatestValue(ctx context.Context, contractName string, method string, confidenceLevel primitives.ConfidenceLevel, params interface{}, returnVal interface{}) error
GetLatestValue provides a mock function with given fields: ctx, contractName, method, confidenceLevel, params, returnVal
func (*ChainReader) HealthReport ¶
func (_m *ChainReader) HealthReport() map[string]error
HealthReport provides a mock function with given fields:
func (*ChainReader) Name ¶
func (_m *ChainReader) Name() string
Name provides a mock function with given fields:
func (*ChainReader) QueryKey ¶
func (_m *ChainReader) QueryKey(ctx context.Context, contractName string, filter query.KeyFilter, limitAndSort query.LimitAndSort, sequenceDataType interface{}) ([]types.Sequence, error)
QueryKey provides a mock function with given fields: ctx, contractName, filter, limitAndSort, sequenceDataType
func (*ChainReader) Ready ¶
func (_m *ChainReader) Ready() error
Ready provides a mock function with given fields:
type ChainReader_BatchGetLatestValues_Call ¶ added in v2.15.0
ChainReader_BatchGetLatestValues_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchGetLatestValues'
func (*ChainReader_BatchGetLatestValues_Call) Return ¶ added in v2.15.0
func (_c *ChainReader_BatchGetLatestValues_Call) Return(_a0 types.BatchGetLatestValuesResult, _a1 error) *ChainReader_BatchGetLatestValues_Call
func (*ChainReader_BatchGetLatestValues_Call) Run ¶ added in v2.15.0
func (_c *ChainReader_BatchGetLatestValues_Call) Run(run func(ctx context.Context, request types.BatchGetLatestValuesRequest)) *ChainReader_BatchGetLatestValues_Call
func (*ChainReader_BatchGetLatestValues_Call) RunAndReturn ¶ added in v2.15.0
func (_c *ChainReader_BatchGetLatestValues_Call) RunAndReturn(run func(context.Context, types.BatchGetLatestValuesRequest) (types.BatchGetLatestValuesResult, error)) *ChainReader_BatchGetLatestValues_Call
type ChainReader_Bind_Call ¶ added in v2.15.0
ChainReader_Bind_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Bind'
func (*ChainReader_Bind_Call) Return ¶ added in v2.15.0
func (_c *ChainReader_Bind_Call) Return(_a0 error) *ChainReader_Bind_Call
func (*ChainReader_Bind_Call) Run ¶ added in v2.15.0
func (_c *ChainReader_Bind_Call) Run(run func(ctx context.Context, bindings []types.BoundContract)) *ChainReader_Bind_Call
func (*ChainReader_Bind_Call) RunAndReturn ¶ added in v2.15.0
func (_c *ChainReader_Bind_Call) RunAndReturn(run func(context.Context, []types.BoundContract) error) *ChainReader_Bind_Call
type ChainReader_Close_Call ¶ added in v2.15.0
ChainReader_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'
func (*ChainReader_Close_Call) Return ¶ added in v2.15.0
func (_c *ChainReader_Close_Call) Return(_a0 error) *ChainReader_Close_Call
func (*ChainReader_Close_Call) Run ¶ added in v2.15.0
func (_c *ChainReader_Close_Call) Run(run func()) *ChainReader_Close_Call
func (*ChainReader_Close_Call) RunAndReturn ¶ added in v2.15.0
func (_c *ChainReader_Close_Call) RunAndReturn(run func() error) *ChainReader_Close_Call
type ChainReader_Expecter ¶ added in v2.15.0
type ChainReader_Expecter struct {
// contains filtered or unexported fields
}
func (*ChainReader_Expecter) BatchGetLatestValues ¶ added in v2.15.0
func (_e *ChainReader_Expecter) BatchGetLatestValues(ctx interface{}, request interface{}) *ChainReader_BatchGetLatestValues_Call
BatchGetLatestValues is a helper method to define mock.On call
- ctx context.Context
- request types.BatchGetLatestValuesRequest
func (*ChainReader_Expecter) Bind ¶ added in v2.15.0
func (_e *ChainReader_Expecter) Bind(ctx interface{}, bindings interface{}) *ChainReader_Bind_Call
Bind is a helper method to define mock.On call
- ctx context.Context
- bindings []types.BoundContract
func (*ChainReader_Expecter) Close ¶ added in v2.15.0
func (_e *ChainReader_Expecter) Close() *ChainReader_Close_Call
Close is a helper method to define mock.On call
func (*ChainReader_Expecter) GetLatestValue ¶ added in v2.15.0
func (_e *ChainReader_Expecter) GetLatestValue(ctx interface{}, contractName interface{}, method interface{}, confidenceLevel interface{}, params interface{}, returnVal interface{}) *ChainReader_GetLatestValue_Call
GetLatestValue is a helper method to define mock.On call
- ctx context.Context
- contractName string
- method string
- confidenceLevel primitives.ConfidenceLevel
- params interface{}
- returnVal interface{}
func (*ChainReader_Expecter) HealthReport ¶ added in v2.15.0
func (_e *ChainReader_Expecter) HealthReport() *ChainReader_HealthReport_Call
HealthReport is a helper method to define mock.On call
func (*ChainReader_Expecter) Name ¶ added in v2.15.0
func (_e *ChainReader_Expecter) Name() *ChainReader_Name_Call
Name is a helper method to define mock.On call
func (*ChainReader_Expecter) QueryKey ¶ added in v2.15.0
func (_e *ChainReader_Expecter) QueryKey(ctx interface{}, contractName interface{}, filter interface{}, limitAndSort interface{}, sequenceDataType interface{}) *ChainReader_QueryKey_Call
QueryKey is a helper method to define mock.On call
- ctx context.Context
- contractName string
- filter query.KeyFilter
- limitAndSort query.LimitAndSort
- sequenceDataType interface{}
func (*ChainReader_Expecter) Ready ¶ added in v2.15.0
func (_e *ChainReader_Expecter) Ready() *ChainReader_Ready_Call
Ready is a helper method to define mock.On call
func (*ChainReader_Expecter) Start ¶ added in v2.15.0
func (_e *ChainReader_Expecter) Start(_a0 interface{}) *ChainReader_Start_Call
Start is a helper method to define mock.On call
- _a0 context.Context
type ChainReader_GetLatestValue_Call ¶ added in v2.15.0
ChainReader_GetLatestValue_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLatestValue'
func (*ChainReader_GetLatestValue_Call) Return ¶ added in v2.15.0
func (_c *ChainReader_GetLatestValue_Call) Return(_a0 error) *ChainReader_GetLatestValue_Call
func (*ChainReader_GetLatestValue_Call) Run ¶ added in v2.15.0
func (_c *ChainReader_GetLatestValue_Call) Run(run func(ctx context.Context, contractName string, method string, confidenceLevel primitives.ConfidenceLevel, params interface{}, returnVal interface{})) *ChainReader_GetLatestValue_Call
func (*ChainReader_GetLatestValue_Call) RunAndReturn ¶ added in v2.15.0
func (_c *ChainReader_GetLatestValue_Call) RunAndReturn(run func(context.Context, string, string, primitives.ConfidenceLevel, interface{}, interface{}) error) *ChainReader_GetLatestValue_Call
type ChainReader_HealthReport_Call ¶ added in v2.15.0
ChainReader_HealthReport_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HealthReport'
func (*ChainReader_HealthReport_Call) Return ¶ added in v2.15.0
func (_c *ChainReader_HealthReport_Call) Return(_a0 map[string]error) *ChainReader_HealthReport_Call
func (*ChainReader_HealthReport_Call) Run ¶ added in v2.15.0
func (_c *ChainReader_HealthReport_Call) Run(run func()) *ChainReader_HealthReport_Call
func (*ChainReader_HealthReport_Call) RunAndReturn ¶ added in v2.15.0
func (_c *ChainReader_HealthReport_Call) RunAndReturn(run func() map[string]error) *ChainReader_HealthReport_Call
type ChainReader_Name_Call ¶ added in v2.15.0
ChainReader_Name_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Name'
func (*ChainReader_Name_Call) Return ¶ added in v2.15.0
func (_c *ChainReader_Name_Call) Return(_a0 string) *ChainReader_Name_Call
func (*ChainReader_Name_Call) Run ¶ added in v2.15.0
func (_c *ChainReader_Name_Call) Run(run func()) *ChainReader_Name_Call
func (*ChainReader_Name_Call) RunAndReturn ¶ added in v2.15.0
func (_c *ChainReader_Name_Call) RunAndReturn(run func() string) *ChainReader_Name_Call
type ChainReader_QueryKey_Call ¶ added in v2.15.0
ChainReader_QueryKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueryKey'
func (*ChainReader_QueryKey_Call) Return ¶ added in v2.15.0
func (_c *ChainReader_QueryKey_Call) Return(_a0 []types.Sequence, _a1 error) *ChainReader_QueryKey_Call
func (*ChainReader_QueryKey_Call) Run ¶ added in v2.15.0
func (_c *ChainReader_QueryKey_Call) Run(run func(ctx context.Context, contractName string, filter query.KeyFilter, limitAndSort query.LimitAndSort, sequenceDataType interface{})) *ChainReader_QueryKey_Call
func (*ChainReader_QueryKey_Call) RunAndReturn ¶ added in v2.15.0
func (_c *ChainReader_QueryKey_Call) RunAndReturn(run func(context.Context, string, query.KeyFilter, query.LimitAndSort, interface{}) ([]types.Sequence, error)) *ChainReader_QueryKey_Call
type ChainReader_Ready_Call ¶ added in v2.15.0
ChainReader_Ready_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Ready'
func (*ChainReader_Ready_Call) Return ¶ added in v2.15.0
func (_c *ChainReader_Ready_Call) Return(_a0 error) *ChainReader_Ready_Call
func (*ChainReader_Ready_Call) Run ¶ added in v2.15.0
func (_c *ChainReader_Ready_Call) Run(run func()) *ChainReader_Ready_Call
func (*ChainReader_Ready_Call) RunAndReturn ¶ added in v2.15.0
func (_c *ChainReader_Ready_Call) RunAndReturn(run func() error) *ChainReader_Ready_Call
type ChainReader_Start_Call ¶ added in v2.15.0
ChainReader_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*ChainReader_Start_Call) Return ¶ added in v2.15.0
func (_c *ChainReader_Start_Call) Return(_a0 error) *ChainReader_Start_Call
func (*ChainReader_Start_Call) Run ¶ added in v2.15.0
func (_c *ChainReader_Start_Call) Run(run func(_a0 context.Context)) *ChainReader_Start_Call
func (*ChainReader_Start_Call) RunAndReturn ¶ added in v2.15.0
func (_c *ChainReader_Start_Call) RunAndReturn(run func(context.Context) error) *ChainReader_Start_Call
type ChainWriter ¶
ChainWriter is an autogenerated mock type for the ChainWriter type
func NewChainWriter ¶
func NewChainWriter(t interface { mock.TestingT Cleanup(func()) }) *ChainWriter
NewChainWriter creates a new instance of ChainWriter. 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 (*ChainWriter) Close ¶ added in v2.15.0
func (_m *ChainWriter) Close() error
Close provides a mock function with given fields:
func (*ChainWriter) EXPECT ¶ added in v2.15.0
func (_m *ChainWriter) EXPECT() *ChainWriter_Expecter
func (*ChainWriter) GetFeeComponents ¶
func (_m *ChainWriter) GetFeeComponents(ctx context.Context) (*types.ChainFeeComponents, error)
GetFeeComponents provides a mock function with given fields: ctx
func (*ChainWriter) GetTransactionStatus ¶
func (_m *ChainWriter) GetTransactionStatus(ctx context.Context, transactionID string) (types.TransactionStatus, error)
GetTransactionStatus provides a mock function with given fields: ctx, transactionID
func (*ChainWriter) HealthReport ¶ added in v2.15.0
func (_m *ChainWriter) HealthReport() map[string]error
HealthReport provides a mock function with given fields:
func (*ChainWriter) Name ¶ added in v2.15.0
func (_m *ChainWriter) Name() string
Name provides a mock function with given fields:
func (*ChainWriter) Ready ¶ added in v2.15.0
func (_m *ChainWriter) Ready() error
Ready provides a mock function with given fields:
func (*ChainWriter) Start ¶ added in v2.15.0
func (_m *ChainWriter) Start(_a0 context.Context) error
Start provides a mock function with given fields: _a0
func (*ChainWriter) SubmitTransaction ¶
func (_m *ChainWriter) SubmitTransaction(ctx context.Context, contractName string, method string, args interface{}, transactionID string, toAddress string, meta *types.TxMeta, value *big.Int) error
SubmitTransaction provides a mock function with given fields: ctx, contractName, method, args, transactionID, toAddress, meta, value
type ChainWriter_Close_Call ¶ added in v2.15.0
ChainWriter_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'
func (*ChainWriter_Close_Call) Return ¶ added in v2.15.0
func (_c *ChainWriter_Close_Call) Return(_a0 error) *ChainWriter_Close_Call
func (*ChainWriter_Close_Call) Run ¶ added in v2.15.0
func (_c *ChainWriter_Close_Call) Run(run func()) *ChainWriter_Close_Call
func (*ChainWriter_Close_Call) RunAndReturn ¶ added in v2.15.0
func (_c *ChainWriter_Close_Call) RunAndReturn(run func() error) *ChainWriter_Close_Call
type ChainWriter_Expecter ¶ added in v2.15.0
type ChainWriter_Expecter struct {
// contains filtered or unexported fields
}
func (*ChainWriter_Expecter) Close ¶ added in v2.15.0
func (_e *ChainWriter_Expecter) Close() *ChainWriter_Close_Call
Close is a helper method to define mock.On call
func (*ChainWriter_Expecter) GetFeeComponents ¶ added in v2.15.0
func (_e *ChainWriter_Expecter) GetFeeComponents(ctx interface{}) *ChainWriter_GetFeeComponents_Call
GetFeeComponents is a helper method to define mock.On call
- ctx context.Context
func (*ChainWriter_Expecter) GetTransactionStatus ¶ added in v2.15.0
func (_e *ChainWriter_Expecter) GetTransactionStatus(ctx interface{}, transactionID interface{}) *ChainWriter_GetTransactionStatus_Call
GetTransactionStatus is a helper method to define mock.On call
- ctx context.Context
- transactionID string
func (*ChainWriter_Expecter) HealthReport ¶ added in v2.15.0
func (_e *ChainWriter_Expecter) HealthReport() *ChainWriter_HealthReport_Call
HealthReport is a helper method to define mock.On call
func (*ChainWriter_Expecter) Name ¶ added in v2.15.0
func (_e *ChainWriter_Expecter) Name() *ChainWriter_Name_Call
Name is a helper method to define mock.On call
func (*ChainWriter_Expecter) Ready ¶ added in v2.15.0
func (_e *ChainWriter_Expecter) Ready() *ChainWriter_Ready_Call
Ready is a helper method to define mock.On call
func (*ChainWriter_Expecter) Start ¶ added in v2.15.0
func (_e *ChainWriter_Expecter) Start(_a0 interface{}) *ChainWriter_Start_Call
Start is a helper method to define mock.On call
- _a0 context.Context
func (*ChainWriter_Expecter) SubmitTransaction ¶ added in v2.15.0
func (_e *ChainWriter_Expecter) SubmitTransaction(ctx interface{}, contractName interface{}, method interface{}, args interface{}, transactionID interface{}, toAddress interface{}, meta interface{}, value interface{}) *ChainWriter_SubmitTransaction_Call
SubmitTransaction is a helper method to define mock.On call
- ctx context.Context
- contractName string
- method string
- args interface{}
- transactionID string
- toAddress string
- meta *types.TxMeta
- value *big.Int
type ChainWriter_GetFeeComponents_Call ¶ added in v2.15.0
ChainWriter_GetFeeComponents_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFeeComponents'
func (*ChainWriter_GetFeeComponents_Call) Return ¶ added in v2.15.0
func (_c *ChainWriter_GetFeeComponents_Call) Return(_a0 *types.ChainFeeComponents, _a1 error) *ChainWriter_GetFeeComponents_Call
func (*ChainWriter_GetFeeComponents_Call) Run ¶ added in v2.15.0
func (_c *ChainWriter_GetFeeComponents_Call) Run(run func(ctx context.Context)) *ChainWriter_GetFeeComponents_Call
func (*ChainWriter_GetFeeComponents_Call) RunAndReturn ¶ added in v2.15.0
func (_c *ChainWriter_GetFeeComponents_Call) RunAndReturn(run func(context.Context) (*types.ChainFeeComponents, error)) *ChainWriter_GetFeeComponents_Call
type ChainWriter_GetTransactionStatus_Call ¶ added in v2.15.0
ChainWriter_GetTransactionStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTransactionStatus'
func (*ChainWriter_GetTransactionStatus_Call) Return ¶ added in v2.15.0
func (_c *ChainWriter_GetTransactionStatus_Call) Return(_a0 types.TransactionStatus, _a1 error) *ChainWriter_GetTransactionStatus_Call
func (*ChainWriter_GetTransactionStatus_Call) Run ¶ added in v2.15.0
func (_c *ChainWriter_GetTransactionStatus_Call) Run(run func(ctx context.Context, transactionID string)) *ChainWriter_GetTransactionStatus_Call
func (*ChainWriter_GetTransactionStatus_Call) RunAndReturn ¶ added in v2.15.0
func (_c *ChainWriter_GetTransactionStatus_Call) RunAndReturn(run func(context.Context, string) (types.TransactionStatus, error)) *ChainWriter_GetTransactionStatus_Call
type ChainWriter_HealthReport_Call ¶ added in v2.15.0
ChainWriter_HealthReport_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HealthReport'
func (*ChainWriter_HealthReport_Call) Return ¶ added in v2.15.0
func (_c *ChainWriter_HealthReport_Call) Return(_a0 map[string]error) *ChainWriter_HealthReport_Call
func (*ChainWriter_HealthReport_Call) Run ¶ added in v2.15.0
func (_c *ChainWriter_HealthReport_Call) Run(run func()) *ChainWriter_HealthReport_Call
func (*ChainWriter_HealthReport_Call) RunAndReturn ¶ added in v2.15.0
func (_c *ChainWriter_HealthReport_Call) RunAndReturn(run func() map[string]error) *ChainWriter_HealthReport_Call
type ChainWriter_Name_Call ¶ added in v2.15.0
ChainWriter_Name_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Name'
func (*ChainWriter_Name_Call) Return ¶ added in v2.15.0
func (_c *ChainWriter_Name_Call) Return(_a0 string) *ChainWriter_Name_Call
func (*ChainWriter_Name_Call) Run ¶ added in v2.15.0
func (_c *ChainWriter_Name_Call) Run(run func()) *ChainWriter_Name_Call
func (*ChainWriter_Name_Call) RunAndReturn ¶ added in v2.15.0
func (_c *ChainWriter_Name_Call) RunAndReturn(run func() string) *ChainWriter_Name_Call
type ChainWriter_Ready_Call ¶ added in v2.15.0
ChainWriter_Ready_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Ready'
func (*ChainWriter_Ready_Call) Return ¶ added in v2.15.0
func (_c *ChainWriter_Ready_Call) Return(_a0 error) *ChainWriter_Ready_Call
func (*ChainWriter_Ready_Call) Run ¶ added in v2.15.0
func (_c *ChainWriter_Ready_Call) Run(run func()) *ChainWriter_Ready_Call
func (*ChainWriter_Ready_Call) RunAndReturn ¶ added in v2.15.0
func (_c *ChainWriter_Ready_Call) RunAndReturn(run func() error) *ChainWriter_Ready_Call
type ChainWriter_Start_Call ¶ added in v2.15.0
ChainWriter_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*ChainWriter_Start_Call) Return ¶ added in v2.15.0
func (_c *ChainWriter_Start_Call) Return(_a0 error) *ChainWriter_Start_Call
func (*ChainWriter_Start_Call) Run ¶ added in v2.15.0
func (_c *ChainWriter_Start_Call) Run(run func(_a0 context.Context)) *ChainWriter_Start_Call
func (*ChainWriter_Start_Call) RunAndReturn ¶ added in v2.15.0
func (_c *ChainWriter_Start_Call) RunAndReturn(run func(context.Context) error) *ChainWriter_Start_Call
type ChainWriter_SubmitTransaction_Call ¶ added in v2.15.0
ChainWriter_SubmitTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SubmitTransaction'
func (*ChainWriter_SubmitTransaction_Call) Return ¶ added in v2.15.0
func (_c *ChainWriter_SubmitTransaction_Call) Return(_a0 error) *ChainWriter_SubmitTransaction_Call