Documentation ¶ Index ¶ func Init() type Contract func GetContract(name string) *Contract func NewContract(address, abi string, btc []byte) (*Contract, error) func (contract *Contract) Execute(method string, args ...interface{}) []byte func (contract *Contract) InitABI(ABIJson string) error func (c *Contract) Transfer(method string, amount string, address string) []byte Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Init ¶ func Init() Types ¶ type Contract ¶ type Contract struct { Address common.Address ABI abi.ABI Btc []byte // contains filtered or unexported fields } func GetContract ¶ func GetContract(name string) *Contract func NewContract ¶ func NewContract(address, abi string, btc []byte) (*Contract, error) func (*Contract) Execute ¶ func (contract *Contract) Execute(method string, args ...interface{}) []byte func (*Contract) InitABI ¶ func (contract *Contract) InitABI(ABIJson string) error func (*Contract) Transfer ¶ func (c *Contract) Transfer(method string, amount string, address string) []byte Source Files ¶ View all Source files contract.go contractManager.go init.go Click to show internal directories. Click to hide internal directories.