store

package
v0.0.0-...-f210498 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

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

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

Variables

View Source
var StoreBin = "" /* 40542-byte string literal not displayed */

StoreBin is the compiled bytecode used for deploying new contracts.

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

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.

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.

type StoreCreateResult

type StoreCreateResult struct {
	Count *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

StoreCreateResult represents a CreateResult event raised by the Store contract.

type StoreCreateResultIterator

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

StoreCreateResultIterator is returned from FilterCreateResult and is used to iterate over the raw logs and unpacked data for CreateResult events raised by the Store contract.

func (*StoreCreateResultIterator) Close

func (it *StoreCreateResultIterator) Close() error

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

func (*StoreCreateResultIterator) Error

func (it *StoreCreateResultIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*StoreCreateResultIterator) Next

func (it *StoreCreateResultIterator) 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 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) FilterCreateResult

func (_Store *StoreFilterer) FilterCreateResult(opts *bind.FilterOpts) (*StoreCreateResultIterator, error)

FilterCreateResult is a free log retrieval operation binding the contract event 0xb5636cd912a73dcdb5b570dbe331dfa3e6435c93e029e642def2c8e40dacf210.

Solidity: event CreateResult(int256 count)

func (*StoreFilterer) FilterInsertResult

func (_Store *StoreFilterer) FilterInsertResult(opts *bind.FilterOpts) (*StoreInsertResultIterator, error)

FilterInsertResult is a free log retrieval operation binding the contract event 0xc57b01fa77f41df77eaab79a0e2623fab2e7ae3e9530d9b1cab225ad65f2b7ce.

Solidity: event InsertResult(int256 count)

func (*StoreFilterer) FilterRemoveResult

func (_Store *StoreFilterer) FilterRemoveResult(opts *bind.FilterOpts) (*StoreRemoveResultIterator, error)

FilterRemoveResult is a free log retrieval operation binding the contract event 0x4b930e280fe29620bdff00c88155d46d6d82a39f45dd5c3ea114dc3157358112.

Solidity: event RemoveResult(int256 count)

func (*StoreFilterer) FilterUpdateResult

func (_Store *StoreFilterer) FilterUpdateResult(opts *bind.FilterOpts) (*StoreUpdateResultIterator, error)

FilterUpdateResult is a free log retrieval operation binding the contract event 0x8e5890af40fc24a059396aca2f83d6ce41fcef086876548fa4fb8ec27e9d292a.

Solidity: event UpdateResult(int256 count)

func (*StoreFilterer) ParseCreateResult

func (_Store *StoreFilterer) ParseCreateResult(log types.Log) (*StoreCreateResult, error)

ParseCreateResult is a log parse operation binding the contract event 0xb5636cd912a73dcdb5b570dbe331dfa3e6435c93e029e642def2c8e40dacf210.

Solidity: event CreateResult(int256 count)

func (*StoreFilterer) ParseInsertResult

func (_Store *StoreFilterer) ParseInsertResult(log types.Log) (*StoreInsertResult, error)

ParseInsertResult is a log parse operation binding the contract event 0xc57b01fa77f41df77eaab79a0e2623fab2e7ae3e9530d9b1cab225ad65f2b7ce.

Solidity: event InsertResult(int256 count)

func (*StoreFilterer) ParseRemoveResult

func (_Store *StoreFilterer) ParseRemoveResult(log types.Log) (*StoreRemoveResult, error)

ParseRemoveResult is a log parse operation binding the contract event 0x4b930e280fe29620bdff00c88155d46d6d82a39f45dd5c3ea114dc3157358112.

Solidity: event RemoveResult(int256 count)

func (*StoreFilterer) ParseUpdateResult

func (_Store *StoreFilterer) ParseUpdateResult(log types.Log) (*StoreUpdateResult, error)

ParseUpdateResult is a log parse operation binding the contract event 0x8e5890af40fc24a059396aca2f83d6ce41fcef086876548fa4fb8ec27e9d292a.

Solidity: event UpdateResult(int256 count)

func (*StoreFilterer) WatchCreateResult

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

WatchCreateResult is a free log subscription operation binding the contract event 0xb5636cd912a73dcdb5b570dbe331dfa3e6435c93e029e642def2c8e40dacf210.

