ethcontract

package
v0.0.0-...-c106c27 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2019 License: GPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const LoomStoreABI = "" /* 947-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type LoomStore

type LoomStore struct {
	LoomStoreCaller     // Read-only binding to the contract
	LoomStoreTransactor // Write-only binding to the contract
	LoomStoreFilterer   // Log filterer for contract events
}

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

func NewLoomStore

func NewLoomStore(address common.Address, backend bind.ContractBackend) (*LoomStore, error)

NewLoomStore creates a new instance of LoomStore, bound to a specific deployed contract.

type LoomStoreCaller

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

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

func NewLoomStoreCaller

func NewLoomStoreCaller(address common.Address, caller bind.ContractCaller) (*LoomStoreCaller, error)

NewLoomStoreCaller creates a new read-only instance of LoomStore, bound to a specific deployed contract.

func (*LoomStoreCaller) GetName

func (_LoomStore *LoomStoreCaller) GetName(opts *bind.CallOpts) (string, error)

GetName is a free data retrieval call binding the contract method 0x17d7de7c.

Solidity: function getName() constant returns(string)

func (*LoomStoreCaller) GetValue

func (_LoomStore *LoomStoreCaller) GetValue(opts *bind.CallOpts) (*big.Int, error)

GetValue is a free data retrieval call binding the contract method 0x20965255.

Solidity: function getValue() constant returns(uint256)

type LoomStoreCallerRaw

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

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

func (*LoomStoreCallerRaw) Call

func (_LoomStore *LoomStoreCallerRaw) 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 LoomStoreCallerSession

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

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

func (*LoomStoreCallerSession) GetName

func (_LoomStore *LoomStoreCallerSession) GetName() (string, error)

GetName is a free data retrieval call binding the contract method 0x17d7de7c.

Solidity: function getName() constant returns(string)

func (*LoomStoreCallerSession) GetValue

func (_LoomStore *LoomStoreCallerSession) GetValue() (*big.Int, error)

GetValue is a free data retrieval call binding the contract method 0x20965255.

Solidity: function getValue() constant returns(uint256)

type LoomStoreFilterer

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

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

func NewLoomStoreFilterer

func NewLoomStoreFilterer(address common.Address, filterer bind.ContractFilterer) (*LoomStoreFilterer, error)

NewLoomStoreFilterer creates a new log filterer instance of LoomStore, bound to a specific deployed contract.

func (*LoomStoreFilterer) FilterNewValueSet

func (_LoomStore *LoomStoreFilterer) FilterNewValueSet(opts *bind.FilterOpts) (*LoomStoreNewValueSetIterator, error)

FilterNewValueSet is a free log retrieval operation binding the contract event 0x7e8ee33c8615178a01c0dbd6263ef0af255dcaba4dde4f387384567abfab718f.

Solidity: e NewValueSet(_name string, _value uint256)

func (*LoomStoreFilterer) WatchNewValueSet

func (_LoomStore *LoomStoreFilterer) WatchNewValueSet(opts *bind.WatchOpts, sink chan<- *LoomStoreNewValueSet) (event.Subscription, error)

WatchNewValueSet is a free log subscription operation binding the contract event 0x7e8ee33c8615178a01c0dbd6263ef0af255dcaba4dde4f387384567abfab718f.

Solidity: e NewValueSet(_name string, _value uint256)

type LoomStoreNewValueSet

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

LoomStoreNewValueSet represents a NewValueSet event raised by the LoomStore contract.

type LoomStoreNewValueSetIterator

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

LoomStoreNewValueSetIterator is returned from FilterNewValueSet and is used to iterate over the raw logs and unpacked data for NewValueSet events raised by the LoomStore contract.

func (*LoomStoreNewValueSetIterator) Close

func (it *LoomStoreNewValueSetIterator) Close() error

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

func (*LoomStoreNewValueSetIterator) Error

func (it *LoomStoreNewValueSetIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*LoomStoreNewValueSetIterator) Next

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 LoomStoreRaw

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

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

func (*LoomStoreRaw) Call

func (_LoomStore *LoomStoreRaw) 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 (*LoomStoreRaw) Transact

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

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

func (*LoomStoreRaw) Transfer

func (_LoomStore *LoomStoreRaw) 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 LoomStoreSession

type LoomStoreSession struct {
	Contract     *LoomStore        // 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
}

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

func (*LoomStoreSession) GetName

func (_LoomStore *LoomStoreSession) GetName() (string, error)

GetName is a free data retrieval call binding the contract method 0x17d7de7c.

Solidity: function getName() constant returns(string)

func (*LoomStoreSession) GetValue

func (_LoomStore *LoomStoreSession) GetValue() (*big.Int, error)

GetValue is a free data retrieval call binding the contract method 0x20965255.

Solidity: function getValue() constant returns(uint256)

func (*LoomStoreSession) Set

func (_LoomStore *LoomStoreSession) Set(_name string, _value *big.Int) (*types.Transaction, error)

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

Solidity: function set(_name string, _value uint256) returns()

type LoomStoreTransactor

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

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

func NewLoomStoreTransactor

func NewLoomStoreTransactor(address common.Address, transactor bind.ContractTransactor) (*LoomStoreTransactor, error)

NewLoomStoreTransactor creates a new write-only instance of LoomStore, bound to a specific deployed contract.

func (*LoomStoreTransactor) Set

func (_LoomStore *LoomStoreTransactor) Set(opts *bind.TransactOpts, _name string, _value *big.Int) (*types.Transaction, error)

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

Solidity: function set(_name string, _value uint256) returns()

type LoomStoreTransactorRaw

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

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

func (*LoomStoreTransactorRaw) Transact

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

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

func (*LoomStoreTransactorRaw) Transfer

func (_LoomStore *LoomStoreTransactorRaw) 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 LoomStoreTransactorSession

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

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

func (*LoomStoreTransactorSession) Set

func (_LoomStore *LoomStoreTransactorSession) Set(_name string, _value *big.Int) (*types.Transaction, error)

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

Solidity: function set(_name string, _value uint256) returns()

Jump to

Keyboard shortcuts

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