Documentation ¶
Overview ¶
Package ethtest provides test helpers and scaffolding for testing with a fake Ethereum network
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnableLogging ¶
Types ¶
type Account ¶
type Account struct { Key *ecdsa.PrivateKey Address common.Address }
func NewAccount ¶
func NewAccount() *Account
type Quoter ¶
type Quoter struct {
// contains filtered or unexported fields
}
func (*Quoter) GetQuote ¶
func (quoter *Quoter) GetQuote(ctx context.Context, symbol coinmarketcap.Symbol) (*coinmarketcap.Quote, error)
func (*Quoter) SetQuote ¶
func (quoter *Quoter) SetQuote(symbol coinmarketcap.Symbol, quote *coinmarketcap.Quote)
Click to show internal directories.
Click to hide internal directories.