store

package
v0.0.0-...-101354e Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const StoreABI = "" /* 941-byte string literal not displayed */

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

View Source
const StoreBin = `` /* 1962-byte string literal not displayed */

StoreBin is the compiled bytecode used for deploying new contracts.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	StoreCaller     // Read-only binding to the contract
	StoreTransactor // Write-only binding to the contract
	StoreFilterer   // Log filterer for contract events
}

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

func DeployStore

func DeployStore(auth *bind.TransactOpts, backend bind.ContractBackend, _version string) (common.Address, *types.Transaction, *Store, error)

DeployStore deploys a new Ethereum contract, binding an instance of Store to it.

func NewStore

func NewStore(address common.Address, backend bind.ContractBackend) (*Store, error)

NewStore creates a new instance of Store, bound to a specific deployed contract.

type StoreCaller

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

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

func NewStoreCaller

func NewStoreCaller(address common.Address, caller bind.ContractCaller) (*StoreCaller, error)

NewStoreCaller creates a new read-only instance of Store, bound to a specific deployed contract.

func (*StoreCaller) Items

func (_Store *StoreCaller) Items(opts *bind.CallOpts, arg0 [32]byte) ([32]byte, error)

Items is a free data retrieval call binding the contract method 0x48f343f3.

Solidity: function items( bytes32) constant returns(bytes32)

func (*StoreCaller) Version

func (_Store *StoreCaller) 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 StoreCallerRaw

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

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

func (*StoreCallerRaw) Call

func (_Store *StoreCallerRaw) 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 StoreCallerSession

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

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

func (*StoreCallerSession) Items

func (_Store *StoreCallerSession) Items(arg0 [32]byte) ([32]byte, error)

Items is a free data retrieval call binding the contract method 0x48f343f3.

Solidity: function items( bytes32) constant returns(bytes32)

func (*StoreCallerSession) Version

func (_Store *StoreCallerSession) Version() (string, error)

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

Solidity: function version() constant returns(string)

type StoreFilterer

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

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

func NewStoreFilterer

func NewStoreFilterer(address common.Address, filterer bind.ContractFilterer) (*StoreFilterer, error)

NewStoreFilterer creates a new log filterer instance of Store, bound to a specific deployed contract.

func (*StoreFilterer) FilterItemSet

func (_Store *StoreFilterer) FilterItemSet(opts *bind.FilterOpts) (*StoreItemSetIterator, error)

FilterItemSet is a free log retrieval operation binding the contract event 0xe79e73da417710ae99aa2088575580a60415d359acfad9cdd3382d59c80281d4.

Solidity: event ItemSet(key bytes32, value bytes32)

func (*StoreFilterer) WatchItemSet

func (_Store *StoreFilterer) WatchItemSet(opts *bind.WatchOpts, sink chan<- *StoreItemSet) (event.Subscription, error)

WatchItemSet is a free log subscription operation binding the contract event 0xe79e73da417710ae99aa2088575580a60415d359acfad9cdd3382d59c80281d4.

Solidity: event ItemSet(key bytes32, value bytes32)

type StoreItemSet

type StoreItemSet struct {
	Key   [32]byte
	Value [32]byte
	Raw   types.Log // Blockchain specific contextual infos
}

StoreItemSet represents a ItemSet event raised by the Store contract.

type StoreItemSetIterator

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

StoreItemSetIterator is returned from FilterItemSet and is used to iterate over the raw logs and unpacked data for ItemSet events raised by the Store contract.

func (*StoreItemSetIterator) Close

func (it *StoreItemSetIterator) Close() error

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

func (*StoreItemSetIterator) Error

func (it *StoreItemSetIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*StoreItemSetIterator) Next

func (it *StoreItemSetIterator) 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 StoreRaw

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

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

func (*StoreRaw) Call

func (_Store *StoreRaw) 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 (*StoreRaw) Transact

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

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

func (*StoreRaw) Transfer

func (_Store *StoreRaw) 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 StoreSession

type StoreSession struct {
	Contract     *Store            // 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
}

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

func (*StoreSession) Items

func (_Store *StoreSession) Items(arg0 [32]byte) ([32]byte, error)

Items is a free data retrieval call binding the contract method 0x48f343f3.

Solidity: function items( bytes32) constant returns(bytes32)

func (*StoreSession) SetItem

func (_Store *StoreSession) SetItem(key [32]byte, value [32]byte) (*types.Transaction, error)

SetItem is a paid mutator transaction binding the contract method 0xf56256c7.

Solidity: function setItem(key bytes32, value bytes32) returns()

func (*StoreSession) Version

func (_Store *StoreSession) Version() (string, error)

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

Solidity: function version() constant returns(string)

type StoreTransactor

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

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

func NewStoreTransactor

func NewStoreTransactor(address common.Address, transactor bind.ContractTransactor) (*StoreTransactor, error)

NewStoreTransactor creates a new write-only instance of Store, bound to a specific deployed contract.

func (*StoreTransactor) SetItem

func (_Store *StoreTransactor) SetItem(opts *bind.TransactOpts, key [32]byte, value [32]byte) (*types.Transaction, error)

SetItem is a paid mutator transaction binding the contract method 0xf56256c7.

Solidity: function setItem(key bytes32, value bytes32) returns()

type StoreTransactorRaw

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

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

func (*StoreTransactorRaw) Transact

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

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

func (*StoreTransactorRaw) Transfer

func (_Store *StoreTransactorRaw) 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 StoreTransactorSession

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

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

func (*StoreTransactorSession) SetItem

func (_Store *StoreTransactorSession) SetItem(key [32]byte, value [32]byte) (*types.Transaction, error)

SetItem is a paid mutator transaction binding the contract method 0xf56256c7.

Solidity: function setItem(key bytes32, value bytes32) returns()

Jump to

Keyboard shortcuts

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