Documentation ¶
Index ¶
- func BuildPayloadByABI(contractAbi, funcName string, args ...interface{}) ([]byte, error)
- func BuildPayloadByABIFile(abiFilePath, funcName string, args ...interface{}) ([]byte, error)
- func LoadABI(abiFileAbsPath string) (string, error)
- func StrToInt64(str string) (int64, error)
- func StrToInt64IgnoreErr(str string) int64
- func ToJsonIgnoreErr(obj interface{}) string
- func UnpackEventValuesByABI(contractAbi, eventName string, d []byte) ([]interface{}, error)
- func UnpackEventValuesByABIFile(abiFilePath, funcName string, d []byte) ([]interface{}, error)
- func UnpackValuesByABI(contractAbi, funcName string, d []byte) ([]interface{}, error)
- func UnpackValuesByABI2(contractAbi, funcName string, d []byte, isInput bool) ([]interface{}, error)
- func UnpackValuesByABIFile(abiFilePath, funcName string, d []byte) ([]interface{}, error)
- func UnpackValuesByABIFile2(abiFilePath, funcName string, d []byte, isInput bool) ([]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildPayloadByABI ¶ added in v1.3.0
func BuildPayloadByABIFile ¶ added in v1.3.0
func StrToInt64 ¶
func StrToInt64IgnoreErr ¶
func ToJsonIgnoreErr ¶
func ToJsonIgnoreErr(obj interface{}) string
func UnpackEventValuesByABI ¶ added in v1.3.1
func UnpackEventValuesByABIFile ¶ added in v1.3.1
func UnpackValuesByABI ¶ added in v1.3.1
func UnpackValuesByABI2 ¶ added in v1.3.1
func UnpackValuesByABIFile ¶ added in v1.3.1
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.