wrapper

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2022 License: AGPL-3.0 Imports: 8 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)

func DecodeSchemaBytesByName added in v0.0.2

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

DecodeSchemaBytesByName is decoding schema bytes

func DecodeSchemaHashByName added in v0.0.2

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

DecodeSchemaHashByName is used getting decode hash by schema name. name - schema name

func EncodeSchemaBytesByHash added in v0.0.2

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

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

func EncodeSchemaBytesByName added in v0.0.2

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

EncodeSchemaBytesByName is used to get schema by name. name is schema name

func EncodeSchemaHashByName added in v0.0.2

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

EncodeSchemaHashByName is used getting schema hash by schema name. name - schema name

func GetSaveTransaction added in v0.0.2

func GetSaveTransaction(ctx context.Context, client *ethclient.Client, nonce uint64, contractAddress string, schemaName string, schemaBytes []byte) (*types.Transaction, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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