ethhandler

package
v0.1.43 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2021 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(itemID string, hash string) (TxID string, err error)

Create submits a create transaction to Ethereum

func Delete

func Delete(itemID string, hash string) (TxID string, err error)

Delete submits a delete transaction to Ethereum

func GetTxStatus

func GetTxStatus(txID string) (status string, err error)

GetTxStatus Returns the status of a transaction

func SetSettings

func SetSettings(g *ethProc.EthConfigData)

gCfg.Client = client func SetSettings(st EthSetting, cl *ethclient.Client, g *EthBaseConfig) {

func SubmitLogTx

func SubmitLogTx(action string, itemID string, hash string) (TxID string, err error)

SubmitLogTx submit a transaction log to Ethereum

func SubmitTx

func SubmitTx(data []byte) (TxID string, err error)

SubmitTx submit a transaction to ethereum

func Update

func Update(itemID string, hash string) (TxID string, err error)

Update submits an update transaction to Ethereum

Types

This section is empty.

Jump to

Keyboard shortcuts

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