Documentation ¶
Index ¶
- type Rueidica
- func (r *Rueidica) GetAddressForOSSlug(ctx context.Context, slug string) (string, error)
- func (r *Rueidica) GetCachedContractName(ctx context.Context, address common.Address) (string, error)
- func (r *Rueidica) GetCachedENSName(ctx context.Context, address common.Address) (string, error)
- func (r *Rueidica) GetCachedOSFloor(ctx context.Context, address common.Address) (float64, error)
- func (r *Rueidica) GetCachedSalira(ctx context.Context, address common.Address) (float64, error)
- func (r *Rueidica) GetOSSlugForAddress(ctx context.Context, address common.Address) (string, error)
- func (r *Rueidica) NotificationLock(ctx context.Context, txID common.Hash) (bool, error)
- func (r *Rueidica) NotificationLockWtihDuration(ctx context.Context, txID common.Hash, duration time.Duration) (bool, error)
- func (r *Rueidica) StoreAddressForOSSlug(ctx context.Context, slug string, address common.Address) error
- func (r *Rueidica) StoreBlurSlug(ctx context.Context, address common.Address, slug string) error
- func (r *Rueidica) StoreContractName(ctx context.Context, address common.Address, name string) error
- func (r *Rueidica) StoreENSName(ctx context.Context, address common.Address, name string) error
- func (r *Rueidica) StoreOSFloor(ctx context.Context, address common.Address, value float64) error
- func (r *Rueidica) StoreOSSlugForAddress(ctx context.Context, address common.Address, slug string) error
- func (r *Rueidica) StoreSalira(ctx context.Context, address common.Address, value float64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Rueidica ¶
func NewRueidica ¶
func (*Rueidica) GetAddressForOSSlug ¶ added in v0.8.2
func (*Rueidica) GetCachedContractName ¶
func (r *Rueidica) GetCachedContractName(ctx context.Context, address common.Address) (string, error)
Wallet/Contract names.
func (*Rueidica) GetCachedENSName ¶
ENS.
func (*Rueidica) GetCachedOSFloor ¶ added in v0.7.1
Floors.
func (*Rueidica) GetCachedSalira ¶
Salira.
func (*Rueidica) GetOSSlugForAddress ¶ added in v0.8.2
func (*Rueidica) NotificationLock ¶
NotificationLock implements a lock to prevent sending multiple notifications for the same event Refactored to use the Redlock algorithm as recommended in the redis SET doc.
func (*Rueidica) NotificationLockWtihDuration ¶
func (r *Rueidica) NotificationLockWtihDuration(ctx context.Context, txID common.Hash, duration time.Duration) (bool, error)
NotificationLockWtihDuration implements a lock to prevent sending multiple notifications for the same event Refactored to use the Redlock algorithm as recommended in the redis SET doc.
func (*Rueidica) StoreAddressForOSSlug ¶ added in v0.8.2
func (*Rueidica) StoreBlurSlug ¶
func (*Rueidica) StoreContractName ¶
func (*Rueidica) StoreENSName ¶
func (*Rueidica) StoreOSFloor ¶ added in v0.7.1
Click to show internal directories.
Click to hide internal directories.