smartcontract

package
v0.0.0-...-377b473 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License: MPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StaticOrganizationABI = StaticOrganizationMetaData.ABI

StaticOrganizationABI is the input ABI used to generate the binding from. Deprecated: Use StaticOrganizationMetaData.ABI instead.

View Source
var StaticOrganizationMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"string\",\"name\":\"org\",\"type\":\"string\"},{\"indexed\":true,\"internalType\":\"string\",\"name\":\"fileName\",\"type\":\"string\"}],\"name\":\"DeleteConfiguration\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"string\",\"name\":\"org\",\"type\":\"string\"},{\"indexed\":true,\"internalType\":\"string\",\"name\":\"fileName\",\"type\":\"string\"}],\"name\":\"DeleteSmartcontract\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"string\",\"name\":\"org\",\"type\":\"string\"},{\"indexed\":true,\"internalType\":\"string\",\"name\":\"fileName\",\"type\":\"string\"},{\"indexed\":true,\"internalType\":\"string\",\"name\":\"cid\",\"type\":\"string\"}],\"name\":\"InsertConfiguration\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"string\",\"name\":\"org\",\"type\":\"string\"}],\"name\":\"InsertOrganization\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"string\",\"name\":\"org\",\"type\":\"string\"},{\"indexed\":true,\"internalType\":\"string\",\"name\":\"fileName\",\"type\":\"string\"},{\"indexed\":true,\"internalType\":\"string\",\"name\":\"cid\",\"type\":\"string\"}],\"name\":\"InsertSmartcontract\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"string\",\"name\":\"fileName\",\"type\":\"string\"},{\"indexed\":true,\"internalType\":\"string\",\"name\":\"cid\",\"type\":\"string\"}],\"name\":\"UpdateConfiguration\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"string\",\"name\":\"fileName\",\"type\":\"string\"},{\"indexed\":true,\"internalType\":\"string\",\"name\":\"cid\",\"type\":\"string\"}],\"name\":\"UpdateSmartcontract\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"configurations\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"org\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"fileName\",\"type\":\"string\"}],\"name\":\"deleteConfiguration\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"org\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"fileName\",\"type\":\"string\"}],\"name\":\"deleteSmartcontract\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"org\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"fileName\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"cid\",\"type\":\"string\"}],\"name\":\"insertConfiguration\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"org\",\"type\":\"string\"}],\"name\":\"insertOrganization\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"org\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"fileName\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"cid\",\"type\":\"string\"}],\"name\":\"insertSmartcontract\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"organizationConfigurations\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"organizationSmartcontracts\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"organizations\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"smartcontracts\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"fileName\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"cid\",\"type\":\"string\"}],\"name\":\"updateConfiguration\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"fileName\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"cid\",\"type\":\"string\"}],\"name\":\"updateSmartcontract\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

StaticOrganizationMetaData contains all meta data concerning the StaticOrganization contract.

Functions

func Client

func Client(appConfig *configuration.Config) (*ethclient.Client, error)

func Init

func Init(appConfig *configuration.Config) error

Init the configuration for the required parameters to run the smartcontract

func TransactionOpts

func TransactionOpts(client *ethclient.Client) (*bind.TransactOpts, error)

TransactionOpts returns the transaction parameters derived from the private key. It has the account that will sign the transaction, also it will have the nonce and the gas price as well

Important, to call this function after Init, since it won't verify the private key existence

Types

type StaticOrganization

type StaticOrganization struct {
	StaticOrganizationCaller     // Read-only binding to the contract
	StaticOrganizationTransactor // Write-only binding to the contract
	StaticOrganizationFilterer   // Log filterer for contract events
}

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

func Instance

func Instance(appConfig *configuration.Config) (*StaticOrganization, error)

Instance of the smartcontract. Make sure that you call this after Init() since this function won't check the configuration

func NewStaticOrganization

func NewStaticOrganization(address common.Address, backend bind.ContractBackend) (*StaticOrganization, error)

NewStaticOrganization creates a new instance of StaticOrganization, bound to a specific deployed contract.

type StaticOrganizationCaller

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

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

func NewStaticOrganizationCaller

func NewStaticOrganizationCaller(address common.Address, caller bind.ContractCaller) (*StaticOrganizationCaller, error)

NewStaticOrganizationCaller creates a new read-only instance of StaticOrganization, bound to a specific deployed contract.

func (*StaticOrganizationCaller) Configurations

func (_StaticOrganization *StaticOrganizationCaller) Configurations(opts *bind.CallOpts, arg0 string) (string, error)

Configurations is a free data retrieval call binding the contract method 0x1214dd58.

Solidity: function configurations(string ) view returns(string)

func (*StaticOrganizationCaller) OrganizationConfigurations

func (_StaticOrganization *StaticOrganizationCaller) OrganizationConfigurations(opts *bind.CallOpts, arg0 string, arg1 *big.Int) (string, error)

OrganizationConfigurations is a free data retrieval call binding the contract method 0x6f74463f.

Solidity: function organizationConfigurations(string , uint256 ) view returns(string)

func (*StaticOrganizationCaller) OrganizationSmartcontracts

func (_StaticOrganization *StaticOrganizationCaller) OrganizationSmartcontracts(opts *bind.CallOpts, arg0 string, arg1 *big.Int) (string, error)

OrganizationSmartcontracts is a free data retrieval call binding the contract method 0x8718dc72.

Solidity: function organizationSmartcontracts(string , uint256 ) view returns(string)

func (*StaticOrganizationCaller) Organizations

func (_StaticOrganization *StaticOrganizationCaller) Organizations(opts *bind.CallOpts, arg0 string) (bool, error)

Organizations is a free data retrieval call binding the contract method 0xe311f43c.

Solidity: function organizations(string ) view returns(bool)

func (*StaticOrganizationCaller) Smartcontracts

func (_StaticOrganization *StaticOrganizationCaller) Smartcontracts(opts *bind.CallOpts, arg0 string) (string, error)

Smartcontracts is a free data retrieval call binding the contract method 0xbcd8e820.

Solidity: function smartcontracts(string ) view returns(string)

type StaticOrganizationCallerRaw

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

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

func (*StaticOrganizationCallerRaw) Call

func (_StaticOrganization *StaticOrganizationCallerRaw) 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 StaticOrganizationCallerSession

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

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

func (*StaticOrganizationCallerSession) Configurations

func (_StaticOrganization *StaticOrganizationCallerSession) Configurations(arg0 string) (string, error)

Configurations is a free data retrieval call binding the contract method 0x1214dd58.

Solidity: function configurations(string ) view returns(string)

func (*StaticOrganizationCallerSession) OrganizationConfigurations

func (_StaticOrganization *StaticOrganizationCallerSession) OrganizationConfigurations(arg0 string, arg1 *big.Int) (string, error)

OrganizationConfigurations is a free data retrieval call binding the contract method 0x6f74463f.

Solidity: function organizationConfigurations(string , uint256 ) view returns(string)

func (*StaticOrganizationCallerSession) OrganizationSmartcontracts

func (_StaticOrganization *StaticOrganizationCallerSession) OrganizationSmartcontracts(arg0 string, arg1 *big.Int) (string, error)

OrganizationSmartcontracts is a free data retrieval call binding the contract method 0x8718dc72.

Solidity: function organizationSmartcontracts(string , uint256 ) view returns(string)

func (*StaticOrganizationCallerSession) Organizations

func (_StaticOrganization *StaticOrganizationCallerSession) Organizations(arg0 string) (bool, error)

Organizations is a free data retrieval call binding the contract method 0xe311f43c.

Solidity: function organizations(string ) view returns(bool)

func (*StaticOrganizationCallerSession) Smartcontracts

func (_StaticOrganization *StaticOrganizationCallerSession) Smartcontracts(arg0 string) (string, error)

Smartcontracts is a free data retrieval call binding the contract method 0xbcd8e820.

Solidity: function smartcontracts(string ) view returns(string)

type StaticOrganizationDeleteConfiguration

type StaticOrganizationDeleteConfiguration struct {
	Org      common.Hash
	FileName common.Hash
	Raw      types.Log // Blockchain specific contextual infos
}

StaticOrganizationDeleteConfiguration represents a DeleteConfiguration event raised by the StaticOrganization contract.

type StaticOrganizationDeleteConfigurationIterator

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

StaticOrganizationDeleteConfigurationIterator is returned from FilterDeleteConfiguration and is used to iterate over the raw logs and unpacked data for DeleteConfiguration events raised by the StaticOrganization contract.

func (*StaticOrganizationDeleteConfigurationIterator) Close

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

func (*StaticOrganizationDeleteConfigurationIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StaticOrganizationDeleteConfigurationIterator) 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 StaticOrganizationDeleteSmartcontract

type StaticOrganizationDeleteSmartcontract struct {
	Org      common.Hash
	FileName common.Hash
	Raw      types.Log // Blockchain specific contextual infos
}

