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.
Click to show internal directories.
Click to hide internal directories.