Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Contract ¶
type Contract interface { // Address returns contract address Address() string // ABI returns contract abi ABI() string // DeployData returns deploy contract Execution packed data DeployData(args ...interface{}) ([]byte, error) // ExecuteData returns invoke contract Execution packed data ExecuteData(method string, args ...interface{}) ([]byte, error) }
Contract defines contract interface
func NewContract ¶
NewContract returns construct Contract instance
Click to show internal directories.
Click to hide internal directories.