# Functions
Address returns the address corresponding to alias.
AliasIsHdwalletKey check whether to use hdwallet key.
CheckArgs used for check ioctl cmd arg(s)'s num.
CompileSolidity compiles all given Solidity source files.
CompileSolidityString builds and returns all the contracts contained within a source string.
ConnectToEndpoint starts a new connection.
Decrypt Takes two strings, data and key.
Encrypt Takes two string, data and key.
ExecuteCmd executes cmd with args, and return system output, e.g., help info, and error.
GetAddress get address from address or alias or context.
GetStakingCandidates returns staking candidates.
HashSHA256 will compute a cryptographically useful hash of the input string.
JwtAuth used for ioctl set auth and send for every grpc request.
ParseHdwPath parse hdwallet path.
RauToString converts Rau big int into Iotx string.
ReadSecretFromStdin used to safely get password input.
SolidityVersion runs solc and parses its version output.
StringToIOTX converts Rau string to Iotx string.
StringToRau converts different unit string into Rau big int.
To32Bytes asserts/converts interface{} to [32]byte.
ToByteSlice asserts/converts interface{} to []byte.
TrimHexPrefix removes 0x prefix from a string if it has.
# Constants
GasPriceDecimalNum defines the number of decimal digits for gas price.
IotxDecimalNum defines the number of decimal digits for IoTeX.
# Variables
vars.