Documentation ¶
Index ¶
- Constants
- Variables
- func AsyncDeployKVTableTest(auth *bind.TransactOpts, handler func(*types.Receipt, error), ...) (*types.Transaction, error)
- type KVTableTest
- type KVTableTestCaller
- type KVTableTestCallerRaw
- type KVTableTestCallerSession
- type KVTableTestFilterer
- func (_KVTableTest *KVTableTestFilterer) FilterSetResult(opts *bind.FilterOpts) (*KVTableTestSetResultIterator, error)
- func (_KVTableTest *KVTableTestFilterer) ParseSetResult(log types.Log) (*KVTableTestSetResult, error)
- func (_KVTableTest *KVTableTestFilterer) WatchSetResult(opts *bind.WatchOpts, sink chan<- *KVTableTestSetResult) (event.Subscription, error)
- type KVTableTestRaw
- func (_KVTableTest *KVTableTestRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_KVTableTest *KVTableTestRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, *types.Receipt, error)
- func (_KVTableTest *KVTableTestRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)
- type KVTableTestSession
- func (_KVTableTest *KVTableTestSession) AsyncSet(handler func(*types.Receipt, error), id string, item_price *big.Int, ...) (*types.Transaction, error)
- func (_KVTableTest *KVTableTestSession) Get(id string) (bool, *big.Int, string, error)
- func (_KVTableTest *KVTableTestSession) Set(id string, item_price *big.Int, item_name string) (*types.Transaction, *types.Receipt, error)
- type KVTableTestSetResult
- type KVTableTestSetResultIterator
- type KVTableTestTransactor
- func (_KVTableTest *KVTableTestTransactor) AsyncSet(handler func(*types.Receipt, error), opts *bind.TransactOpts, id string, ...) (*types.Transaction, error)
- func (_KVTableTest *KVTableTestTransactor) Set(opts *bind.TransactOpts, id string, item_price *big.Int, item_name string) (*types.Transaction, *types.Receipt, error)
- type KVTableTestTransactorRaw
- type KVTableTestTransactorSession
- func (_KVTableTest *KVTableTestTransactorSession) AsyncSet(handler func(*types.Receipt, error), id string, item_price *big.Int, ...) (*types.Transaction, error)
- func (_KVTableTest *KVTableTestTransactorSession) Set(id string, item_price *big.Int, item_name string) (*types.Transaction, *types.Receipt, error)
Constants ¶
const KVTableTestABI = "" /* 813-byte string literal not displayed */
KVTableTestABI is the input ABI used to generate the binding from.
Variables ¶
var KVTableTestBin = "" /* 8124-byte string literal not displayed */
KVTableTestBin is the compiled bytecode used for deploying new contracts.
Functions ¶
func AsyncDeployKVTableTest ¶
func AsyncDeployKVTableTest(auth *bind.TransactOpts, handler func(*types.Receipt, error), backend bind.ContractBackend) (*types.Transaction, error)
Types ¶
type KVTableTest ¶
type KVTableTest struct { KVTableTestCaller // Read-only binding to the contract KVTableTestTransactor // Write-only binding to the contract KVTableTestFilterer // Log filterer for contract events }
KVTableTest is an auto generated Go binding around a Solidity contract.
func DeployKVTableTest ¶
func DeployKVTableTest(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *KVTableTest, error)
DeployKVTableTest deploys a new contract, binding an instance of KVTableTest to it.
func NewKVTableTest ¶
func NewKVTableTest(address common.Address, backend bind.ContractBackend) (*KVTableTest, error)
NewKVTableTest creates a new instance of KVTableTest, bound to a specific deployed contract.
type KVTableTestCaller ¶
type KVTableTestCaller struct {
// contains filtered or unexported fields
}
KVTableTestCaller is an auto generated read-only Go binding around a Solidity contract.
func NewKVTableTestCaller ¶
func NewKVTableTestCaller(address common.Address, caller bind.ContractCaller) (*KVTableTestCaller, error)
NewKVTableTestCaller creates a new read-only instance of KVTableTest, bound to a specific deployed contract.
type KVTableTestCallerRaw ¶
type KVTableTestCallerRaw struct {
Contract *KVTableTestCaller // Generic read-only contract binding to access the raw methods on
}
KVTableTestCallerRaw is an auto generated low-level read-only Go binding around a Solidity contract.
func (*KVTableTestCallerRaw) Call ¶
func (_KVTableTest *KVTableTestCallerRaw) 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 KVTableTestCallerSession ¶
type KVTableTestCallerSession struct { Contract *KVTableTestCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
KVTableTestCallerSession is an auto generated read-only Go binding around a Solidity contract, with pre-set call options.
type KVTableTestFilterer ¶
type KVTableTestFilterer struct {
// contains filtered or unexported fields
}
KVTableTestFilterer is an auto generated log filtering Go binding around a Solidity contract events.
func NewKVTableTestFilterer ¶
func NewKVTableTestFilterer(address common.Address, filterer bind.ContractFilterer) (*KVTableTestFilterer, error)
NewKVTableTestFilterer creates a new log filterer instance of KVTableTest, bound to a specific deployed contract.
func (*KVTableTestFilterer) FilterSetResult ¶
func (_KVTableTest *KVTableTestFilterer) FilterSetResult(opts *bind.FilterOpts) (*KVTableTestSetResultIterator, error)
FilterSetResult is a free log retrieval operation binding the contract event 0xb103249d88cd818b10c5cd6889874103a7699c5834cb078d8f35925dca8a62d6.
Solidity: event SetResult(int256 count)
func (*KVTableTestFilterer) ParseSetResult ¶
func (_KVTableTest *KVTableTestFilterer) ParseSetResult(log types.Log) (*KVTableTestSetResult, error)
ParseSetResult is a log parse operation binding the contract event 0xb103249d88cd818b10c5cd6889874103a7699c5834cb078d8f35925dca8a62d6.
Solidity: event SetResult(int256 count)
func (*KVTableTestFilterer) WatchSetResult ¶
func (_KVTableTest *KVTableTestFilterer) WatchSetResult(opts *bind.WatchOpts, sink chan<- *KVTableTestSetResult) (event.Subscription, error)
WatchSetResult is a free log subscription operation binding the contract event 0xb103249d88cd818b10c5cd6889874103a7699c5834cb078d8f35925dca8a62d6.
Solidity: event SetResult(int256 count)
type KVTableTestRaw ¶
type KVTableTestRaw struct {
Contract *KVTableTest // Generic contract binding to access the raw methods on
}
KVTableTestRaw is an auto generated low-level Go binding around a Solidity contract.
func (*KVTableTestRaw) Call ¶
func (_KVTableTest *KVTableTestRaw) 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 (*KVTableTestRaw) Transact ¶
func (_KVTableTest *KVTableTestRaw) 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 (*KVTableTestRaw) Transfer ¶
func (_KVTableTest *KVTableTestRaw) 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 KVTableTestSession ¶
type KVTableTestSession struct { Contract *KVTableTest // 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 }
KVTableTestSession is an auto generated Go binding around a Solidity contract, with pre-set call and transact options.
func (*KVTableTestSession) Get ¶
Get is a free data retrieval call binding the contract method 0x693ec85e.
Solidity: function get(string id) constant returns(bool, int256, string)
func (*KVTableTestSession) Set ¶
func (_KVTableTest *KVTableTestSession) Set(id string, item_price *big.Int, item_name string) (*types.Transaction, *types.Receipt, error)
Set is a paid mutator transaction binding the contract method 0xed0c8b17.
Solidity: function set(string id, int256 item_price, string item_name) returns(int256)
type KVTableTestSetResult ¶
type KVTableTestSetResult struct { Count *big.Int Raw types.Log // Blockchain specific contextual infos }
KVTableTestSetResult represents a SetResult event raised by the KVTableTest contract.
type KVTableTestSetResultIterator ¶
type KVTableTestSetResultIterator struct { Event *KVTableTestSetResult // Event containing the contract specifics and raw log // contains filtered or unexported fields }
KVTableTestSetResultIterator is returned from FilterSetResult and is used to iterate over the raw logs and unpacked data for SetResult events raised by the KVTableTest contract.
func (*KVTableTestSetResultIterator) Close ¶
func (it *KVTableTestSetResultIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*KVTableTestSetResultIterator) Error ¶
func (it *KVTableTestSetResultIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*KVTableTestSetResultIterator) Next ¶
func (it *KVTableTestSetResultIterator) 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 KVTableTestTransactor ¶
type KVTableTestTransactor struct {
// contains filtered or unexported fields
}
KVTableTestTransactor is an auto generated write-only Go binding around a Solidity contract.
func NewKVTableTestTransactor ¶
func NewKVTableTestTransactor(address common.Address, transactor bind.ContractTransactor) (*KVTableTestTransactor, error)
NewKVTableTestTransactor creates a new write-only instance of KVTableTest, bound to a specific deployed contract.
func (*KVTableTestTransactor) AsyncSet ¶
func (_KVTableTest *KVTableTestTransactor) AsyncSet(handler func(*types.Receipt, error), opts *bind.TransactOpts, id string, item_price *big.Int, item_name string) (*types.Transaction, error)
func (*KVTableTestTransactor) Set ¶
func (_KVTableTest *KVTableTestTransactor) Set(opts *bind.TransactOpts, id string, item_price *big.Int, item_name string) (*types.Transaction, *types.Receipt, error)
Set is a paid mutator transaction binding the contract method 0xed0c8b17.
Solidity: function set(string id, int256 item_price, string item_name) returns(int256)
type KVTableTestTransactorRaw ¶
type KVTableTestTransactorRaw struct {
Contract *KVTableTestTransactor // Generic write-only contract binding to access the raw methods on
}
KVTableTestTransactorRaw is an auto generated low-level write-only Go binding around a Solidity contract.
func (*KVTableTestTransactorRaw) Transact ¶
func (_KVTableTest *KVTableTestTransactorRaw) 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 (*KVTableTestTransactorRaw) Transfer ¶
func (_KVTableTest *KVTableTestTransactorRaw) 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 KVTableTestTransactorSession ¶
type KVTableTestTransactorSession struct { Contract *KVTableTestTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
KVTableTestTransactorSession is an auto generated write-only Go binding around a Solidity contract, with pre-set transact options.
func (*KVTableTestTransactorSession) Set ¶
func (_KVTableTest *KVTableTestTransactorSession) Set(id string, item_price *big.Int, item_name string) (*types.Transaction, *types.Receipt, error)
Set is a paid mutator transaction binding the contract method 0xed0c8b17.
Solidity: function set(string id, int256 item_price, string item_name) returns(int256)