Documentation ¶
Index ¶
- func ABIErrorHandler(do *def.Packages, err error, call *def.Call, query *def.QueryContract) (string, error)
- func AccountsInfo(account, field string, do *def.Packages) (string, error)
- func ChainErrorHandler(do *def.Packages, err error) error
- func Exit(err error)
- func GetBlockHeight(do *def.Packages) (latestBlockHeight uint64, err error)
- func GetBoolResponse(question string, defaultAnswer bool, reader *os.File) (bool, error)
- func GetIntResponse(question string, defaultAnswer int64, reader *os.File) (int64, error)
- func GetReturnValue(vars []*abi.Variable) string
- func GetStringResponse(question string, defaultAnswer string, reader *os.File) (string, error)
- func IfExit(err error)
- func NamesInfo(name, field string, do *def.Packages) (string, error)
- func PreProcess(toProcess string, do *def.Packages) (string, error)
- func PreProcessFields(value interface{}, do *def.Packages) (err error)
- func PreProcessInputData(function string, data interface{}, do *def.Packages, constructor bool) (string, []string, error)
- func PreProcessLibs(libs string, do *def.Packages) (string, error)
- func ReadTxSignAndBroadcast(txe *exec.TxExecution, err error) error
- func ValidatorsInfo(query string, do *def.Packages) (interface{}, error)
- func Variables(value interface{}) []*abi.Variable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ABIErrorHandler ¶
func GetBoolResponse ¶
displays the question, scans for the response, if the response is an empty string will return default, otherwise will parseBool and return the result.
func GetIntResponse ¶
func GetReturnValue ¶
func GetStringResponse ¶
func PreProcessFields ¶
func PreProcessInputData ¶
func ReadTxSignAndBroadcast ¶
func ReadTxSignAndBroadcast(txe *exec.TxExecution, err error) error
This is a closer function which is called by most of the tx_run functions
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.