Documentation ¶
Index ¶
- Variables
- type Store
- type StoreCaller
- type StoreCallerRaw
- type StoreCallerSession
- type StoreFilterer
- type StoreItemSet
- type StoreItemSetIterator
- type StoreRaw
- func (_Store *StoreRaw) Call(opts *bind.CallOpts, result *[]any, method string, params ...any) error
- func (_Store *StoreRaw) Transact(opts *bind.TransactOpts, method string, params ...any) (*types.Transaction, error)
- func (_Store *StoreRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type StoreSession
- type StoreTransactor
- type StoreTransactorRaw
- type StoreTransactorSession
Constants ¶
This section is empty.
Variables ¶
var StoreABI = StoreMetaData.ABI
StoreABI is the input ABI used to generate the binding from. Deprecated: Use StoreMetaData.ABI instead.
var StoreMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_version\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"key\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"value\",\"type\":\"bytes32\"}],\"name\":\"ItemSet\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"key\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"value\",\"type\":\"bytes32\"}],\"name\":\"setItem\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
StoreMetaData contains all meta data concerning the Store contract.
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.
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.
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 *[]any, method string, params ...any) 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) Version ¶
func (_Store *StoreCallerSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view 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(bytes32 key, bytes32 value)
func (*StoreFilterer) ParseItemSet ¶
func (_Store *StoreFilterer) ParseItemSet(log types.Log) (*StoreItemSet, error)
ParseItemSet is a log parse operation binding the contract event 0xe79e73da417710ae99aa2088575580a60415d359acfad9cdd3382d59c80281d4.
Solidity: event ItemSet(bytes32 key, bytes32 value)
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(bytes32 key, bytes32 value)
type StoreItemSet ¶
StoreItemSet represents a ItemSet event raised by the Store contract.
type StoreItemSetIterator ¶
type StoreItemSetIterator struct { Event *StoreItemSet // 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 *[]any, method string, params ...any) 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 ...any) (*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) 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(bytes32 key, bytes32 value) 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() view 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(bytes32 key, bytes32 value) 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 ...any) (*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(bytes32 key, bytes32 value) returns()