Documentation ¶
Index ¶
- func AlertColor(str string) string
- func InfoColor(str string) string
- func NameWithColor(name string) string
- func PrintFunctionCall(fc *FunctionCall)
- func PrintTxDetails(result *TxResult, network Network, writer io.Writer)
- func PrintVerboseValueToWriter(writer io.Writer, values []Value)
- func ReadableNumber(value string) string
- func VerboseAddress(addr Address) string
- func VerboseValues(values []Value) []string
- type ABIDatabase
- type Address
- type FunctionCall
- 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 NameWithColor ¶
func PrintFunctionCall ¶ added in v0.0.20
func PrintFunctionCall(fc *FunctionCall)
func PrintTxDetails ¶
func PrintVerboseValueToWriter ¶ added in v0.0.20
func ReadableNumber ¶
func VerboseAddress ¶
func VerboseValues ¶
Types ¶
type ABIDatabase ¶ added in v0.0.20
type FunctionCall ¶ added in v0.0.20
type FunctionCall struct { Destination Address Value *big.Int Method string Params []ParamResult DecodedFunctionCalls []*FunctionCall Error string }
type LogResult ¶
type LogResult struct { Name string Topics []TopicResult Data []ParamResult }
type ParamResult ¶
type ParamResult struct { Name string Type string Value []Value Tuple []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 Timestamp string TxType string FunctionCall *FunctionCall Logs []LogResult Completed bool Error string }
func NewTxResult ¶
func NewTxResult() *TxResult
Click to show internal directories.
Click to hide internal directories.