accounts

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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account interface {
	Blacklisted() bool
	Discount() *big.Int
}

func NewAccount

func NewAccount(Bl bool, BaseFee *big.Int, Dp, Expiration int64) Account

type AccountService

type AccountService interface {
	Get(*types.Address) Account
	Set(*types.Address, Account) error
}

func NewRedisAccountService

func NewRedisAccountService(redisClient *redis.Client) AccountService

Jump to

Keyboard shortcuts

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