interest

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: May 17, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func New

func New(st util.StateDB, preSt 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