helloworld

package
v0.0.0-...-0940cdb Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const HelloWorldABI = "" /* 994-byte string literal not displayed */

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

Variables

View Source
var HelloWorldBin = "" /* 2464-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) (*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) (common.Address, *types.Transaction, *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.

func (*HelloWorldCaller) Get

func (_HelloWorld *HelloWorldCaller) Get(opts *bind.CallOpts) (string, error)

Get is a free data retrieval call binding the contract method 0x6d4ce63c.

Solidity: function get() constant returns(string)

func (*HelloWorldCaller) Version

func (_HelloWorld *HelloWorldCaller) Version(opts *bind.CallOpts) (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() constant returns(string)

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)

func (*HelloWorldCallerSession) Version

func (_HelloWorld *HelloWorldCallerSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() 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 0x1cede41e194608a414a2e1d67987cf390338e67d0ff22be86dee2f3737c23d53.

Solidity: event setValue(string v, address indexed from, address indexed to, uint256 value)

func (*HelloWorldFilterer) WatchAllSetValue

func (_HelloWorld *HelloWorldFilterer) WatchAllSetValue(fromBlock *uint64, handler func(int, []types.Log)) error

func (*HelloWorldFilterer) WatchSetValue

func (_HelloWorld *HelloWorldFilterer) WatchSetValue(fromBlock *uint64, handler func(int, []types.Log), from common.Address, to common.Address) error

WatchSetValue is a free log subscription operation binding the contract event 0x1cede41e194608a414a2e1d67987cf390338e67d0ff22be86dee2f3737c23d53.

Solidity: event setValue(string v, address indexed from, address indexed to, uint256 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) Transact

func (_HelloWorld *HelloWorldRaw) Transact(opts *bind.TransactOpts, 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 0x1cede41e194608a414a2e1d67987cf390338e67d0ff22be86dee2f3737c23d53.

Solidity: event setValue(string v, address indexed from, address indexed to, uint256 value)

func (*HelloWorldSession) Set

func (_HelloWorld *HelloWorldSession) Set(v string) (*types.Transaction, *types.Receipt, error)

Set is a paid mutator transaction binding the contract method 0x4ed3885e.

Solidity: function set(string v) returns()

func (*HelloWorldSession) Version

func (_HelloWorld *HelloWorldSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() constant returns(string)

func (*HelloWorldSession) WatchAllSetValue

func (_HelloWorld *HelloWorldSession) WatchAllSetValue(fromBlock *uint64, handler func(int, []types.Log)) error

func (*HelloWorldSession) WatchSetValue

func (_HelloWorld *HelloWorldSession) WatchSetValue(fromBlock *uint64, handler func(int, []types.Log), from common.Address, to common.Address) error

WatchSetValue is a free log subscription operation binding the contract event 0x1cede41e194608a414a2e1d67987cf390338e67d0ff22be86dee2f3737c23d53.

Solidity: event setValue(string v, address indexed from, address indexed to, uint256 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) (*types.Transaction, *types.Receipt, error)

Set is a paid mutator transaction binding the contract method 0x4ed3885e.

Solidity: function set(string v) returns()

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) Transact

func (_HelloWorld *HelloWorldTransactorRaw) Transact(opts *bind.TransactOpts, 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

Set is a paid mutator transaction binding the contract method 0x4ed3885e.

Solidity: function set(string v) returns()

Jump to

Keyboard shortcuts

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