utils

package
v0.0.0-...-82e382c Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateAuthBind

func GenerateAuthBind(privateKey *ecdsa.PrivateKey, client *ethclient.Client, gasLimit uint64) *bind.TransactOpts

func LoadPrivateKey

func LoadPrivateKey(config *Config) *ecdsa.PrivateKey

func VerboseTime

func VerboseTime(category string, verbose bool)

Types

type Config

type Config struct {
	EthClientUrl      string
	EthPrivateKey     string
	EthPrivateKeyFile string
	SizzleAddress     string
}

func LoadConfig

func LoadConfig() *Config

Jump to

Keyboard shortcuts

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