contract

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileKey

func FileKey(cfg *config.Config) *ecdsa.PrivateKey

FileKey ...

Types

type Contractor

type Contractor interface {
	Node(call NodeCall) error
	Token(call TokenCall) error
}

Contractor ...

func Loader

func Loader(cfg *config.Config) Contractor

Loader ...

type NodeCall

type NodeCall func(node *node.AccelerateNode, opts *bind.TransactOpts) error

NodeCall ...

type TokenCall

type TokenCall func(token *token.DhToken, opts *bind.TransactOpts) error

TokenCall ...

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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