Solidity: event CreateResult(int256 count)

func (*StoreFilterer) WatchInsertResult

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

WatchInsertResult is a free log subscription operation binding the contract event 0xc57b01fa77f41df77eaab79a0e2623fab2e7ae3e9530d9b1cab225ad65f2b7ce.

Solidity: event InsertResult(int256 count)

func (*StoreFilterer) WatchRemoveResult

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

WatchRemoveResult is a free log subscription operation binding the contract event 0x4b930e280fe29620bdff00c88155d46d6d82a39f45dd5c3ea114dc3157358112.

Solidity: event RemoveResult(int256 count)

func (*StoreFilterer) WatchUpdateResult

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

WatchUpdateResult is a free log subscription operation binding the contract event 0x8e5890af40fc24a059396aca2f83d6ce41fcef086876548fa4fb8ec27e9d292a.

Solidity: event UpdateResult(int256 count)

type StoreInsertResult

type StoreInsertResult struct {
	Count *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

StoreInsertResult represents a InsertResult event raised by the Store contract.

type StoreInsertResultIterator

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

StoreInsertResultIterator is returned from FilterInsertResult and is used to iterate over the raw logs and unpacked data for InsertResult events raised by the Store contract.

func (*StoreInsertResultIterator) Close

func (it *StoreInsertResultIterator) Close() error

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

func (*StoreInsertResultIterator) Error

func (it *StoreInsertResultIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*StoreInsertResultIterator) Next

func (it *StoreInsertResultIterator) 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.RawTransaction, error)

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

func (*StoreRaw) Transfer

