# Packages
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
Abs provides a way of taking the absolute value of an integer.
AbsDiff provides a way of taking the absolute difference between two integers.
CheckContextDone checks if a provided context has indicated it is done, and returns a boolean indicating if it is.
ConstrainIntegerToBitLength takes a provided big integer, signed indicator, and bit length and ensures that the provided integer is represented in those bounds.
ConstrainIntegerToBounds takes a provided big integer and minimum/maximum bounds (inclusive) and ensures that the provided integer is represented in those bounds.
CopyChainConfig takes a chain configuration and creates a copy.
CopyDirectory copies a directory from a source path to a destination path.
CopyFile copies a file from a source path to a destination path.
CreateFile will create a file at the given path and file name combination.
DeleteDirectory deletes a directory at the provided path.
GetFileNameWithoutExtension obtains a filename without the extension.
GetFilePathWithoutExtension obtains a file path without the extension.
GetIntegerConstraints takes a given signed indicator and bit length for a prospective integer and determines the minimum/maximum value boundaries.
GetPrivateKey will return a private key object given a byte slice.
HexStringsToAddresses converts hex strings (with or without the "0x" prefix) to common.Address objects.
HexStringToAddress converts a hex string (with or without the "0x" prefix) to a common.Address.
IsLinuxEnvironment returns a boolean indicating whether the current execution environment is a Linux platform.
IsMacOSEnvironment returns a boolean indicating whether the current execution environment is a macOS platform.
IsWindowsEnvironment returns a boolean indicating whether the current execution environment is a Windows platform.
MakeDirectory creates a directory at the given path, including any parent directories which do not exist.
Max provides generic support for various integer types to be compared and the maximum of two values returned.
MessageToTransaction derives a types.Transaction from a types.Message.
Min provides generic support for various integer types to be compared and the minimum of two values returned.
MoveFile will move a given file from the source path to the target path.
PermutationsWithRepetition will take in an array and an integer, n, where n represents how many items need to be selected from the array.
RunCommandWithOutputAndError runs a given exec.Cmd and returns the stdout, stderr, and combined output as bytes, or an error if one occurred.
SlicePointersToValues takes a slice of pointers and returns a slice of values de-referenced from them.
SliceSelect provides a way of querying a specific element from a slice's elements into a slice of its own.
SliceValuesToPointers takes a slice of values and returns a slice of pointers to them.
SliceWhere provides a way of querying specific elements which fit some criteria into a new slice.