Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Flags needed by abigen KeyFlag = cli.StringFlag{ Name: "key", Usage: "Private key file path", Value: "", } KeyStoreFlag = cli.StringFlag{ Name: "keystore", Usage: "Keystore file path", } PasswordFlag = cli.StringFlag{ Name: "password", Usage: "Keystore file`s password", } NamePrefixFlag = cli.StringFlag{ Name: "namePrefix", Usage: "namePrefix", } CommissionFlag = cli.StringFlag{ Name: "commission", Usage: "register validator param", } VoteNumFlag = cli.Int64Flag{ Name: "voteNum", Usage: "The amount of gold to use to vote", } TopNumFlag = cli.Int64Flag{ Name: "topNum", Usage: "topNum of validator", } LockedNumFlag = cli.Int64Flag{ Name: "lockedNum", Usage: "The amount of map to lock 、unlock、relock、withdraw ", } MAPValueFlag = cli.Int64Flag{ Name: "mapValue", Usage: "validator address", } WithdrawIndexFlag = cli.Int64Flag{ Name: "withdrawIndex", Usage: "use for withdraw", } RelockIndexFlag = cli.Int64Flag{ Name: "relockIndex", Usage: "use for relock", } VerbosityFlag = cli.Int64Flag{ Name: "Verbosity", Usage: "Verbosity of log level", } RPCListenAddrFlag = cli.StringFlag{ Name: "rpcaddr", Usage: "HTTP-RPC server listening interface", Value: "localhost", } RPCPortFlag = cli.IntFlag{ Name: "rpcport", Usage: "HTTP-RPC server listening Port", Value: 8545, } ValueFlag = cli.Uint64Flag{ Name: "value", Usage: "value units one eth", Value: 0, } DurationFlag = cli.Int64Flag{ Name: "duration", Usage: "duration The time (in seconds) that these requirements persist for.", Value: 0, } TargetAddressFlag = cli.StringFlag{ Name: "target", Usage: "Target query address", Value: "", } ValidatorAddressFlag = cli.StringFlag{ Name: "validator", Usage: "validator address", Value: "", } ContractAddressFlag = cli.StringFlag{ Name: "contractAddress", Usage: "set contract Address", Value: "", } GasLimitFlag = cli.Int64Flag{ Name: "gasLimit", Usage: "use for sendContractTransaction gasLimit", Value: 0, } )
Functions ¶
This section is empty.
Types ¶
type AccountsParameters ¶
type Config ¶
type Config struct { From common.Address PublicKey []byte PrivateKey *ecdsa.PrivateKey BlsPub blscrypto.SerializedPublicKey BLSProof []byte Value uint64 Duration int64 Commission string VoteNum *big.Int TopNum *big.Int LockedNum *big.Int WithdrawIndex *big.Int RelockIndex *big.Int TargetAddress common.Address Ip string Port int GasLimit int64 Verbosity string NamePrefix string LockedGoldParameters LockedGoldParameters AccountsParameters AccountsParameters ValidatorParameters ValidatorParameters ElectionParameters ElectionParameters GoldTokenParameters GoldTokenParameters }
func AssemblyConfig ¶
type ElectionParameters ¶
type GoldTokenParameters ¶
type LockedGoldParameters ¶
Click to show internal directories.
Click to hide internal directories.