func (_Store *StoreRaw) Transfer(opts *bind.TransactOpts) (*types.RawTransaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type StoreRemoveResult

type StoreRemoveResult struct {
	Count *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

StoreRemoveResult represents a RemoveResult event raised by the Store contract.

type StoreRemoveResultIterator

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

StoreRemoveResultIterator is returned from FilterRemoveResult and is used to iterate over the raw logs and unpacked data for RemoveResult events raised by the Store contract.

func (*StoreRemoveResultIterator) Close

func (it *StoreRemoveResultIterator) Close() error

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

func (*StoreRemoveResultIterator) Error

func (it *StoreRemoveResultIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*StoreRemoveResultIterator) Next

func (it *StoreRemoveResultIterator) 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 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) CreateAccount

func (_Store *StoreSession) CreateAccount() (*types.RawTransaction, error)

CreateAccount is a paid mutator transaction binding the contract method 0x9dca362f.

Solidity: function createAccount() returns(int256)

func (*StoreSession) CreateCompany

func (_Store *StoreSession) CreateCompany() (*types.RawTransaction, error)

CreateCompany is a paid mutator transaction binding the contract method 0xe3d1317a.

Solidity: function createCompany() returns(int256)

func (*StoreSession) InsertAccount

func (_Store *StoreSession) InsertAccount(id string, A string, B string, money *big.Int) (*types.RawTransaction, error)

InsertAccount is a paid mutator transaction binding the contract method 0x71ad90b2.

Solidity: function insertAccount(string id, string A, string B, int256 money) returns(int256)

func (*StoreSession) InsertCompany

func (_Store *StoreSession) InsertCompany(id string, name string, trustworthy *big.Int, funds *big.Int) (*types.RawTransaction, error)

InsertCompany is a paid mutator transaction binding the contract method 0xfab6fabd.

Solidity: function insertCompany(string id, string name, int256 trustworthy, int256 funds) returns(int256)

func (*StoreSession) RemoveAccount

func (_Store *StoreSession) RemoveAccount(id string) (*types.RawTransaction, error)

RemoveAccount is a paid mutator transaction binding the contract method 0x46038ddc.

Solidity: function removeAccount(string id) returns(int256)

func (*StoreSession) RemoveCompany

func (_Store *StoreSession) RemoveCompany(id string) (*types.RawTransaction, error)

RemoveCompany is a paid mutator transaction binding the contract method 0xffcee0a1.

Solidity: function removeCompany(string id) returns(int256)

func (*StoreSession) SelectAccount

func (_Store *StoreSession) SelectAccount() (*types.RawTransaction, error)

SelectAccount is a paid mutator transaction binding the contract method 0xe4464a6c.

Solidity: function selectAccount() returns(string[], string[], string[], int256[])

func (*StoreSession) SelectCompany

func (_Store *StoreSession) SelectCompany() (*types.RawTransaction, error)

SelectCompany is a paid mutator transaction binding the contract method 0x65538db2.

Solidity: function selectCompany() returns(string[], string[], int256[], int256[])

func (*StoreSession) UpdateAccount

func (_Store *StoreSession) UpdateAccount(id string, A string, B string, money *big.Int) (*types.RawTransaction, error)

UpdateAccount is a paid mutator transaction binding the contract method 0x830aed51.

Solidity: function updateAccount(string id, string A, string B, int256 money) returns(int256)

func (*StoreSession) UpdateCompany

func (_Store *StoreSession) UpdateCompany(id string, name string, trustworthy *big.Int, funds *big.Int) (*types.RawTransaction, error)

UpdateCompany is a paid mutator transaction binding the contract method 0xef40a467.

Solidity: function updateCompany(string id, string name, int256 trustworthy, int256 funds) returns(int256)

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

func (_Store *StoreTransactor) CreateAccount(opts *bind.TransactOpts) (*types.RawTransaction, error)

CreateAccount is a paid mutator transaction binding the contract method 0x9dca362f.

Solidity: function createAccount() returns(int256)

func (*StoreTransactor) CreateCompany

func (_Store *StoreTransactor) CreateCompany(opts *bind.TransactOpts) (*types.RawTransaction, error)

CreateCompany is a paid mutator transaction binding the contract method 0xe3d1317a.

Solidity: function createCompany() returns(int256)

func (*StoreTransactor) InsertAccount

func (_Store *StoreTransactor) InsertAccount(opts *bind.TransactOpts, id string, A string, B string, money *big.Int) (*types.RawTransaction, error)

InsertAccount is a paid mutator transaction binding the contract method 0x71ad90b2.

Solidity: function insertAccount(string id, string A, string B, int256 money) returns(int256)

func (*StoreTransactor) InsertCompany

func (_Store *StoreTransactor) InsertCompany(opts *bind.TransactOpts, id string, name string, trustworthy *big.Int, funds *big.Int) (*types.RawTransaction, error)

InsertCompany is a paid mutator transaction binding the contract method 0xfab6fabd.

Solidity: function insertCompany(string id, string name, int256 trustworthy, int256 funds) returns(int256)

func (*StoreTransactor) RemoveAccount

func (_Store *StoreTransactor) RemoveAccount(opts *bind.TransactOpts, id string) (*types.RawTransaction, error)

RemoveAccount is a paid mutator transaction binding the contract method 0x46038ddc.

Solidity: function removeAccount(string id) returns(int256)

func (*StoreTransactor) RemoveCompany

func (_Store *StoreTransactor) RemoveCompany(opts *bind.TransactOpts, id string) (*types.RawTransaction, error)

RemoveCompany is a paid mutator transaction binding the contract method 0xffcee0a1.

Solidity: function removeCompany(string id) returns(int256)

func (*StoreTransactor) SelectAccount

func (_Store *StoreTransactor) SelectAccount(opts *bind.TransactOpts) (*types.RawTransaction, error)

SelectAccount is a paid mutator transaction binding the contract method 0xe4464a6c.

Solidity: function selectAccount() returns(string[], string[], string[], int256[])

func (*StoreTransactor) SelectCompany

func (_Store *StoreTransactor) SelectCompany(opts *bind.TransactOpts) (*types.RawTransaction, error)

SelectCompany is a paid mutator transaction binding the contract method 0x65538db2.

Solidity: function selectCompany() returns(string[], string[], int256[], int256[])

func (*StoreTransactor) UpdateAccount

func (_Store *StoreTransactor) UpdateAccount(opts *bind.TransactOpts, id string, A string, B string, money *big.Int) (*types.RawTransaction, error)

UpdateAccount is a paid mutator transaction binding the contract method 0x830aed51.

Solidity: function updateAccount(string id, string A, string B, int256 money) returns(int256)

func (*StoreTransactor) UpdateCompany

func (_Store *StoreTransactor) UpdateCompany(opts *bind.TransactOpts, id string, name string, trustworthy *big.Int, funds *big.Int) (*types.RawTransaction, error)

UpdateCompany is a paid mutator transaction binding the contract method 0xef40a467.

Solidity: function updateCompany(string id, string name, int256 trustworthy, int256 funds) returns(int256)

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.RawTransaction, error)

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

