Documentation ¶
Index ¶
- func Confirm(initialPrompt string) bool
- func Prompt(initialPrompt string, expectedFormat string, incorrectFormatPrompt string) string
- func Select(initialPrompt string, options []string) (int, string)
- func ValidateAddress(name, value string) (common.Address, error)
- func ValidateArgCount(c *cli.Context, count int) error
- func ValidateBurnableTokenType(name, value string) (string, error)
- func ValidateDepositEthAmount(name, value string) (float64, error)
- func ValidateDepositWeiAmount(name, value string) (*big.Int, error)
- func ValidateEthAmount(name, value string) (float64, error)
- func ValidateFraction(name, value string) (float64, error)
- func ValidateNodePassword(name, value string) (string, error)
- func ValidatePositiveEthAmount(name, value string) (float64, error)
- func ValidatePositiveWeiAmount(name, value string) (*big.Int, error)
- func ValidateTimezoneLocation(name, value string) (string, error)
- func ValidateTokenType(name, value string) (string, error)
- func ValidateWalletMnemonic(name, value string) (string, error)
- func ValidateWeiAmount(name, value string) (*big.Int, error)
- func ValidateWithdrawableTokenType(name, value string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateAddress ¶
Validate an address
func ValidateArgCount ¶
Validate command argument count
func ValidateBurnableTokenType ¶
Validate a burnable token type
func ValidateDepositEthAmount ¶
Validate a deposit amount in ether
func ValidateDepositWeiAmount ¶
Validate a deposit amount in wei
func ValidateEthAmount ¶
Validate an ether amount
func ValidateFraction ¶
Validate a fraction
func ValidateNodePassword ¶
Validate a node password
func ValidatePositiveEthAmount ¶
Validate a positive ether amount
func ValidatePositiveWeiAmount ¶
Validate a positive wei amount
func ValidateTimezoneLocation ¶
Validate a timezone location
func ValidateTokenType ¶
Validate a token type
func ValidateWalletMnemonic ¶
Validate a wallet mnemonic phrase
func ValidateWeiAmount ¶
Validate a wei amount
func ValidateWithdrawableTokenType ¶
Validate a withdrawable (from faucet) token type
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.