Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( RnodeCommand = cli.Command{ Name: "rnode", Usage: "Manage Rnode Contract", Description: ` Manage Rnode Contract `, Flags: flags.GeneralFlags, Subcommands: []cli.Command{ { Name: "setthreshold", Usage: "set threshold ", Action: setThreshold, Flags: flags.GeneralFlags, ArgsUsage: "ValueInWei", Description: `set threshold`, }, { Name: "setperiod", Usage: "set period", Action: setPeriod, Flags: flags.GeneralFlags, ArgsUsage: "int", Description: `set period`, }, { Name: "setversion", Usage: "set version", Action: setVersion, Flags: flags.GeneralFlags, ArgsUsage: "int", Description: `set version`, }, { Name: "refund", Usage: "refund", Action: refund, Flags: flags.GeneralFlags, ArgsUsage: "address", Description: `refund`, }, { Name: "refundall", Usage: "refund all", Action: refundAll, Flags: flags.GeneralFlags, Description: `refund all`, }, { Name: "disable", Usage: "disable rnode contract", Action: disable, Flags: flags.GeneralFlags, Description: `disable rnode contract`, }, { Name: "isrnode", Usage: "is rnode", Action: isRnode, Flags: flags.GeneralFlags, ArgsUsage: "address", Description: `check an address is rnode`, }, { Name: "showconfigs", Usage: "show configs in contract", Action: showConfigs, Flags: flags.GeneralFlags, Description: `show configs in contract`, }, { Name: "showrnodes", Usage: "show rnodes in contract", Action: showRnodes, Flags: flags.GeneralFlags, Description: `show rnodes in contract`, }, }, } )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.