StaticOrganizationDeleteSmartcontract represents a DeleteSmartcontract event raised by the StaticOrganization contract.

type StaticOrganizationDeleteSmartcontractIterator

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

StaticOrganizationDeleteSmartcontractIterator is returned from FilterDeleteSmartcontract and is used to iterate over the raw logs and unpacked data for DeleteSmartcontract events raised by the StaticOrganization contract.

func (*StaticOrganizationDeleteSmartcontractIterator) Close

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

func (*StaticOrganizationDeleteSmartcontractIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StaticOrganizationDeleteSmartcontractIterator) 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 StaticOrganizationFilterer

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

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

func NewStaticOrganizationFilterer

func NewStaticOrganizationFilterer(address common.Address, filterer bind.ContractFilterer) (*StaticOrganizationFilterer, error)

NewStaticOrganizationFilterer creates a new log filterer instance of StaticOrganization, bound to a specific deployed contract.

func (*StaticOrganizationFilterer) FilterDeleteConfiguration

func (_StaticOrganization *StaticOrganizationFilterer) FilterDeleteConfiguration(opts *bind.FilterOpts, org []string, fileName []string) (*StaticOrganizationDeleteConfigurationIterator, error)

FilterDeleteConfiguration is a free log retrieval operation binding the contract event 0x3645ce45e193d81395e9355613763738a298551d4b0e7ddd6e399707620fed9c.

Solidity: event DeleteConfiguration(string indexed org, string indexed fileName)

func (*StaticOrganizationFilterer) FilterDeleteSmartcontract

func (_StaticOrganization *StaticOrganizationFilterer) FilterDeleteSmartcontract(opts *bind.FilterOpts, org []string, fileName []string) (*StaticOrganizationDeleteSmartcontractIterator, error)

FilterDeleteSmartcontract is a free log retrieval operation binding the contract event 0x7d4d9b89988fba54319ca71cadca5b9a99595aa2abbba9dc3a53889512942fc8.

Solidity: event DeleteSmartcontract(string indexed org, string indexed fileName)

func (*StaticOrganizationFilterer) FilterInsertConfiguration

func (_StaticOrganization *StaticOrganizationFilterer) FilterInsertConfiguration(opts *bind.FilterOpts, org []string, fileName []string, cid []string) (*StaticOrganizationInsertConfigurationIterator, error)

FilterInsertConfiguration is a free log retrieval operation binding the contract event 0xe4c71a24d7d86a4b9dcdf7bb43d15433ed42b5239d98cdd095cc8433545911e0.

Solidity: event InsertConfiguration(string indexed org, string indexed fileName, string indexed cid)

func (*StaticOrganizationFilterer) FilterInsertOrganization

func (_StaticOrganization *StaticOrganizationFilterer) FilterInsertOrganization(opts *bind.FilterOpts, org []string) (*StaticOrganizationInsertOrganizationIterator, error)

FilterInsertOrganization is a free log retrieval operation binding the contract event 0xc88b7686edda01cb5cb9cfc327a234fd55553b72ce44f51772a9ffd0be4f517a.

Solidity: event InsertOrganization(string indexed org)

func (*StaticOrganizationFilterer) FilterInsertSmartcontract

func (_StaticOrganization *StaticOrganizationFilterer) FilterInsertSmartcontract(opts *bind.FilterOpts, org []string, fileName []string, cid []string) (*StaticOrganizationInsertSmartcontractIterator, error)

FilterInsertSmartcontract is a free log retrieval operation binding the contract event 0x0e7ebd6fc52c2b4f8dfefdaaba6996ec0c5104c174da6e43d16a314a286fdd93.

Solidity: event InsertSmartcontract(string indexed org, string indexed fileName, string indexed cid)

func (*StaticOrganizationFilterer) FilterUpdateConfiguration

func (_StaticOrganization *StaticOrganizationFilterer) FilterUpdateConfiguration(opts *bind.FilterOpts, fileName []string, cid []string) (*StaticOrganizationUpdateConfigurationIterator, error)

FilterUpdateConfiguration is a free log retrieval operation binding the contract event 0xa183a608b7c8ba72d4b45247ef3b431ceb231e76761f3709c6679c7d1fbf9749.

Solidity: event UpdateConfiguration(string indexed fileName, string indexed cid)

func (*StaticOrganizationFilterer) FilterUpdateSmartcontract

