util

package
v0.0.26 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnalyzeAndShowMsigTxInfo

func AnalyzeAndShowMsigTxInfo(multisigContract *msig.MultisigContract, txid *big.Int, network Network) (fc *FunctionCall)

func CommonFunctionCallPreprocess

func CommonFunctionCallPreprocess(cmd *cobra.Command, args []string) (err error)

CommonFunctionCallPreprocess processes args passed to the command in order to initiate config's variables in a conventional way across many Function Call alike commands.

func CommonTxPreprocess

func CommonTxPreprocess(cmd *cobra.Command, args []string) (err error)

CommonTxPreprocess processes args passed to the command in order to initiate config's variables in a conventional way across many commands that do txs.

func HandleApproveOrRevokeOrExecuteMsig

func HandleApproveOrRevokeOrExecuteMsig(method string, cmd *cobra.Command, args []string, postProcess PostProcessFunc)

Types

type PostProcessFunc

type PostProcessFunc func(fc *FunctionCall) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL