Documentation ¶
Index ¶
- func ABIErrorHandler(err error, call *def.Call, query *def.QueryContract) error
- func AccountsInfo(account, field string, client *def.Client) (string, error)
- func ChainErrorHandler(account string, err error) error
- func Exit(err error)
- func GetBlockHeight(client *def.Client) (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, client *def.Client) (string, error)
- func PreProcess(toProcess string, do *def.DeployArgs, client *def.Client) (string, error)
- func PreProcessFields(value interface{}, do *def.DeployArgs, client *def.Client) (err error)
- func PreProcessInputData(function string, data interface{}, do *def.DeployArgs, client *def.Client, ...) (string, []string, error)
- func PreProcessLibs(libs string, do *def.DeployArgs, client *def.Client) (string, error)
- func ReadTxSignAndBroadcast(txe *exec.TxExecution, err error) error
- func ValidatorsInfo(query string, client *def.Client) (interface{}, error)
- func Variables(value interface{}) []*abi.Variable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ABIErrorHandler ¶
func ChainErrorHandler ¶
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 PreProcess ¶
func PreProcessFields ¶
func PreProcessFields(value interface{}, do *def.DeployArgs, client *def.Client) (err error)
func PreProcessInputData ¶
func PreProcessLibs ¶
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.