func (_StaticOrganization *StaticOrganizationFilterer) FilterUpdateSmartcontract(opts *bind.FilterOpts, fileName []string, cid []string) (*StaticOrganizationUpdateSmartcontractIterator, error)

FilterUpdateSmartcontract is a free log retrieval operation binding the contract event 0xcdf23f587b224317852b246c67b694bc63fc30d22be0c20193cbe5bd69d9b7c2.

Solidity: event UpdateSmartcontract(string indexed fileName, string indexed cid)

func (*StaticOrganizationFilterer) ParseDeleteConfiguration

func (_StaticOrganization *StaticOrganizationFilterer) ParseDeleteConfiguration(log types.Log) (*StaticOrganizationDeleteConfiguration, error)

ParseDeleteConfiguration is a log parse operation binding the contract event 0x3645ce45e193d81395e9355613763738a298551d4b0e7ddd6e399707620fed9c.

Solidity: event DeleteConfiguration(string indexed org, string indexed fileName)

func (*StaticOrganizationFilterer) ParseDeleteSmartcontract

func (_StaticOrganization *StaticOrganizationFilterer) ParseDeleteSmartcontract(log types.Log) (*StaticOrganizationDeleteSmartcontract, error)

ParseDeleteSmartcontract is a log parse operation binding the contract event 0x7d4d9b89988fba54319ca71cadca5b9a99595aa2abbba9dc3a53889512942fc8.

Solidity: event DeleteSmartcontract(string indexed org, string indexed fileName)

func (*StaticOrganizationFilterer) ParseInsertConfiguration

func (_StaticOrganization *StaticOrganizationFilterer) ParseInsertConfiguration(log types.Log) (*StaticOrganizationInsertConfiguration, error)

ParseInsertConfiguration is a log parse operation binding the contract event 0xe4c71a24d7d86a4b9dcdf7bb43d15433ed42b5239d98cdd095cc8433545911e0.

Solidity: event InsertConfiguration(string indexed org, string indexed fileName, string indexed cid)

func (*StaticOrganizationFilterer) ParseInsertOrganization

func (_StaticOrganization *StaticOrganizationFilterer) ParseInsertOrganization(log types.Log) (*StaticOrganizationInsertOrganization, error)

ParseInsertOrganization is a log parse operation binding the contract event 0xc88b7686edda01cb5cb9cfc327a234fd55553b72ce44f51772a9ffd0be4f517a.

Solidity: event InsertOrganization(string indexed org)

func (*StaticOrganizationFilterer) ParseInsertSmartcontract

func (_StaticOrganization *StaticOrganizationFilterer) ParseInsertSmartcontract(log types.Log) (*StaticOrganizationInsertSmartcontract, error)

ParseInsertSmartcontract is a log parse operation binding the contract event 0x0e7ebd6fc52c2b4f8dfefdaaba6996ec0c5104c174da6e43d16a314a286fdd93.

Solidity: event InsertSmartcontract(string indexed org, string indexed fileName, string indexed cid)

func (*StaticOrganizationFilterer) ParseUpdateConfiguration

func (_StaticOrganization *StaticOrganizationFilterer) ParseUpdateConfiguration(log types.Log) (*StaticOrganizationUpdateConfiguration, error)

ParseUpdateConfiguration is a log parse operation binding the contract event 0xa183a608b7c8ba72d4b45247ef3b431ceb231e76761f3709c6679c7d1fbf9749.

Solidity: event UpdateConfiguration(string indexed fileName, string indexed cid)

func (*StaticOrganizationFilterer) ParseUpdateSmartcontract

func (_StaticOrganization *StaticOrganizationFilterer) ParseUpdateSmartcontract(log types.Log) (*StaticOrganizationUpdateSmartcontract, error)

ParseUpdateSmartcontract is a log parse operation binding the contract event 0xcdf23f587b224317852b246c67b694bc63fc30d22be0c20193cbe5bd69d9b7c2.

Solidity: event UpdateSmartcontract(string indexed fileName, string indexed cid)

func (*StaticOrganizationFilterer) WatchDeleteConfiguration

func (_StaticOrganization *StaticOrganizationFilterer) WatchDeleteConfiguration(opts *bind.WatchOpts, sink chan<- *StaticOrganizationDeleteConfiguration, org []string, fileName []string) (event.Subscription, error)

WatchDeleteConfiguration is a free log subscription operation binding the contract event 0x3645ce45e193d81395e9355613763738a298551d4b0e7ddd6e399707620fed9c.

