Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoExist = errors.New("token doesn't exist") ErrNotConnected = errors.New("not connected to a chain, use Connect method") )
Functions ¶
This section is empty.
Types ¶
type TokenManager ¶
type TokenManager interface {
GetToken(ctx context.Context, address common.Address) (Token, error)
}
func NewTokenDB ¶
func NewTokenDB(client *ethclient.Client, opts db.Opts) TokenManager
Click to show internal directories.
Click to hide internal directories.