mycontract

package
v0.0.0-...-070b236 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2018 License: LGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const MycontractABI = "" /* 723-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type Mycontract

type Mycontract struct {
	MycontractCaller     // Read-only binding to the contract
	MycontractTransactor // Write-only binding to the contract
	MycontractFilterer   // Log filterer for contract events
}

Mycontract is an auto generated Go binding around an Ethereum contract.

func NewMycontract

func NewMycontract(address common.Address, backend bind.ContractBackend) (*Mycontract, error)

NewMycontract creates a new instance of Mycontract, bound to a specific deployed contract.

type MycontractCaller

type MycontractCaller struct {
	// contains filtered or unexported fields
}

MycontractCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewMycontractCaller

func NewMycontractCaller(address common.Address, caller bind.ContractCaller) (*MycontractCaller, error)

NewMycontractCaller creates a new read-only instance of Mycontract, bound to a specific deployed contract.

func (*MycontractCaller) Count

func (_Mycontract *MycontractCaller) Count(opts *bind.CallOpts) (*big.Int, error)

Count is a free data retrieval call binding the contract method 0x06661abd.

Solidity: function count() constant returns(uint256)

func (*MycontractCaller) Name

func (_Mycontract *MycontractCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() constant returns(string)

type MycontractCallerRaw

type MycontractCallerRaw struct {
	Contract *MycontractCaller // Generic read-only contract binding to access the raw methods on
}

MycontractCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*MycontractCallerRaw) Call

func (_Mycontract *MycontractCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type MycontractCallerSession

type MycontractCallerSession struct {
	Contract *MycontractCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts     // Call options to use throughout this session
}

MycontractCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*MycontractCallerSession) Count

func (_Mycontract *MycontractCallerSession) Count() (*big.Int, error)

Count is a free data retrieval call binding the contract method 0x06661abd.

Solidity: function count() constant returns(uint256)

func (*MycontractCallerSession) Name

func (_Mycontract *MycontractCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() constant returns(string)

type MycontractFilterer

type MycontractFilterer struct {
	// contains filtered or unexported fields
}

MycontractFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewMycontractFilterer

func NewMycontractFilterer(address common.Address, filterer bind.ContractFilterer) (*MycontractFilterer, error)

NewMycontractFilterer creates a new log filterer instance of Mycontract, bound to a specific deployed contract.

func (*MycontractFilterer) FilterMyEvent

func (_Mycontract *MycontractFilterer) FilterMyEvent(opts *bind.FilterOpts) (*MycontractMyEventIterator, error)

FilterMyEvent is a free log retrieval operation binding the contract event 0x58a511ff45ed07d91d943b897d293a3bf9504ac55ca968e356fe4f1d3b7f23b5.

Solidity: event _MyEvent(name string, count uint256)

func (*MycontractFilterer) WatchMyEvent

func (_Mycontract *MycontractFilterer) WatchMyEvent(opts *bind.WatchOpts, sink chan<- *MycontractMyEvent) (event.Subscription, error)

WatchMyEvent is a free log subscription operation binding the contract event 0x58a511ff45ed07d91d943b897d293a3bf9504ac55ca968e356fe4f1d3b7f23b5.

Solidity: event _MyEvent(name string, count uint256)

type MycontractMyEvent

type MycontractMyEvent struct {
	Name  string
	Count *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

MycontractMyEvent represents a MyEvent event raised by the Mycontract contract.

type MycontractMyEventIterator

type MycontractMyEventIterator struct {
	Event *MycontractMyEvent // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MycontractMyEventIterator is returned from FilterMyEvent and is used to iterate over the raw logs and unpacked data for MyEvent events raised by the Mycontract contract.

func (*MycontractMyEventIterator) Close

func (it *MycontractMyEventIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*MycontractMyEventIterator) Error

func (it *MycontractMyEventIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MycontractMyEventIterator) Next

func (it *MycontractMyEventIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type MycontractRaw

type MycontractRaw struct {
	Contract *Mycontract // Generic contract binding to access the raw methods on
}

MycontractRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*MycontractRaw) Call

func (_Mycontract *MycontractRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*MycontractRaw) Transact

func (_Mycontract *MycontractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*MycontractRaw) Transfer

func (_Mycontract *MycontractRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type MycontractSession

type MycontractSession struct {
	Contract     *Mycontract       // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

MycontractSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*MycontractSession) Count

func (_Mycontract *MycontractSession) Count() (*big.Int, error)

Count is a free data retrieval call binding the contract method 0x06661abd.

Solidity: function count() constant returns(uint256)

func (*MycontractSession) Greet

func (_Mycontract *MycontractSession) Greet(_name string) (*types.Transaction, error)

Greet is a paid mutator transaction binding the contract method 0xead710c4.

Solidity: function greet(_name string) returns()

func (*MycontractSession) Name

func (_Mycontract *MycontractSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() constant returns(string)

type MycontractTransactor

type MycontractTransactor struct {
	// contains filtered or unexported fields
}

MycontractTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewMycontractTransactor

func NewMycontractTransactor(address common.Address, transactor bind.ContractTransactor) (*MycontractTransactor, error)

NewMycontractTransactor creates a new write-only instance of Mycontract, bound to a specific deployed contract.

func (*MycontractTransactor) Greet

func (_Mycontract *MycontractTransactor) Greet(opts *bind.TransactOpts, _name string) (*types.Transaction, error)

Greet is a paid mutator transaction binding the contract method 0xead710c4.

Solidity: function greet(_name string) returns()

type MycontractTransactorRaw

type MycontractTransactorRaw struct {
	Contract *MycontractTransactor // Generic write-only contract binding to access the raw methods on
}

MycontractTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*MycontractTransactorRaw) Transact

func (_Mycontract *MycontractTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*MycontractTransactorRaw) Transfer

func (_Mycontract *MycontractTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type MycontractTransactorSession

type MycontractTransactorSession struct {
	Contract     *MycontractTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts     // Transaction auth options to use throughout this session
}

MycontractTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*MycontractTransactorSession) Greet

func (_Mycontract *MycontractTransactorSession) Greet(_name string) (*types.Transaction, error)

Greet is a paid mutator transaction binding the contract method 0xead710c4.

Solidity: function greet(_name string) returns()

Jump to

Keyboard shortcuts

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