Documentation ¶
Index ¶
- type CollectiblePreferences
- type CollectiblePreferencesType
- type TokenPreferences
- type WalletSettings
- func (ws *WalletSettings) GetClockOfLastCollectiblePreferencesChange() (result uint64, err error)
- func (ws *WalletSettings) GetClockOfLastTokenPreferencesChange() (result uint64, err error)
- func (ws *WalletSettings) GetCollectiblePreferences(testNetworksEnabled bool) ([]CollectiblePreferences, error)
- func (ws *WalletSettings) GetTokenPreferences(testNetworksEnabled bool) ([]TokenPreferences, error)
- func (ws *WalletSettings) UpdateCollectiblePreferences(preferences []CollectiblePreferences, groupByCommunity bool, ...) error
- func (ws *WalletSettings) UpdateTokenPreferences(preferences []TokenPreferences, groupByCommunity bool, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CollectiblePreferences ¶ added in v0.172.6
type CollectiblePreferences struct { Type CollectiblePreferencesType `json:"type"` Key string `json:"key"` Position int `json:"position"` Visible bool `json:"visible"` }
type CollectiblePreferencesType ¶ added in v0.172.6
type CollectiblePreferencesType int
const ( CollectiblePreferencesTypeNonCommunityCollectible CollectiblePreferencesType = iota + 1 CollectiblePreferencesTypeCommunityCollectible CollectiblePreferencesTypeCollection CollectiblePreferencesTypeCommunity )
type TokenPreferences ¶
type WalletSettings ¶
type WalletSettings struct {
// contains filtered or unexported fields
}
func NewWalletSettings ¶
func NewWalletSettings(db *sql.DB) *WalletSettings
func (*WalletSettings) GetClockOfLastCollectiblePreferencesChange ¶ added in v0.172.6
func (ws *WalletSettings) GetClockOfLastCollectiblePreferencesChange() (result uint64, err error)
func (*WalletSettings) GetClockOfLastTokenPreferencesChange ¶
func (ws *WalletSettings) GetClockOfLastTokenPreferencesChange() (result uint64, err error)
func (*WalletSettings) GetCollectiblePreferences ¶ added in v0.172.6
func (ws *WalletSettings) GetCollectiblePreferences(testNetworksEnabled bool) ([]CollectiblePreferences, error)
func (*WalletSettings) GetTokenPreferences ¶
func (ws *WalletSettings) GetTokenPreferences(testNetworksEnabled bool) ([]TokenPreferences, error)
func (*WalletSettings) UpdateCollectiblePreferences ¶ added in v0.172.6
func (ws *WalletSettings) UpdateCollectiblePreferences(preferences []CollectiblePreferences, groupByCommunity bool, groupByCollection bool, testNetworksEnabled bool, clock uint64) error
func (*WalletSettings) UpdateTokenPreferences ¶
func (ws *WalletSettings) UpdateTokenPreferences(preferences []TokenPreferences, groupByCommunity bool, testNetworksEnabled bool, clock uint64) error
Click to show internal directories.
Click to hide internal directories.