abi

package
Version: v2.2.4 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2021 License: LGPL-3.0 Imports: 12 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

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL