Documentation ¶
Index ¶
- func AlertColor(str string) string
- func DisplayValues(values []Value) string
- func InfoColor(str string) string
- func NameWithColor(name string) string
- func PrintGnosis(result *GnosisResult)
- func PrintTxDetails(result *TxResult, writer io.Writer)
- func ReadableNumber(value string) string
- func VerboseAddress(addr Address) string
- func VerboseValues(values []Value) []string
- type Address
- type GnosisResult
- type LogResult
- type ParamResult
- type TopicResult
- type TxResult
- type TxResults
- type Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AlertColor ¶
func DisplayValues ¶
func NameWithColor ¶
func PrintGnosis ¶
func PrintGnosis(result *GnosisResult)
func PrintTxDetails ¶
func ReadableNumber ¶
func VerboseAddress ¶
func VerboseValues ¶
Types ¶
type GnosisResult ¶
type GnosisResult struct { Contract Address Network string Method string Params []ParamResult GnosisInit *GnosisResult Error string }
type LogResult ¶
type LogResult struct { Name string Topics []TopicResult Data []ParamResult }
type ParamResult ¶
type TopicResult ¶
type TxResult ¶
type TxResult struct { Hash string Network string Status string From Address Value string To Address Nonce string GasPrice string GasLimit string GasUsed string GasCost string TxType string Contract Address Method string Params []ParamResult Logs []LogResult GnosisInit *GnosisResult Completed bool Error string }
func NewTxResult ¶
func NewTxResult() *TxResult
Click to show internal directories.
Click to hide internal directories.