cf

package
v0.0.0-...-9705ef6 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CtrSWC      = "SweetToken"
	CtrSWClogic = "SweetTokenLogic"
)

Contract names

View Source
const SweetTokenABI = "generated ABI"

SweetTokenABI is the input ABI used to generate the binding from.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContractFactory

type ContractFactory interface {
	GetSWC() (*SweetToken, common.Address, errstack.E)

	ethdrv.TxrFactory
}

ContractFactory delivers methods to easily construct contracts

func NewContractFactory

func NewContractFactory(c *ethclient.Client, sf ethdrv.SchemaFactory, txrF ethdrv.TxrFactory, isTestRPC bool) ContractFactory

NewContractFactory is a default contract provider based on truffle schema files.

type SweetToken

type SweetToken struct{}

SweetToken is a mock of auto generated Go binding around an Ethereum contract.

func NewSweetToken

func NewSweetToken(address common.Address, backend bind.ContractBackend) (*SweetToken, error)

NewSweetToken creates a new instance of SweetToken, bound to a specific deployed contract.

Jump to

Keyboard shortcuts

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