Documentation
¶
Index ¶
- type Console
- func (c *Console) ContractAccountBalance() *big.Int
- func (c *Console) GetInvestorList(ctx *cli.Context) ([]rm.InvestorInfo, error)
- func (c *Console) IsLocked() bool
- func (c *Console) SetPeriod() error
- func (c *Console) StartNewRaise() error
- func (c *Console) StartNewRound() error
- func (c *Console) TotalInvestorsAmount() *big.Int
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 ¶
Get balance from reward contract
func (*Console) GetInvestorList ¶
GetBalanceOnReward get balance on reward contract
func (*Console) TotalInvestorsAmount ¶
Click to show internal directories.
Click to hide internal directories.