Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ABI ¶
type ABI struct {
// contains filtered or unexported fields
}
func JSON ¶
JSON create an ABI instance by Json Reader @param reader @return *ABI @return error
func NewAbi ¶
NewAbi create a new ABI instance by abi string @param abiData @return *ABI @return error
func NewAbiFromFile ¶
NewAbiFromFile create an ABI instance by abi json file path @param fpath @return *ABI @return error
func (*ABI) Pack ¶
Pack encode function name and arguments to a binary data @param funcName @param args @return []byte @return error
Click to show internal directories.
Click to hide internal directories.