Solidity: event DeleteConfiguration(string indexed org, string indexed fileName)

func (*StaticOrganizationFilterer) WatchDeleteSmartcontract

func (_StaticOrganization *StaticOrganizationFilterer) WatchDeleteSmartcontract(opts *bind.WatchOpts, sink chan<- *StaticOrganizationDeleteSmartcontract, org []string, fileName []string) (event.Subscription, error)

WatchDeleteSmartcontract is a free log subscription operation binding the contract event 0x7d4d9b89988fba54319ca71cadca5b9a99595aa2abbba9dc3a53889512942fc8.

Solidity: event DeleteSmartcontract(string indexed org, string indexed fileName)

func (*StaticOrganizationFilterer) WatchInsertConfiguration

func (_StaticOrganization *StaticOrganizationFilterer) WatchInsertConfiguration(opts *bind.WatchOpts, sink chan<- *StaticOrganizationInsertConfiguration, org []string, fileName []string, cid []string) (event.Subscription, error)

WatchInsertConfiguration is a free log subscription operation binding the contract event 0xe4c71a24d7d86a4b9dcdf7bb43d15433ed42b5239d98cdd095cc8433545911e0.

Solidity: event InsertConfiguration(string indexed org, string indexed fileName, string indexed cid)

func (*StaticOrganizationFilterer) WatchInsertOrganization

func (_StaticOrganization *StaticOrganizationFilterer) WatchInsertOrganization(opts *bind.WatchOpts, sink chan<- *StaticOrganizationInsertOrganization, org []string) (event.Subscription, error)

WatchInsertOrganization is a free log subscription operation binding the contract event 0xc88b7686edda01cb5cb9cfc327a234fd55553b72ce44f51772a9ffd0be4f517a.

Solidity: event InsertOrganization(string indexed org)

func (*StaticOrganizationFilterer) WatchInsertSmartcontract

func (_StaticOrganization *StaticOrganizationFilterer) WatchInsertSmartcontract(opts *bind.WatchOpts, sink chan<- *StaticOrganizationInsertSmartcontract, org []string, fileName []string, cid []string) (event.Subscription, error)

WatchInsertSmartcontract is a free log subscription operation binding the contract event 0x0e7ebd6fc52c2b4f8dfefdaaba6996ec0c5104c174da6e43d16a314a286fdd93.

Solidity: event InsertSmartcontract(string indexed org, string indexed fileName, string indexed cid)

func (*StaticOrganizationFilterer) WatchUpdateConfiguration

func (_StaticOrganization *StaticOrganizationFilterer) WatchUpdateConfiguration(opts *bind.WatchOpts, sink chan<- *StaticOrganizationUpdateConfiguration, fileName []string, cid []string) (event.Subscription, error)

WatchUpdateConfiguration is a free log subscription operation binding the contract event 0xa183a608b7c8ba72d4b45247ef3b431ceb231e76761f3709c6679c7d1fbf9749.

Solidity: event UpdateConfiguration(string indexed fileName, string indexed cid)

func (*StaticOrganizationFilterer) WatchUpdateSmartcontract

func (_StaticOrganization *StaticOrganizationFilterer) WatchUpdateSmartcontract(opts *bind.WatchOpts, sink chan<- *StaticOrganizationUpdateSmartcontract, fileName []string, cid []string) (event.Subscription, error)

WatchUpdateSmartcontract is a free log subscription operation binding the contract event 0xcdf23f587b224317852b246c67b694bc63fc30d22be0c20193cbe5bd69d9b7c2.

Solidity: event UpdateSmartcontract(string indexed fileName, string indexed cid)

type StaticOrganizationInsertConfiguration

type StaticOrganizationInsertConfiguration struct {
	Org      common.Hash
	FileName common.Hash
	Cid      common.Hash
	Raw      types.Log // Blockchain specific contextual infos
}

StaticOrganizationInsertConfiguration represents a InsertConfiguration event raised by the StaticOrganization contract.

type StaticOrganizationInsertConfigurationIterator

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

StaticOrganizationInsertConfigurationIterator is returned from FilterInsertConfiguration and is used to iterate over the raw logs and unpacked data for InsertConfiguration events raised by the StaticOrganization contract.

func (*StaticOrganizationInsertConfigurationIterator) Close

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

func (*StaticOrganizationInsertConfigurationIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StaticOrganizationInsertConfigurationIterator) 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 StaticOrganizationInsertOrganization

type StaticOrganizationInsertOrganization struct {
	Org common.Hash
	Raw types.Log // Blockchain specific contextual infos
}

StaticOrganizationInsertOrganization represents a InsertOrganization event raised by the StaticOrganization contract.

type StaticOrganizationInsertOrganizationIterator

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

StaticOrganizationInsertOrganizationIterator is returned from FilterInsertOrganization and is used to iterate over the raw logs and unpacked data for InsertOrganization events raised by the StaticOrganization contract.

func (*StaticOrganizationInsertOrganizationIterator) Close

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

func (*StaticOrganizationInsertOrganizationIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StaticOrganizationInsertOrganizationIterator) 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 StaticOrganizationInsertSmartcontract

type StaticOrganizationInsertSmartcontract struct {
	Org      common.Hash
	FileName common.Hash
	Cid      common.Hash
	Raw      types.Log // Blockchain specific contextual infos
}

StaticOrganizationInsertSmartcontract represents a InsertSmartcontract event raised by the StaticOrganization contract.

type StaticOrganizationInsertSmartcontractIterator

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

StaticOrganizationInsertSmartcontractIterator is returned from FilterInsertSmartcontract and is used to iterate over the raw logs and unpacked data for InsertSmartcontract events raised by the StaticOrganization contract.

func (*StaticOrganizationInsertSmartcontractIterator) Close

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

func (*StaticOrganizationInsertSmartcontractIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StaticOrganizationInsertSmartcontractIterator) 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 StaticOrganizationRaw

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

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

func (*StaticOrganizationRaw) Call

func (_StaticOrganization *StaticOrganizationRaw) 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 (*StaticOrganizationRaw) Transact

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

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

func (*StaticOrganizationRaw) Transfer

func (_StaticOrganization *StaticOrganizationRaw) 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 StaticOrganizationSession

type StaticOrganizationSession struct {
	Contract     *StaticOrganization // 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
}

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

func (*StaticOrganizationSession) Configurations

func (_StaticOrganization *StaticOrganizationSession) Configurations(arg0 string) (string, error)

Configurations is a free data retrieval call binding the contract method 0x1214dd58.

Solidity: function configurations(string ) view returns(string)

func (*StaticOrganizationSession) DeleteConfiguration

func (_StaticOrganization *StaticOrganizationSession) DeleteConfiguration(org string, fileName string) (*types.Transaction, error)

DeleteConfiguration is a paid mutator transaction binding the contract method 0xb58f296a.

Solidity: function deleteConfiguration(string org, string fileName) returns()

func (*StaticOrganizationSession) DeleteSmartcontract

func (_StaticOrganization *StaticOrganizationSession) DeleteSmartcontract(org string, fileName string) (*types.Transaction, error)

DeleteSmartcontract is a paid mutator transaction binding the contract method 0x371961f8.

Solidity: function deleteSmartcontract(string org, string fileName) returns()

func (*StaticOrganizationSession) InsertConfiguration

func (_StaticOrganization *StaticOrganizationSession) InsertConfiguration(org string, fileName string, cid string) (*types.Transaction, error)

InsertConfiguration is a paid mutator transaction binding the contract method 0x9ea508f8.

Solidity: function insertConfiguration(string org, string fileName, string cid) returns()

func (*StaticOrganizationSession) InsertOrganization

func (_StaticOrganization *StaticOrganizationSession) InsertOrganization(org string) (*types.Transaction, error)

InsertOrganization is a paid mutator transaction binding the contract method 0x62389e43.

Solidity: function insertOrganization(string org) returns()

func (*StaticOrganizationSession) InsertSmartcontract

func (_StaticOrganization *StaticOrganizationSession) InsertSmartcontract(org string, fileName string, cid string) (*types.Transaction, error)

InsertSmartcontract is a paid mutator transaction binding the contract method 0xad5f0707.

Solidity: function insertSmartcontract(string org, string fileName, string cid) returns()

func (*StaticOrganizationSession) OrganizationConfigurations

func (_StaticOrganization *StaticOrganizationSession) OrganizationConfigurations(arg0 string, arg1 *big.Int) (string, error)

OrganizationConfigurations is a free data retrieval call binding the contract method 0x6f74463f.

Solidity: function organizationConfigurations(string , uint256 ) view returns(string)

func (*StaticOrganizationSession) OrganizationSmartcontracts

func (_StaticOrganization *StaticOrganizationSession) OrganizationSmartcontracts(arg0 string, arg1 *big.Int) (string, error)

OrganizationSmartcontracts is a free data retrieval call binding the contract method 0x8718dc72.

