wrapper

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2022 License: AGPL-3.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

View Source
const JSONABI = `` /* 1137-byte string literal not displayed */

JSONABI is json ethereum contract description

Variables

View Source
var ABI abi.ABI

ABI json ABI representation

Functions

func DecodeSchemaBytesByHash added in v0.0.2

func DecodeSchemaBytesByHash(payload []byte) ([]byte, error)

DecodeSchemaBytesByHash is for decoding payload bytes for getSchemaBytesByHashMethod contract.

func DecodeSchemaBytesByName added in v0.0.2

func DecodeSchemaBytesByName(payload []byte) ([]byte, error)

DecodeSchemaBytesByName is used to get decoded bytes from name for using in getSchemaBytesByNameMethod contract.

func DecodeSchemaHashByName added in v0.0.2

func DecodeSchemaHashByName(payload []byte) (*common.Hash, error)

DecodeSchemaHashByName is used getting decode hash by schema name.

func EncodeSaveTransaction added in v0.0.3

func EncodeSaveTransaction(schemaName string, schemaBytes []byte) ([]byte, error)

EncodeSaveTransaction is used to get encoded bytes from name and schema body for using in saveMethod contract.

func EncodeSchemaBytesByHash added in v0.0.2

func EncodeSchemaBytesByHash(hash string) ([]byte, error)

EncodeSchemaBytesByHash is used getting schema body by hash. hash is a hex string to retrieve schema body

func EncodeSchemaBytesByName added in v0.0.2

func EncodeSchemaBytesByName(name string) ([]byte, error)

EncodeSchemaBytesByName is used to get encoded bytes from name for using in getSchemaBytesByNameMethod contract.

func EncodeSchemaHashByName added in v0.0.2

func EncodeSchemaHashByName(name string) ([]byte, error)

EncodeSchemaHashByName is used getting schema hash by schema name.

Types

This section is empty.

Jump to

Keyboard shortcuts

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