affiliates

package
v0.0.0-...-b400eb5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2021 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Affiliate

type Affiliate interface {
	Fee() *big.Int
}

func NewAffiliate

func NewAffiliate(baseFee *big.Int, feePercent int64) Affiliate

type AffiliateService

type AffiliateService interface {
	Get(*types.Address) (Affiliate, error)
	Set(*types.Address, Affiliate) error
	List() ([]types.Address, error)
}

func NewRedisAffiliateService

func NewRedisAffiliateService(redisClient *redis.Client) AffiliateService

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL