Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MockBuffer ¶ added in v0.11.0
type MockBuffer struct {
// contains filtered or unexported fields
}
func NewMockBuffer ¶ added in v0.11.0
func NewMockBuffer() *MockBuffer
func (*MockBuffer) GasPrice ¶ added in v0.11.0
func (b *MockBuffer) GasPrice(chainID uint64) uint64
func (*MockBuffer) SetGasPrice ¶ added in v0.11.0
func (b *MockBuffer) SetGasPrice(chainID uint64, price uint64)
func (*MockBuffer) Stream ¶ added in v0.11.0
func (*MockBuffer) Stream(context.Context)
type MockPricer ¶
type MockPricer struct {
// contains filtered or unexported fields
}
func NewMockPricer ¶
func NewMockPricer(price uint64) *MockPricer
func (*MockPricer) Price ¶
func (m *MockPricer) Price() uint64
func (*MockPricer) SetPrice ¶
func (m *MockPricer) SetPrice(price uint64)
func (*MockPricer) SuggestGasPrice ¶
Click to show internal directories.
Click to hide internal directories.