Documentation ¶
Index ¶
- Constants
- Variables
- func AsyncDeployHelloWorld(auth *bind.TransactOpts, handler func(*types.Receipt, error), ...) (*types.Transaction, error)
- type HelloWorld
- type HelloWorldCaller
- type HelloWorldCallerRaw
- type HelloWorldCallerSession
- type HelloWorldFilterer
- func (_HelloWorld *HelloWorldFilterer) ParseSetValue(log types.Log) (*HelloWorldSetValue, error)
- func (_HelloWorld *HelloWorldFilterer) WatchAllSetValue(fromBlock *uint64, handler func(int, []types.Log)) (string, error)
- func (_HelloWorld *HelloWorldFilterer) WatchSetValue(fromBlock *uint64, handler func(int, []types.Log), from common.Address, ...) (string, error)
- type HelloWorldRaw
- func (_HelloWorld *HelloWorldRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_HelloWorld *HelloWorldRaw) TransactWithResult(opts *bind.TransactOpts, result interface{}, method string, ...) (*types.Transaction, *types.Receipt, error)
- func (_HelloWorld *HelloWorldRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)
- type HelloWorldSession
- func (_HelloWorld *HelloWorldSession) AsyncSet(handler func(*types.Receipt, error), v string) (*types.Transaction, error)
- func (_HelloWorld *HelloWorldSession) Get() (string, error)
- func (_HelloWorld *HelloWorldSession) ParseSetValue(log types.Log) (*HelloWorldSetValue, error)
- func (_HelloWorld *HelloWorldSession) Set(v string) (string, *types.Transaction, *types.Receipt, error)
- func (_HelloWorld *HelloWorldSession) Version() (*big.Int, error)
- func (_HelloWorld *HelloWorldSession) WatchAllSetValue(fromBlock *uint64, handler func(int, []types.Log)) (string, error)
- func (_HelloWorld *HelloWorldSession) WatchSetValue(fromBlock *uint64, handler func(int, []types.Log), from common.Address, ...) (string, error)
- type HelloWorldSetValue
- type HelloWorldTransactor
- type HelloWorldTransactorRaw
- type HelloWorldTransactorSession
Constants ¶
const HelloWorldABI = "" /* 1127-byte string literal not displayed */
HelloWorldABI is the input ABI used to generate the binding from.
Variables ¶
var HelloWorldBin = "" /* 5116-byte string literal not displayed */
HelloWorldBin is the compiled bytecode used for deploying new contracts.
Functions ¶
func AsyncDeployHelloWorld ¶
func AsyncDeployHelloWorld(auth *bind.TransactOpts, handler func(*types.Receipt, error), backend bind.ContractBackend, initValue string) (*types.Transaction, error)
Types ¶
type HelloWorld ¶
type HelloWorld struct { HelloWorldCaller // Read-only binding to the contract HelloWorldTransactor // Write-only binding to the contract HelloWorldFilterer // Log filterer for contract events }
HelloWorld is an auto generated Go binding around a Solidity contract.
func DeployHelloWorld ¶
func DeployHelloWorld(auth *bind.TransactOpts, backend bind.ContractBackend, initValue string) (common.Address, *types.Receipt, *HelloWorld, error)
DeployHelloWorld deploys a new contract, binding an instance of HelloWorld to it.
func NewHelloWorld ¶
func NewHelloWorld(address common.Address, backend bind.ContractBackend) (*HelloWorld, error)
NewHelloWorld creates a new instance of HelloWorld, bound to a specific deployed contract.
type HelloWorldCaller ¶
type HelloWorldCaller struct {
// contains filtered or unexported fields
}
HelloWorldCaller is an auto generated read-only Go binding around a Solidity contract.
func NewHelloWorldCaller ¶
func NewHelloWorldCaller(address common.Address, caller bind.ContractCaller) (*HelloWorldCaller, error)
NewHelloWorldCaller creates a new read-only instance of HelloWorld, bound to a specific deployed contract.
type HelloWorldCallerRaw ¶
type HelloWorldCallerRaw struct {
Contract *HelloWorldCaller // Generic read-only contract binding to access the raw methods on
}
HelloWorldCallerRaw is an auto generated low-level read-only Go binding around a Solidity contract.
func (*HelloWorldCallerRaw) Call ¶
func (_HelloWorld *HelloWorldCallerRaw) 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 HelloWorldCallerSession ¶
type HelloWorldCallerSession struct { Contract *HelloWorldCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
HelloWorldCallerSession is an auto generated read-only Go binding around a Solidity contract, with pre-set call options.
func (*HelloWorldCallerSession) Get ¶
func (_HelloWorld *HelloWorldCallerSession) Get() (string, error)
Get is a free data retrieval call binding the contract method 0x6d4ce63c.
Solidity: function get() constant returns(string)
type HelloWorldFilterer ¶
type HelloWorldFilterer struct {
// contains filtered or unexported fields
}
HelloWorldFilterer is an auto generated log filtering Go binding around a Solidity contract events.
func NewHelloWorldFilterer ¶
func NewHelloWorldFilterer(address common.Address, filterer bind.ContractFilterer) (*HelloWorldFilterer, error)
NewHelloWorldFilterer creates a new log filterer instance of HelloWorld, bound to a specific deployed contract.
func (*HelloWorldFilterer) ParseSetValue ¶
func (_HelloWorld *HelloWorldFilterer) ParseSetValue(log types.Log) (*HelloWorldSetValue, error)
ParseSetValue is a log parse operation binding the contract event 0xc3bf5911f8e0476e774566ef3fa1259f04156ba5c61ea5ff35c0201390381f96.
Solidity: event setValue(string v, address indexed from, address indexed to, int256 value)
func (*HelloWorldFilterer) WatchAllSetValue ¶
func (*HelloWorldFilterer) WatchSetValue ¶
func (_HelloWorld *HelloWorldFilterer) WatchSetValue(fromBlock *uint64, handler func(int, []types.Log), from common.Address, to common.Address) (string, error)
WatchSetValue is a free log subscription operation binding the contract event 0xc3bf5911f8e0476e774566ef3fa1259f04156ba5c61ea5ff35c0201390381f96.
Solidity: event setValue(string v, address indexed from, address indexed to, int256 value)
type HelloWorldRaw ¶
type HelloWorldRaw struct {
Contract *HelloWorld // Generic contract binding to access the raw methods on
}
HelloWorldRaw is an auto generated low-level Go binding around a Solidity contract.
func (*HelloWorldRaw) Call ¶
func (_HelloWorld *HelloWorldRaw) 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 (*HelloWorldRaw) TransactWithResult ¶
func (_HelloWorld *HelloWorldRaw) TransactWithResult(opts *bind.TransactOpts, result interface{}, method string, params ...interface{}) (*types.Transaction, *types.Receipt, error)
Transact invokes the (paid) contract method with params as input values.
func (*HelloWorldRaw) Transfer ¶
func (_HelloWorld *HelloWorldRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type HelloWorldSession ¶
type HelloWorldSession struct { Contract *HelloWorld // 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 }
HelloWorldSession is an auto generated Go binding around a Solidity contract, with pre-set call and transact options.
func (*HelloWorldSession) AsyncSet ¶
func (_HelloWorld *HelloWorldSession) AsyncSet(handler func(*types.Receipt, error), v string) (*types.Transaction, error)
func (*HelloWorldSession) Get ¶
func (_HelloWorld *HelloWorldSession) Get() (string, error)
Get is a free data retrieval call binding the contract method 0x6d4ce63c.
Solidity: function get() constant returns(string)
func (*HelloWorldSession) ParseSetValue ¶
func (_HelloWorld *HelloWorldSession) ParseSetValue(log types.Log) (*HelloWorldSetValue, error)
ParseSetValue is a log parse operation binding the contract event 0xc3bf5911f8e0476e774566ef3fa1259f04156ba5c61ea5ff35c0201390381f96.
Solidity: event setValue(string v, address indexed from, address indexed to, int256 value)
func (*HelloWorldSession) Set ¶
func (_HelloWorld *HelloWorldSession) Set(v string) (string, *types.Transaction, *types.Receipt, error)
Set is a paid mutator transaction binding the contract method 0x4ed3885e.
Solidity: function set(string v) returns(string)
func (*HelloWorldSession) Version ¶
func (_HelloWorld *HelloWorldSession) Version() (*big.Int, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() constant returns(int256)
func (*HelloWorldSession) WatchAllSetValue ¶
func (*HelloWorldSession) WatchSetValue ¶
func (_HelloWorld *HelloWorldSession) WatchSetValue(fromBlock *uint64, handler func(int, []types.Log), from common.Address, to common.Address) (string, error)
WatchSetValue is a free log subscription operation binding the contract event 0xc3bf5911f8e0476e774566ef3fa1259f04156ba5c61ea5ff35c0201390381f96.
Solidity: event setValue(string v, address indexed from, address indexed to, int256 value)
type HelloWorldSetValue ¶
type HelloWorldSetValue struct { V string From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
HelloWorldSetValue represents a SetValue event raised by the HelloWorld contract.
type HelloWorldTransactor ¶
type HelloWorldTransactor struct {
// contains filtered or unexported fields
}
HelloWorldTransactor is an auto generated write-only Go binding around a Solidity contract.
func NewHelloWorldTransactor ¶
func NewHelloWorldTransactor(address common.Address, transactor bind.ContractTransactor) (*HelloWorldTransactor, error)
NewHelloWorldTransactor creates a new write-only instance of HelloWorld, bound to a specific deployed contract.
func (*HelloWorldTransactor) AsyncSet ¶
func (_HelloWorld *HelloWorldTransactor) AsyncSet(handler func(*types.Receipt, error), opts *bind.TransactOpts, v string) (*types.Transaction, error)
func (*HelloWorldTransactor) Set ¶
func (_HelloWorld *HelloWorldTransactor) Set(opts *bind.TransactOpts, v string) (string, *types.Transaction, *types.Receipt, error)
Set is a paid mutator transaction binding the contract method 0x4ed3885e.
Solidity: function set(string v) returns(string)
type HelloWorldTransactorRaw ¶
type HelloWorldTransactorRaw struct {
Contract *HelloWorldTransactor // Generic write-only contract binding to access the raw methods on
}
HelloWorldTransactorRaw is an auto generated low-level write-only Go binding around a Solidity contract.
func (*HelloWorldTransactorRaw) TransactWithResult ¶
func (_HelloWorld *HelloWorldTransactorRaw) TransactWithResult(opts *bind.TransactOpts, result interface{}, method string, params ...interface{}) (*types.Transaction, *types.Receipt, error)
Transact invokes the (paid) contract method with params as input values.
func (*HelloWorldTransactorRaw) Transfer ¶
func (_HelloWorld *HelloWorldTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type HelloWorldTransactorSession ¶
type HelloWorldTransactorSession struct { Contract *HelloWorldTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
HelloWorldTransactorSession is an auto generated write-only Go binding around a Solidity contract, with pre-set transact options.
func (*HelloWorldTransactorSession) AsyncSet ¶
func (_HelloWorld *HelloWorldTransactorSession) AsyncSet(handler func(*types.Receipt, error), v string) (*types.Transaction, error)
func (*HelloWorldTransactorSession) Set ¶
func (_HelloWorld *HelloWorldTransactorSession) Set(v string) (string, *types.Transaction, *types.Receipt, error)
Set is a paid mutator transaction binding the contract method 0x4ed3885e.
Solidity: function set(string v) returns(string)