Solidity: function organizationSmartcontracts(string , uint256 ) view returns(string)

func (*StaticOrganizationSession) Organizations

func (_StaticOrganization *StaticOrganizationSession) Organizations(arg0 string) (bool, error)

Organizations is a free data retrieval call binding the contract method 0xe311f43c.

Solidity: function organizations(string ) view returns(bool)

func (*StaticOrganizationSession) Smartcontracts

func (_StaticOrganization *StaticOrganizationSession) Smartcontracts(arg0 string) (string, error)

Smartcontracts is a free data retrieval call binding the contract method 0xbcd8e820.

Solidity: function smartcontracts(string ) view returns(string)

func (*StaticOrganizationSession) UpdateConfiguration

func (_StaticOrganization *StaticOrganizationSession) UpdateConfiguration(fileName string, cid string) (*types.Transaction, error)

UpdateConfiguration is a paid mutator transaction binding the contract method 0x8084163e.

Solidity: function updateConfiguration(string fileName, string cid) returns()

func (*StaticOrganizationSession) UpdateSmartcontract

func (_StaticOrganization *StaticOrganizationSession) UpdateSmartcontract(fileName string, cid string) (*types.Transaction, error)

UpdateSmartcontract is a paid mutator transaction binding the contract method 0xf252b7ec.

Solidity: function updateSmartcontract(string fileName, string cid) returns()

type StaticOrganizationTransactor

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

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

func NewStaticOrganizationTransactor

func NewStaticOrganizationTransactor(address common.Address, transactor bind.ContractTransactor) (*StaticOrganizationTransactor, error)

NewStaticOrganizationTransactor creates a new write-only instance of StaticOrganization, bound to a specific deployed contract.

func (*StaticOrganizationTransactor) DeleteConfiguration

func (_StaticOrganization *StaticOrganizationTransactor) DeleteConfiguration(opts *bind.TransactOpts, org string, fileName string) (*types.Transaction, error)

DeleteConfiguration is a paid mutator transaction binding the contract method 0xb58f296a.

Solidity: function deleteConfiguration(string org, string fileName) returns()

func (*StaticOrganizationTransactor) DeleteSmartcontract

func (_StaticOrganization *StaticOrganizationTransactor) DeleteSmartcontract(opts *bind.TransactOpts, org string, fileName string) (*types.Transaction, error)

DeleteSmartcontract is a paid mutator transaction binding the contract method 0x371961f8.

Solidity: function deleteSmartcontract(string org, string fileName) returns()

func (*StaticOrganizationTransactor) InsertConfiguration

func (_StaticOrganization *StaticOrganizationTransactor) InsertConfiguration(opts *bind.TransactOpts, org string, fileName string, cid string) (*types.Transaction, error)

InsertConfiguration is a paid mutator transaction binding the contract method 0x9ea508f8.

Solidity: function insertConfiguration(string org, string fileName, string cid) returns()

func (*StaticOrganizationTransactor) InsertOrganization

func (_StaticOrganization *StaticOrganizationTransactor) InsertOrganization(opts *bind.TransactOpts, org string) (*types.Transaction, error)

InsertOrganization is a paid mutator transaction binding the contract method 0x62389e43.

Solidity: function insertOrganization(string org) returns()

func (*StaticOrganizationTransactor) InsertSmartcontract

func (_StaticOrganization *StaticOrganizationTransactor) InsertSmartcontract(opts *bind.TransactOpts, org string, fileName string, cid string) (*types.Transaction, error)

InsertSmartcontract is a paid mutator transaction binding the contract method 0xad5f0707.

Solidity: function insertSmartcontract(string org, string fileName, string cid) returns()

func (*StaticOrganizationTransactor) UpdateConfiguration

func (_StaticOrganization *StaticOrganizationTransactor) UpdateConfiguration(opts *bind.TransactOpts, fileName string, cid string) (*types.Transaction, error)

UpdateConfiguration is a paid mutator transaction binding the contract method 0x8084163e.

Solidity: function updateConfiguration(string fileName, string cid) returns()

func (*StaticOrganizationTransactor) UpdateSmartcontract

func (_StaticOrganization *StaticOrganizationTransactor) UpdateSmartcontract(opts *bind.TransactOpts, fileName string, cid string) (*types.Transaction, error)

UpdateSmartcontract is a paid mutator transaction binding the contract method 0xf252b7ec.

Solidity: function updateSmartcontract(string fileName, string cid) returns()

