Documentation ¶
Index ¶
- type Wallet
- type Wallets
- func (ws *Wallets) Addresses() []common.Address
- func (ws *Wallets) ContainsAddressFromSlice(addresses []common.Address) common.Address
- func (ws *Wallets) ContainsToken(tokenAddress common.Address, tokenID string) bool
- func (ws *Wallets) FormattedNames() []string
- func (ws *Wallets) GetCollectionTokens(collectionAddress common.Address) []*token.Token
- func (ws *Wallets) SortByBalance() []*Wallet
- func (ws *Wallets) StringAddresses() []string
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 Tokens map[common.Address]map[string]*token.Token }
Wallet represents a EOA account/wallet.
func (*Wallet) ColoredName ¶
type Wallets ¶
func (*Wallets) ContainsAddressFromSlice ¶
func (*Wallets) ContainsToken ¶ added in v0.7.1
func (*Wallets) FormattedNames ¶
func (*Wallets) GetCollectionTokens ¶ added in v0.11.0
func (*Wallets) SortByBalance ¶
func (*Wallets) StringAddresses ¶
Click to show internal directories.
Click to hide internal directories.