Documentation ¶
Index ¶
- Variables
- func AddTokenMap(tokenInfoD *config.TokenInfo, db localdb.Database) (bool, int)
- func DelTokenMap(tokenInfoD *config.TokenInfo, db localdb.Database) (bool, int)
- func GetTokenByAddr(addr string) *config.TokenInfo
- func GetTokenByCategory(category int64) *config.TokenInfo
- func LoadTokenFrom(db localdb.Database)
- func TokenList(db localdb.Database) bool
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func AddTokenMap ¶
新增或编辑代币
func GetTokenByAddr ¶
func GetTokenByCategory ¶
根据category获取token address
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.