Documentation
¶
Index ¶
- func AddTimeStampToFileName(fileName string) string
- func ComputeHashKey(owner common.Address, workflowName string) [32]byte
- func DeleteFileIfExists(filePath string) error
- func GetBuildCmd(inputFile string, outputFile string, rootFolder string) *exec.Cmd
- func GetDirectoryName() (string, error)
- func IsBinaryFile(fileName string) (bool, error)
- func MustGetUserInputWithPrompt(l *zerolog.Logger, prompt string) (string, error)
- func SimTransactOpts() *bind.TransactOpts
- func ToStringSlice(args []any) []string
- func ValidateEventSignature(l *zerolog.Logger, tx *seth.DecodedTransaction, e abi.Event) (bool, int)
- func ValidatePrivateKey(key string) error
- func WriteJsonToFile(j interface{}, filePath string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddTimeStampToFileName ¶
func DeleteFileIfExists ¶
func GetBuildCmd ¶
Gets a build command for either Golang or Typescript based on the filename
func GetDirectoryName ¶
func IsBinaryFile ¶
There is only a small group of acceptable file extensions by this tool and only few of them are considered to be binary files
func SimTransactOpts ¶
func SimTransactOpts() *bind.TransactOpts
SimTransactOpts is useful to generate just the calldata for a given gethwrapper method.
func ToStringSlice ¶
toStringSlice converts a slice of any type to a slice of strings. If an element is a byte slice, it prints it as hex.
func ValidateEventSignature ¶
func ValidatePrivateKey ¶
ValidatePrivateKey validates the input string is a valid Ethereum private key
func WriteJsonToFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.