func (*StoreTransactorRaw) Transfer

func (_Store *StoreTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.RawTransaction, 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) CreateAccount

func (_Store *StoreTransactorSession) CreateAccount() (*types.RawTransaction, error)

CreateAccount is a paid mutator transaction binding the contract method 0x9dca362f.

Solidity: function createAccount() returns(int256)

func (*StoreTransactorSession) CreateCompany

func (_Store *StoreTransactorSession) CreateCompany() (*types.RawTransaction, error)

CreateCompany is a paid mutator transaction binding the contract method 0xe3d1317a.

Solidity: function createCompany() returns(int256)

func (*StoreTransactorSession) InsertAccount

func (_Store *StoreTransactorSession) InsertAccount(id string, A string, B string, money *big.Int) (*types.RawTransaction, error)

InsertAccount is a paid mutator transaction binding the contract method 0x71ad90b2.

Solidity: function insertAccount(string id, string A, string B, int256 money) returns(int256)

func (*StoreTransactorSession) InsertCompany

func (_Store *StoreTransactorSession) InsertCompany(id string, name string, trustworthy *big.Int, funds *big.Int) (*types.RawTransaction, error)

InsertCompany is a paid mutator transaction binding the contract method 0xfab6fabd.

Solidity: function insertCompany(string id, string name, int256 trustworthy, int256 funds) returns(int256)

func (*StoreTransactorSession) RemoveAccount

func (_Store *StoreTransactorSession) RemoveAccount(id string) (*types.RawTransaction, error)

RemoveAccount is a paid mutator transaction binding the contract method 0x46038ddc.

Solidity: function removeAccount(string id) returns(int256)

func (*StoreTransactorSession) RemoveCompany

func (_Store *StoreTransactorSession) RemoveCompany(id string) (*types.RawTransaction, error)

RemoveCompany is a paid mutator transaction binding the contract method 0xffcee0a1.

Solidity: function removeCompany(string id) returns(int256)

func (*StoreTransactorSession) SelectAccount

func (_Store *StoreTransactorSession) SelectAccount() (*types.RawTransaction, error)

SelectAccount is a paid mutator transaction binding the contract method 0xe4464a6c.

Solidity: function selectAccount() returns(string[], string[], string[], int256[])

func (*StoreTransactorSession) SelectCompany

func (_Store *StoreTransactorSession) SelectCompany() (*types.RawTransaction, error)

SelectCompany is a paid mutator transaction binding the contract method 0x65538db2.

Solidity: function selectCompany() returns(string[], string[], int256[], int256[])

func (*StoreTransactorSession) UpdateAccount

func (_Store *StoreTransactorSession) UpdateAccount(id string, A string, B string, money *big.Int) (*types.RawTransaction, error)

UpdateAccount is a paid mutator transaction binding the contract method 0x830aed51.

Solidity: function updateAccount(string id, string A, string B, int256 money) returns(int256)

func (*StoreTransactorSession) UpdateCompany

func (_Store *StoreTransactorSession) UpdateCompany(id string, name string, trustworthy *big.Int, funds *big.Int) (*types.RawTransaction, error)

UpdateCompany is a paid mutator transaction binding the contract method 0xef40a467.

Solidity: function updateCompany(string id, string name, int256 trustworthy, int256 funds) returns(int256)

type StoreUpdateResult

type StoreUpdateResult struct {
	Count *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

StoreUpdateResult represents a UpdateResult event raised by the Store contract.

type StoreUpdateResultIterator

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

StoreUpdateResultIterator is returned from FilterUpdateResult and is used to iterate over the raw logs and unpacked data for UpdateResult events raised by the Store contract.

func (*StoreUpdateResultIterator) Close

func (it *StoreUpdateResultIterator) Close() error

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

func (*StoreUpdateResultIterator) Error

func (it *StoreUpdateResultIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*StoreUpdateResultIterator) Next

func (it *StoreUpdateResultIterator) 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.

Jump to

Keyboard shortcuts

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