manager

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Console

type Console struct {
	// contains filtered or unexported fields
}

Console manage apis

func NewConsole

func NewConsole(ctx *context.Context, rpc string, keystore string, passwordFile string, output rm.Output) *Console

NewConsole build a console

func (*Console) ContractAccountBalance

func (c *Console) ContractAccountBalance() *big.Int

Get balance from reward contract

func (*Console) GetInvestorList

func (c *Console) GetInvestorList(ctx *cli.Context) ([]rm.InvestorInfo, error)

GetBalanceOnReward get balance on reward contract

func (*Console) IsLocked

func (c *Console) IsLocked() bool

func (*Console) SetPeriod

func (c *Console) SetPeriod() error

func (*Console) StartNewRaise

func (c *Console) StartNewRaise() error

/ Want StartNewRaise

func (*Console) StartNewRound

func (c *Console) StartNewRound() error

Want StartNewRound

func (*Console) TotalInvestorsAmount

func (c *Console) TotalInvestorsAmount() *big.Int

Jump to

Keyboard shortcuts

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