github.com/SmartMeshFoundation/Spectrum@v0.0.0-20220621030607-452a266fee1e/contracts/statute/meshboxlib/meshbox_0_0_2.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 meshboxlib
     5  
     6  import (
     7  	"math/big"
     8  	"strings"
     9  
    10  	"github.com/SmartMeshFoundation/Spectrum/accounts/abi"
    11  	"github.com/SmartMeshFoundation/Spectrum/accounts/abi/bind"
    12  	"github.com/SmartMeshFoundation/Spectrum/common"
    13  	"github.com/SmartMeshFoundation/Spectrum/core/types"
    14  )
    15  
    16  // MeshBox_0_0_2ABI is the input ABI used to generate the binding from.
    17  const MeshBox_0_0_2ABI = "[{\"constant\":true,\"inputs\":[],\"name\":\"getMeshboxList\",\"outputs\":[{\"name\":\"\",\"type\":\"address[]\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_owners\",\"type\":\"address[]\"}],\"name\":\"delAddress\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"existAddress\",\"outputs\":[{\"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\":false,\"inputs\":[{\"name\":\"_newOwner\",\"type\":\"address\"}],\"name\":\"changeOwner\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_owners\",\"type\":\"address[]\"},{\"name\":\"weight\",\"type\":\"uint256\"}],\"name\":\"addAddress\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"_prevOwner\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_newOwner\",\"type\":\"address\"}],\"name\":\"OwnerUpdate\",\"type\":\"event\"}]"
    18  
    19  // MeshBox_0_0_2Bin is the compiled bytecode used for deploying new contracts.
    20  const MeshBox_0_0_2Bin = `0x60018054600160a060020a031916905560c0604052600560808190527f302e302e3200000000000000000000000000000000000000000000000000000060a090815261004e9160029190610066565b5060008054600160a060020a03191633179055610101565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100a757805160ff19168380011785556100d4565b828001600101855582156100d4579182015b828111156100d45782518255916020019190600101906100b9565b506100e09291506100e4565b5090565b6100fe91905b808211156100e057600081556001016100ea565b90565b610804806101106000396000f3fe608060405234801561001057600080fd5b50600436106100a5576000357c01000000000000000000000000000000000000000000000000000000009004806380b7069d1161007857806380b7069d1461022c5780638da5cb5b14610264578063a6f9dae114610288578063ba4c18db146102ae576100a5565b80633ec7eed1146100aa5780635022edf81461010257806354fd4d50146101a757806379ba509714610224575b600080fd5b6100b2610353565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156100ee5781810151838201526020016100d6565b505050509050019250505060405180910390f35b6101a56004803603602081101561011857600080fd5b81019060208101813564010000000081111561013357600080fd5b82018360208201111561014557600080fd5b8035906020019184602083028401116401000000008311171561016757600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506103b6945050505050565b005b6101af610407565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101e95781810151838201526020016101d1565b50505050905090810190601f1680156102165780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101a5610491565b6102526004803603602081101561024257600080fd5b5035600160a060020a0316610528565b60408051918252519081900360200190f35b61026c610543565b60408051600160a060020a039092168252519081900360200190f35b6101a56004803603602081101561029e57600080fd5b5035600160a060020a0316610552565b6101a5600480360360408110156102c457600080fd5b8101906020810181356401000000008111156102df57600080fd5b8201836020820111156102f157600080fd5b8035906020019184602083028401116401000000008311171561031357600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955050913592506105b3915050565b606060048054806020026020016040519081016040528092919081815260200182805480156103ab57602002820191906000526020600020905b8154600160a060020a0316815260019091019060200180831161038d575b505050505090505b90565b600054600160a060020a031633146103cd57600080fd5b805160005b81811015610402576103fa83828151811015156103eb57fe5b90602001906020020151610696565b6001016103d2565b505050565b60028054604080516020601f60001961010060018716150201909416859004938401819004810282018101909252828152606093909290918301828280156103ab5780601f10610465576101008083540402835291602001916103ab565b820191906000526020600020905b81548152906001019060200180831161047357509395945050505050565b600154600160a060020a031633146104a857600080fd5b60005460015460408051600160a060020a03938416815292909116602083015280517f343765429aea5a34b3ff6a3785a98a5abb2597aca87bfbb58632c173d585373a9281900390910190a1600180546000805473ffffffffffffffffffffffffffffffffffffffff19908116600160a060020a03841617909155169055565b600160a060020a031660009081526003602052604090205490565b600054600160a060020a031681565b600054600160a060020a0316331461056957600080fd5b600054600160a060020a038281169116141561058457600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600054600160a060020a031633146105ca57600080fd5b815160005b8181101561069057600084828151811015156105e757fe5b6020908102909101810151600160a060020a03811660009081526003909252604090912054909150151561066e57600480546001810182556000919091527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b01805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b600160a060020a031660009081526003602052604090208390556001016105cf565b50505050565b600160a060020a03811660009081526003602052604081208190555b6004548110156107975781600160a060020a03166004828154811015156106d557fe5b600091825260209091200154600160a060020a0316141561078f57805b6004546000190181101561077557600480546001830190811061071157fe5b60009182526020909120015460048054600160a060020a03909216918390811061073757fe5b6000918252602090912001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790556001016106f2565b506004805460001992830192019061078d908261079b565b505b6001016106b2565b5050565b815481835581811115610402576000838152602090206104029181019083016103b391905b808211156107d457600081556001016107c0565b509056fea165627a7a723058209e3a10e2851ac0833bead3b88d1d6a611e324b8d6f40c0e7f2562596c37d3b230029`
    21  
    22  // DeployMeshBox_0_0_2 deploys a new Ethereum contract, binding an instance of MeshBox_0_0_2 to it.
    23  func DeployMeshBox_0_0_2(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *MeshBox_0_0_2, error) {
    24  	parsed, err := abi.JSON(strings.NewReader(MeshBox_0_0_2ABI))
    25  	if err != nil {
    26  		return common.Address{}, nil, nil, err
    27  	}
    28  	address, tx, contract, err := bind.DeployContract(auth, parsed, common.FromHex(MeshBox_0_0_2Bin), backend)
    29  	if err != nil {
    30  		return common.Address{}, nil, nil, err
    31  	}
    32  	return address, tx, &MeshBox_0_0_2{MeshBox_0_0_2Caller: MeshBox_0_0_2Caller{contract: contract}, MeshBox_0_0_2Transactor: MeshBox_0_0_2Transactor{contract: contract}}, nil
    33  }
    34  
    35  // MeshBox_0_0_2 is an auto generated Go binding around an Ethereum contract.
    36  type MeshBox_0_0_2 struct {
    37  	MeshBox_0_0_2Caller     // Read-only binding to the contract
    38  	MeshBox_0_0_2Transactor // Write-only binding to the contract
    39  }
    40  
    41  // MeshBox_0_0_2Caller is an auto generated read-only Go binding around an Ethereum contract.
    42  type MeshBox_0_0_2Caller struct {
    43  	contract *bind.BoundContract // Generic contract wrapper for the low level calls
    44  }
    45  
    46  // MeshBox_0_0_2Transactor is an auto generated write-only Go binding around an Ethereum contract.
    47  type MeshBox_0_0_2Transactor struct {
    48  	contract *bind.BoundContract // Generic contract wrapper for the low level calls
    49  }
    50  
    51  // MeshBox_0_0_2Session is an auto generated Go binding around an Ethereum contract,
    52  // with pre-set call and transact options.
    53  type MeshBox_0_0_2Session struct {
    54  	Contract     *MeshBox_0_0_2          // Generic contract binding to set the session for
    55  	CallOpts     bind.CallOptsWithNumber // Call options to use throughout this session
    56  	TransactOpts bind.TransactOpts       // Transaction auth options to use throughout this session
    57  }
    58  
    59  // MeshBox_0_0_2CallerSession is an auto generated read-only Go binding around an Ethereum contract,
    60  // with pre-set call options.
    61  type MeshBox_0_0_2CallerSession struct {
    62  	Contract *MeshBox_0_0_2Caller    // Generic contract caller binding to set the session for
    63  	CallOpts bind.CallOptsWithNumber // Call options to use throughout this session
    64  }
    65  
    66  // MeshBox_0_0_2TransactorSession is an auto generated write-only Go binding around an Ethereum contract,
    67  // with pre-set transact options.
    68  type MeshBox_0_0_2TransactorSession struct {
    69  	Contract     *MeshBox_0_0_2Transactor // Generic contract transactor binding to set the session for
    70  	TransactOpts bind.TransactOpts        // Transaction auth options to use throughout this session
    71  }
    72  
    73  // MeshBox_0_0_2Raw is an auto generated low-level Go binding around an Ethereum contract.
    74  type MeshBox_0_0_2Raw struct {
    75  	Contract *MeshBox_0_0_2 // Generic contract binding to access the raw methods on
    76  }
    77  
    78  // MeshBox_0_0_2CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
    79  type MeshBox_0_0_2CallerRaw struct {
    80  	Contract *MeshBox_0_0_2Caller // Generic read-only contract binding to access the raw methods on
    81  }
    82  
    83  // MeshBox_0_0_2TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
    84  type MeshBox_0_0_2TransactorRaw struct {
    85  	Contract *MeshBox_0_0_2Transactor // Generic write-only contract binding to access the raw methods on
    86  }
    87  
    88  // NewMeshBox_0_0_2 creates a new instance of MeshBox_0_0_2, bound to a specific deployed contract.
    89  func NewMeshBox_0_0_2(address common.Address, backend bind.ContractBackend) (*MeshBox_0_0_2, error) {
    90  	contract, err := bindMeshBox_0_0_2(address, backend, backend)
    91  	if err != nil {
    92  		return nil, err
    93  	}
    94  	return &MeshBox_0_0_2{MeshBox_0_0_2Caller: MeshBox_0_0_2Caller{contract: contract}, MeshBox_0_0_2Transactor: MeshBox_0_0_2Transactor{contract: contract}}, nil
    95  }
    96  
    97  // NewMeshBox_0_0_2Caller creates a new read-only instance of MeshBox_0_0_2, bound to a specific deployed contract.
    98  func NewMeshBox_0_0_2Caller(address common.Address, caller bind.ContractCaller) (*MeshBox_0_0_2Caller, error) {
    99  	contract, err := bindMeshBox_0_0_2(address, caller, nil)
   100  	if err != nil {
   101  		return nil, err
   102  	}
   103  	return &MeshBox_0_0_2Caller{contract: contract}, nil
   104  }
   105  
   106  // NewMeshBox_0_0_2Transactor creates a new write-only instance of MeshBox_0_0_2, bound to a specific deployed contract.
   107  func NewMeshBox_0_0_2Transactor(address common.Address, transactor bind.ContractTransactor) (*MeshBox_0_0_2Transactor, error) {
   108  	contract, err := bindMeshBox_0_0_2(address, nil, transactor)
   109  	if err != nil {
   110  		return nil, err
   111  	}
   112  	return &MeshBox_0_0_2Transactor{contract: contract}, nil
   113  }
   114  
   115  // bindMeshBox_0_0_2 binds a generic wrapper to an already deployed contract.
   116  func bindMeshBox_0_0_2(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor) (*bind.BoundContract, error) {
   117  	parsed, err := abi.JSON(strings.NewReader(MeshBox_0_0_2ABI))
   118  	if err != nil {
   119  		return nil, err
   120  	}
   121  	return bind.NewBoundContract(address, parsed, caller, transactor), nil
   122  }
   123  
   124  // Call invokes the (constant) contract method with params as input values and
   125  // sets the output to result. The result type might be a single field for simple
   126  // returns, a slice of interfaces for anonymous returns and a struct for named
   127  // returns.
   128  func (_MeshBox_0_0_2 *MeshBox_0_0_2Raw) CallWithNumber(opts *bind.CallOptsWithNumber, result interface{}, method string, params ...interface{}) error {
   129  	return _MeshBox_0_0_2.Contract.MeshBox_0_0_2Caller.contract.CallWithNumber(opts, result, method, params...)
   130  }
   131  
   132  // Transfer initiates a plain transaction to move funds to the contract, calling
   133  // its default method if one is available.
   134  func (_MeshBox_0_0_2 *MeshBox_0_0_2Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
   135  	return _MeshBox_0_0_2.Contract.MeshBox_0_0_2Transactor.contract.Transfer(opts)
   136  }
   137  
   138  // Transact invokes the (paid) contract method with params as input values.
   139  func (_MeshBox_0_0_2 *MeshBox_0_0_2Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
   140  	return _MeshBox_0_0_2.Contract.MeshBox_0_0_2Transactor.contract.Transact(opts, method, params...)
   141  }
   142  
   143  // Call invokes the (constant) contract method with params as input values and
   144  // sets the output to result. The result type might be a single field for simple
   145  // returns, a slice of interfaces for anonymous returns and a struct for named
   146  // returns.
   147  func (_MeshBox_0_0_2 *MeshBox_0_0_2CallerRaw) CallWithNumber(opts *bind.CallOptsWithNumber, result interface{}, method string, params ...interface{}) error {
   148  	return _MeshBox_0_0_2.Contract.contract.CallWithNumber(opts, result, method, params...)
   149  }
   150  
   151  // Transfer initiates a plain transaction to move funds to the contract, calling
   152  // its default method if one is available.
   153  func (_MeshBox_0_0_2 *MeshBox_0_0_2TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
   154  	return _MeshBox_0_0_2.Contract.contract.Transfer(opts)
   155  }
   156  
   157  // Transact invokes the (paid) contract method with params as input values.
   158  func (_MeshBox_0_0_2 *MeshBox_0_0_2TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
   159  	return _MeshBox_0_0_2.Contract.contract.Transact(opts, method, params...)
   160  }
   161  
   162  // ExistAddress is a free data retrieval call binding the contract method 0x80b7069d.
   163  //
   164  // Solidity: function existAddress(_owner address) constant returns(uint256)
   165  func (_MeshBox_0_0_2 *MeshBox_0_0_2Caller) ExistAddress(opts *bind.CallOptsWithNumber, _owner common.Address) (*big.Int, error) {
   166  	var (
   167  		ret0 = new(*big.Int)
   168  	)
   169  	out := ret0
   170  	err := _MeshBox_0_0_2.contract.CallWithNumber(opts, out, "existAddress", _owner)
   171  	return *ret0, err
   172  }
   173  
   174  // ExistAddress is a free data retrieval call binding the contract method 0x80b7069d.
   175  //
   176  // Solidity: function existAddress(_owner address) constant returns(uint256)
   177  func (_MeshBox_0_0_2 *MeshBox_0_0_2Session) ExistAddress(_owner common.Address) (*big.Int, error) {
   178  	return _MeshBox_0_0_2.Contract.ExistAddress(&_MeshBox_0_0_2.CallOpts, _owner)
   179  }
   180  
   181  // ExistAddress is a free data retrieval call binding the contract method 0x80b7069d.
   182  //
   183  // Solidity: function existAddress(_owner address) constant returns(uint256)
   184  func (_MeshBox_0_0_2 *MeshBox_0_0_2CallerSession) ExistAddress(_owner common.Address) (*big.Int, error) {
   185  	return _MeshBox_0_0_2.Contract.ExistAddress(&_MeshBox_0_0_2.CallOpts, _owner)
   186  }
   187  
   188  // GetMeshboxList is a free data retrieval call binding the contract method 0x3ec7eed1.
   189  //
   190  // Solidity: function getMeshboxList() constant returns(address[])
   191  func (_MeshBox_0_0_2 *MeshBox_0_0_2Caller) GetMeshboxList(opts *bind.CallOptsWithNumber) ([]common.Address, error) {
   192  	var (
   193  		ret0 = new([]common.Address)
   194  	)
   195  	out := ret0
   196  	err := _MeshBox_0_0_2.contract.CallWithNumber(opts, out, "getMeshboxList")
   197  	return *ret0, err
   198  }
   199  
   200  // GetMeshboxList is a free data retrieval call binding the contract method 0x3ec7eed1.
   201  //
   202  // Solidity: function getMeshboxList() constant returns(address[])
   203  func (_MeshBox_0_0_2 *MeshBox_0_0_2Session) GetMeshboxList() ([]common.Address, error) {
   204  	return _MeshBox_0_0_2.Contract.GetMeshboxList(&_MeshBox_0_0_2.CallOpts)
   205  }
   206  
   207  // GetMeshboxList is a free data retrieval call binding the contract method 0x3ec7eed1.
   208  //
   209  // Solidity: function getMeshboxList() constant returns(address[])
   210  func (_MeshBox_0_0_2 *MeshBox_0_0_2CallerSession) GetMeshboxList() ([]common.Address, error) {
   211  	return _MeshBox_0_0_2.Contract.GetMeshboxList(&_MeshBox_0_0_2.CallOpts)
   212  }
   213  
   214  // Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
   215  //
   216  // Solidity: function owner() constant returns(address)
   217  func (_MeshBox_0_0_2 *MeshBox_0_0_2Caller) Owner(opts *bind.CallOptsWithNumber) (common.Address, error) {
   218  	var (
   219  		ret0 = new(common.Address)
   220  	)
   221  	out := ret0
   222  	err := _MeshBox_0_0_2.contract.CallWithNumber(opts, out, "owner")
   223  	return *ret0, err
   224  }
   225  
   226  // Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
   227  //
   228  // Solidity: function owner() constant returns(address)
   229  func (_MeshBox_0_0_2 *MeshBox_0_0_2Session) Owner() (common.Address, error) {
   230  	return _MeshBox_0_0_2.Contract.Owner(&_MeshBox_0_0_2.CallOpts)
   231  }
   232  
   233  // Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
   234  //
   235  // Solidity: function owner() constant returns(address)
   236  func (_MeshBox_0_0_2 *MeshBox_0_0_2CallerSession) Owner() (common.Address, error) {
   237  	return _MeshBox_0_0_2.Contract.Owner(&_MeshBox_0_0_2.CallOpts)
   238  }
   239  
   240  // Version is a free data retrieval call binding the contract method 0x54fd4d50.
   241  //
   242  // Solidity: function version() constant returns(string)
   243  func (_MeshBox_0_0_2 *MeshBox_0_0_2Caller) Version(opts *bind.CallOptsWithNumber) (string, error) {
   244  	var (
   245  		ret0 = new(string)
   246  	)
   247  	out := ret0
   248  	err := _MeshBox_0_0_2.contract.CallWithNumber(opts, out, "version")
   249  	return *ret0, err
   250  }
   251  
   252  // Version is a free data retrieval call binding the contract method 0x54fd4d50.
   253  //
   254  // Solidity: function version() constant returns(string)
   255  func (_MeshBox_0_0_2 *MeshBox_0_0_2Session) Version() (string, error) {
   256  	return _MeshBox_0_0_2.Contract.Version(&_MeshBox_0_0_2.CallOpts)
   257  }
   258  
   259  // Version is a free data retrieval call binding the contract method 0x54fd4d50.
   260  //
   261  // Solidity: function version() constant returns(string)
   262  func (_MeshBox_0_0_2 *MeshBox_0_0_2CallerSession) Version() (string, error) {
   263  	return _MeshBox_0_0_2.Contract.Version(&_MeshBox_0_0_2.CallOpts)
   264  }
   265  
   266  // AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
   267  //
   268  // Solidity: function acceptOwnership() returns()
   269  func (_MeshBox_0_0_2 *MeshBox_0_0_2Transactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error) {
   270  	return _MeshBox_0_0_2.contract.Transact(opts, "acceptOwnership")
   271  }
   272  
   273  // AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
   274  //
   275  // Solidity: function acceptOwnership() returns()
   276  func (_MeshBox_0_0_2 *MeshBox_0_0_2Session) AcceptOwnership() (*types.Transaction, error) {
   277  	return _MeshBox_0_0_2.Contract.AcceptOwnership(&_MeshBox_0_0_2.TransactOpts)
   278  }
   279  
   280  // AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
   281  //
   282  // Solidity: function acceptOwnership() returns()
   283  func (_MeshBox_0_0_2 *MeshBox_0_0_2TransactorSession) AcceptOwnership() (*types.Transaction, error) {
   284  	return _MeshBox_0_0_2.Contract.AcceptOwnership(&_MeshBox_0_0_2.TransactOpts)
   285  }
   286  
   287  // AddAddress is a paid mutator transaction binding the contract method 0xba4c18db.
   288  //
   289  // Solidity: function addAddress(_owners address[], weight uint256) returns()
   290  func (_MeshBox_0_0_2 *MeshBox_0_0_2Transactor) AddAddress(opts *bind.TransactOpts, _owners []common.Address, weight *big.Int) (*types.Transaction, error) {
   291  	return _MeshBox_0_0_2.contract.Transact(opts, "addAddress", _owners, weight)
   292  }
   293  
   294  // AddAddress is a paid mutator transaction binding the contract method 0xba4c18db.
   295  //
   296  // Solidity: function addAddress(_owners address[], weight uint256) returns()
   297  func (_MeshBox_0_0_2 *MeshBox_0_0_2Session) AddAddress(_owners []common.Address, weight *big.Int) (*types.Transaction, error) {
   298  	return _MeshBox_0_0_2.Contract.AddAddress(&_MeshBox_0_0_2.TransactOpts, _owners, weight)
   299  }
   300  
   301  // AddAddress is a paid mutator transaction binding the contract method 0xba4c18db.
   302  //
   303  // Solidity: function addAddress(_owners address[], weight uint256) returns()
   304  func (_MeshBox_0_0_2 *MeshBox_0_0_2TransactorSession) AddAddress(_owners []common.Address, weight *big.Int) (*types.Transaction, error) {
   305  	return _MeshBox_0_0_2.Contract.AddAddress(&_MeshBox_0_0_2.TransactOpts, _owners, weight)
   306  }
   307  
   308  // ChangeOwner is a paid mutator transaction binding the contract method 0xa6f9dae1.
   309  //
   310  // Solidity: function changeOwner(_newOwner address) returns()
   311  func (_MeshBox_0_0_2 *MeshBox_0_0_2Transactor) ChangeOwner(opts *bind.TransactOpts, _newOwner common.Address) (*types.Transaction, error) {
   312  	return _MeshBox_0_0_2.contract.Transact(opts, "changeOwner", _newOwner)
   313  }
   314  
   315  // ChangeOwner is a paid mutator transaction binding the contract method 0xa6f9dae1.
   316  //
   317  // Solidity: function changeOwner(_newOwner address) returns()
   318  func (_MeshBox_0_0_2 *MeshBox_0_0_2Session) ChangeOwner(_newOwner common.Address) (*types.Transaction, error) {
   319  	return _MeshBox_0_0_2.Contract.ChangeOwner(&_MeshBox_0_0_2.TransactOpts, _newOwner)
   320  }
   321  
   322  // ChangeOwner is a paid mutator transaction binding the contract method 0xa6f9dae1.
   323  //
   324  // Solidity: function changeOwner(_newOwner address) returns()
   325  func (_MeshBox_0_0_2 *MeshBox_0_0_2TransactorSession) ChangeOwner(_newOwner common.Address) (*types.Transaction, error) {
   326  	return _MeshBox_0_0_2.Contract.ChangeOwner(&_MeshBox_0_0_2.TransactOpts, _newOwner)
   327  }
   328  
   329  // DelAddress is a paid mutator transaction binding the contract method 0x5022edf8.
   330  //
   331  // Solidity: function delAddress(_owners address[]) returns()
   332  func (_MeshBox_0_0_2 *MeshBox_0_0_2Transactor) DelAddress(opts *bind.TransactOpts, _owners []common.Address) (*types.Transaction, error) {
   333  	return _MeshBox_0_0_2.contract.Transact(opts, "delAddress", _owners)
   334  }
   335  
   336  // DelAddress is a paid mutator transaction binding the contract method 0x5022edf8.
   337  //
   338  // Solidity: function delAddress(_owners address[]) returns()
   339  func (_MeshBox_0_0_2 *MeshBox_0_0_2Session) DelAddress(_owners []common.Address) (*types.Transaction, error) {
   340  	return _MeshBox_0_0_2.Contract.DelAddress(&_MeshBox_0_0_2.TransactOpts, _owners)
   341  }
   342  
   343  // DelAddress is a paid mutator transaction binding the contract method 0x5022edf8.
   344  //
   345  // Solidity: function delAddress(_owners address[]) returns()
   346  func (_MeshBox_0_0_2 *MeshBox_0_0_2TransactorSession) DelAddress(_owners []common.Address) (*types.Transaction, error) {
   347  	return _MeshBox_0_0_2.Contract.DelAddress(&_MeshBox_0_0_2.TransactOpts, _owners)
   348  }