Documentation ¶
Index ¶
- type TxManager
- func (_m *TxManager) API() rpc.API
- func (_m *TxManager) BlockNumber(ctx context.Context) (uint64, error)
- func (_m *TxManager) Close()
- func (_m *TxManager) From() common.Address
- func (_m *TxManager) IsClosed() bool
- func (_m *TxManager) Send(ctx context.Context, candidate txmgr.TxCandidate) (*types.Receipt, error)
- func (_m *TxManager) SendAsync(ctx context.Context, candidate txmgr.TxCandidate, ch chan txmgr.SendResponse)
- func (_m *TxManager) SuggestGasPriceCaps(ctx context.Context) (*big.Int, *big.Int, *big.Int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TxManager ¶
TxManager is an autogenerated mock type for the TxManager type
func NewTxManager ¶
NewTxManager creates a new instance of TxManager. 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 (*TxManager) BlockNumber ¶ added in v1.1.2
BlockNumber provides a mock function with given fields: ctx
func (*TxManager) Close ¶ added in v1.4.2
func (_m *TxManager) Close()
Close provides a mock function with given fields:
func (*TxManager) SendAsync ¶ added in v1.9.3
func (_m *TxManager) SendAsync(ctx context.Context, candidate txmgr.TxCandidate, ch chan txmgr.SendResponse)
SendAsync provides a mock function with given fields: ctx, candidate, ch
Click to show internal directories.
Click to hide internal directories.