abi

package
v0.0.0-...-753aa41 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2023 License: LGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPaddedParam

func GetPaddedParam(param []Param) ([]byte, error)

GetPaddedParam from struct

func GetParser

func GetParser(ABI *core.SmartContract_ABI, method string) (eABI.Arguments, error)

GetParser return output method parser arguments from ABI

func Pack

func Pack(method string, param []Param) ([]byte, error)

Pack data into bytes

func Signature

func Signature(method string) []byte

Signature of a method

Types

type Param

type Param map[string]interface{}

Param list

func LoadFromJSON

func LoadFromJSON(jString string) ([]Param, error)

LoadFromJSON string into ABI data

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL