Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TokenList ¶
type TokenList struct {
Name string `json:"name"`
Timestamp time.Time `json:"timestamp"`
Version struct {
Major int `json:"major"`
Minor int `json:"minor"`
Patch int `json:"patch"`
} `json:"version"`
Keywords []string `json:"keywords"`
Tokens []struct {
Address string `json:"address"`
ChainID int `json:"chainId"`
Name string `json:"name"`
Symbol string `json:"symbol"`
Decimals int `json:"decimals"`
LogoURI string `json:"logoURI"`
} `json:"tokens"`
LogoURI string `json:"logoURI"`
}
type VerifiedTokens ¶
type VerifiedTokens struct {
// contains filtered or unexported fields
}
func New ¶
func New() (*VerifiedTokens, error)
func (*VerifiedTokens) AppendVerifiedTokens ¶
func (vt *VerifiedTokens) AppendVerifiedTokens(assets []dia.Asset)
Click to show internal directories.
Click to hide internal directories.