Documentation ¶
Index ¶
- func ABIErrorHandler(err error, call *def.Call, query *def.QueryContract, logger *logging.Logger) error
- func AccountsInfo(account, field string, client *def.Client, logger *logging.Logger) (string, error)
- func ChainErrorHandler(account string, err error, logger *logging.Logger) error
- func Exit(err error)
- func GetBlockHeight(client *def.Client, logger *logging.Logger) (latestBlockHeight uint64, err error)
- func GetBoolResponse(question string, defaultAnswer bool, reader *os.File, logger *logging.Logger) (bool, error)
- func GetIntResponse(question string, defaultAnswer int64, reader *os.File, logger *logging.Logger) (int64, error)
- func GetReturnValue(vars []*abi.Variable, logger *logging.Logger) string
- func GetStringResponse(question string, defaultAnswer string, reader *os.File, logger *logging.Logger) (string, error)
- func NamesInfo(name, field string, client *def.Client, logger *logging.Logger) (string, error)
- func PreProcess(toProcess string, do *def.DeployArgs, script *def.Playbook, client *def.Client, ...) (string, error)
- func PreProcessFields(value interface{}, do *def.DeployArgs, script *def.Playbook, ...) (err error)
- func PreProcessInputData(function string, data interface{}, do *def.DeployArgs, script *def.Playbook, ...) (string, []interface{}, error)
- func PreProcessLibs(libs string, do *def.DeployArgs, script *def.Playbook, client *def.Client, ...) (string, error)
- func ReadTxSignAndBroadcast(txe *exec.TxExecution, err error, logger *logging.Logger) error
- func ValidatorsInfo(query string, client *def.Client, logger *logging.Logger) (interface{}, error)
- func Variables(value interface{}) []*abi.Variable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ABIErrorHandler ¶
func AccountsInfo ¶
func ChainErrorHandler ¶
func GetBlockHeight ¶
func GetBoolResponse ¶
func GetBoolResponse(question string, defaultAnswer bool, reader *os.File, logger *logging.Logger) (bool, error)
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 GetStringResponse ¶
func PreProcess ¶
func PreProcessFields ¶
func PreProcessInputData ¶
func PreProcessLibs ¶
func ReadTxSignAndBroadcast ¶
This is a closer function which is called by most of the tx_run functions
func ValidatorsInfo ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.