Documentation ¶
Index ¶
- type Group
- type Wallet
- type Wallets
- func (ws *Wallets) Addresses() []common.Address
- func (ws *Wallets) Contains(address common.Address) bool
- func (ws *Wallets) ContainsOneOf(addresses map[common.Address]bool) common.Address
- func (ws *Wallets) FormattedNames() []string
- func (ws *Wallets) GetAll() WalletsSlice
- func (ws *Wallets) StringAddresses() []string
- type WalletsSlice
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"` ENSName string `mapstructure:"ens_name"` Color lipgloss.Color `mapstructure:"color"` Balance *big.Int BalanceBefore *big.Int BalanceTrend string }
Wallet represents the wallets configured by the user.
func (*Wallet) ColoredName ¶
type Wallets ¶
func (*Wallets) ContainsOneOf ¶ added in v0.2.0
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.