github.com/SmartMeshFoundation/Spectrum@v0.0.0-20220621030607-452a266fee1e/contracts/chief/lib/chief_0.0.6.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 chieflib
     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  // TribeChief_0_0_6ABI is the input ABI used to generate the binding from.
    17  const TribeChief_0_0_6ABI = "[{\"constant\":false,\"inputs\":[{\"name\":\"volunteer\",\"type\":\"address\"}],\"name\":\"update\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"volunteers\",\"type\":\"address[]\"}],\"name\":\"filterVolunteer\",\"outputs\":[{\"name\":\"result\",\"type\":\"uint256[]\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getStatus\",\"outputs\":[{\"name\":\"signerList\",\"type\":\"address[]\"},{\"name\":\"blackList\",\"type\":\"address[]\"},{\"name\":\"scoreList\",\"type\":\"uint256[]\"},{\"name\":\"numberList\",\"type\":\"uint256[]\"},{\"name\":\"totalVolunteer\",\"type\":\"uint256\"},{\"name\":\"number\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getEpoch\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getVolunteerLimit\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getVolunteers\",\"outputs\":[{\"name\":\"volunteerList\",\"type\":\"address[]\"},{\"name\":\"weightList\",\"type\":\"uint256[]\"},{\"name\":\"length\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getSignerLimit\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"name\":\"genesisSigners\",\"type\":\"address[]\"},{\"name\":\"_epoch\",\"type\":\"uint256\"},{\"name\":\"_signerLimit\",\"type\":\"uint256\"},{\"name\":\"_volunteerLimit\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"}]"
    18  
    19  // TribeChief_0_0_6Bin is the compiled bytecode used for deploying new contracts.
    20  const TribeChief_0_0_6Bin = `0x606060405260408051908101604052600581527f302e302e36000000000000000000000000000000000000000000000000000000602082015260009080516200004d929160200190620002ce565b5061181b60015560116002556104d260035534156200006b57600080fd5b60405162001a5f38038062001a5f83398101604052808051820191906020018051919060200180519190602001805191506000905080808080871115620000b25760018790555b6000861115620000c25760028690555b6000851115620000d25760038590555b60068054600160a060020a03191633600160a060020a0316179055875193506000841115620001b757600092505b83831015620001b1578783815181106200011657fe5b90602001906020020151600160a060020a0381166000908152600460205260409020805460ff1916600190811790915560078054929450919081016200015d838262000353565b5060009182526020909120018054600160a060020a031916600160a060020a038416179055821515620001a557620001a58260036401000000006200114d6200026882021704565b60019092019162000100565b6200025a565b50734110bd1ff0b73fa12c259acf39c950277f266787600081905260046020527f052387a23a063359ef51016da56c6ef818568f4a38e27c2728fda35f7b8ae85e805460ff1916600190811790915560078054909181016200021a838262000353565b5060009182526020909120018054600160a060020a031916600160a060020a0383161790556200025a8160036401000000006200026881026200114d1704565b50505050505050506200039f565b6002546008541015620002ca57600880546001810162000289838262000353565b5060009182526020808320919091018054600160a060020a031916600160a060020a0386169081179091558252600b90526040902081815543600191909101555b5050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200031157805160ff191683800117855562000341565b8280016001018555821562000341579182015b828111156200034157825182559160200191906001019062000324565b506200034f9291506200037f565b5090565b8154818355818115116200037a576000838152602090206200037a9181019083016200037f565b505050565b6200039c91905b808211156200034f576000815560010162000386565b90565b6116b080620003af6000396000f30060606040526004361061008d5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631c1b8772811461009257806320c1a518146100b35780634e69d5601461015557806354fd4d5014610299578063757991a814610323578063961c5c7a14610348578063d7ca4a1c1461035b578063eb5c00111461040e575b600080fd5b341561009d57600080fd5b6100b1600160a060020a0360043516610421565b005b34156100be57600080fd5b61010260046024813581810190830135806020818102016040519081016040528093929190818152602001838360200280828437509496506104d895505050505050565b60405160208082528190810183818151815260200191508051906020019060200280838360005b83811015610141578082015183820152602001610129565b505050509050019250505060405180910390f35b341561016057600080fd5b6101686105eb565b604051808060200180602001806020018060200187815260200186815260200185810385528b818151815260200191508051906020019060200280838360005b838110156101c05780820151838201526020016101a8565b5050505090500185810384528a818151815260200191508051906020019060200280838360005b838110156101ff5780820151838201526020016101e7565b50505050905001858103835289818151815260200191508051906020019060200280838360005b8381101561023e578082015183820152602001610226565b50505050905001858103825288818151815260200191508051906020019060200280838360005b8381101561027d578082015183820152602001610265565b505050509050019a505050505050505050505060405180910390f35b34156102a457600080fd5b6102ac6107df565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156102e85780820151838201526020016102d0565b50505050905090810190601f1680156103155780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561032e57600080fd5b610336610888565b60405190815260200160405180910390f35b341561035357600080fd5b61033661088e565b341561036657600080fd5b61036e610894565b604051808060200180602001848152602001838103835286818151815260200191508051906020019060200280838360005b838110156103b85780820151838201526020016103a0565b50505050905001838103825285818151815260200191508051906020019060200280838360005b838110156103f75780820151838201526020016103df565b505050509050019550505050505060405180910390f35b341561041957600080fd5b610336610998565b33600160a060020a038116151561043757600080fd5b600160a060020a0381166000908152600b60205260408120541161045a57600080fd5b4360058190556001549011801561047e575060015460055481151561047b57fe5b06155b1561048b5761048b61099e565b600160a060020a038216156104a5576104a58260056109f8565b60025460085410806104ba5750600854600954105b156104cc576104c7610bc2565b6104d4565b6104d4610d45565b5050565b6104e0611616565b60008083516040518059106104f25750595b90808252806020026020018201604052506003546009549194509010156105e457600091505b83518210156105e45783828151811061052d57fe5b90602001906020020151600160a060020a0381166000908152600c60205260409020600101549091501580156105795750600160a060020a0381166000908152600d6020526040902054155b801561059e5750600160a060020a0381166000908152600b6020526040902060010154155b156105c05760018383815181106105b157fe5b602090810290910101526105d9565b60008383815181106105ce57fe5b602090810290910101525b600190910190610518565b5050919050565b6105f3611616565b6105fb611616565b610603611616565b61060b611616565b60008060006008805490506040518059106106235750595b90808252806020026020018201604052506008549095506040518059106106475750595b90808252806020026020018201604052509350600090505b60085481101561071157600b600060088381548110151561067c57fe5b6000918252602080832090910154600160a060020a031683528201929092526040019020548582815181106106ad57fe5b6020908102909101015260088054600b91600091849081106106cb57fe5b6000918252602080832090910154600160a060020a031683528201929092526040019020600101548482815181106106ff57fe5b6020908102909101015260010161065f565b600954600a80549194509060208082020160405190810160405280929190818152602001828054801561076d57602002820191906000526020600020905b8154600160a060020a0316815260019091019060200180831161074f575b5050505050955060088054806020026020016040519081016040528092919081815260200182805480156107ca57602002820191906000526020600020905b8154600160a060020a031681526001909101906020018083116107ac575b50505050509650600554915050909192939495565b6107e7611616565b60008054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561087d5780601f106108525761010080835404028352916020019161087d565b820191906000526020600020905b81548152906001019060200180831161086057829003601f168201915b505050505090505b90565b60015490565b60035490565b61089c611616565b6108a4611616565b60095460009081906040518059106108b95750595b90808252806020026020018201604052509250600980548060200260200160405190810160405280929190818152602001828054801561092257602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311610904575b50505050509350600090505b60095481101561098e57600c600060098381548110151561094b57fe5b6000918252602080832090910154600160a060020a0316835282019290925260400190205483828151811061097c57fe5b6020908102909101015260010161092e565b8351915050909192565b60025490565b600a5460005b818110156109ec57600d6000600a838154811015156109bf57fe5b6000918252602080832090910154600160a060020a031683528201929092526040018120556001016109a4565b6104d4600a6000611628565b6000811515610a6c576009546000901115610a5e575060005b600954811015610a5e576009805482908110610a2957fe5b600091825260209091200154600160a060020a0384811691161415610a5657610a5181610e1c565b610a5e565b600101610a11565b610a6783610ef6565b610bbd565b600160a060020a03831660009081526004602052604090205460ff16158015610a955750816005145b8015610aa45750600354600954105b8015610ac95750600160a060020a0383166000908152600c6020526040902060010154155b8015610aeb5750600160a060020a0383166000908152600d6020526040902054155b8015610b105750600160a060020a0383166000908152600b6020526040902060010154155b15610b6c576009805460018101610b278382611646565b5060009182526020808320919091018054600160a060020a031916600160a060020a0387169081179091558252600c9052604090208281554360019190910155610bbd565b600582108015610b955750600160a060020a0383166000908152600c6020526040812060010154115b15610bbd57600160a060020a0383166000908152600c60205260409020828155436001909101555b505050565b600080610bcd610f77565b600854600554811515610bdc57fe5b06915060046000600884815481101515610bf257fe5b6000918252602080832090910154600160a060020a0316835282019290925260400190205460ff161515610ce757600b6000600884815481101515610c3357fe5b6000918252602080832090910154600160a060020a031683528201929092526040019020600880549192509083908110610c6957fe5b60009182526020909120015433600160a060020a03908116911614610ce25780546001901115610ca85780546000190181556005546001820155610cdd565b610cd4600883815481101515610cba57fe5b6000918252602082200154600160a060020a0316906109f8565b610cdd82611079565b610ce7565b600381555b600254600854108015610cfd5750600954600090115b156104d45760098054610d3591906000198101908110610d1957fe5b600091825260209091200154600160a060020a0316600361114d565b6009546104d49060001901610e1c565b60085460055460009081908390811515610d5b57fe5b069150600882815481101515610d6d57fe5b6000918252602082200154600160a060020a03169150821115610e095780600160a060020a031633600160a060020a0316141515610e0957610db08160006109f8565b600160a060020a0381166000908152600b602052604081208181556001018190556008805484908110610ddf57fe5b60009182526020909120018054600160a060020a031916600160a060020a03929092169190911790555b60018303821415610bbd57610bbd6111b0565b600954600081831015610bbd57600c6000600985815481101515610e3c57fe5b6000918252602080832090910154600160a060020a0316835282019290925260400181208181556001015550815b60018203811015610edd576009805460018301908110610e8657fe5b60009182526020909120015460098054600160a060020a039092169183908110610eac57fe5b60009182526020909120018054600160a060020a031916600160a060020a0392909216919091179055600101610e6a565b600980546000190190610ef09082611646565b50505050565b600160a060020a03811615801590610f245750600160a060020a0381166000908152600d6020526040902054155b15610f7457600a805460018101610f3b8382611646565b5060009182526020808320919091018054600160a060020a031916600160a060020a0385169081179091558252600d9052604090204390555b50565b60008080805b600854841015610fd057600880546000919086908110610f9957fe5b600091825260209091200154600160a060020a03161415610fc557610fbd84611079565b600019909301925b600190930192610f7d565b600092505b600854831015610ef0576008805484908110610fed57fe5b6000918252602080832090910154600160a060020a0316808352600c9091526040822060010154909350111561106e575060005b60095481101561106e57600980548290811061103957fe5b600091825260209091200154600160a060020a03838116911614156110665761106181610e1c565b61106e565b600101611021565b600190920191610fd5565b600854600081831015610bbd57600b600060088581548110151561109957fe5b6000918252602080832090910154600160a060020a0316835282019290925260400181208181556001015550815b6001820381101561113a5760088054600183019081106110e357fe5b60009182526020909120015460088054600160a060020a03909216918390811061110957fe5b60009182526020909120018054600160a060020a031916600160a060020a03929092169190911790556001016110c7565b600880546000190190610ef09082611646565b60025460085410156104d457600880546001810161116b8382611646565b5060009182526020808320919091018054600160a060020a038616600160a060020a031990911681179091558252600b90526040902081815543600191909101555050565b60006111ba611616565b60008060008060006111ca611616565b600080600080600860008154811015156111e057fe5b600091825260209091200154600854600160a060020a039091169c506040518059106112095750595b90808252806020026020018201604052509a50600099505b8a518a101561127b57600880548b90811061123857fe5b600091825260209091200154600160a060020a03168b8b8151811061125957fe5b600160a060020a03909216602092830290910190910152600190990198611221565b8a5198505b600089111561132b5760018903975061129888611079565b8a88815181106112a457fe5b9060200190602002015196506000881180156112c85750600160a060020a03871615155b1561131f57600160a060020a0387166000908152600c602052604090205415156112f7576112f78760056109f8565b600160a060020a0387166000908152600c602052604090205461131f908890600019016109f8565b60001990980197611280565b600160a060020a038c1660009081526004602052604090205460ff1680156113565750600754600190115b156113ee57600095505b6007548610156113e9578b600160a060020a031660078781548110151561138357fe5b600091825260209091200154600160a060020a031614156113de57600754600019018614156113c4576113bf60076000815481101515610d1957fe5b6113d9565b6113d9600787600101815481101515610d1957fe5b6113e9565b600190950194611360565b611401565b61140160076000815481101515610d1957fe5b6002546040518059106114115750595b9080825280602002602001820160405250945060009350600092505b6009548310156114cc576002548410611445576114cc565b61147b60098481548110151561145757fe5b600091825260209091200154600954600160a060020a03909116906000190161155d565b915061148785836115c4565b15611491576114c1565b6114a3600983815481101515610d1957fe5b818585815181106114b057fe5b602090810290910101526001909301925b60019092019161142d565b60025484101561154f575060005b60095481101561154f57600b60006009838154811015156114f757fe5b6000918252602080832090910154600160a060020a03168352820192909252604001902060010154151561153757611537600982815481101515610d1957fe5b600254600854106115475761154f565b6001016114da565b505050505050505050505050565b60008080831161157057600091506115bd565b834442604051600160a060020a03939093166c0100000000000000000000000002835260148301919091526034820152605401604051908190039020905082818115156115b957fe5b0691505b5092915050565b60008060008451111561160c575060005b835181101561160c57828482815181106115eb57fe5b90602001906020020151141561160457600191506115bd565b6001016115d5565b5060009392505050565b60206040519081016040526000815290565b5080546000825590600052602060002090810190610f749190611666565b815481835581811511610bbd57600083815260209020610bbd9181019083015b61088591905b80821115611680576000815560010161166c565b50905600a165627a7a723058203ead93035f3b3bf0e6ab0a6ce22c95865da40e560807c47725e4d7dfdd2659aa0029`
    21  
    22  // DeployTribeChief_0_0_6 deploys a new Ethereum contract, binding an instance of TribeChief_0_0_6 to it.
    23  func DeployTribeChief_0_0_6(auth *bind.TransactOpts, backend bind.ContractBackend, genesisSigners []common.Address, _epoch *big.Int, _signerLimit *big.Int, _volunteerLimit *big.Int) (common.Address, *types.Transaction, *TribeChief_0_0_6, error) {
    24  	parsed, err := abi.JSON(strings.NewReader(TribeChief_0_0_6ABI))
    25  	if err != nil {
    26  		return common.Address{}, nil, nil, err
    27  	}
    28  	address, tx, contract, err := bind.DeployContract(auth, parsed, common.FromHex(TribeChief_0_0_6Bin), backend, genesisSigners, _epoch, _signerLimit, _volunteerLimit)
    29  	if err != nil {
    30  		return common.Address{}, nil, nil, err
    31  	}
    32  	return address, tx, &TribeChief_0_0_6{TribeChief_0_0_6Caller: TribeChief_0_0_6Caller{contract: contract}, TribeChief_0_0_6Transactor: TribeChief_0_0_6Transactor{contract: contract}}, nil
    33  }
    34  
    35  // TribeChief_0_0_6 is an auto generated Go binding around an Ethereum contract.
    36  type TribeChief_0_0_6 struct {
    37  	TribeChief_0_0_6Caller     // Read-only binding to the contract
    38  	TribeChief_0_0_6Transactor // Write-only binding to the contract
    39  }
    40  
    41  // TribeChief_0_0_6Caller is an auto generated read-only Go binding around an Ethereum contract.
    42  type TribeChief_0_0_6Caller struct {
    43  	contract *bind.BoundContract // Generic contract wrapper for the low level calls
    44  }
    45  
    46  // TribeChief_0_0_6Transactor is an auto generated write-only Go binding around an Ethereum contract.
    47  type TribeChief_0_0_6Transactor struct {
    48  	contract *bind.BoundContract // Generic contract wrapper for the low level calls
    49  }
    50  
    51  // TribeChief_0_0_6Session is an auto generated Go binding around an Ethereum contract,
    52  // with pre-set call and transact options.
    53  type TribeChief_0_0_6Session struct {
    54  	Contract     *TribeChief_0_0_6       // 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  // TribeChief_0_0_6CallerSession is an auto generated read-only Go binding around an Ethereum contract,
    60  // with pre-set call options.
    61  type TribeChief_0_0_6CallerSession struct {
    62  	Contract *TribeChief_0_0_6Caller // Generic contract caller binding to set the session for
    63  	CallOpts bind.CallOptsWithNumber // Call options to use throughout this session
    64  }
    65  
    66  // TribeChief_0_0_6TransactorSession is an auto generated write-only Go binding around an Ethereum contract,
    67  // with pre-set transact options.
    68  type TribeChief_0_0_6TransactorSession struct {
    69  	Contract     *TribeChief_0_0_6Transactor // Generic contract transactor binding to set the session for
    70  	TransactOpts bind.TransactOpts           // Transaction auth options to use throughout this session
    71  }
    72  
    73  // TribeChief_0_0_6Raw is an auto generated low-level Go binding around an Ethereum contract.
    74  type TribeChief_0_0_6Raw struct {
    75  	Contract *TribeChief_0_0_6 // Generic contract binding to access the raw methods on
    76  }
    77  
    78  // TribeChief_0_0_6CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
    79  type TribeChief_0_0_6CallerRaw struct {
    80  	Contract *TribeChief_0_0_6Caller // Generic read-only contract binding to access the raw methods on
    81  }
    82  
    83  // TribeChief_0_0_6TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
    84  type TribeChief_0_0_6TransactorRaw struct {
    85  	Contract *TribeChief_0_0_6Transactor // Generic write-only contract binding to access the raw methods on
    86  }
    87  
    88  // NewTribeChief_0_0_6 creates a new instance of TribeChief_0_0_6, bound to a specific deployed contract.
    89  func NewTribeChief_0_0_6(address common.Address, backend bind.ContractBackend) (*TribeChief_0_0_6, error) {
    90  	contract, err := bindTribeChief_0_0_6(address, backend, backend)
    91  	if err != nil {
    92  		return nil, err
    93  	}
    94  	return &TribeChief_0_0_6{TribeChief_0_0_6Caller: TribeChief_0_0_6Caller{contract: contract}, TribeChief_0_0_6Transactor: TribeChief_0_0_6Transactor{contract: contract}}, nil
    95  }
    96  
    97  // NewTribeChief_0_0_6Caller creates a new read-only instance of TribeChief_0_0_6, bound to a specific deployed contract.
    98  func NewTribeChief_0_0_6Caller(address common.Address, caller bind.ContractCaller) (*TribeChief_0_0_6Caller, error) {
    99  	contract, err := bindTribeChief_0_0_6(address, caller, nil)
   100  	if err != nil {
   101  		return nil, err
   102  	}
   103  	return &TribeChief_0_0_6Caller{contract: contract}, nil
   104  }
   105  
   106  // NewTribeChief_0_0_6Transactor creates a new write-only instance of TribeChief_0_0_6, bound to a specific deployed contract.
   107  func NewTribeChief_0_0_6Transactor(address common.Address, transactor bind.ContractTransactor) (*TribeChief_0_0_6Transactor, error) {
   108  	contract, err := bindTribeChief_0_0_6(address, nil, transactor)
   109  	if err != nil {
   110  		return nil, err
   111  	}
   112  	return &TribeChief_0_0_6Transactor{contract: contract}, nil
   113  }
   114  
   115  // bindTribeChief_0_0_6 binds a generic wrapper to an already deployed contract.
   116  func bindTribeChief_0_0_6(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor) (*bind.BoundContract, error) {
   117  	parsed, err := abi.JSON(strings.NewReader(TribeChief_0_0_6ABI))
   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 (_TribeChief_0_0_6 *TribeChief_0_0_6Raw) CallWithNumber(opts *bind.CallOptsWithNumber, result interface{}, method string, params ...interface{}) error {
   129  	return _TribeChief_0_0_6.Contract.TribeChief_0_0_6Caller.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 (_TribeChief_0_0_6 *TribeChief_0_0_6Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
   135  	return _TribeChief_0_0_6.Contract.TribeChief_0_0_6Transactor.contract.Transfer(opts)
   136  }
   137  
   138  // Transact invokes the (paid) contract method with params as input values.
   139  func (_TribeChief_0_0_6 *TribeChief_0_0_6Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
   140  	return _TribeChief_0_0_6.Contract.TribeChief_0_0_6Transactor.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 (_TribeChief_0_0_6 *TribeChief_0_0_6CallerRaw) CallWithNumber(opts *bind.CallOptsWithNumber, result interface{}, method string, params ...interface{}) error {
   148  	return _TribeChief_0_0_6.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 (_TribeChief_0_0_6 *TribeChief_0_0_6TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
   154  	return _TribeChief_0_0_6.Contract.contract.Transfer(opts)
   155  }
   156  
   157  // Transact invokes the (paid) contract method with params as input values.
   158  func (_TribeChief_0_0_6 *TribeChief_0_0_6TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
   159  	return _TribeChief_0_0_6.Contract.contract.Transact(opts, method, params...)
   160  }
   161  
   162  // FilterVolunteer is a free data retrieval call binding the contract method 0x20c1a518.
   163  //
   164  // Solidity: function filterVolunteer(volunteers address[]) constant returns(result uint256[])
   165  func (_TribeChief_0_0_6 *TribeChief_0_0_6Caller) FilterVolunteer(opts *bind.CallOptsWithNumber, volunteers []common.Address) ([]*big.Int, error) {
   166  	var (
   167  		ret0 = new([]*big.Int)
   168  	)
   169  	out := ret0
   170  	err := _TribeChief_0_0_6.contract.CallWithNumber(opts, out, "filterVolunteer", volunteers)
   171  	return *ret0, err
   172  }
   173  
   174  // FilterVolunteer is a free data retrieval call binding the contract method 0x20c1a518.
   175  //
   176  // Solidity: function filterVolunteer(volunteers address[]) constant returns(result uint256[])
   177  func (_TribeChief_0_0_6 *TribeChief_0_0_6Session) FilterVolunteer(volunteers []common.Address) ([]*big.Int, error) {
   178  	return _TribeChief_0_0_6.Contract.FilterVolunteer(&_TribeChief_0_0_6.CallOpts, volunteers)
   179  }
   180  
   181  // FilterVolunteer is a free data retrieval call binding the contract method 0x20c1a518.
   182  //
   183  // Solidity: function filterVolunteer(volunteers address[]) constant returns(result uint256[])
   184  func (_TribeChief_0_0_6 *TribeChief_0_0_6CallerSession) FilterVolunteer(volunteers []common.Address) ([]*big.Int, error) {
   185  	return _TribeChief_0_0_6.Contract.FilterVolunteer(&_TribeChief_0_0_6.CallOpts, volunteers)
   186  }
   187  
   188  // GetEpoch is a free data retrieval call binding the contract method 0x757991a8.
   189  //
   190  // Solidity: function getEpoch() constant returns(uint256)
   191  func (_TribeChief_0_0_6 *TribeChief_0_0_6Caller) GetEpoch(opts *bind.CallOptsWithNumber) (*big.Int, error) {
   192  	var (
   193  		ret0 = new(*big.Int)
   194  	)
   195  	out := ret0
   196  	err := _TribeChief_0_0_6.contract.CallWithNumber(opts, out, "getEpoch")
   197  	return *ret0, err
   198  }
   199  
   200  // GetEpoch is a free data retrieval call binding the contract method 0x757991a8.
   201  //
   202  // Solidity: function getEpoch() constant returns(uint256)
   203  func (_TribeChief_0_0_6 *TribeChief_0_0_6Session) GetEpoch() (*big.Int, error) {
   204  	return _TribeChief_0_0_6.Contract.GetEpoch(&_TribeChief_0_0_6.CallOpts)
   205  }
   206  
   207  // GetEpoch is a free data retrieval call binding the contract method 0x757991a8.
   208  //
   209  // Solidity: function getEpoch() constant returns(uint256)
   210  func (_TribeChief_0_0_6 *TribeChief_0_0_6CallerSession) GetEpoch() (*big.Int, error) {
   211  	return _TribeChief_0_0_6.Contract.GetEpoch(&_TribeChief_0_0_6.CallOpts)
   212  }
   213  
   214  // GetSignerLimit is a free data retrieval call binding the contract method 0xeb5c0011.
   215  //
   216  // Solidity: function getSignerLimit() constant returns(uint256)
   217  func (_TribeChief_0_0_6 *TribeChief_0_0_6Caller) GetSignerLimit(opts *bind.CallOptsWithNumber) (*big.Int, error) {
   218  	var (
   219  		ret0 = new(*big.Int)
   220  	)
   221  	out := ret0
   222  	err := _TribeChief_0_0_6.contract.CallWithNumber(opts, out, "getSignerLimit")
   223  	return *ret0, err
   224  }
   225  
   226  // GetSignerLimit is a free data retrieval call binding the contract method 0xeb5c0011.
   227  //
   228  // Solidity: function getSignerLimit() constant returns(uint256)
   229  func (_TribeChief_0_0_6 *TribeChief_0_0_6Session) GetSignerLimit() (*big.Int, error) {
   230  	return _TribeChief_0_0_6.Contract.GetSignerLimit(&_TribeChief_0_0_6.CallOpts)
   231  }
   232  
   233  // GetSignerLimit is a free data retrieval call binding the contract method 0xeb5c0011.
   234  //
   235  // Solidity: function getSignerLimit() constant returns(uint256)
   236  func (_TribeChief_0_0_6 *TribeChief_0_0_6CallerSession) GetSignerLimit() (*big.Int, error) {
   237  	return _TribeChief_0_0_6.Contract.GetSignerLimit(&_TribeChief_0_0_6.CallOpts)
   238  }
   239  
   240  // GetStatus is a free data retrieval call binding the contract method 0x4e69d560.
   241  //
   242  // Solidity: function getStatus() constant returns(signerList address[], blackList address[], scoreList uint256[], numberList uint256[], totalVolunteer uint256, number uint256)
   243  func (_TribeChief_0_0_6 *TribeChief_0_0_6Caller) GetStatus(opts *bind.CallOptsWithNumber) (struct {
   244  	SignerList     []common.Address
   245  	BlackList      []common.Address
   246  	ScoreList      []*big.Int
   247  	NumberList     []*big.Int
   248  	TotalVolunteer *big.Int
   249  	Number         *big.Int
   250  }, error) {
   251  	ret := new(struct {
   252  		SignerList     []common.Address
   253  		BlackList      []common.Address
   254  		ScoreList      []*big.Int
   255  		NumberList     []*big.Int
   256  		TotalVolunteer *big.Int
   257  		Number         *big.Int
   258  	})
   259  	out := ret
   260  	err := _TribeChief_0_0_6.contract.CallWithNumber(opts, out, "getStatus")
   261  	return *ret, err
   262  }
   263  
   264  // GetStatus is a free data retrieval call binding the contract method 0x4e69d560.
   265  //
   266  // Solidity: function getStatus() constant returns(signerList address[], blackList address[], scoreList uint256[], numberList uint256[], totalVolunteer uint256, number uint256)
   267  func (_TribeChief_0_0_6 *TribeChief_0_0_6Session) GetStatus() (struct {
   268  	SignerList     []common.Address
   269  	BlackList      []common.Address
   270  	ScoreList      []*big.Int
   271  	NumberList     []*big.Int
   272  	TotalVolunteer *big.Int
   273  	Number         *big.Int
   274  }, error) {
   275  	return _TribeChief_0_0_6.Contract.GetStatus(&_TribeChief_0_0_6.CallOpts)
   276  }
   277  
   278  // GetStatus is a free data retrieval call binding the contract method 0x4e69d560.
   279  //
   280  // Solidity: function getStatus() constant returns(signerList address[], blackList address[], scoreList uint256[], numberList uint256[], totalVolunteer uint256, number uint256)
   281  func (_TribeChief_0_0_6 *TribeChief_0_0_6CallerSession) GetStatus() (struct {
   282  	SignerList     []common.Address
   283  	BlackList      []common.Address
   284  	ScoreList      []*big.Int
   285  	NumberList     []*big.Int
   286  	TotalVolunteer *big.Int
   287  	Number         *big.Int
   288  }, error) {
   289  	return _TribeChief_0_0_6.Contract.GetStatus(&_TribeChief_0_0_6.CallOpts)
   290  }
   291  
   292  // GetVolunteerLimit is a free data retrieval call binding the contract method 0x961c5c7a.
   293  //
   294  // Solidity: function getVolunteerLimit() constant returns(uint256)
   295  func (_TribeChief_0_0_6 *TribeChief_0_0_6Caller) GetVolunteerLimit(opts *bind.CallOptsWithNumber) (*big.Int, error) {
   296  	var (
   297  		ret0 = new(*big.Int)
   298  	)
   299  	out := ret0
   300  	err := _TribeChief_0_0_6.contract.CallWithNumber(opts, out, "getVolunteerLimit")
   301  	return *ret0, err
   302  }
   303  
   304  // GetVolunteerLimit is a free data retrieval call binding the contract method 0x961c5c7a.
   305  //
   306  // Solidity: function getVolunteerLimit() constant returns(uint256)
   307  func (_TribeChief_0_0_6 *TribeChief_0_0_6Session) GetVolunteerLimit() (*big.Int, error) {
   308  	return _TribeChief_0_0_6.Contract.GetVolunteerLimit(&_TribeChief_0_0_6.CallOpts)
   309  }
   310  
   311  // GetVolunteerLimit is a free data retrieval call binding the contract method 0x961c5c7a.
   312  //
   313  // Solidity: function getVolunteerLimit() constant returns(uint256)
   314  func (_TribeChief_0_0_6 *TribeChief_0_0_6CallerSession) GetVolunteerLimit() (*big.Int, error) {
   315  	return _TribeChief_0_0_6.Contract.GetVolunteerLimit(&_TribeChief_0_0_6.CallOpts)
   316  }
   317  
   318  // GetVolunteers is a free data retrieval call binding the contract method 0xd7ca4a1c.
   319  //
   320  // Solidity: function getVolunteers() constant returns(volunteerList address[], weightList uint256[], length uint256)
   321  func (_TribeChief_0_0_6 *TribeChief_0_0_6Caller) GetVolunteers(opts *bind.CallOptsWithNumber) (struct {
   322  	VolunteerList []common.Address
   323  	WeightList    []*big.Int
   324  	Length        *big.Int
   325  }, error) {
   326  	ret := new(struct {
   327  		VolunteerList []common.Address
   328  		WeightList    []*big.Int
   329  		Length        *big.Int
   330  	})
   331  	out := ret
   332  	err := _TribeChief_0_0_6.contract.CallWithNumber(opts, out, "getVolunteers")
   333  	return *ret, err
   334  }
   335  
   336  // GetVolunteers is a free data retrieval call binding the contract method 0xd7ca4a1c.
   337  //
   338  // Solidity: function getVolunteers() constant returns(volunteerList address[], weightList uint256[], length uint256)
   339  func (_TribeChief_0_0_6 *TribeChief_0_0_6Session) GetVolunteers() (struct {
   340  	VolunteerList []common.Address
   341  	WeightList    []*big.Int
   342  	Length        *big.Int
   343  }, error) {
   344  	return _TribeChief_0_0_6.Contract.GetVolunteers(&_TribeChief_0_0_6.CallOpts)
   345  }
   346  
   347  // GetVolunteers is a free data retrieval call binding the contract method 0xd7ca4a1c.
   348  //
   349  // Solidity: function getVolunteers() constant returns(volunteerList address[], weightList uint256[], length uint256)
   350  func (_TribeChief_0_0_6 *TribeChief_0_0_6CallerSession) GetVolunteers() (struct {
   351  	VolunteerList []common.Address
   352  	WeightList    []*big.Int
   353  	Length        *big.Int
   354  }, error) {
   355  	return _TribeChief_0_0_6.Contract.GetVolunteers(&_TribeChief_0_0_6.CallOpts)
   356  }
   357  
   358  // Version is a free data retrieval call binding the contract method 0x54fd4d50.
   359  //
   360  // Solidity: function version() constant returns(string)
   361  func (_TribeChief_0_0_6 *TribeChief_0_0_6Caller) Version(opts *bind.CallOptsWithNumber) (string, error) {
   362  	var (
   363  		ret0 = new(string)
   364  	)
   365  	out := ret0
   366  	err := _TribeChief_0_0_6.contract.CallWithNumber(opts, out, "version")
   367  	return *ret0, err
   368  }
   369  
   370  // Version is a free data retrieval call binding the contract method 0x54fd4d50.
   371  //
   372  // Solidity: function version() constant returns(string)
   373  func (_TribeChief_0_0_6 *TribeChief_0_0_6Session) Version() (string, error) {
   374  	return _TribeChief_0_0_6.Contract.Version(&_TribeChief_0_0_6.CallOpts)
   375  }
   376  
   377  // Version is a free data retrieval call binding the contract method 0x54fd4d50.
   378  //
   379  // Solidity: function version() constant returns(string)
   380  func (_TribeChief_0_0_6 *TribeChief_0_0_6CallerSession) Version() (string, error) {
   381  	return _TribeChief_0_0_6.Contract.Version(&_TribeChief_0_0_6.CallOpts)
   382  }
   383  
   384  // Update is a paid mutator transaction binding the contract method 0x1c1b8772.
   385  //
   386  // Solidity: function update(volunteer address) returns()
   387  func (_TribeChief_0_0_6 *TribeChief_0_0_6Transactor) Update(opts *bind.TransactOpts, volunteer common.Address) (*types.Transaction, error) {
   388  	return _TribeChief_0_0_6.contract.Transact(opts, "update", volunteer)
   389  }
   390  
   391  // Update is a paid mutator transaction binding the contract method 0x1c1b8772.
   392  //
   393  // Solidity: function update(volunteer address) returns()
   394  func (_TribeChief_0_0_6 *TribeChief_0_0_6Session) Update(volunteer common.Address) (*types.Transaction, error) {
   395  	return _TribeChief_0_0_6.Contract.Update(&_TribeChief_0_0_6.TransactOpts, volunteer)
   396  }
   397  
   398  // Update is a paid mutator transaction binding the contract method 0x1c1b8772.
   399  //
   400  // Solidity: function update(volunteer address) returns()
   401  func (_TribeChief_0_0_6 *TribeChief_0_0_6TransactorSession) Update(volunteer common.Address) (*types.Transaction, error) {
   402  	return _TribeChief_0_0_6.Contract.Update(&_TribeChief_0_0_6.TransactOpts, volunteer)
   403  }