1package cointop
2
3// SelectedCoinName returns the selected coin name
4func (ct *Cointop) SelectedCoinName() string {
5	ct.debuglog("selectedCoinName()")
6	coin := ct.State.selectedCoin
7	if coin != nil {
8		return coin.Name
9	}
10
11	return ""
12}
13
14// SelectedCoinSymbol returns the selected coin symbol
15func (ct *Cointop) SelectedCoinSymbol() string {
16	ct.debuglog("selectedCoinSymbol()")
17	coin := ct.State.selectedCoin
18	if coin != nil {
19		return coin.Symbol
20	}
21
22	return ""
23}
24