Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CampaignCommand = cli.Command{ Name: "campaign", Usage: "Manage Campaign Contract", Description: ` Manage Campaign Contract `, Flags: flags.GeneralFlags, Subcommands: []cli.Command{ { Name: "setadmissionaddr", Usage: "set admission contract address, <address in string>", Action: setAdmissionAddress, Flags: flags.GeneralFlags, ArgsUsage: "address", Description: `set admission contract address`, }, { Name: "setrnodeaddr", Usage: "set rnode contract address, <address in string>", Action: setRnodeAddress, Flags: flags.GeneralFlags, ArgsUsage: "address", Description: `set rnode contract address`, }, { Name: "setminnoc", Usage: "set min noc", Action: setMinNoc, Flags: flags.GeneralFlags, ArgsUsage: "int", Description: `set rnode contract address`, }, { Name: "setmaxnoc", Usage: "set max noc", Action: setMaxNoc, Flags: flags.GeneralFlags, ArgsUsage: "int", Description: `set rnode contract address`, }, { Name: "setblocks", Usage: "set acceptable blocks", Action: setAcceptableBlocks, Flags: flags.GeneralFlags, ArgsUsage: "int", Description: `set acceptable blocks`, }, { Name: "setversion", Usage: "set supported version", Action: setVersion, Flags: flags.GeneralFlags, ArgsUsage: "int", Description: `set supported version`, }, { Name: "showconfigs", Usage: "show configs in contract", Action: showConfigs, Flags: flags.GeneralFlags, Description: `show configs in contract`, }, { Name: "showcandidates", Usage: "show candidates in contract in given term range, [start, end]", Action: showCandidates, Flags: flags.GeneralFlags, ArgsUsage: "start, end", Description: `show candidates in contract in given term range in contract`, }, }, } )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.