Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Wallet ¶
type Wallet struct { Name string `mapstructure:"name"` Address common.Address `mapstructure:"address"` ENS *ens.Name `mapstructure:"ens"` Balance *big.Int `mapstructure:"balance"` BalanceBefore *big.Int `mapstructure:"balance_before"` BalanceTrend string `mapstructure:"balance_trend"` Color lipgloss.Color `mapstructure:"color"` }
Wallet represents the wallets configured by the user.
func (*Wallet) ColoredName ¶
type Wallets ¶
func (*Wallets) FormattedNames ¶
func (*Wallets) GetAll ¶
func (ws *Wallets) GetAll() WalletsSlice
func (*Wallets) StringAddresses ¶
type WalletsSlice ¶
type WalletsSlice []*Wallet
func (WalletsSlice) Len ¶
func (w WalletsSlice) Len() int
func (WalletsSlice) Less ¶
func (w WalletsSlice) Less(i, j int) bool
func (WalletsSlice) Swap ¶
func (w WalletsSlice) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.