package
2.0.0-olddev+incompatible
Repository: https://github.com/rocket-pool/smartnode.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Prompt for confirmation.
Prompts the user to verify that there is nobody looking over their shoulder before printing sensitive information.
Prompt for 'I agree' confirmation (used on important questions to avoid a quick 'y' response from the user).
Convert a Unix datetime to a string, or `---` if it's zero.
Gets the hex string of an address, or "none" if it was the 0x0 address.
Prints an error in a prettier format, removing the "stack trace" if it represents a contract revert message.
Prints an error message when the Beacon client is not using the deposit contract address that Rocket Pool expects.
Print a warning to the console if the user set a custom nonce, but this operation involves multiple transactions.
Prints what network you're currently on.
Print a TX's details to the console.
Print a TX's details to the console, but inform the user NOT to cancel it.
Prompt for user input.
Prompt for password input.
Prompt for user selection.
Validate an address.
Validate command argument count.
Validate a big int.
Validate a boolean value.
Validate a burnable token type.
Validate a hex-encoded byte array.
Validate a DAO member ID.
Validate an ether amount.
Validate a fraction.
Validate a node password.
Validate a percentage.
Validate a positive ether amount.
Validate a positive or zero wei amount.
Validate a positive unsigned integer value.
Validate a positive wei amount.
Validate a proposal type.
Validate a validator pubkey.
Validate a timezone location.
Validate a token type.
Validate a transaction hash.
Validate an unsigned integer value.
Validate a wallet mnemonic phrase.
Validate a wei amount.

# Constants