common

package
v0.2.8-doc Latest Latest
Warning

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

Go to latest
Published: May 21, 2019 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InvestorInfo

type InvestorInfo struct {
	FreeBalance   *big.Int
	LockedBalance *big.Int
	IsToRenew     bool
	Account       common.Address
}

RewardBalance is balance of contract namded reward

type Manager

type Manager interface {
	IsLocked()
	GetMessage() error
	ContractAccountBalance()
	StartNewRound() error
	StartNewRaise() error
}

Manager manage the cpchain node

type Output

type Output interface {
	Info(msg string, params ...interface{})
	Error(msg string, params ...interface{})
	Fatal(msg string, params ...interface{})
	Warn(msg string, params ...interface{})
}

Output data

Jump to

Keyboard shortcuts

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