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 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 ¶
func BuildPayloadByABIFile ¶
func StrToInt64 ¶
func ToJsonIgnoreErr ¶
func ToJsonIgnoreErr(obj interface{}) string
func UnpackEventValuesByABI ¶
func UnpackValuesByABI ¶
func UnpackValuesByABI2 ¶
func UnpackValuesByABIFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.