vesting

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2022 License: LGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	VestPlanMap *planMap
)

Functions

func NewPlanMap

func NewPlanMap() *planMap

func RestrictTransfer

func RestrictTransfer(addr meter.Address, epoch uint32) bool

func VestPlanDestroy

func VestPlanDestroy() error

func VestPlanInit

func VestPlanInit() error

func VestPlanIsInit

func VestPlanIsInit() bool

Types

type VestPlan

type VestPlan struct {
	Address      meter.Address
	Mtr          *big.Int
	MtrGov       *big.Int
	Description  string
	ReleaseEpoch uint32 //released Epoch
}

func LoadVestPlan

func LoadVestPlan() []*VestPlan

func (*VestPlan) ToString

func (v *VestPlan) ToString() string

Jump to

Keyboard shortcuts

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