type StaticOrganizationTransactorRaw

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

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

func (*StaticOrganizationTransactorRaw) Transact

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

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

func (*StaticOrganizationTransactorRaw) Transfer

func (_StaticOrganization *StaticOrganizationTransactorRaw) 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 StaticOrganizationTransactorSession

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

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

func (*StaticOrganizationTransactorSession) DeleteConfiguration

func (_StaticOrganization *StaticOrganizationTransactorSession) DeleteConfiguration(org string, fileName string) (*types.Transaction, error)

DeleteConfiguration is a paid mutator transaction binding the contract method 0xb58f296a.

Solidity: function deleteConfiguration(string org, string fileName) returns()

func (*StaticOrganizationTransactorSession) DeleteSmartcontract

func (_StaticOrganization *StaticOrganizationTransactorSession) DeleteSmartcontract(org string, fileName string) (*types.Transaction, error)

DeleteSmartcontract is a paid mutator transaction binding the contract method 0x371961f8.

Solidity: function deleteSmartcontract(string org, string fileName) returns()

func (*StaticOrganizationTransactorSession) InsertConfiguration

func (_StaticOrganization *StaticOrganizationTransactorSession) InsertConfiguration(org string, fileName string, cid string) (*types.Transaction, error)

InsertConfiguration is a paid mutator transaction binding the contract method 0x9ea508f8.

Solidity: function insertConfiguration(string org, string fileName, string cid) returns()

func (*StaticOrganizationTransactorSession) InsertOrganization

func (_StaticOrganization *StaticOrganizationTransactorSession) InsertOrganization(org string) (*types.Transaction, error)

InsertOrganization is a paid mutator transaction binding the contract method 0x62389e43.

Solidity: function insertOrganization(string org) returns()

func (*StaticOrganizationTransactorSession) InsertSmartcontract

func (_StaticOrganization *StaticOrganizationTransactorSession) InsertSmartcontract(org string, fileName string, cid string) (*types.Transaction, error)

InsertSmartcontract is a paid mutator transaction binding the contract method 0xad5f0707.

Solidity: function insertSmartcontract(string org, string fileName, string cid) returns()

func (*StaticOrganizationTransactorSession) UpdateConfiguration

func (_StaticOrganization *StaticOrganizationTransactorSession) UpdateConfiguration(fileName string, cid string) (*types.Transaction, error)

UpdateConfiguration is a paid mutator transaction binding the contract method 0x8084163e.

Solidity: function updateConfiguration(string fileName, string cid) returns()

func (*StaticOrganizationTransactorSession) UpdateSmartcontract

func (_StaticOrganization *StaticOrganizationTransactorSession) UpdateSmartcontract(fileName string, cid string) (*types.Transaction, error)

UpdateSmartcontract is a paid mutator transaction binding the contract method 0xf252b7ec.

Solidity: function updateSmartcontract(string fileName, string cid) returns()

type StaticOrganizationUpdateConfiguration

type StaticOrganizationUpdateConfiguration struct {
	FileName common.Hash
	Cid      common.Hash
	Raw      types.Log // Blockchain specific contextual infos
}

StaticOrganizationUpdateConfiguration represents a UpdateConfiguration event raised by the StaticOrganization contract.

type StaticOrganizationUpdateConfigurationIterator

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

StaticOrganizationUpdateConfigurationIterator is returned from FilterUpdateConfiguration and is used to iterate over the raw logs and unpacked data for UpdateConfiguration events raised by the StaticOrganization contract.

func (*StaticOrganizationUpdateConfigurationIterator) Close

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

func (*StaticOrganizationUpdateConfigurationIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StaticOrganizationUpdateConfigurationIterator) 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 StaticOrganizationUpdateSmartcontract

type StaticOrganizationUpdateSmartcontract struct {
	FileName common.Hash
	Cid      common.Hash
	Raw      types.Log // Blockchain specific contextual infos
}

StaticOrganizationUpdateSmartcontract represents a UpdateSmartcontract event raised by the StaticOrganization contract.

type StaticOrganizationUpdateSmartcontractIterator

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

StaticOrganizationUpdateSmartcontractIterator is returned from FilterUpdateSmartcontract and is used to iterate over the raw logs and unpacked data for UpdateSmartcontract events raised by the StaticOrganization contract.

func (*StaticOrganizationUpdateSmartcontractIterator) Close

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

func (*StaticOrganizationUpdateSmartcontractIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

Jump to

Keyboard shortcuts

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