Documentation ¶
Index ¶
- type Client
- func (_m *Client) EXPECT() *Client_Expecter
- func (_m *Client) GetOffChainData(ctx context.Context, hash common.Hash) ([]byte, error)
- func (_m *Client) GetStatus(ctx context.Context) (*types.DACStatus, error)
- func (_m *Client) ListOffChainData(ctx context.Context, hashes []common.Hash) (map[common.Hash][]byte, error)
- func (_m *Client) SignSequence(ctx context.Context, signedSequence types.SignedSequence) ([]byte, error)
- func (_m *Client) SignSequenceBanana(ctx context.Context, signedSequence types.SignedSequenceBanana) ([]byte, error)
- type ClientFactory
- type ClientFactory_Expecter
- type ClientFactory_New_Call
- type Client_Expecter
- func (_e *Client_Expecter) GetOffChainData(ctx interface{}, hash interface{}) *Client_GetOffChainData_Call
- func (_e *Client_Expecter) GetStatus(ctx interface{}) *Client_GetStatus_Call
- func (_e *Client_Expecter) ListOffChainData(ctx interface{}, hashes interface{}) *Client_ListOffChainData_Call
- func (_e *Client_Expecter) SignSequence(ctx interface{}, signedSequence interface{}) *Client_SignSequence_Call
- func (_e *Client_Expecter) SignSequenceBanana(ctx interface{}, signedSequence interface{}) *Client_SignSequenceBanana_Call
- type Client_GetOffChainData_Call
- func (_c *Client_GetOffChainData_Call) Return(_a0 []byte, _a1 error) *Client_GetOffChainData_Call
- func (_c *Client_GetOffChainData_Call) Run(run func(ctx context.Context, hash common.Hash)) *Client_GetOffChainData_Call
- func (_c *Client_GetOffChainData_Call) RunAndReturn(run func(context.Context, common.Hash) ([]byte, error)) *Client_GetOffChainData_Call
- type Client_GetStatus_Call
- func (_c *Client_GetStatus_Call) Return(_a0 *types.DACStatus, _a1 error) *Client_GetStatus_Call
- func (_c *Client_GetStatus_Call) Run(run func(ctx context.Context)) *Client_GetStatus_Call
- func (_c *Client_GetStatus_Call) RunAndReturn(run func(context.Context) (*types.DACStatus, error)) *Client_GetStatus_Call
- type Client_ListOffChainData_Call
- func (_c *Client_ListOffChainData_Call) Return(_a0 map[common.Hash][]byte, _a1 error) *Client_ListOffChainData_Call
- func (_c *Client_ListOffChainData_Call) Run(run func(ctx context.Context, hashes []common.Hash)) *Client_ListOffChainData_Call
- func (_c *Client_ListOffChainData_Call) RunAndReturn(run func(context.Context, []common.Hash) (map[common.Hash][]byte, error)) *Client_ListOffChainData_Call
- type Client_SignSequenceBanana_Call
- func (_c *Client_SignSequenceBanana_Call) Return(_a0 []byte, _a1 error) *Client_SignSequenceBanana_Call
- func (_c *Client_SignSequenceBanana_Call) Run(run func(ctx context.Context, signedSequence types.SignedSequenceBanana)) *Client_SignSequenceBanana_Call
- func (_c *Client_SignSequenceBanana_Call) RunAndReturn(run func(context.Context, types.SignedSequenceBanana) ([]byte, error)) *Client_SignSequenceBanana_Call
- type Client_SignSequence_Call
- func (_c *Client_SignSequence_Call) Return(_a0 []byte, _a1 error) *Client_SignSequence_Call
- func (_c *Client_SignSequence_Call) Run(run func(ctx context.Context, signedSequence types.SignedSequence)) *Client_SignSequence_Call
- func (_c *Client_SignSequence_Call) RunAndReturn(run func(context.Context, types.SignedSequence) ([]byte, error)) *Client_SignSequence_Call
- type DB
- func (_m *DB) CountOffchainData(ctx context.Context) (uint64, error)
- func (_m *DB) DeleteUnresolvedBatchKeys(ctx context.Context, bks []types.BatchKey) error
- func (_m *DB) DetectOffchainDataGaps(ctx context.Context) (map[uint64]uint64, error)
- func (_m *DB) EXPECT() *DB_Expecter
- func (_m *DB) GetLastProcessedBlock(ctx context.Context, task string) (uint64, error)
- func (_m *DB) GetOffChainData(ctx context.Context, key common.Hash) (*types.OffChainData, error)
- func (_m *DB) GetUnresolvedBatchKeys(ctx context.Context, limit uint) ([]types.BatchKey, error)
- func (_m *DB) ListOffChainData(ctx context.Context, keys []common.Hash) ([]types.OffChainData, error)
- func (_m *DB) StoreLastProcessedBlock(ctx context.Context, block uint64, task string) error
- func (_m *DB) StoreOffChainData(ctx context.Context, od []types.OffChainData) error
- func (_m *DB) StoreUnresolvedBatchKeys(ctx context.Context, bks []types.BatchKey) error
- type DB_CountOffchainData_Call
- func (_c *DB_CountOffchainData_Call) Return(_a0 uint64, _a1 error) *DB_CountOffchainData_Call
- func (_c *DB_CountOffchainData_Call) Run(run func(ctx context.Context)) *DB_CountOffchainData_Call
- func (_c *DB_CountOffchainData_Call) RunAndReturn(run func(context.Context) (uint64, error)) *DB_CountOffchainData_Call
- type DB_DeleteUnresolvedBatchKeys_Call
- func (_c *DB_DeleteUnresolvedBatchKeys_Call) Return(_a0 error) *DB_DeleteUnresolvedBatchKeys_Call
- func (_c *DB_DeleteUnresolvedBatchKeys_Call) Run(run func(ctx context.Context, bks []types.BatchKey)) *DB_DeleteUnresolvedBatchKeys_Call
- func (_c *DB_DeleteUnresolvedBatchKeys_Call) RunAndReturn(run func(context.Context, []types.BatchKey) error) *DB_DeleteUnresolvedBatchKeys_Call
- type DB_DetectOffchainDataGaps_Call
- func (_c *DB_DetectOffchainDataGaps_Call) Return(_a0 map[uint64]uint64, _a1 error) *DB_DetectOffchainDataGaps_Call
- func (_c *DB_DetectOffchainDataGaps_Call) Run(run func(ctx context.Context)) *DB_DetectOffchainDataGaps_Call
- func (_c *DB_DetectOffchainDataGaps_Call) RunAndReturn(run func(context.Context) (map[uint64]uint64, error)) *DB_DetectOffchainDataGaps_Call
- type DB_Expecter
- func (_e *DB_Expecter) CountOffchainData(ctx interface{}) *DB_CountOffchainData_Call
- func (_e *DB_Expecter) DeleteUnresolvedBatchKeys(ctx interface{}, bks interface{}) *DB_DeleteUnresolvedBatchKeys_Call
- func (_e *DB_Expecter) DetectOffchainDataGaps(ctx interface{}) *DB_DetectOffchainDataGaps_Call
- func (_e *DB_Expecter) GetLastProcessedBlock(ctx interface{}, task interface{}) *DB_GetLastProcessedBlock_Call
- func (_e *DB_Expecter) GetOffChainData(ctx interface{}, key interface{}) *DB_GetOffChainData_Call
- func (_e *DB_Expecter) GetUnresolvedBatchKeys(ctx interface{}, limit interface{}) *DB_GetUnresolvedBatchKeys_Call
- func (_e *DB_Expecter) ListOffChainData(ctx interface{}, keys interface{}) *DB_ListOffChainData_Call
- func (_e *DB_Expecter) StoreLastProcessedBlock(ctx interface{}, block interface{}, task interface{}) *DB_StoreLastProcessedBlock_Call
- func (_e *DB_Expecter) StoreOffChainData(ctx interface{}, od interface{}) *DB_StoreOffChainData_Call
- func (_e *DB_Expecter) StoreUnresolvedBatchKeys(ctx interface{}, bks interface{}) *DB_StoreUnresolvedBatchKeys_Call
- type DB_GetLastProcessedBlock_Call
- func (_c *DB_GetLastProcessedBlock_Call) Return(_a0 uint64, _a1 error) *DB_GetLastProcessedBlock_Call
- func (_c *DB_GetLastProcessedBlock_Call) Run(run func(ctx context.Context, task string)) *DB_GetLastProcessedBlock_Call
- func (_c *DB_GetLastProcessedBlock_Call) RunAndReturn(run func(context.Context, string) (uint64, error)) *DB_GetLastProcessedBlock_Call
- type DB_GetOffChainData_Call
- func (_c *DB_GetOffChainData_Call) Return(_a0 *types.OffChainData, _a1 error) *DB_GetOffChainData_Call
- func (_c *DB_GetOffChainData_Call) Run(run func(ctx context.Context, key common.Hash)) *DB_GetOffChainData_Call
- func (_c *DB_GetOffChainData_Call) RunAndReturn(run func(context.Context, common.Hash) (*types.OffChainData, error)) *DB_GetOffChainData_Call
- type DB_GetUnresolvedBatchKeys_Call
- func (_c *DB_GetUnresolvedBatchKeys_Call) Return(_a0 []types.BatchKey, _a1 error) *DB_GetUnresolvedBatchKeys_Call
- func (_c *DB_GetUnresolvedBatchKeys_Call) Run(run func(ctx context.Context, limit uint)) *DB_GetUnresolvedBatchKeys_Call
- func (_c *DB_GetUnresolvedBatchKeys_Call) RunAndReturn(run func(context.Context, uint) ([]types.BatchKey, error)) *DB_GetUnresolvedBatchKeys_Call
- type DB_ListOffChainData_Call
- func (_c *DB_ListOffChainData_Call) Return(_a0 []types.OffChainData, _a1 error) *DB_ListOffChainData_Call
- func (_c *DB_ListOffChainData_Call) Run(run func(ctx context.Context, keys []common.Hash)) *DB_ListOffChainData_Call
- func (_c *DB_ListOffChainData_Call) RunAndReturn(run func(context.Context, []common.Hash) ([]types.OffChainData, error)) *DB_ListOffChainData_Call
- type DB_StoreLastProcessedBlock_Call
- func (_c *DB_StoreLastProcessedBlock_Call) Return(_a0 error) *DB_StoreLastProcessedBlock_Call
- func (_c *DB_StoreLastProcessedBlock_Call) Run(run func(ctx context.Context, block uint64, task string)) *DB_StoreLastProcessedBlock_Call
- func (_c *DB_StoreLastProcessedBlock_Call) RunAndReturn(run func(context.Context, uint64, string) error) *DB_StoreLastProcessedBlock_Call
- type DB_StoreOffChainData_Call
- func (_c *DB_StoreOffChainData_Call) Return(_a0 error) *DB_StoreOffChainData_Call
- func (_c *DB_StoreOffChainData_Call) Run(run func(ctx context.Context, od []types.OffChainData)) *DB_StoreOffChainData_Call
- func (_c *DB_StoreOffChainData_Call) RunAndReturn(run func(context.Context, []types.OffChainData) error) *DB_StoreOffChainData_Call
- type DB_StoreUnresolvedBatchKeys_Call
- func (_c *DB_StoreUnresolvedBatchKeys_Call) Return(_a0 error) *DB_StoreUnresolvedBatchKeys_Call
- func (_c *DB_StoreUnresolvedBatchKeys_Call) Run(run func(ctx context.Context, bks []types.BatchKey)) *DB_StoreUnresolvedBatchKeys_Call
- func (_c *DB_StoreUnresolvedBatchKeys_Call) RunAndReturn(run func(context.Context, []types.BatchKey) error) *DB_StoreUnresolvedBatchKeys_Call
- type Etherman
- func (_m *Etherman) BlockByNumber(ctx context.Context, number *big.Int) (*types.Block, error)
- func (_m *Etherman) CodeAt(ctx context.Context, account common.Address, blockNumber *big.Int) ([]byte, error)
- func (_m *Etherman) EXPECT() *Etherman_Expecter
- func (_m *Etherman) FilterSequenceBatches(opts *bind.FilterOpts, numBatch []uint64) (*polygonvalidiumetrog.PolygonvalidiumetrogSequenceBatchesIterator, error)
- func (_m *Etherman) GetCurrentDataCommittee() (*etherman.DataCommittee, error)
- func (_m *Etherman) GetCurrentDataCommitteeMembers() ([]etherman.DataCommitteeMember, error)
- func (_m *Etherman) GetTx(ctx context.Context, txHash common.Hash) (*types.Transaction, bool, error)
- func (_m *Etherman) HeaderByNumber(ctx context.Context, number *big.Int) (*types.Header, error)
- func (_m *Etherman) TrustedSequencer(ctx context.Context) (common.Address, error)
- func (_m *Etherman) TrustedSequencerURL(ctx context.Context) (string, error)
- func (_m *Etherman) WatchSetTrustedSequencer(ctx context.Context, ...) (event.Subscription, error)
- func (_m *Etherman) WatchSetTrustedSequencerURL(ctx context.Context, ...) (event.Subscription, error)
- type Etherman_BlockByNumber_Call
- func (_c *Etherman_BlockByNumber_Call) Return(_a0 *types.Block, _a1 error) *Etherman_BlockByNumber_Call
- func (_c *Etherman_BlockByNumber_Call) Run(run func(ctx context.Context, number *big.Int)) *Etherman_BlockByNumber_Call
- func (_c *Etherman_BlockByNumber_Call) RunAndReturn(run func(context.Context, *big.Int) (*types.Block, error)) *Etherman_BlockByNumber_Call
- type Etherman_CodeAt_Call
- func (_c *Etherman_CodeAt_Call) Return(_a0 []byte, _a1 error) *Etherman_CodeAt_Call
- func (_c *Etherman_CodeAt_Call) Run(run func(ctx context.Context, account common.Address, blockNumber *big.Int)) *Etherman_CodeAt_Call
- func (_c *Etherman_CodeAt_Call) RunAndReturn(run func(context.Context, common.Address, *big.Int) ([]byte, error)) *Etherman_CodeAt_Call
- type Etherman_Expecter
- func (_e *Etherman_Expecter) BlockByNumber(ctx interface{}, number interface{}) *Etherman_BlockByNumber_Call
- func (_e *Etherman_Expecter) CodeAt(ctx interface{}, account interface{}, blockNumber interface{}) *Etherman_CodeAt_Call
- func (_e *Etherman_Expecter) FilterSequenceBatches(opts interface{}, numBatch interface{}) *Etherman_FilterSequenceBatches_Call
- func (_e *Etherman_Expecter) GetCurrentDataCommittee() *Etherman_GetCurrentDataCommittee_Call
- func (_e *Etherman_Expecter) GetCurrentDataCommitteeMembers() *Etherman_GetCurrentDataCommitteeMembers_Call
- func (_e *Etherman_Expecter) GetTx(ctx interface{}, txHash interface{}) *Etherman_GetTx_Call
- func (_e *Etherman_Expecter) HeaderByNumber(ctx interface{}, number interface{}) *Etherman_HeaderByNumber_Call
- func (_e *Etherman_Expecter) TrustedSequencer(ctx interface{}) *Etherman_TrustedSequencer_Call
- func (_e *Etherman_Expecter) TrustedSequencerURL(ctx interface{}) *Etherman_TrustedSequencerURL_Call
- func (_e *Etherman_Expecter) WatchSetTrustedSequencer(ctx interface{}, events interface{}) *Etherman_WatchSetTrustedSequencer_Call
- func (_e *Etherman_Expecter) WatchSetTrustedSequencerURL(ctx interface{}, events interface{}) *Etherman_WatchSetTrustedSequencerURL_Call
- type Etherman_FilterSequenceBatches_Call
- func (_c *Etherman_FilterSequenceBatches_Call) Return(_a0 *polygonvalidiumetrog.PolygonvalidiumetrogSequenceBatchesIterator, ...) *Etherman_FilterSequenceBatches_Call
- func (_c *Etherman_FilterSequenceBatches_Call) Run(run func(opts *bind.FilterOpts, numBatch []uint64)) *Etherman_FilterSequenceBatches_Call
- func (_c *Etherman_FilterSequenceBatches_Call) RunAndReturn(...) *Etherman_FilterSequenceBatches_Call
- type Etherman_GetCurrentDataCommitteeMembers_Call
- func (_c *Etherman_GetCurrentDataCommitteeMembers_Call) Return(_a0 []etherman.DataCommitteeMember, _a1 error) *Etherman_GetCurrentDataCommitteeMembers_Call
- func (_c *Etherman_GetCurrentDataCommitteeMembers_Call) Run(run func()) *Etherman_GetCurrentDataCommitteeMembers_Call
- func (_c *Etherman_GetCurrentDataCommitteeMembers_Call) RunAndReturn(run func() ([]etherman.DataCommitteeMember, error)) *Etherman_GetCurrentDataCommitteeMembers_Call
- type Etherman_GetCurrentDataCommittee_Call
- func (_c *Etherman_GetCurrentDataCommittee_Call) Return(_a0 *etherman.DataCommittee, _a1 error) *Etherman_GetCurrentDataCommittee_Call
- func (_c *Etherman_GetCurrentDataCommittee_Call) Run(run func()) *Etherman_GetCurrentDataCommittee_Call
- func (_c *Etherman_GetCurrentDataCommittee_Call) RunAndReturn(run func() (*etherman.DataCommittee, error)) *Etherman_GetCurrentDataCommittee_Call
- type Etherman_GetTx_Call
- func (_c *Etherman_GetTx_Call) Return(_a0 *types.Transaction, _a1 bool, _a2 error) *Etherman_GetTx_Call
- func (_c *Etherman_GetTx_Call) Run(run func(ctx context.Context, txHash common.Hash)) *Etherman_GetTx_Call
- func (_c *Etherman_GetTx_Call) RunAndReturn(run func(context.Context, common.Hash) (*types.Transaction, bool, error)) *Etherman_GetTx_Call
- type Etherman_HeaderByNumber_Call
- func (_c *Etherman_HeaderByNumber_Call) Return(_a0 *types.Header, _a1 error) *Etherman_HeaderByNumber_Call
- func (_c *Etherman_HeaderByNumber_Call) Run(run func(ctx context.Context, number *big.Int)) *Etherman_HeaderByNumber_Call
- func (_c *Etherman_HeaderByNumber_Call) RunAndReturn(run func(context.Context, *big.Int) (*types.Header, error)) *Etherman_HeaderByNumber_Call
- type Etherman_TrustedSequencerURL_Call
- func (_c *Etherman_TrustedSequencerURL_Call) Return(_a0 string, _a1 error) *Etherman_TrustedSequencerURL_Call
- func (_c *Etherman_TrustedSequencerURL_Call) Run(run func(ctx context.Context)) *Etherman_TrustedSequencerURL_Call
- func (_c *Etherman_TrustedSequencerURL_Call) RunAndReturn(run func(context.Context) (string, error)) *Etherman_TrustedSequencerURL_Call
- type Etherman_TrustedSequencer_Call
- func (_c *Etherman_TrustedSequencer_Call) Return(_a0 common.Address, _a1 error) *Etherman_TrustedSequencer_Call
- func (_c *Etherman_TrustedSequencer_Call) Run(run func(ctx context.Context)) *Etherman_TrustedSequencer_Call
- func (_c *Etherman_TrustedSequencer_Call) RunAndReturn(run func(context.Context) (common.Address, error)) *Etherman_TrustedSequencer_Call
- type Etherman_WatchSetTrustedSequencerURL_Call
- func (_c *Etherman_WatchSetTrustedSequencerURL_Call) Return(_a0 event.Subscription, _a1 error) *Etherman_WatchSetTrustedSequencerURL_Call
- func (_c *Etherman_WatchSetTrustedSequencerURL_Call) Run(run func(ctx context.Context, ...)) *Etherman_WatchSetTrustedSequencerURL_Call
- func (_c *Etherman_WatchSetTrustedSequencerURL_Call) RunAndReturn(run func(context.Context, ...) (event.Subscription, error)) *Etherman_WatchSetTrustedSequencerURL_Call
- type Etherman_WatchSetTrustedSequencer_Call
- func (_c *Etherman_WatchSetTrustedSequencer_Call) Return(_a0 event.Subscription, _a1 error) *Etherman_WatchSetTrustedSequencer_Call
- func (_c *Etherman_WatchSetTrustedSequencer_Call) Run(run func(ctx context.Context, ...)) *Etherman_WatchSetTrustedSequencer_Call
- func (_c *Etherman_WatchSetTrustedSequencer_Call) RunAndReturn(run func(context.Context, ...) (event.Subscription, error)) *Etherman_WatchSetTrustedSequencer_Call
- type GapsDetector
- type GapsDetector_Expecter
- type GapsDetector_Gaps_Call
- type SequencerTracker
- type SequencerTracker_Expecter
- type SequencerTracker_GetSequenceBatch_Call
- func (_c *SequencerTracker_GetSequenceBatch_Call) Return(_a0 *sequencer.SeqBatch, _a1 error) *SequencerTracker_GetSequenceBatch_Call
- func (_c *SequencerTracker_GetSequenceBatch_Call) Run(run func(ctx context.Context, batchNum uint64)) *SequencerTracker_GetSequenceBatch_Call
- func (_c *SequencerTracker_GetSequenceBatch_Call) RunAndReturn(run func(context.Context, uint64) (*sequencer.SeqBatch, error)) *SequencerTracker_GetSequenceBatch_Call
- type Subscription
- type Subscription_Err_Call
- type Subscription_Expecter
- type Subscription_Unsubscribe_Call
- type Tx
- func (_m *Tx) Commit() error
- func (_m *Tx) EXPECT() *Tx_Expecter
- func (_m *Tx) ExecContext(ctx context.Context, query string, args ...interface{}) (sql.Result, error)
- func (_m *Tx) QueryContext(ctx context.Context, query string, args ...interface{}) (*sql.Rows, error)
- func (_m *Tx) QueryRowxContext(ctx context.Context, query string, args ...interface{}) *sqlx.Row
- func (_m *Tx) QueryxContext(ctx context.Context, query string, args ...interface{}) (*sqlx.Rows, error)
- func (_m *Tx) Rollback() error
- type Tx_Commit_Call
- type Tx_ExecContext_Call
- func (_c *Tx_ExecContext_Call) Return(_a0 sql.Result, _a1 error) *Tx_ExecContext_Call
- func (_c *Tx_ExecContext_Call) Run(run func(ctx context.Context, query string, args ...interface{})) *Tx_ExecContext_Call
- func (_c *Tx_ExecContext_Call) RunAndReturn(run func(context.Context, string, ...interface{}) (sql.Result, error)) *Tx_ExecContext_Call
- type Tx_Expecter
- func (_e *Tx_Expecter) Commit() *Tx_Commit_Call
- func (_e *Tx_Expecter) ExecContext(ctx interface{}, query interface{}, args ...interface{}) *Tx_ExecContext_Call
- func (_e *Tx_Expecter) QueryContext(ctx interface{}, query interface{}, args ...interface{}) *Tx_QueryContext_Call
- func (_e *Tx_Expecter) QueryRowxContext(ctx interface{}, query interface{}, args ...interface{}) *Tx_QueryRowxContext_Call
- func (_e *Tx_Expecter) QueryxContext(ctx interface{}, query interface{}, args ...interface{}) *Tx_QueryxContext_Call
- func (_e *Tx_Expecter) Rollback() *Tx_Rollback_Call
- type Tx_QueryContext_Call
- func (_c *Tx_QueryContext_Call) Return(_a0 *sql.Rows, _a1 error) *Tx_QueryContext_Call
- func (_c *Tx_QueryContext_Call) Run(run func(ctx context.Context, query string, args ...interface{})) *Tx_QueryContext_Call
- func (_c *Tx_QueryContext_Call) RunAndReturn(run func(context.Context, string, ...interface{}) (*sql.Rows, error)) *Tx_QueryContext_Call
- type Tx_QueryRowxContext_Call
- func (_c *Tx_QueryRowxContext_Call) Return(_a0 *sqlx.Row) *Tx_QueryRowxContext_Call
- func (_c *Tx_QueryRowxContext_Call) Run(run func(ctx context.Context, query string, args ...interface{})) *Tx_QueryRowxContext_Call
- func (_c *Tx_QueryRowxContext_Call) RunAndReturn(run func(context.Context, string, ...interface{}) *sqlx.Row) *Tx_QueryRowxContext_Call
- type Tx_QueryxContext_Call
- func (_c *Tx_QueryxContext_Call) Return(_a0 *sqlx.Rows, _a1 error) *Tx_QueryxContext_Call
- func (_c *Tx_QueryxContext_Call) Run(run func(ctx context.Context, query string, args ...interface{})) *Tx_QueryxContext_Call
- func (_c *Tx_QueryxContext_Call) RunAndReturn(run func(context.Context, string, ...interface{}) (*sqlx.Rows, error)) *Tx_QueryxContext_Call
- type Tx_Rollback_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func NewClient ¶
NewClient creates a new instance of Client. 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 (*Client) EXPECT ¶
func (_m *Client) EXPECT() *Client_Expecter
func (*Client) GetOffChainData ¶
GetOffChainData provides a mock function with given fields: ctx, hash
func (*Client) GetStatus ¶ added in v0.0.8
GetStatus provides a mock function with given fields: ctx
func (*Client) ListOffChainData ¶ added in v0.0.7
func (_m *Client) ListOffChainData(ctx context.Context, hashes []common.Hash) (map[common.Hash][]byte, error)
ListOffChainData provides a mock function with given fields: ctx, hashes
func (*Client) SignSequence ¶
func (_m *Client) SignSequence(ctx context.Context, signedSequence types.SignedSequence) ([]byte, error)
SignSequence provides a mock function with given fields: ctx, signedSequence
func (*Client) SignSequenceBanana ¶ added in v0.0.8
func (_m *Client) SignSequenceBanana(ctx context.Context, signedSequence types.SignedSequenceBanana) ([]byte, error)
SignSequenceBanana provides a mock function with given fields: ctx, signedSequence
type ClientFactory ¶
ClientFactory is an autogenerated mock type for the Factory type
func NewClientFactory ¶
func NewClientFactory(t interface { mock.TestingT Cleanup(func()) }) *ClientFactory
NewClientFactory creates a new instance of ClientFactory. 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 (*ClientFactory) EXPECT ¶
func (_m *ClientFactory) EXPECT() *ClientFactory_Expecter
type ClientFactory_Expecter ¶
type ClientFactory_Expecter struct {
// contains filtered or unexported fields
}
func (*ClientFactory_Expecter) New ¶
func (_e *ClientFactory_Expecter) New(url interface{}) *ClientFactory_New_Call
New is a helper method to define mock.On call
- url string
type ClientFactory_New_Call ¶
ClientFactory_New_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'New'
func (*ClientFactory_New_Call) Return ¶
func (_c *ClientFactory_New_Call) Return(_a0 client.Client) *ClientFactory_New_Call
func (*ClientFactory_New_Call) Run ¶
func (_c *ClientFactory_New_Call) Run(run func(url string)) *ClientFactory_New_Call
func (*ClientFactory_New_Call) RunAndReturn ¶
func (_c *ClientFactory_New_Call) RunAndReturn(run func(string) client.Client) *ClientFactory_New_Call
type Client_Expecter ¶
type Client_Expecter struct {
// contains filtered or unexported fields
}
func (*Client_Expecter) GetOffChainData ¶
func (_e *Client_Expecter) GetOffChainData(ctx interface{}, hash interface{}) *Client_GetOffChainData_Call
GetOffChainData is a helper method to define mock.On call
- ctx context.Context
- hash common.Hash
func (*Client_Expecter) GetStatus ¶ added in v0.0.8
func (_e *Client_Expecter) GetStatus(ctx interface{}) *Client_GetStatus_Call
GetStatus is a helper method to define mock.On call
- ctx context.Context
func (*Client_Expecter) ListOffChainData ¶ added in v0.0.7
func (_e *Client_Expecter) ListOffChainData(ctx interface{}, hashes interface{}) *Client_ListOffChainData_Call
ListOffChainData is a helper method to define mock.On call
- ctx context.Context
- hashes []common.Hash
func (*Client_Expecter) SignSequence ¶
func (_e *Client_Expecter) SignSequence(ctx interface{}, signedSequence interface{}) *Client_SignSequence_Call
SignSequence is a helper method to define mock.On call
- ctx context.Context
- signedSequence types.SignedSequence
func (*Client_Expecter) SignSequenceBanana ¶ added in v0.0.8
func (_e *Client_Expecter) SignSequenceBanana(ctx interface{}, signedSequence interface{}) *Client_SignSequenceBanana_Call
SignSequenceBanana is a helper method to define mock.On call
- ctx context.Context
- signedSequence types.SignedSequenceBanana
type Client_GetOffChainData_Call ¶
Client_GetOffChainData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetOffChainData'
func (*Client_GetOffChainData_Call) Return ¶
func (_c *Client_GetOffChainData_Call) Return(_a0 []byte, _a1 error) *Client_GetOffChainData_Call
func (*Client_GetOffChainData_Call) Run ¶
func (_c *Client_GetOffChainData_Call) Run(run func(ctx context.Context, hash common.Hash)) *Client_GetOffChainData_Call
func (*Client_GetOffChainData_Call) RunAndReturn ¶
func (_c *Client_GetOffChainData_Call) RunAndReturn(run func(context.Context, common.Hash) ([]byte, error)) *Client_GetOffChainData_Call
type Client_GetStatus_Call ¶ added in v0.0.8
Client_GetStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStatus'
func (*Client_GetStatus_Call) Return ¶ added in v0.0.8
func (_c *Client_GetStatus_Call) Return(_a0 *types.DACStatus, _a1 error) *Client_GetStatus_Call
func (*Client_GetStatus_Call) Run ¶ added in v0.0.8
func (_c *Client_GetStatus_Call) Run(run func(ctx context.Context)) *Client_GetStatus_Call
func (*Client_GetStatus_Call) RunAndReturn ¶ added in v0.0.8
func (_c *Client_GetStatus_Call) RunAndReturn(run func(context.Context) (*types.DACStatus, error)) *Client_GetStatus_Call
type Client_ListOffChainData_Call ¶ added in v0.0.7
Client_ListOffChainData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListOffChainData'
func (*Client_ListOffChainData_Call) Return ¶ added in v0.0.7
func (_c *Client_ListOffChainData_Call) Return(_a0 map[common.Hash][]byte, _a1 error) *Client_ListOffChainData_Call
func (*Client_ListOffChainData_Call) Run ¶ added in v0.0.7
func (_c *Client_ListOffChainData_Call) Run(run func(ctx context.Context, hashes []common.Hash)) *Client_ListOffChainData_Call
func (*Client_ListOffChainData_Call) RunAndReturn ¶ added in v0.0.7
func (_c *Client_ListOffChainData_Call) RunAndReturn(run func(context.Context, []common.Hash) (map[common.Hash][]byte, error)) *Client_ListOffChainData_Call
type Client_SignSequenceBanana_Call ¶ added in v0.0.8
Client_SignSequenceBanana_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SignSequenceBanana'
func (*Client_SignSequenceBanana_Call) Return ¶ added in v0.0.8
func (_c *Client_SignSequenceBanana_Call) Return(_a0 []byte, _a1 error) *Client_SignSequenceBanana_Call
func (*Client_SignSequenceBanana_Call) Run ¶ added in v0.0.8
func (_c *Client_SignSequenceBanana_Call) Run(run func(ctx context.Context, signedSequence types.SignedSequenceBanana)) *Client_SignSequenceBanana_Call
func (*Client_SignSequenceBanana_Call) RunAndReturn ¶ added in v0.0.8
func (_c *Client_SignSequenceBanana_Call) RunAndReturn(run func(context.Context, types.SignedSequenceBanana) ([]byte, error)) *Client_SignSequenceBanana_Call
type Client_SignSequence_Call ¶
Client_SignSequence_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SignSequence'
func (*Client_SignSequence_Call) Return ¶
func (_c *Client_SignSequence_Call) Return(_a0 []byte, _a1 error) *Client_SignSequence_Call
func (*Client_SignSequence_Call) Run ¶
func (_c *Client_SignSequence_Call) Run(run func(ctx context.Context, signedSequence types.SignedSequence)) *Client_SignSequence_Call
func (*Client_SignSequence_Call) RunAndReturn ¶
func (_c *Client_SignSequence_Call) RunAndReturn(run func(context.Context, types.SignedSequence) ([]byte, error)) *Client_SignSequence_Call
type DB ¶
DB is an autogenerated mock type for the DB type
func NewDB ¶
NewDB creates a new instance of DB. 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 (*DB) CountOffchainData ¶ added in v0.0.8
CountOffchainData provides a mock function with given fields: ctx
func (*DB) DeleteUnresolvedBatchKeys ¶ added in v0.0.6
DeleteUnresolvedBatchKeys provides a mock function with given fields: ctx, bks
func (*DB) DetectOffchainDataGaps ¶ added in v0.0.8
DetectOffchainDataGaps provides a mock function with given fields: ctx
func (*DB) EXPECT ¶
func (_m *DB) EXPECT() *DB_Expecter
func (*DB) GetLastProcessedBlock ¶
GetLastProcessedBlock provides a mock function with given fields: ctx, task
func (*DB) GetOffChainData ¶
GetOffChainData provides a mock function with given fields: ctx, key
func (*DB) GetUnresolvedBatchKeys ¶ added in v0.0.6
GetUnresolvedBatchKeys provides a mock function with given fields: ctx, limit
func (*DB) ListOffChainData ¶ added in v0.0.7
func (_m *DB) ListOffChainData(ctx context.Context, keys []common.Hash) ([]types.OffChainData, error)
ListOffChainData provides a mock function with given fields: ctx, keys
func (*DB) StoreLastProcessedBlock ¶
StoreLastProcessedBlock provides a mock function with given fields: ctx, block, task
func (*DB) StoreOffChainData ¶
StoreOffChainData provides a mock function with given fields: ctx, od
type DB_CountOffchainData_Call ¶ added in v0.0.8
DB_CountOffchainData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountOffchainData'
func (*DB_CountOffchainData_Call) Return ¶ added in v0.0.8
func (_c *DB_CountOffchainData_Call) Return(_a0 uint64, _a1 error) *DB_CountOffchainData_Call
func (*DB_CountOffchainData_Call) Run ¶ added in v0.0.8
func (_c *DB_CountOffchainData_Call) Run(run func(ctx context.Context)) *DB_CountOffchainData_Call
func (*DB_CountOffchainData_Call) RunAndReturn ¶ added in v0.0.8
func (_c *DB_CountOffchainData_Call) RunAndReturn(run func(context.Context) (uint64, error)) *DB_CountOffchainData_Call
type DB_DeleteUnresolvedBatchKeys_Call ¶ added in v0.0.6
DB_DeleteUnresolvedBatchKeys_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteUnresolvedBatchKeys'
func (*DB_DeleteUnresolvedBatchKeys_Call) Return ¶ added in v0.0.6
func (_c *DB_DeleteUnresolvedBatchKeys_Call) Return(_a0 error) *DB_DeleteUnresolvedBatchKeys_Call
func (*DB_DeleteUnresolvedBatchKeys_Call) Run ¶ added in v0.0.6
func (_c *DB_DeleteUnresolvedBatchKeys_Call) Run(run func(ctx context.Context, bks []types.BatchKey)) *DB_DeleteUnresolvedBatchKeys_Call
func (*DB_DeleteUnresolvedBatchKeys_Call) RunAndReturn ¶ added in v0.0.6
func (_c *DB_DeleteUnresolvedBatchKeys_Call) RunAndReturn(run func(context.Context, []types.BatchKey) error) *DB_DeleteUnresolvedBatchKeys_Call
type DB_DetectOffchainDataGaps_Call ¶ added in v0.0.8
DB_DetectOffchainDataGaps_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DetectOffchainDataGaps'
func (*DB_DetectOffchainDataGaps_Call) Return ¶ added in v0.0.8
func (_c *DB_DetectOffchainDataGaps_Call) Return(_a0 map[uint64]uint64, _a1 error) *DB_DetectOffchainDataGaps_Call
func (*DB_DetectOffchainDataGaps_Call) Run ¶ added in v0.0.8
func (_c *DB_DetectOffchainDataGaps_Call) Run(run func(ctx context.Context)) *DB_DetectOffchainDataGaps_Call
func (*DB_DetectOffchainDataGaps_Call) RunAndReturn ¶ added in v0.0.8
func (_c *DB_DetectOffchainDataGaps_Call) RunAndReturn(run func(context.Context) (map[uint64]uint64, error)) *DB_DetectOffchainDataGaps_Call
type DB_Expecter ¶
type DB_Expecter struct {
// contains filtered or unexported fields
}
func (*DB_Expecter) CountOffchainData ¶ added in v0.0.8
func (_e *DB_Expecter) CountOffchainData(ctx interface{}) *DB_CountOffchainData_Call
CountOffchainData is a helper method to define mock.On call
- ctx context.Context
func (*DB_Expecter) DeleteUnresolvedBatchKeys ¶ added in v0.0.6
func (_e *DB_Expecter) DeleteUnresolvedBatchKeys(ctx interface{}, bks interface{}) *DB_DeleteUnresolvedBatchKeys_Call
DeleteUnresolvedBatchKeys is a helper method to define mock.On call
- ctx context.Context
- bks []types.BatchKey
func (*DB_Expecter) DetectOffchainDataGaps ¶ added in v0.0.8
func (_e *DB_Expecter) DetectOffchainDataGaps(ctx interface{}) *DB_DetectOffchainDataGaps_Call
DetectOffchainDataGaps is a helper method to define mock.On call
- ctx context.Context
func (*DB_Expecter) GetLastProcessedBlock ¶
func (_e *DB_Expecter) GetLastProcessedBlock(ctx interface{}, task interface{}) *DB_GetLastProcessedBlock_Call
GetLastProcessedBlock is a helper method to define mock.On call
- ctx context.Context
- task string
func (*DB_Expecter) GetOffChainData ¶
func (_e *DB_Expecter) GetOffChainData(ctx interface{}, key interface{}) *DB_GetOffChainData_Call
GetOffChainData is a helper method to define mock.On call
- ctx context.Context
- key common.Hash
func (*DB_Expecter) GetUnresolvedBatchKeys ¶ added in v0.0.6
func (_e *DB_Expecter) GetUnresolvedBatchKeys(ctx interface{}, limit interface{}) *DB_GetUnresolvedBatchKeys_Call
GetUnresolvedBatchKeys is a helper method to define mock.On call
- ctx context.Context
- limit uint
func (*DB_Expecter) ListOffChainData ¶ added in v0.0.7
func (_e *DB_Expecter) ListOffChainData(ctx interface{}, keys interface{}) *DB_ListOffChainData_Call
ListOffChainData is a helper method to define mock.On call
- ctx context.Context
- keys []common.Hash
func (*DB_Expecter) StoreLastProcessedBlock ¶
func (_e *DB_Expecter) StoreLastProcessedBlock(ctx interface{}, block interface{}, task interface{}) *DB_StoreLastProcessedBlock_Call
StoreLastProcessedBlock is a helper method to define mock.On call
- ctx context.Context
- block uint64
- task string
func (*DB_Expecter) StoreOffChainData ¶
func (_e *DB_Expecter) StoreOffChainData(ctx interface{}, od interface{}) *DB_StoreOffChainData_Call
StoreOffChainData is a helper method to define mock.On call
- ctx context.Context
- od []types.OffChainData
func (*DB_Expecter) StoreUnresolvedBatchKeys ¶ added in v0.0.6
func (_e *DB_Expecter) StoreUnresolvedBatchKeys(ctx interface{}, bks interface{}) *DB_StoreUnresolvedBatchKeys_Call
StoreUnresolvedBatchKeys is a helper method to define mock.On call
- ctx context.Context
- bks []types.BatchKey
type DB_GetLastProcessedBlock_Call ¶
DB_GetLastProcessedBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastProcessedBlock'
func (*DB_GetLastProcessedBlock_Call) Return ¶
func (_c *DB_GetLastProcessedBlock_Call) Return(_a0 uint64, _a1 error) *DB_GetLastProcessedBlock_Call
func (*DB_GetLastProcessedBlock_Call) Run ¶
func (_c *DB_GetLastProcessedBlock_Call) Run(run func(ctx context.Context, task string)) *DB_GetLastProcessedBlock_Call
func (*DB_GetLastProcessedBlock_Call) RunAndReturn ¶
func (_c *DB_GetLastProcessedBlock_Call) RunAndReturn(run func(context.Context, string) (uint64, error)) *DB_GetLastProcessedBlock_Call
type DB_GetOffChainData_Call ¶
DB_GetOffChainData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetOffChainData'
func (*DB_GetOffChainData_Call) Return ¶
func (_c *DB_GetOffChainData_Call) Return(_a0 *types.OffChainData, _a1 error) *DB_GetOffChainData_Call
func (*DB_GetOffChainData_Call) Run ¶
func (_c *DB_GetOffChainData_Call) Run(run func(ctx context.Context, key common.Hash)) *DB_GetOffChainData_Call
func (*DB_GetOffChainData_Call) RunAndReturn ¶
func (_c *DB_GetOffChainData_Call) RunAndReturn(run func(context.Context, common.Hash) (*types.OffChainData, error)) *DB_GetOffChainData_Call
type DB_GetUnresolvedBatchKeys_Call ¶ added in v0.0.6
DB_GetUnresolvedBatchKeys_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUnresolvedBatchKeys'
func (*DB_GetUnresolvedBatchKeys_Call) Return ¶ added in v0.0.6
func (_c *DB_GetUnresolvedBatchKeys_Call) Return(_a0 []types.BatchKey, _a1 error) *DB_GetUnresolvedBatchKeys_Call
func (*DB_GetUnresolvedBatchKeys_Call) Run ¶ added in v0.0.6
func (_c *DB_GetUnresolvedBatchKeys_Call) Run(run func(ctx context.Context, limit uint)) *DB_GetUnresolvedBatchKeys_Call
func (*DB_GetUnresolvedBatchKeys_Call) RunAndReturn ¶ added in v0.0.6
func (_c *DB_GetUnresolvedBatchKeys_Call) RunAndReturn(run func(context.Context, uint) ([]types.BatchKey, error)) *DB_GetUnresolvedBatchKeys_Call
type DB_ListOffChainData_Call ¶ added in v0.0.7
DB_ListOffChainData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListOffChainData'
func (*DB_ListOffChainData_Call) Return ¶ added in v0.0.7
func (_c *DB_ListOffChainData_Call) Return(_a0 []types.OffChainData, _a1 error) *DB_ListOffChainData_Call
func (*DB_ListOffChainData_Call) Run ¶ added in v0.0.7
func (_c *DB_ListOffChainData_Call) Run(run func(ctx context.Context, keys []common.Hash)) *DB_ListOffChainData_Call
func (*DB_ListOffChainData_Call) RunAndReturn ¶ added in v0.0.7
func (_c *DB_ListOffChainData_Call) RunAndReturn(run func(context.Context, []common.Hash) ([]types.OffChainData, error)) *DB_ListOffChainData_Call
type DB_StoreLastProcessedBlock_Call ¶
DB_StoreLastProcessedBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StoreLastProcessedBlock'
func (*DB_StoreLastProcessedBlock_Call) Return ¶
func (_c *DB_StoreLastProcessedBlock_Call) Return(_a0 error) *DB_StoreLastProcessedBlock_Call
func (*DB_StoreLastProcessedBlock_Call) Run ¶
func (_c *DB_StoreLastProcessedBlock_Call) Run(run func(ctx context.Context, block uint64, task string)) *DB_StoreLastProcessedBlock_Call
func (*DB_StoreLastProcessedBlock_Call) RunAndReturn ¶
func (_c *DB_StoreLastProcessedBlock_Call) RunAndReturn(run func(context.Context, uint64, string) error) *DB_StoreLastProcessedBlock_Call
type DB_StoreOffChainData_Call ¶
DB_StoreOffChainData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StoreOffChainData'
func (*DB_StoreOffChainData_Call) Return ¶
func (_c *DB_StoreOffChainData_Call) Return(_a0 error) *DB_StoreOffChainData_Call
func (*DB_StoreOffChainData_Call) Run ¶
func (_c *DB_StoreOffChainData_Call) Run(run func(ctx context.Context, od []types.OffChainData)) *DB_StoreOffChainData_Call
func (*DB_StoreOffChainData_Call) RunAndReturn ¶
func (_c *DB_StoreOffChainData_Call) RunAndReturn(run func(context.Context, []types.OffChainData) error) *DB_StoreOffChainData_Call
type DB_StoreUnresolvedBatchKeys_Call ¶ added in v0.0.6
DB_StoreUnresolvedBatchKeys_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StoreUnresolvedBatchKeys'
func (*DB_StoreUnresolvedBatchKeys_Call) Return ¶ added in v0.0.6
func (_c *DB_StoreUnresolvedBatchKeys_Call) Return(_a0 error) *DB_StoreUnresolvedBatchKeys_Call
func (*DB_StoreUnresolvedBatchKeys_Call) Run ¶ added in v0.0.6
func (_c *DB_StoreUnresolvedBatchKeys_Call) Run(run func(ctx context.Context, bks []types.BatchKey)) *DB_StoreUnresolvedBatchKeys_Call
func (*DB_StoreUnresolvedBatchKeys_Call) RunAndReturn ¶ added in v0.0.6
func (_c *DB_StoreUnresolvedBatchKeys_Call) RunAndReturn(run func(context.Context, []types.BatchKey) error) *DB_StoreUnresolvedBatchKeys_Call
type Etherman ¶
Etherman is an autogenerated mock type for the Etherman type
func NewEtherman ¶
NewEtherman creates a new instance of Etherman. 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 (*Etherman) BlockByNumber ¶ added in v0.0.8
BlockByNumber provides a mock function with given fields: ctx, number
func (*Etherman) CodeAt ¶ added in v0.0.8
func (_m *Etherman) CodeAt(ctx context.Context, account common.Address, blockNumber *big.Int) ([]byte, error)
CodeAt provides a mock function with given fields: ctx, account, blockNumber
func (*Etherman) EXPECT ¶
func (_m *Etherman) EXPECT() *Etherman_Expecter
func (*Etherman) FilterSequenceBatches ¶
func (_m *Etherman) FilterSequenceBatches(opts *bind.FilterOpts, numBatch []uint64) (*polygonvalidiumetrog.PolygonvalidiumetrogSequenceBatchesIterator, error)
FilterSequenceBatches provides a mock function with given fields: opts, numBatch
func (*Etherman) GetCurrentDataCommittee ¶
func (_m *Etherman) GetCurrentDataCommittee() (*etherman.DataCommittee, error)
GetCurrentDataCommittee provides a mock function with given fields:
func (*Etherman) GetCurrentDataCommitteeMembers ¶
func (_m *Etherman) GetCurrentDataCommitteeMembers() ([]etherman.DataCommitteeMember, error)
GetCurrentDataCommitteeMembers provides a mock function with given fields:
func (*Etherman) GetTx ¶
func (_m *Etherman) GetTx(ctx context.Context, txHash common.Hash) (*types.Transaction, bool, error)
GetTx provides a mock function with given fields: ctx, txHash
func (*Etherman) HeaderByNumber ¶
HeaderByNumber provides a mock function with given fields: ctx, number
func (*Etherman) TrustedSequencer ¶
TrustedSequencer provides a mock function with given fields: ctx
func (*Etherman) TrustedSequencerURL ¶
TrustedSequencerURL provides a mock function with given fields: ctx
func (*Etherman) WatchSetTrustedSequencer ¶
func (_m *Etherman) WatchSetTrustedSequencer(ctx context.Context, events chan *polygonvalidiumetrog.PolygonvalidiumetrogSetTrustedSequencer) (event.Subscription, error)
WatchSetTrustedSequencer provides a mock function with given fields: ctx, events
func (*Etherman) WatchSetTrustedSequencerURL ¶
func (_m *Etherman) WatchSetTrustedSequencerURL(ctx context.Context, events chan *polygonvalidiumetrog.PolygonvalidiumetrogSetTrustedSequencerURL) (event.Subscription, error)
WatchSetTrustedSequencerURL provides a mock function with given fields: ctx, events
type Etherman_BlockByNumber_Call ¶ added in v0.0.8
Etherman_BlockByNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockByNumber'
func (*Etherman_BlockByNumber_Call) Return ¶ added in v0.0.8
func (_c *Etherman_BlockByNumber_Call) Return(_a0 *types.Block, _a1 error) *Etherman_BlockByNumber_Call
func (*Etherman_BlockByNumber_Call) Run ¶ added in v0.0.8
func (_c *Etherman_BlockByNumber_Call) Run(run func(ctx context.Context, number *big.Int)) *Etherman_BlockByNumber_Call
func (*Etherman_BlockByNumber_Call) RunAndReturn ¶ added in v0.0.8
func (_c *Etherman_BlockByNumber_Call) RunAndReturn(run func(context.Context, *big.Int) (*types.Block, error)) *Etherman_BlockByNumber_Call
type Etherman_CodeAt_Call ¶ added in v0.0.8
Etherman_CodeAt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CodeAt'
func (*Etherman_CodeAt_Call) Return ¶ added in v0.0.8
func (_c *Etherman_CodeAt_Call) Return(_a0 []byte, _a1 error) *Etherman_CodeAt_Call
func (*Etherman_CodeAt_Call) Run ¶ added in v0.0.8
func (_c *Etherman_CodeAt_Call) Run(run func(ctx context.Context, account common.Address, blockNumber *big.Int)) *Etherman_CodeAt_Call
func (*Etherman_CodeAt_Call) RunAndReturn ¶ added in v0.0.8
func (_c *Etherman_CodeAt_Call) RunAndReturn(run func(context.Context, common.Address, *big.Int) ([]byte, error)) *Etherman_CodeAt_Call
type Etherman_Expecter ¶
type Etherman_Expecter struct {
// contains filtered or unexported fields
}
func (*Etherman_Expecter) BlockByNumber ¶ added in v0.0.8
func (_e *Etherman_Expecter) BlockByNumber(ctx interface{}, number interface{}) *Etherman_BlockByNumber_Call
BlockByNumber is a helper method to define mock.On call
- ctx context.Context
- number *big.Int
func (*Etherman_Expecter) CodeAt ¶ added in v0.0.8
func (_e *Etherman_Expecter) CodeAt(ctx interface{}, account interface{}, blockNumber interface{}) *Etherman_CodeAt_Call
CodeAt is a helper method to define mock.On call
- ctx context.Context
- account common.Address
- blockNumber *big.Int
func (*Etherman_Expecter) FilterSequenceBatches ¶
func (_e *Etherman_Expecter) FilterSequenceBatches(opts interface{}, numBatch interface{}) *Etherman_FilterSequenceBatches_Call
FilterSequenceBatches is a helper method to define mock.On call
- opts *bind.FilterOpts
- numBatch []uint64
func (*Etherman_Expecter) GetCurrentDataCommittee ¶
func (_e *Etherman_Expecter) GetCurrentDataCommittee() *Etherman_GetCurrentDataCommittee_Call
GetCurrentDataCommittee is a helper method to define mock.On call
func (*Etherman_Expecter) GetCurrentDataCommitteeMembers ¶
func (_e *Etherman_Expecter) GetCurrentDataCommitteeMembers() *Etherman_GetCurrentDataCommitteeMembers_Call
GetCurrentDataCommitteeMembers is a helper method to define mock.On call
func (*Etherman_Expecter) GetTx ¶
func (_e *Etherman_Expecter) GetTx(ctx interface{}, txHash interface{}) *Etherman_GetTx_Call
GetTx is a helper method to define mock.On call
- ctx context.Context
- txHash common.Hash
func (*Etherman_Expecter) HeaderByNumber ¶
func (_e *Etherman_Expecter) HeaderByNumber(ctx interface{}, number interface{}) *Etherman_HeaderByNumber_Call
HeaderByNumber is a helper method to define mock.On call
- ctx context.Context
- number *big.Int
func (*Etherman_Expecter) TrustedSequencer ¶
func (_e *Etherman_Expecter) TrustedSequencer(ctx interface{}) *Etherman_TrustedSequencer_Call
TrustedSequencer is a helper method to define mock.On call
- ctx context.Context
func (*Etherman_Expecter) TrustedSequencerURL ¶
func (_e *Etherman_Expecter) TrustedSequencerURL(ctx interface{}) *Etherman_TrustedSequencerURL_Call
TrustedSequencerURL is a helper method to define mock.On call
- ctx context.Context
func (*Etherman_Expecter) WatchSetTrustedSequencer ¶
func (_e *Etherman_Expecter) WatchSetTrustedSequencer(ctx interface{}, events interface{}) *Etherman_WatchSetTrustedSequencer_Call
WatchSetTrustedSequencer is a helper method to define mock.On call
- ctx context.Context
- events chan *polygonvalidiumetrog.PolygonvalidiumetrogSetTrustedSequencer
func (*Etherman_Expecter) WatchSetTrustedSequencerURL ¶
func (_e *Etherman_Expecter) WatchSetTrustedSequencerURL(ctx interface{}, events interface{}) *Etherman_WatchSetTrustedSequencerURL_Call
WatchSetTrustedSequencerURL is a helper method to define mock.On call
- ctx context.Context
- events chan *polygonvalidiumetrog.PolygonvalidiumetrogSetTrustedSequencerURL
type Etherman_FilterSequenceBatches_Call ¶
Etherman_FilterSequenceBatches_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FilterSequenceBatches'
func (*Etherman_FilterSequenceBatches_Call) Run ¶
func (_c *Etherman_FilterSequenceBatches_Call) Run(run func(opts *bind.FilterOpts, numBatch []uint64)) *Etherman_FilterSequenceBatches_Call
func (*Etherman_FilterSequenceBatches_Call) RunAndReturn ¶
func (_c *Etherman_FilterSequenceBatches_Call) RunAndReturn(run func(*bind.FilterOpts, []uint64) (*polygonvalidiumetrog.PolygonvalidiumetrogSequenceBatchesIterator, error)) *Etherman_FilterSequenceBatches_Call
type Etherman_GetCurrentDataCommitteeMembers_Call ¶
Etherman_GetCurrentDataCommitteeMembers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCurrentDataCommitteeMembers'
func (*Etherman_GetCurrentDataCommitteeMembers_Call) Return ¶
func (_c *Etherman_GetCurrentDataCommitteeMembers_Call) Return(_a0 []etherman.DataCommitteeMember, _a1 error) *Etherman_GetCurrentDataCommitteeMembers_Call
func (*Etherman_GetCurrentDataCommitteeMembers_Call) Run ¶
func (_c *Etherman_GetCurrentDataCommitteeMembers_Call) Run(run func()) *Etherman_GetCurrentDataCommitteeMembers_Call
func (*Etherman_GetCurrentDataCommitteeMembers_Call) RunAndReturn ¶
func (_c *Etherman_GetCurrentDataCommitteeMembers_Call) RunAndReturn(run func() ([]etherman.DataCommitteeMember, error)) *Etherman_GetCurrentDataCommitteeMembers_Call
type Etherman_GetCurrentDataCommittee_Call ¶
Etherman_GetCurrentDataCommittee_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCurrentDataCommittee'
func (*Etherman_GetCurrentDataCommittee_Call) Return ¶
func (_c *Etherman_GetCurrentDataCommittee_Call) Return(_a0 *etherman.DataCommittee, _a1 error) *Etherman_GetCurrentDataCommittee_Call
func (*Etherman_GetCurrentDataCommittee_Call) Run ¶
func (_c *Etherman_GetCurrentDataCommittee_Call) Run(run func()) *Etherman_GetCurrentDataCommittee_Call
func (*Etherman_GetCurrentDataCommittee_Call) RunAndReturn ¶
func (_c *Etherman_GetCurrentDataCommittee_Call) RunAndReturn(run func() (*etherman.DataCommittee, error)) *Etherman_GetCurrentDataCommittee_Call
type Etherman_GetTx_Call ¶
Etherman_GetTx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTx'
func (*Etherman_GetTx_Call) Return ¶
func (_c *Etherman_GetTx_Call) Return(_a0 *types.Transaction, _a1 bool, _a2 error) *Etherman_GetTx_Call
func (*Etherman_GetTx_Call) Run ¶
func (_c *Etherman_GetTx_Call) Run(run func(ctx context.Context, txHash common.Hash)) *Etherman_GetTx_Call
func (*Etherman_GetTx_Call) RunAndReturn ¶
func (_c *Etherman_GetTx_Call) RunAndReturn(run func(context.Context, common.Hash) (*types.Transaction, bool, error)) *Etherman_GetTx_Call
type Etherman_HeaderByNumber_Call ¶
Etherman_HeaderByNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HeaderByNumber'
func (*Etherman_HeaderByNumber_Call) Return ¶
func (_c *Etherman_HeaderByNumber_Call) Return(_a0 *types.Header, _a1 error) *Etherman_HeaderByNumber_Call
func (*Etherman_HeaderByNumber_Call) Run ¶
func (_c *Etherman_HeaderByNumber_Call) Run(run func(ctx context.Context, number *big.Int)) *Etherman_HeaderByNumber_Call
func (*Etherman_HeaderByNumber_Call) RunAndReturn ¶
func (_c *Etherman_HeaderByNumber_Call) RunAndReturn(run func(context.Context, *big.Int) (*types.Header, error)) *Etherman_HeaderByNumber_Call
type Etherman_TrustedSequencerURL_Call ¶
Etherman_TrustedSequencerURL_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TrustedSequencerURL'
func (*Etherman_TrustedSequencerURL_Call) Return ¶
func (_c *Etherman_TrustedSequencerURL_Call) Return(_a0 string, _a1 error) *Etherman_TrustedSequencerURL_Call
func (*Etherman_TrustedSequencerURL_Call) Run ¶
func (_c *Etherman_TrustedSequencerURL_Call) Run(run func(ctx context.Context)) *Etherman_TrustedSequencerURL_Call
func (*Etherman_TrustedSequencerURL_Call) RunAndReturn ¶
func (_c *Etherman_TrustedSequencerURL_Call) RunAndReturn(run func(context.Context) (string, error)) *Etherman_TrustedSequencerURL_Call
type Etherman_TrustedSequencer_Call ¶
Etherman_TrustedSequencer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TrustedSequencer'
func (*Etherman_TrustedSequencer_Call) Return ¶
func (_c *Etherman_TrustedSequencer_Call) Return(_a0 common.Address, _a1 error) *Etherman_TrustedSequencer_Call
func (*Etherman_TrustedSequencer_Call) Run ¶
func (_c *Etherman_TrustedSequencer_Call) Run(run func(ctx context.Context)) *Etherman_TrustedSequencer_Call
func (*Etherman_TrustedSequencer_Call) RunAndReturn ¶
func (_c *Etherman_TrustedSequencer_Call) RunAndReturn(run func(context.Context) (common.Address, error)) *Etherman_TrustedSequencer_Call
type Etherman_WatchSetTrustedSequencerURL_Call ¶
Etherman_WatchSetTrustedSequencerURL_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WatchSetTrustedSequencerURL'
func (*Etherman_WatchSetTrustedSequencerURL_Call) Return ¶
func (_c *Etherman_WatchSetTrustedSequencerURL_Call) Return(_a0 event.Subscription, _a1 error) *Etherman_WatchSetTrustedSequencerURL_Call
func (*Etherman_WatchSetTrustedSequencerURL_Call) Run ¶
func (_c *Etherman_WatchSetTrustedSequencerURL_Call) Run(run func(ctx context.Context, events chan *polygonvalidiumetrog.PolygonvalidiumetrogSetTrustedSequencerURL)) *Etherman_WatchSetTrustedSequencerURL_Call
func (*Etherman_WatchSetTrustedSequencerURL_Call) RunAndReturn ¶
func (_c *Etherman_WatchSetTrustedSequencerURL_Call) RunAndReturn(run func(context.Context, chan *polygonvalidiumetrog.PolygonvalidiumetrogSetTrustedSequencerURL) (event.Subscription, error)) *Etherman_WatchSetTrustedSequencerURL_Call
type Etherman_WatchSetTrustedSequencer_Call ¶
Etherman_WatchSetTrustedSequencer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WatchSetTrustedSequencer'
func (*Etherman_WatchSetTrustedSequencer_Call) Return ¶
func (_c *Etherman_WatchSetTrustedSequencer_Call) Return(_a0 event.Subscription, _a1 error) *Etherman_WatchSetTrustedSequencer_Call
func (*Etherman_WatchSetTrustedSequencer_Call) Run ¶
func (_c *Etherman_WatchSetTrustedSequencer_Call) Run(run func(ctx context.Context, events chan *polygonvalidiumetrog.PolygonvalidiumetrogSetTrustedSequencer)) *Etherman_WatchSetTrustedSequencer_Call
func (*Etherman_WatchSetTrustedSequencer_Call) RunAndReturn ¶
func (_c *Etherman_WatchSetTrustedSequencer_Call) RunAndReturn(run func(context.Context, chan *polygonvalidiumetrog.PolygonvalidiumetrogSetTrustedSequencer) (event.Subscription, error)) *Etherman_WatchSetTrustedSequencer_Call
type GapsDetector ¶ added in v0.0.8
GapsDetector is an autogenerated mock type for the GapsDetector type
func NewGapsDetector ¶ added in v0.0.8
func NewGapsDetector(t interface { mock.TestingT Cleanup(func()) }) *GapsDetector
NewGapsDetector creates a new instance of GapsDetector. 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 (*GapsDetector) EXPECT ¶ added in v0.0.8
func (_m *GapsDetector) EXPECT() *GapsDetector_Expecter
func (*GapsDetector) Gaps ¶ added in v0.0.8
func (_m *GapsDetector) Gaps() map[uint64]uint64
Gaps provides a mock function with given fields:
type GapsDetector_Expecter ¶ added in v0.0.8
type GapsDetector_Expecter struct {
// contains filtered or unexported fields
}
func (*GapsDetector_Expecter) Gaps ¶ added in v0.0.8
func (_e *GapsDetector_Expecter) Gaps() *GapsDetector_Gaps_Call
Gaps is a helper method to define mock.On call
type GapsDetector_Gaps_Call ¶ added in v0.0.8
GapsDetector_Gaps_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Gaps'
func (*GapsDetector_Gaps_Call) Return ¶ added in v0.0.8
func (_c *GapsDetector_Gaps_Call) Return(_a0 map[uint64]uint64) *GapsDetector_Gaps_Call
func (*GapsDetector_Gaps_Call) Run ¶ added in v0.0.8
func (_c *GapsDetector_Gaps_Call) Run(run func()) *GapsDetector_Gaps_Call
func (*GapsDetector_Gaps_Call) RunAndReturn ¶ added in v0.0.8
func (_c *GapsDetector_Gaps_Call) RunAndReturn(run func() map[uint64]uint64) *GapsDetector_Gaps_Call
type SequencerTracker ¶
SequencerTracker is an autogenerated mock type for the SequencerTracker type
func NewSequencerTracker ¶
func NewSequencerTracker(t interface { mock.TestingT Cleanup(func()) }) *SequencerTracker
NewSequencerTracker creates a new instance of SequencerTracker. 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 (*SequencerTracker) EXPECT ¶
func (_m *SequencerTracker) EXPECT() *SequencerTracker_Expecter
func (*SequencerTracker) GetSequenceBatch ¶
func (_m *SequencerTracker) GetSequenceBatch(ctx context.Context, batchNum uint64) (*sequencer.SeqBatch, error)
GetSequenceBatch provides a mock function with given fields: ctx, batchNum
type SequencerTracker_Expecter ¶
type SequencerTracker_Expecter struct {
// contains filtered or unexported fields
}
func (*SequencerTracker_Expecter) GetSequenceBatch ¶
func (_e *SequencerTracker_Expecter) GetSequenceBatch(ctx interface{}, batchNum interface{}) *SequencerTracker_GetSequenceBatch_Call
GetSequenceBatch is a helper method to define mock.On call
- ctx context.Context
- batchNum uint64
type SequencerTracker_GetSequenceBatch_Call ¶
SequencerTracker_GetSequenceBatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSequenceBatch'
func (*SequencerTracker_GetSequenceBatch_Call) Return ¶
func (_c *SequencerTracker_GetSequenceBatch_Call) Return(_a0 *sequencer.SeqBatch, _a1 error) *SequencerTracker_GetSequenceBatch_Call
func (*SequencerTracker_GetSequenceBatch_Call) Run ¶
func (_c *SequencerTracker_GetSequenceBatch_Call) Run(run func(ctx context.Context, batchNum uint64)) *SequencerTracker_GetSequenceBatch_Call
func (*SequencerTracker_GetSequenceBatch_Call) RunAndReturn ¶
func (_c *SequencerTracker_GetSequenceBatch_Call) RunAndReturn(run func(context.Context, uint64) (*sequencer.SeqBatch, error)) *SequencerTracker_GetSequenceBatch_Call
type Subscription ¶
Subscription is an autogenerated mock type for the Subscription type
func NewSubscription ¶
func NewSubscription(t interface { mock.TestingT Cleanup(func()) }) *Subscription
NewSubscription creates a new instance of Subscription. 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 (*Subscription) EXPECT ¶
func (_m *Subscription) EXPECT() *Subscription_Expecter
func (*Subscription) Err ¶
func (_m *Subscription) Err() <-chan error
Err provides a mock function with given fields:
func (*Subscription) Unsubscribe ¶
func (_m *Subscription) Unsubscribe()
Unsubscribe provides a mock function with given fields:
type Subscription_Err_Call ¶
Subscription_Err_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Err'
func (*Subscription_Err_Call) Return ¶
func (_c *Subscription_Err_Call) Return(_a0 <-chan error) *Subscription_Err_Call
func (*Subscription_Err_Call) Run ¶
func (_c *Subscription_Err_Call) Run(run func()) *Subscription_Err_Call
func (*Subscription_Err_Call) RunAndReturn ¶
func (_c *Subscription_Err_Call) RunAndReturn(run func() <-chan error) *Subscription_Err_Call
type Subscription_Expecter ¶
type Subscription_Expecter struct {
// contains filtered or unexported fields
}
func (*Subscription_Expecter) Err ¶
func (_e *Subscription_Expecter) Err() *Subscription_Err_Call
Err is a helper method to define mock.On call
func (*Subscription_Expecter) Unsubscribe ¶
func (_e *Subscription_Expecter) Unsubscribe() *Subscription_Unsubscribe_Call
Unsubscribe is a helper method to define mock.On call
type Subscription_Unsubscribe_Call ¶
Subscription_Unsubscribe_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Unsubscribe'
func (*Subscription_Unsubscribe_Call) Return ¶
func (_c *Subscription_Unsubscribe_Call) Return() *Subscription_Unsubscribe_Call
func (*Subscription_Unsubscribe_Call) Run ¶
func (_c *Subscription_Unsubscribe_Call) Run(run func()) *Subscription_Unsubscribe_Call
func (*Subscription_Unsubscribe_Call) RunAndReturn ¶
func (_c *Subscription_Unsubscribe_Call) RunAndReturn(run func()) *Subscription_Unsubscribe_Call
type Tx ¶
Tx is an autogenerated mock type for the Tx type
func NewTx ¶
NewTx creates a new instance of Tx. 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 (*Tx) EXPECT ¶
func (_m *Tx) EXPECT() *Tx_Expecter
func (*Tx) ExecContext ¶
func (_m *Tx) ExecContext(ctx context.Context, query string, args ...interface{}) (sql.Result, error)
ExecContext provides a mock function with given fields: ctx, query, args
func (*Tx) QueryContext ¶
func (_m *Tx) QueryContext(ctx context.Context, query string, args ...interface{}) (*sql.Rows, error)
QueryContext provides a mock function with given fields: ctx, query, args
func (*Tx) QueryRowxContext ¶
QueryRowxContext provides a mock function with given fields: ctx, query, args
type Tx_Commit_Call ¶
Tx_Commit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Commit'
func (*Tx_Commit_Call) Return ¶
func (_c *Tx_Commit_Call) Return(_a0 error) *Tx_Commit_Call
func (*Tx_Commit_Call) Run ¶
func (_c *Tx_Commit_Call) Run(run func()) *Tx_Commit_Call
func (*Tx_Commit_Call) RunAndReturn ¶
func (_c *Tx_Commit_Call) RunAndReturn(run func() error) *Tx_Commit_Call
type Tx_ExecContext_Call ¶
Tx_ExecContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecContext'
func (*Tx_ExecContext_Call) Return ¶
func (_c *Tx_ExecContext_Call) Return(_a0 sql.Result, _a1 error) *Tx_ExecContext_Call
func (*Tx_ExecContext_Call) Run ¶
func (_c *Tx_ExecContext_Call) Run(run func(ctx context.Context, query string, args ...interface{})) *Tx_ExecContext_Call
func (*Tx_ExecContext_Call) RunAndReturn ¶
func (_c *Tx_ExecContext_Call) RunAndReturn(run func(context.Context, string, ...interface{}) (sql.Result, error)) *Tx_ExecContext_Call
type Tx_Expecter ¶
type Tx_Expecter struct {
// contains filtered or unexported fields
}
func (*Tx_Expecter) Commit ¶
func (_e *Tx_Expecter) Commit() *Tx_Commit_Call
Commit is a helper method to define mock.On call
func (*Tx_Expecter) ExecContext ¶
func (_e *Tx_Expecter) ExecContext(ctx interface{}, query interface{}, args ...interface{}) *Tx_ExecContext_Call
ExecContext is a helper method to define mock.On call
- ctx context.Context
- query string
- args ...interface{}
func (*Tx_Expecter) QueryContext ¶
func (_e *Tx_Expecter) QueryContext(ctx interface{}, query interface{}, args ...interface{}) *Tx_QueryContext_Call
QueryContext is a helper method to define mock.On call
- ctx context.Context
- query string
- args ...interface{}
func (*Tx_Expecter) QueryRowxContext ¶
func (_e *Tx_Expecter) QueryRowxContext(ctx interface{}, query interface{}, args ...interface{}) *Tx_QueryRowxContext_Call
QueryRowxContext is a helper method to define mock.On call
- ctx context.Context
- query string
- args ...interface{}
func (*Tx_Expecter) QueryxContext ¶
func (_e *Tx_Expecter) QueryxContext(ctx interface{}, query interface{}, args ...interface{}) *Tx_QueryxContext_Call
QueryxContext is a helper method to define mock.On call
- ctx context.Context
- query string
- args ...interface{}
func (*Tx_Expecter) Rollback ¶
func (_e *Tx_Expecter) Rollback() *Tx_Rollback_Call
Rollback is a helper method to define mock.On call
type Tx_QueryContext_Call ¶
Tx_QueryContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueryContext'
func (*Tx_QueryContext_Call) Return ¶
func (_c *Tx_QueryContext_Call) Return(_a0 *sql.Rows, _a1 error) *Tx_QueryContext_Call
func (*Tx_QueryContext_Call) Run ¶
func (_c *Tx_QueryContext_Call) Run(run func(ctx context.Context, query string, args ...interface{})) *Tx_QueryContext_Call
func (*Tx_QueryContext_Call) RunAndReturn ¶
func (_c *Tx_QueryContext_Call) RunAndReturn(run func(context.Context, string, ...interface{}) (*sql.Rows, error)) *Tx_QueryContext_Call
type Tx_QueryRowxContext_Call ¶
Tx_QueryRowxContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueryRowxContext'
func (*Tx_QueryRowxContext_Call) Return ¶
func (_c *Tx_QueryRowxContext_Call) Return(_a0 *sqlx.Row) *Tx_QueryRowxContext_Call
func (*Tx_QueryRowxContext_Call) Run ¶
func (_c *Tx_QueryRowxContext_Call) Run(run func(ctx context.Context, query string, args ...interface{})) *Tx_QueryRowxContext_Call
func (*Tx_QueryRowxContext_Call) RunAndReturn ¶
func (_c *Tx_QueryRowxContext_Call) RunAndReturn(run func(context.Context, string, ...interface{}) *sqlx.Row) *Tx_QueryRowxContext_Call
type Tx_QueryxContext_Call ¶
Tx_QueryxContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueryxContext'
func (*Tx_QueryxContext_Call) Return ¶
func (_c *Tx_QueryxContext_Call) Return(_a0 *sqlx.Rows, _a1 error) *Tx_QueryxContext_Call
func (*Tx_QueryxContext_Call) Run ¶
func (_c *Tx_QueryxContext_Call) Run(run func(ctx context.Context, query string, args ...interface{})) *Tx_QueryxContext_Call
func (*Tx_QueryxContext_Call) RunAndReturn ¶
func (_c *Tx_QueryxContext_Call) RunAndReturn(run func(context.Context, string, ...interface{}) (*sqlx.Rows, error)) *Tx_QueryxContext_Call
type Tx_Rollback_Call ¶
Tx_Rollback_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Rollback'
func (*Tx_Rollback_Call) Return ¶
func (_c *Tx_Rollback_Call) Return(_a0 error) *Tx_Rollback_Call
func (*Tx_Rollback_Call) Run ¶
func (_c *Tx_Rollback_Call) Run(run func()) *Tx_Rollback_Call
func (*Tx_Rollback_Call) RunAndReturn ¶
func (_c *Tx_Rollback_Call) RunAndReturn(run func() error) *Tx_Rollback_Call