utils

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2019 License: AGPL-3.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AbsFilePath

func AbsFilePath(filePath string) string

func GetAbi

func GetAbi(abiFilepath string, contractHash string, network string) string

func LoadPostgres

func LoadPostgres(database config.Database, node core.Node) postgres.DB

func ReadAbiFile

func ReadAbiFile(abiFilepath string) string

func RequestedBlockNumber

func RequestedBlockNumber(blockNumber *int64) *big.Int

func RollbackAndLogFailure added in v0.0.9

func RollbackAndLogFailure(tx *sqlx.Tx, txErr error, fieldName string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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