interest

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2019 License: MIT Imports: 9 Imported by: 10

Documentation

Index

Constants

View Source
const (
	PackageName = "利息奖励"
	Denominator = 1000000000
)

Variables

This section is empty.

Functions

func New

func New(st util.StateDB) *interest

Types

type DepositInterestRate

type DepositInterestRate struct {
	Deposit  *big.Int
	Interest uint64
}

type DepositInterestRateList

type DepositInterestRateList []*DepositInterestRate

func (DepositInterestRateList) Len

func (p DepositInterestRateList) Len() int

func (DepositInterestRateList) Less

func (p DepositInterestRateList) Less(i, j int) bool

func (DepositInterestRateList) Swap

func (p DepositInterestRateList) Swap(i, j int)

Jump to

Keyboard shortcuts

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