github.com/vchain-us/vcn@v0.9.11-0.20210921212052-a2484d23c0b3/internal/blockchain/organisationsrelay.go (about)

     1  // Code generated - DO NOT EDIT.
     2  // This file is a generated binding and any manual changes will be lost.
     3  
     4  package blockchain
     5  
     6  import (
     7  	"math/big"
     8  	"strings"
     9  
    10  	ethereum "github.com/ethereum/go-ethereum"
    11  	"github.com/ethereum/go-ethereum/accounts/abi"
    12  	"github.com/ethereum/go-ethereum/accounts/abi/bind"
    13  	"github.com/ethereum/go-ethereum/common"
    14  	"github.com/ethereum/go-ethereum/core/types"
    15  	"github.com/ethereum/go-ethereum/event"
    16  )
    17  
    18  // Reference imports to suppress errors if they are not otherwise used.
    19  var (
    20  	_ = big.NewInt
    21  	_ = strings.NewReader
    22  	_ = ethereum.NotFound
    23  	_ = abi.U256
    24  	_ = bind.Bind
    25  	_ = common.Big1
    26  	_ = types.BloomLookup
    27  	_ = event.NewSubscription
    28  )
    29  
    30  // OrganisationsRelayABI is the input ABI used to generate the binding from.
    31  const OrganisationsRelayABI = "[{\"constant\":true,\"inputs\":[],\"name\":\"organisationsContract\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getOrganisationByIndex\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"},{\"name\":\"\",\"type\":\"address[]\"},{\"name\":\"\",\"type\":\"string\"},{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"hash\",\"type\":\"bytes32\"}],\"name\":\"getOrganisationByHash\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"},{\"name\":\"\",\"type\":\"address[]\"},{\"name\":\"\",\"type\":\"string\"},{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"id\",\"type\":\"string\"}],\"name\":\"removeOrganisation\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"id\",\"type\":\"string\"}],\"name\":\"getOrganisation\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"},{\"name\":\"\",\"type\":\"address[]\"},{\"name\":\"\",\"type\":\"string\"},{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getOrganisationCount\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"createdAt\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"id\",\"type\":\"string\"},{\"name\":\"members\",\"type\":\"address[]\"}],\"name\":\"setMembers\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"id\",\"type\":\"string\"},{\"name\":\"organisationOwner\",\"type\":\"address\"}],\"name\":\"changeOrganisationOwner\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"oldId\",\"type\":\"string\"},{\"name\":\"newId\",\"type\":\"string\"}],\"name\":\"renameOrganisation\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"id\",\"type\":\"string\"},{\"name\":\"organisationOwner\",\"type\":\"address\"}],\"name\":\"addOrganisation\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"name\":\"oContract\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"}]"
    32  
    33  // OrganisationsRelay is an auto generated Go binding around an Ethereum contract.
    34  type OrganisationsRelay struct {
    35  	OrganisationsRelayCaller     // Read-only binding to the contract
    36  	OrganisationsRelayTransactor // Write-only binding to the contract
    37  	OrganisationsRelayFilterer   // Log filterer for contract events
    38  }
    39  
    40  // OrganisationsRelayCaller is an auto generated read-only Go binding around an Ethereum contract.
    41  type OrganisationsRelayCaller struct {
    42  	contract *bind.BoundContract // Generic contract wrapper for the low level calls
    43  }
    44  
    45  // OrganisationsRelayTransactor is an auto generated write-only Go binding around an Ethereum contract.
    46  type OrganisationsRelayTransactor struct {
    47  	contract *bind.BoundContract // Generic contract wrapper for the low level calls
    48  }
    49  
    50  // OrganisationsRelayFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
    51  type OrganisationsRelayFilterer struct {
    52  	contract *bind.BoundContract // Generic contract wrapper for the low level calls
    53  }
    54  
    55  // OrganisationsRelaySession is an auto generated Go binding around an Ethereum contract,
    56  // with pre-set call and transact options.
    57  type OrganisationsRelaySession struct {
    58  	Contract     *OrganisationsRelay // Generic contract binding to set the session for
    59  	CallOpts     bind.CallOpts       // Call options to use throughout this session
    60  	TransactOpts bind.TransactOpts   // Transaction auth options to use throughout this session
    61  }
    62  
    63  // OrganisationsRelayCallerSession is an auto generated read-only Go binding around an Ethereum contract,
    64  // with pre-set call options.
    65  type OrganisationsRelayCallerSession struct {
    66  	Contract *OrganisationsRelayCaller // Generic contract caller binding to set the session for
    67  	CallOpts bind.CallOpts             // Call options to use throughout this session
    68  }
    69  
    70  // OrganisationsRelayTransactorSession is an auto generated write-only Go binding around an Ethereum contract,
    71  // with pre-set transact options.
    72  type OrganisationsRelayTransactorSession struct {
    73  	Contract     *OrganisationsRelayTransactor // Generic contract transactor binding to set the session for
    74  	TransactOpts bind.TransactOpts             // Transaction auth options to use throughout this session
    75  }
    76  
    77  // OrganisationsRelayRaw is an auto generated low-level Go binding around an Ethereum contract.
    78  type OrganisationsRelayRaw struct {
    79  	Contract *OrganisationsRelay // Generic contract binding to access the raw methods on
    80  }
    81  
    82  // OrganisationsRelayCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
    83  type OrganisationsRelayCallerRaw struct {
    84  	Contract *OrganisationsRelayCaller // Generic read-only contract binding to access the raw methods on
    85  }
    86  
    87  // OrganisationsRelayTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
    88  type OrganisationsRelayTransactorRaw struct {
    89  	Contract *OrganisationsRelayTransactor // Generic write-only contract binding to access the raw methods on
    90  }
    91  
    92  // NewOrganisationsRelay creates a new instance of OrganisationsRelay, bound to a specific deployed contract.
    93  func NewOrganisationsRelay(address common.Address, backend bind.ContractBackend) (*OrganisationsRelay, error) {
    94  	contract, err := bindOrganisationsRelay(address, backend, backend, backend)
    95  	if err != nil {
    96  		return nil, err
    97  	}
    98  	return &OrganisationsRelay{OrganisationsRelayCaller: OrganisationsRelayCaller{contract: contract}, OrganisationsRelayTransactor: OrganisationsRelayTransactor{contract: contract}, OrganisationsRelayFilterer: OrganisationsRelayFilterer{contract: contract}}, nil
    99  }
   100  
   101  // NewOrganisationsRelayCaller creates a new read-only instance of OrganisationsRelay, bound to a specific deployed contract.
   102  func NewOrganisationsRelayCaller(address common.Address, caller bind.ContractCaller) (*OrganisationsRelayCaller, error) {
   103  	contract, err := bindOrganisationsRelay(address, caller, nil, nil)
   104  	if err != nil {
   105  		return nil, err
   106  	}
   107  	return &OrganisationsRelayCaller{contract: contract}, nil
   108  }
   109  
   110  // NewOrganisationsRelayTransactor creates a new write-only instance of OrganisationsRelay, bound to a specific deployed contract.
   111  func NewOrganisationsRelayTransactor(address common.Address, transactor bind.ContractTransactor) (*OrganisationsRelayTransactor, error) {
   112  	contract, err := bindOrganisationsRelay(address, nil, transactor, nil)
   113  	if err != nil {
   114  		return nil, err
   115  	}
   116  	return &OrganisationsRelayTransactor{contract: contract}, nil
   117  }
   118  
   119  // NewOrganisationsRelayFilterer creates a new log filterer instance of OrganisationsRelay, bound to a specific deployed contract.
   120  func NewOrganisationsRelayFilterer(address common.Address, filterer bind.ContractFilterer) (*OrganisationsRelayFilterer, error) {
   121  	contract, err := bindOrganisationsRelay(address, nil, nil, filterer)
   122  	if err != nil {
   123  		return nil, err
   124  	}
   125  	return &OrganisationsRelayFilterer{contract: contract}, nil
   126  }
   127  
   128  // bindOrganisationsRelay binds a generic wrapper to an already deployed contract.
   129  func bindOrganisationsRelay(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor, filterer bind.ContractFilterer) (*bind.BoundContract, error) {
   130  	parsed, err := abi.JSON(strings.NewReader(OrganisationsRelayABI))
   131  	if err != nil {
   132  		return nil, err
   133  	}
   134  	return bind.NewBoundContract(address, parsed, caller, transactor, filterer), nil
   135  }
   136  
   137  // Call invokes the (constant) contract method with params as input values and
   138  // sets the output to result. The result type might be a single field for simple
   139  // returns, a slice of interfaces for anonymous returns and a struct for named
   140  // returns.
   141  func (_OrganisationsRelay *OrganisationsRelayRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error {
   142  	return _OrganisationsRelay.Contract.OrganisationsRelayCaller.contract.Call(opts, result, method, params...)
   143  }
   144  
   145  // Transfer initiates a plain transaction to move funds to the contract, calling
   146  // its default method if one is available.
   147  func (_OrganisationsRelay *OrganisationsRelayRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
   148  	return _OrganisationsRelay.Contract.OrganisationsRelayTransactor.contract.Transfer(opts)
   149  }
   150  
   151  // Transact invokes the (paid) contract method with params as input values.
   152  func (_OrganisationsRelay *OrganisationsRelayRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
   153  	return _OrganisationsRelay.Contract.OrganisationsRelayTransactor.contract.Transact(opts, method, params...)
   154  }
   155  
   156  // Call invokes the (constant) contract method with params as input values and
   157  // sets the output to result. The result type might be a single field for simple
   158  // returns, a slice of interfaces for anonymous returns and a struct for named
   159  // returns.
   160  func (_OrganisationsRelay *OrganisationsRelayCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error {
   161  	return _OrganisationsRelay.Contract.contract.Call(opts, result, method, params...)
   162  }
   163  
   164  // Transfer initiates a plain transaction to move funds to the contract, calling
   165  // its default method if one is available.
   166  func (_OrganisationsRelay *OrganisationsRelayTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
   167  	return _OrganisationsRelay.Contract.contract.Transfer(opts)
   168  }
   169  
   170  // Transact invokes the (paid) contract method with params as input values.
   171  func (_OrganisationsRelay *OrganisationsRelayTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
   172  	return _OrganisationsRelay.Contract.contract.Transact(opts, method, params...)
   173  }
   174  
   175  // CreatedAt is a free data retrieval call binding the contract method 0xcf09e0d0.
   176  //
   177  // Solidity: function createdAt() constant returns(uint256)
   178  func (_OrganisationsRelay *OrganisationsRelayCaller) CreatedAt(opts *bind.CallOpts) (*big.Int, error) {
   179  	var (
   180  		ret0 = new(*big.Int)
   181  	)
   182  	out := ret0
   183  	err := _OrganisationsRelay.contract.Call(opts, out, "createdAt")
   184  	return *ret0, err
   185  }
   186  
   187  // CreatedAt is a free data retrieval call binding the contract method 0xcf09e0d0.
   188  //
   189  // Solidity: function createdAt() constant returns(uint256)
   190  func (_OrganisationsRelay *OrganisationsRelaySession) CreatedAt() (*big.Int, error) {
   191  	return _OrganisationsRelay.Contract.CreatedAt(&_OrganisationsRelay.CallOpts)
   192  }
   193  
   194  // CreatedAt is a free data retrieval call binding the contract method 0xcf09e0d0.
   195  //
   196  // Solidity: function createdAt() constant returns(uint256)
   197  func (_OrganisationsRelay *OrganisationsRelayCallerSession) CreatedAt() (*big.Int, error) {
   198  	return _OrganisationsRelay.Contract.CreatedAt(&_OrganisationsRelay.CallOpts)
   199  }
   200  
   201  // GetOrganisation is a free data retrieval call binding the contract method 0x50a38744.
   202  //
   203  // Solidity: function getOrganisation(string id) constant returns(address, address[], string, uint256)
   204  func (_OrganisationsRelay *OrganisationsRelayCaller) GetOrganisation(opts *bind.CallOpts, id string) (common.Address, []common.Address, string, *big.Int, error) {
   205  	var (
   206  		ret0 = new(common.Address)
   207  		ret1 = new([]common.Address)
   208  		ret2 = new(string)
   209  		ret3 = new(*big.Int)
   210  	)
   211  	out := &[]interface{}{
   212  		ret0,
   213  		ret1,
   214  		ret2,
   215  		ret3,
   216  	}
   217  	err := _OrganisationsRelay.contract.Call(opts, out, "getOrganisation", id)
   218  	return *ret0, *ret1, *ret2, *ret3, err
   219  }
   220  
   221  // GetOrganisation is a free data retrieval call binding the contract method 0x50a38744.
   222  //
   223  // Solidity: function getOrganisation(string id) constant returns(address, address[], string, uint256)
   224  func (_OrganisationsRelay *OrganisationsRelaySession) GetOrganisation(id string) (common.Address, []common.Address, string, *big.Int, error) {
   225  	return _OrganisationsRelay.Contract.GetOrganisation(&_OrganisationsRelay.CallOpts, id)
   226  }
   227  
   228  // GetOrganisation is a free data retrieval call binding the contract method 0x50a38744.
   229  //
   230  // Solidity: function getOrganisation(string id) constant returns(address, address[], string, uint256)
   231  func (_OrganisationsRelay *OrganisationsRelayCallerSession) GetOrganisation(id string) (common.Address, []common.Address, string, *big.Int, error) {
   232  	return _OrganisationsRelay.Contract.GetOrganisation(&_OrganisationsRelay.CallOpts, id)
   233  }
   234  
   235  // GetOrganisationByHash is a free data retrieval call binding the contract method 0x06e80cd9.
   236  //
   237  // Solidity: function getOrganisationByHash(bytes32 hash) constant returns(address, address[], string, uint256)
   238  func (_OrganisationsRelay *OrganisationsRelayCaller) GetOrganisationByHash(opts *bind.CallOpts, hash [32]byte) (common.Address, []common.Address, string, *big.Int, error) {
   239  	var (
   240  		ret0 = new(common.Address)
   241  		ret1 = new([]common.Address)
   242  		ret2 = new(string)
   243  		ret3 = new(*big.Int)
   244  	)
   245  	out := &[]interface{}{
   246  		ret0,
   247  		ret1,
   248  		ret2,
   249  		ret3,
   250  	}
   251  	err := _OrganisationsRelay.contract.Call(opts, out, "getOrganisationByHash", hash)
   252  	return *ret0, *ret1, *ret2, *ret3, err
   253  }
   254  
   255  // GetOrganisationByHash is a free data retrieval call binding the contract method 0x06e80cd9.
   256  //
   257  // Solidity: function getOrganisationByHash(bytes32 hash) constant returns(address, address[], string, uint256)
   258  func (_OrganisationsRelay *OrganisationsRelaySession) GetOrganisationByHash(hash [32]byte) (common.Address, []common.Address, string, *big.Int, error) {
   259  	return _OrganisationsRelay.Contract.GetOrganisationByHash(&_OrganisationsRelay.CallOpts, hash)
   260  }
   261  
   262  // GetOrganisationByHash is a free data retrieval call binding the contract method 0x06e80cd9.
   263  //
   264  // Solidity: function getOrganisationByHash(bytes32 hash) constant returns(address, address[], string, uint256)
   265  func (_OrganisationsRelay *OrganisationsRelayCallerSession) GetOrganisationByHash(hash [32]byte) (common.Address, []common.Address, string, *big.Int, error) {
   266  	return _OrganisationsRelay.Contract.GetOrganisationByHash(&_OrganisationsRelay.CallOpts, hash)
   267  }
   268  
   269  // GetOrganisationByIndex is a free data retrieval call binding the contract method 0x04fc1902.
   270  //
   271  // Solidity: function getOrganisationByIndex(uint256 index) constant returns(address, address[], string, uint256)
   272  func (_OrganisationsRelay *OrganisationsRelayCaller) GetOrganisationByIndex(opts *bind.CallOpts, index *big.Int) (common.Address, []common.Address, string, *big.Int, error) {
   273  	var (
   274  		ret0 = new(common.Address)
   275  		ret1 = new([]common.Address)
   276  		ret2 = new(string)
   277  		ret3 = new(*big.Int)
   278  	)
   279  	out := &[]interface{}{
   280  		ret0,
   281  		ret1,
   282  		ret2,
   283  		ret3,
   284  	}
   285  	err := _OrganisationsRelay.contract.Call(opts, out, "getOrganisationByIndex", index)
   286  	return *ret0, *ret1, *ret2, *ret3, err
   287  }
   288  
   289  // GetOrganisationByIndex is a free data retrieval call binding the contract method 0x04fc1902.
   290  //
   291  // Solidity: function getOrganisationByIndex(uint256 index) constant returns(address, address[], string, uint256)
   292  func (_OrganisationsRelay *OrganisationsRelaySession) GetOrganisationByIndex(index *big.Int) (common.Address, []common.Address, string, *big.Int, error) {
   293  	return _OrganisationsRelay.Contract.GetOrganisationByIndex(&_OrganisationsRelay.CallOpts, index)
   294  }
   295  
   296  // GetOrganisationByIndex is a free data retrieval call binding the contract method 0x04fc1902.
   297  //
   298  // Solidity: function getOrganisationByIndex(uint256 index) constant returns(address, address[], string, uint256)
   299  func (_OrganisationsRelay *OrganisationsRelayCallerSession) GetOrganisationByIndex(index *big.Int) (common.Address, []common.Address, string, *big.Int, error) {
   300  	return _OrganisationsRelay.Contract.GetOrganisationByIndex(&_OrganisationsRelay.CallOpts, index)
   301  }
   302  
   303  // GetOrganisationCount is a free data retrieval call binding the contract method 0xb082b9c7.
   304  //
   305  // Solidity: function getOrganisationCount() constant returns(uint256)
   306  func (_OrganisationsRelay *OrganisationsRelayCaller) GetOrganisationCount(opts *bind.CallOpts) (*big.Int, error) {
   307  	var (
   308  		ret0 = new(*big.Int)
   309  	)
   310  	out := ret0
   311  	err := _OrganisationsRelay.contract.Call(opts, out, "getOrganisationCount")
   312  	return *ret0, err
   313  }
   314  
   315  // GetOrganisationCount is a free data retrieval call binding the contract method 0xb082b9c7.
   316  //
   317  // Solidity: function getOrganisationCount() constant returns(uint256)
   318  func (_OrganisationsRelay *OrganisationsRelaySession) GetOrganisationCount() (*big.Int, error) {
   319  	return _OrganisationsRelay.Contract.GetOrganisationCount(&_OrganisationsRelay.CallOpts)
   320  }
   321  
   322  // GetOrganisationCount is a free data retrieval call binding the contract method 0xb082b9c7.
   323  //
   324  // Solidity: function getOrganisationCount() constant returns(uint256)
   325  func (_OrganisationsRelay *OrganisationsRelayCallerSession) GetOrganisationCount() (*big.Int, error) {
   326  	return _OrganisationsRelay.Contract.GetOrganisationCount(&_OrganisationsRelay.CallOpts)
   327  }
   328  
   329  // OrganisationsContract is a free data retrieval call binding the contract method 0x03a4692a.
   330  //
   331  // Solidity: function organisationsContract() constant returns(address)
   332  func (_OrganisationsRelay *OrganisationsRelayCaller) OrganisationsContract(opts *bind.CallOpts) (common.Address, error) {
   333  	var (
   334  		ret0 = new(common.Address)
   335  	)
   336  	out := ret0
   337  	err := _OrganisationsRelay.contract.Call(opts, out, "organisationsContract")
   338  	return *ret0, err
   339  }
   340  
   341  // OrganisationsContract is a free data retrieval call binding the contract method 0x03a4692a.
   342  //
   343  // Solidity: function organisationsContract() constant returns(address)
   344  func (_OrganisationsRelay *OrganisationsRelaySession) OrganisationsContract() (common.Address, error) {
   345  	return _OrganisationsRelay.Contract.OrganisationsContract(&_OrganisationsRelay.CallOpts)
   346  }
   347  
   348  // OrganisationsContract is a free data retrieval call binding the contract method 0x03a4692a.
   349  //
   350  // Solidity: function organisationsContract() constant returns(address)
   351  func (_OrganisationsRelay *OrganisationsRelayCallerSession) OrganisationsContract() (common.Address, error) {
   352  	return _OrganisationsRelay.Contract.OrganisationsContract(&_OrganisationsRelay.CallOpts)
   353  }
   354  
   355  // Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
   356  //
   357  // Solidity: function owner() constant returns(address)
   358  func (_OrganisationsRelay *OrganisationsRelayCaller) Owner(opts *bind.CallOpts) (common.Address, error) {
   359  	var (
   360  		ret0 = new(common.Address)
   361  	)
   362  	out := ret0
   363  	err := _OrganisationsRelay.contract.Call(opts, out, "owner")
   364  	return *ret0, err
   365  }
   366  
   367  // Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
   368  //
   369  // Solidity: function owner() constant returns(address)
   370  func (_OrganisationsRelay *OrganisationsRelaySession) Owner() (common.Address, error) {
   371  	return _OrganisationsRelay.Contract.Owner(&_OrganisationsRelay.CallOpts)
   372  }
   373  
   374  // Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
   375  //
   376  // Solidity: function owner() constant returns(address)
   377  func (_OrganisationsRelay *OrganisationsRelayCallerSession) Owner() (common.Address, error) {
   378  	return _OrganisationsRelay.Contract.Owner(&_OrganisationsRelay.CallOpts)
   379  }
   380  
   381  // AddOrganisation is a paid mutator transaction binding the contract method 0xfe794b00.
   382  //
   383  // Solidity: function addOrganisation(string id, address organisationOwner) returns()
   384  func (_OrganisationsRelay *OrganisationsRelayTransactor) AddOrganisation(opts *bind.TransactOpts, id string, organisationOwner common.Address) (*types.Transaction, error) {
   385  	return _OrganisationsRelay.contract.Transact(opts, "addOrganisation", id, organisationOwner)
   386  }
   387  
   388  // AddOrganisation is a paid mutator transaction binding the contract method 0xfe794b00.
   389  //
   390  // Solidity: function addOrganisation(string id, address organisationOwner) returns()
   391  func (_OrganisationsRelay *OrganisationsRelaySession) AddOrganisation(id string, organisationOwner common.Address) (*types.Transaction, error) {
   392  	return _OrganisationsRelay.Contract.AddOrganisation(&_OrganisationsRelay.TransactOpts, id, organisationOwner)
   393  }
   394  
   395  // AddOrganisation is a paid mutator transaction binding the contract method 0xfe794b00.
   396  //
   397  // Solidity: function addOrganisation(string id, address organisationOwner) returns()
   398  func (_OrganisationsRelay *OrganisationsRelayTransactorSession) AddOrganisation(id string, organisationOwner common.Address) (*types.Transaction, error) {
   399  	return _OrganisationsRelay.Contract.AddOrganisation(&_OrganisationsRelay.TransactOpts, id, organisationOwner)
   400  }
   401  
   402  // ChangeOrganisationOwner is a paid mutator transaction binding the contract method 0xf26937b5.
   403  //
   404  // Solidity: function changeOrganisationOwner(string id, address organisationOwner) returns()
   405  func (_OrganisationsRelay *OrganisationsRelayTransactor) ChangeOrganisationOwner(opts *bind.TransactOpts, id string, organisationOwner common.Address) (*types.Transaction, error) {
   406  	return _OrganisationsRelay.contract.Transact(opts, "changeOrganisationOwner", id, organisationOwner)
   407  }
   408  
   409  // ChangeOrganisationOwner is a paid mutator transaction binding the contract method 0xf26937b5.
   410  //
   411  // Solidity: function changeOrganisationOwner(string id, address organisationOwner) returns()
   412  func (_OrganisationsRelay *OrganisationsRelaySession) ChangeOrganisationOwner(id string, organisationOwner common.Address) (*types.Transaction, error) {
   413  	return _OrganisationsRelay.Contract.ChangeOrganisationOwner(&_OrganisationsRelay.TransactOpts, id, organisationOwner)
   414  }
   415  
   416  // ChangeOrganisationOwner is a paid mutator transaction binding the contract method 0xf26937b5.
   417  //
   418  // Solidity: function changeOrganisationOwner(string id, address organisationOwner) returns()
   419  func (_OrganisationsRelay *OrganisationsRelayTransactorSession) ChangeOrganisationOwner(id string, organisationOwner common.Address) (*types.Transaction, error) {
   420  	return _OrganisationsRelay.Contract.ChangeOrganisationOwner(&_OrganisationsRelay.TransactOpts, id, organisationOwner)
   421  }
   422  
   423  // RemoveOrganisation is a paid mutator transaction binding the contract method 0x13ed4cb6.
   424  //
   425  // Solidity: function removeOrganisation(string id) returns()
   426  func (_OrganisationsRelay *OrganisationsRelayTransactor) RemoveOrganisation(opts *bind.TransactOpts, id string) (*types.Transaction, error) {
   427  	return _OrganisationsRelay.contract.Transact(opts, "removeOrganisation", id)
   428  }
   429  
   430  // RemoveOrganisation is a paid mutator transaction binding the contract method 0x13ed4cb6.
   431  //
   432  // Solidity: function removeOrganisation(string id) returns()
   433  func (_OrganisationsRelay *OrganisationsRelaySession) RemoveOrganisation(id string) (*types.Transaction, error) {
   434  	return _OrganisationsRelay.Contract.RemoveOrganisation(&_OrganisationsRelay.TransactOpts, id)
   435  }
   436  
   437  // RemoveOrganisation is a paid mutator transaction binding the contract method 0x13ed4cb6.
   438  //
   439  // Solidity: function removeOrganisation(string id) returns()
   440  func (_OrganisationsRelay *OrganisationsRelayTransactorSession) RemoveOrganisation(id string) (*types.Transaction, error) {
   441  	return _OrganisationsRelay.Contract.RemoveOrganisation(&_OrganisationsRelay.TransactOpts, id)
   442  }
   443  
   444  // RenameOrganisation is a paid mutator transaction binding the contract method 0xf4e1bb87.
   445  //
   446  // Solidity: function renameOrganisation(string oldId, string newId) returns()
   447  func (_OrganisationsRelay *OrganisationsRelayTransactor) RenameOrganisation(opts *bind.TransactOpts, oldId string, newId string) (*types.Transaction, error) {
   448  	return _OrganisationsRelay.contract.Transact(opts, "renameOrganisation", oldId, newId)
   449  }
   450  
   451  // RenameOrganisation is a paid mutator transaction binding the contract method 0xf4e1bb87.
   452  //
   453  // Solidity: function renameOrganisation(string oldId, string newId) returns()
   454  func (_OrganisationsRelay *OrganisationsRelaySession) RenameOrganisation(oldId string, newId string) (*types.Transaction, error) {
   455  	return _OrganisationsRelay.Contract.RenameOrganisation(&_OrganisationsRelay.TransactOpts, oldId, newId)
   456  }
   457  
   458  // RenameOrganisation is a paid mutator transaction binding the contract method 0xf4e1bb87.
   459  //
   460  // Solidity: function renameOrganisation(string oldId, string newId) returns()
   461  func (_OrganisationsRelay *OrganisationsRelayTransactorSession) RenameOrganisation(oldId string, newId string) (*types.Transaction, error) {
   462  	return _OrganisationsRelay.Contract.RenameOrganisation(&_OrganisationsRelay.TransactOpts, oldId, newId)
   463  }
   464  
   465  // SetMembers is a paid mutator transaction binding the contract method 0xd317f35f.
   466  //
   467  // Solidity: function setMembers(string id, address[] members) returns()
   468  func (_OrganisationsRelay *OrganisationsRelayTransactor) SetMembers(opts *bind.TransactOpts, id string, members []common.Address) (*types.Transaction, error) {
   469  	return _OrganisationsRelay.contract.Transact(opts, "setMembers", id, members)
   470  }
   471  
   472  // SetMembers is a paid mutator transaction binding the contract method 0xd317f35f.
   473  //
   474  // Solidity: function setMembers(string id, address[] members) returns()
   475  func (_OrganisationsRelay *OrganisationsRelaySession) SetMembers(id string, members []common.Address) (*types.Transaction, error) {
   476  	return _OrganisationsRelay.Contract.SetMembers(&_OrganisationsRelay.TransactOpts, id, members)
   477  }
   478  
   479  // SetMembers is a paid mutator transaction binding the contract method 0xd317f35f.
   480  //
   481  // Solidity: function setMembers(string id, address[] members) returns()
   482  func (_OrganisationsRelay *OrganisationsRelayTransactorSession) SetMembers(id string, members []common.Address) (*types.Transaction, error) {
   483  	return _OrganisationsRelay.Contract.SetMembers(&_OrganisationsRelay.TransactOpts, id, members)
   484  }