contractIndexRegistry

package
v0.0.0-...-14be240 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ContractIndexRegistryABI = ContractIndexRegistryMetaData.ABI

ContractIndexRegistryABI is the input ABI used to generate the binding from. Deprecated: Use ContractIndexRegistryMetaData.ABI instead.

View Source
var ContractIndexRegistryBin = ContractIndexRegistryMetaData.Bin

ContractIndexRegistryBin is the compiled bytecode used for deploying new contracts. Deprecated: Use ContractIndexRegistryMetaData.Bin instead.

View Source
var ContractIndexRegistryMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractIRegistryCoordinator\",\"name\":\"_registryCoordinator\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"operatorId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"quorumNumber\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"newOperatorIndex\",\"type\":\"uint32\"}],\"name\":\"QuorumIndexUpdate\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"OPERATOR_DOES_NOT_EXIST_ID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"currentOperatorIndex\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"operatorId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"quorumNumbers\",\"type\":\"bytes\"}],\"name\":\"deregisterOperator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"quorumNumber\",\"type\":\"uint8\"},{\"internalType\":\"uint32\",\"name\":\"operatorIndex\",\"type\":\"uint32\"}],\"name\":\"getLatestOperatorUpdate\",\"outputs\":[{\"components\":[{\"internalType\":\"uint32\",\"name\":\"fromBlockNumber\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"operatorId\",\"type\":\"bytes32\"}],\"internalType\":\"structIIndexRegistry.OperatorUpdate\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"quorumNumber\",\"type\":\"uint8\"}],\"name\":\"getLatestQuorumUpdate\",\"outputs\":[{\"components\":[{\"internalType\":\"uint32\",\"name\":\"fromBlockNumber\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"numOperators\",\"type\":\"uint32\"}],\"internalType\":\"structIIndexRegistry.QuorumUpdate\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"quorumNumber\",\"type\":\"uint8\"},{\"internalType\":\"uint32\",\"name\":\"blockNumber\",\"type\":\"uint32\"}],\"name\":\"getOperatorListAtBlockNumber\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"quorumNumber\",\"type\":\"uint8\"},{\"internalType\":\"uint32\",\"name\":\"operatorIndex\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"arrayIndex\",\"type\":\"uint32\"}],\"name\":\"getOperatorUpdateAtIndex\",\"outputs\":[{\"components\":[{\"internalType\":\"uint32\",\"name\":\"fromBlockNumber\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"operatorId\",\"type\":\"bytes32\"}],\"internalType\":\"structIIndexRegistry.OperatorUpdate\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"quorumNumber\",\"type\":\"uint8\"},{\"internalType\":\"uint32\",\"name\":\"quorumIndex\",\"type\":\"uint32\"}],\"name\":\"getQuorumUpdateAtIndex\",\"outputs\":[{\"components\":[{\"internalType\":\"uint32\",\"name\":\"fromBlockNumber\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"numOperators\",\"type\":\"uint32\"}],\"internalType\":\"structIIndexRegistry.QuorumUpdate\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"quorumNumber\",\"type\":\"uint8\"}],\"name\":\"initializeQuorum\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"operatorId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"quorumNumbers\",\"type\":\"bytes\"}],\"name\":\"registerOperator\",\"outputs\":[{\"internalType\":\"uint32[]\",\"name\":\"\",\"type\":\"uint32[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"registryCoordinator\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"quorumNumber\",\"type\":\"uint8\"}],\"name\":\"totalOperatorsForQuorum\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Bin: "0x6080604052600436101561001257600080fd5b60003560e01c8062bff04d1461068257806312d1d74d1461063c57806326d941f2146105765780632ed583e5146104d75780636d14a987146104925780638121906f1461045557806389026245146102e4578063a48bb0ac14610264578063bd29b8cd1461013c578063caa3cd7614610120578063e2e68580146100d85763f34109221461009f57600080fd5b346100d35760203660031901126100d357602063ffffffff6100c76100c2610881565b610ca9565b54821c16604051908152f35b600080fd5b346100d35760403660031901126100d35760ff6100f3610881565b1660005260016020526040600020602435600052602052602063ffffffff60406000205416604051908152f35b346100d35760003660031901126100d357602060405160008152f35b346100d35761014a3661082d565b9190610154610ab5565b4363ffffffff169160005b84811061016857005b806101766001928786610918565b3560f81c806000526003602052610193604060002054151561093a565b806000528260205260406000208460005260205263ffffffff604060002054166101bc82610ca9565b916101db6101d363ffffffff855460201c166109a4565b809483610e7f565b6101e58382610c6b565b928584018963ffffffff8254965416146000146102245760009150555b828603610213575b5050500161015f565b61021c92610bae565b86808061020a565b50604061025f918360005260026020528160002063ffffffff6000921682526020522061024f6108a4565b908a825260006020830152610b68565b610202565b346100d35760403660031901126100d3576102e06102bb6102b5610286610881565b60ff610290610891565b916000602061029d6108a4565b828152015216600052600360205260406000206109f0565b50610a95565b60405191829182919091602063ffffffff816040840195828151168552015116910152565b0390f35b346100d35760403660031901126100d3576102fd610881565b610305610891565b9063ffffffff6103158383610cde565b1661032761032282610900565b6108da565b9281845261033482610900565b602085019390601f190136853760005b8381106103905784866040519182916020830190602084525180915260408301919060005b818110610377575050500390f35b8251845285945060209384019390920191600101610369565b6103a18363ffffffff831684610dde565b6103ab82886109bd565b526103b681876109bd565b51156103c457600101610344565b60405162461bcd60e51b815260206004820152605d60248201527f496e64657852656769737472792e6765744f70657261746f724c69737441744260448201527f6c6f636b4e756d6265723a206f70657261746f7220646f6573206e6f7420657860648201527f6973742061742074686520676976656e20626c6f636b206e756d626572000000608482015260a490fd5b346100d35760203660031901126100d3576102e06102bb61048d610477610881565b600060206104836108a4565b8281520152610ca9565b610a95565b346100d35760003660031901126100d3576040517f00000000000000000000000013a05d12b8061f8f12beca62a42b9815310214396001600160a01b03168152602090f35b346100d35760603660031901126100d3576104f0610881565b6104f8610891565b6044359163ffffffff831683036100d3576102e0926105539260ff61054d93600060206105236108a4565b828152015216600052600260205263ffffffff604060002091166000526020526040600020610a79565b506109d1565b60405191829182919091602080604083019463ffffffff81511684520151910152565b346100d35760203660031901126100d35760ff610591610881565b610599610ab5565b168060005260036020526040600020546105dd5760005260036020526105db60406000206105c56108a4565b9063ffffffff4316825260006020830152610a08565b005b60405162461bcd60e51b815260206004820152603160248201527f496e64657852656769737472792e63726561746551756f72756d3a2071756f72604482015270756d20616c72656164792065786973747360781b6064820152608490fd5b346100d35760403660031901126100d3576102e061055361067d61065e610881565b610666610891565b90600060206106736108a4565b8281520152610c6b565b6109d1565b346100d3576106903661082d565b90610699610ab5565b6106a561032283610900565b928284526106b283610900565b602085019390601f190136853760005b8181106107145784866040519182916020830190602084525180915260408301919060005b8181106106f5575050500390f35b825163ffffffff168452859450602093840193909201916001016106e7565b61071f818386610918565b3560f81c9081600052600360205261073d604060002054151561093a565b61074682610ca9565b600163ffffffff825460201c16019063ffffffff82116108175783610771836107b093600197610e7f565b806000526002602052604080600020610789856109a4565b9063ffffffff6000921682526020522054156107c9575b6107a9836109a4565b9087610bae565b63ffffffff6107bf838a6109bd565b91169052016106c2565b8060005260026020526108126040806000206107e4866109a4565b9063ffffffff600092168252602052206107fc6108a4565b9063ffffffff4316825260006020830152610b68565b6107a0565b634e487b7160e01b600052601160045260246000fd5b60406003198201126100d3576004359160243567ffffffffffffffff81116100d357826023820112156100d35780600401359267ffffffffffffffff84116100d357602484830101116100d3576024019190565b6004359060ff821682036100d357565b6024359063ffffffff821682036100d357565b604051906040820182811067ffffffffffffffff8211176108c457604052565b634e487b7160e01b600052604160045260246000fd5b6040519190601f01601f1916820167ffffffffffffffff8111838210176108c457604052565b67ffffffffffffffff81116108c45760051b60200190565b90821015610924570190565b634e487b7160e01b600052603260045260246000fd5b1561094157565b60405162461bcd60e51b815260206004820152603560248201527f496e64657852656769737472792e72656769737465724f70657261746f723a206044820152741c5d5bdc9d5b48191bd95cc81b9bdd08195e1a5cdd605a1b6064820152608490fd5b63ffffffff6000199116019063ffffffff821161081757565b80518210156109245760209160051b010190565b9060016109dc6108a4565b9263ffffffff815416845201546020830152565b80548210156109245760005260206000200190600090565b8054600160401b8110156108c457610a25916001820181556109f0565b610a63578151815460209384015167ffffffffffffffff1990911663ffffffff9290921691909117921b67ffffffff0000000016919091179055565b565b634e487b7160e01b600052600060045260246000fd5b80548210156109245760005260206000209060011b0190600090565b9063ffffffff610aa36108a4565b9254818116845260201c166020830152565b7f00000000000000000000000013a05d12b8061f8f12beca62a42b9815310214396001600160a01b03163303610ae757565b60405162461bcd60e51b815260206004820152604d60248201527f496e64657852656769737472792e6f6e6c795265676973747279436f6f72646960448201527f6e61746f723a2063616c6c6572206973206e6f7420746865207265676973747260648201526c3c9031b7b7b93234b730ba37b960991b608482015260a490fd5b8054600160401b8110156108c457610b8591600182018155610a79565b919091610a635760208163ffffffff8060019451161663ffffffff198554161784550151910155565b9160409063ffffffff60ff7f6ee1e4f4075f3d067176140d34e87874244dd273294c05b2218133e49a2ba6f69486610be68583610c6b565b80544386169086168103610c2d5750600101555b169182600052600160205283600020866000526020528360002082821683198254161790558351928352166020820152a2565b9050610c66915083831660005260026020528660002085871660005260205286600020610c586108a4565b918252896020830152610b68565b610bfa565b60ff16600090815260026020908152604080832063ffffffff949094168352929052208054600019810190811161081757610ca591610a79565b5090565b60ff1660009081526003602052604090208054600019810190811161081757610ca5916109f0565b8015610817576000190190565b60ff1690816000526003602052604060002054805b610d805760405162461bcd60e51b815260206004820152605560248201527f496e64657852656769737472792e5f6f70657261746f72436f756e744174426c60448201527f6f636b4e756d6265723a2071756f72756d20646964206e6f742065786973742060648201527430ba1033b4bb32b710313637b1b590373ab6b132b960591b608482015260a490fd5b826000526003602052604060002060001982019082821161081757610da8916102b5916109f0565b63ffffffff81511663ffffffff84161015610dcd5750610dc790610cd1565b80610cf3565b6020015163ffffffff169392505050565b60ff9092919216806000526002602052604060002063ffffffff8416600052602052604060002054805b610e155750505050600090565b81600052600260205260408060002060009063ffffffff871682526020522060001982019082821161081757610e4e9161054d91610a79565b63ffffffff81511663ffffffff85161015610e735750610e6d90610cd1565b80610e08565b60200151949350505050565b919063ffffffff81541663ffffffff4316809114600014610ec25750610a6192509067ffffffff0000000082549160201b169067ffffffff000000001916179055565b91905060ff610a619316600052600360205263ffffffff604060002091610ee76108a4565b938452166020830152610a0856fea264697066735822122034d5ffe8b705770595cd10cb4a4337566045deb5d2518131ca7a701e66bb469764736f6c634300081a0033",
}

ContractIndexRegistryMetaData contains all meta data concerning the ContractIndexRegistry contract.

Functions

This section is empty.

Types

type ContractIndexRegistry

type ContractIndexRegistry struct {
	ContractIndexRegistryCaller     // Read-only binding to the contract
	ContractIndexRegistryTransactor // Write-only binding to the contract
	ContractIndexRegistryFilterer   // Log filterer for contract events
}

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

func DeployContractIndexRegistry

func DeployContractIndexRegistry(auth *bind.TransactOpts, backend bind.ContractBackend, _registryCoordinator common.Address) (common.Address, *types.Transaction, *ContractIndexRegistry, error)

DeployContractIndexRegistry deploys a new Ethereum contract, binding an instance of ContractIndexRegistry to it.

func NewContractIndexRegistry

func NewContractIndexRegistry(address common.Address, backend bind.ContractBackend) (*ContractIndexRegistry, error)

NewContractIndexRegistry creates a new instance of ContractIndexRegistry, bound to a specific deployed contract.

type ContractIndexRegistryCaller

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

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

func NewContractIndexRegistryCaller

func NewContractIndexRegistryCaller(address common.Address, caller bind.ContractCaller) (*ContractIndexRegistryCaller, error)

NewContractIndexRegistryCaller creates a new read-only instance of ContractIndexRegistry, bound to a specific deployed contract.

func (*ContractIndexRegistryCaller) CurrentOperatorIndex

func (_ContractIndexRegistry *ContractIndexRegistryCaller) CurrentOperatorIndex(opts *bind.CallOpts, arg0 uint8, arg1 [32]byte) (uint32, error)

CurrentOperatorIndex is a free data retrieval call binding the contract method 0xe2e68580.

Solidity: function currentOperatorIndex(uint8 , bytes32 ) view returns(uint32)

func (*ContractIndexRegistryCaller) GetLatestOperatorUpdate

func (_ContractIndexRegistry *ContractIndexRegistryCaller) GetLatestOperatorUpdate(opts *bind.CallOpts, quorumNumber uint8, operatorIndex uint32) (IIndexRegistryOperatorUpdate, error)

GetLatestOperatorUpdate is a free data retrieval call binding the contract method 0x12d1d74d.

Solidity: function getLatestOperatorUpdate(uint8 quorumNumber, uint32 operatorIndex) view returns((uint32,bytes32))

func (*ContractIndexRegistryCaller) GetLatestQuorumUpdate

func (_ContractIndexRegistry *ContractIndexRegistryCaller) GetLatestQuorumUpdate(opts *bind.CallOpts, quorumNumber uint8) (IIndexRegistryQuorumUpdate, error)

GetLatestQuorumUpdate is a free data retrieval call binding the contract method 0x8121906f.

Solidity: function getLatestQuorumUpdate(uint8 quorumNumber) view returns((uint32,uint32))

func (*ContractIndexRegistryCaller) GetOperatorListAtBlockNumber

func (_ContractIndexRegistry *ContractIndexRegistryCaller) GetOperatorListAtBlockNumber(opts *bind.CallOpts, quorumNumber uint8, blockNumber uint32) ([][32]byte, error)

GetOperatorListAtBlockNumber is a free data retrieval call binding the contract method 0x89026245.

Solidity: function getOperatorListAtBlockNumber(uint8 quorumNumber, uint32 blockNumber) view returns(bytes32[])

func (*ContractIndexRegistryCaller) GetOperatorUpdateAtIndex

func (_ContractIndexRegistry *ContractIndexRegistryCaller) GetOperatorUpdateAtIndex(opts *bind.CallOpts, quorumNumber uint8, operatorIndex uint32, arrayIndex uint32) (IIndexRegistryOperatorUpdate, error)

GetOperatorUpdateAtIndex is a free data retrieval call binding the contract method 0x2ed583e5.

Solidity: function getOperatorUpdateAtIndex(uint8 quorumNumber, uint32 operatorIndex, uint32 arrayIndex) view returns((uint32,bytes32))

func (*ContractIndexRegistryCaller) GetQuorumUpdateAtIndex

func (_ContractIndexRegistry *ContractIndexRegistryCaller) GetQuorumUpdateAtIndex(opts *bind.CallOpts, quorumNumber uint8, quorumIndex uint32) (IIndexRegistryQuorumUpdate, error)

GetQuorumUpdateAtIndex is a free data retrieval call binding the contract method 0xa48bb0ac.

Solidity: function getQuorumUpdateAtIndex(uint8 quorumNumber, uint32 quorumIndex) view returns((uint32,uint32))

func (*ContractIndexRegistryCaller) OPERATORDOESNOTEXISTID

func (_ContractIndexRegistry *ContractIndexRegistryCaller) OPERATORDOESNOTEXISTID(opts *bind.CallOpts) ([32]byte, error)

OPERATORDOESNOTEXISTID is a free data retrieval call binding the contract method 0xcaa3cd76.

Solidity: function OPERATOR_DOES_NOT_EXIST_ID() view returns(bytes32)

func (*ContractIndexRegistryCaller) RegistryCoordinator

func (_ContractIndexRegistry *ContractIndexRegistryCaller) RegistryCoordinator(opts *bind.CallOpts) (common.Address, error)

RegistryCoordinator is a free data retrieval call binding the contract method 0x6d14a987.

Solidity: function registryCoordinator() view returns(address)

func (*ContractIndexRegistryCaller) TotalOperatorsForQuorum

func (_ContractIndexRegistry *ContractIndexRegistryCaller) TotalOperatorsForQuorum(opts *bind.CallOpts, quorumNumber uint8) (uint32, error)

TotalOperatorsForQuorum is a free data retrieval call binding the contract method 0xf3410922.

Solidity: function totalOperatorsForQuorum(uint8 quorumNumber) view returns(uint32)

type ContractIndexRegistryCallerRaw

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

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

func (*ContractIndexRegistryCallerRaw) Call

func (_ContractIndexRegistry *ContractIndexRegistryCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type ContractIndexRegistryCallerSession

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

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

func (*ContractIndexRegistryCallerSession) CurrentOperatorIndex

func (_ContractIndexRegistry *ContractIndexRegistryCallerSession) CurrentOperatorIndex(arg0 uint8, arg1 [32]byte) (uint32, error)

CurrentOperatorIndex is a free data retrieval call binding the contract method 0xe2e68580.

Solidity: function currentOperatorIndex(uint8 , bytes32 ) view returns(uint32)

func (*ContractIndexRegistryCallerSession) GetLatestOperatorUpdate

func (_ContractIndexRegistry *ContractIndexRegistryCallerSession) GetLatestOperatorUpdate(quorumNumber uint8, operatorIndex uint32) (IIndexRegistryOperatorUpdate, error)

GetLatestOperatorUpdate is a free data retrieval call binding the contract method 0x12d1d74d.

Solidity: function getLatestOperatorUpdate(uint8 quorumNumber, uint32 operatorIndex) view returns((uint32,bytes32))

func (*ContractIndexRegistryCallerSession) GetLatestQuorumUpdate

func (_ContractIndexRegistry *ContractIndexRegistryCallerSession) GetLatestQuorumUpdate(quorumNumber uint8) (IIndexRegistryQuorumUpdate, error)

GetLatestQuorumUpdate is a free data retrieval call binding the contract method 0x8121906f.

Solidity: function getLatestQuorumUpdate(uint8 quorumNumber) view returns((uint32,uint32))

func (*ContractIndexRegistryCallerSession) GetOperatorListAtBlockNumber

func (_ContractIndexRegistry *ContractIndexRegistryCallerSession) GetOperatorListAtBlockNumber(quorumNumber uint8, blockNumber uint32) ([][32]byte, error)

GetOperatorListAtBlockNumber is a free data retrieval call binding the contract method 0x89026245.

Solidity: function getOperatorListAtBlockNumber(uint8 quorumNumber, uint32 blockNumber) view returns(bytes32[])

func (*ContractIndexRegistryCallerSession) GetOperatorUpdateAtIndex

func (_ContractIndexRegistry *ContractIndexRegistryCallerSession) GetOperatorUpdateAtIndex(quorumNumber uint8, operatorIndex uint32, arrayIndex uint32) (IIndexRegistryOperatorUpdate, error)

GetOperatorUpdateAtIndex is a free data retrieval call binding the contract method 0x2ed583e5.

Solidity: function getOperatorUpdateAtIndex(uint8 quorumNumber, uint32 operatorIndex, uint32 arrayIndex) view returns((uint32,bytes32))

func (*ContractIndexRegistryCallerSession) GetQuorumUpdateAtIndex

func (_ContractIndexRegistry *ContractIndexRegistryCallerSession) GetQuorumUpdateAtIndex(quorumNumber uint8, quorumIndex uint32) (IIndexRegistryQuorumUpdate, error)

GetQuorumUpdateAtIndex is a free data retrieval call binding the contract method 0xa48bb0ac.

Solidity: function getQuorumUpdateAtIndex(uint8 quorumNumber, uint32 quorumIndex) view returns((uint32,uint32))

func (*ContractIndexRegistryCallerSession) OPERATORDOESNOTEXISTID

func (_ContractIndexRegistry *ContractIndexRegistryCallerSession) OPERATORDOESNOTEXISTID() ([32]byte, error)

OPERATORDOESNOTEXISTID is a free data retrieval call binding the contract method 0xcaa3cd76.

Solidity: function OPERATOR_DOES_NOT_EXIST_ID() view returns(bytes32)

func (*ContractIndexRegistryCallerSession) RegistryCoordinator

func (_ContractIndexRegistry *ContractIndexRegistryCallerSession) RegistryCoordinator() (common.Address, error)

RegistryCoordinator is a free data retrieval call binding the contract method 0x6d14a987.

Solidity: function registryCoordinator() view returns(address)

func (*ContractIndexRegistryCallerSession) TotalOperatorsForQuorum

func (_ContractIndexRegistry *ContractIndexRegistryCallerSession) TotalOperatorsForQuorum(quorumNumber uint8) (uint32, error)

TotalOperatorsForQuorum is a free data retrieval call binding the contract method 0xf3410922.

Solidity: function totalOperatorsForQuorum(uint8 quorumNumber) view returns(uint32)

type ContractIndexRegistryCalls

type ContractIndexRegistryCalls interface {
	OPERATORDOESNOTEXISTID(opts *bind.CallOpts) ([32]byte, error)

	CurrentOperatorIndex(opts *bind.CallOpts, arg0 uint8, arg1 [32]byte) (uint32, error)

	GetLatestOperatorUpdate(opts *bind.CallOpts, quorumNumber uint8, operatorIndex uint32) (IIndexRegistryOperatorUpdate, error)

	GetLatestQuorumUpdate(opts *bind.CallOpts, quorumNumber uint8) (IIndexRegistryQuorumUpdate, error)

	GetOperatorListAtBlockNumber(opts *bind.CallOpts, quorumNumber uint8, blockNumber uint32) ([][32]byte, error)

	GetOperatorUpdateAtIndex(opts *bind.CallOpts, quorumNumber uint8, operatorIndex uint32, arrayIndex uint32) (IIndexRegistryOperatorUpdate, error)

	GetQuorumUpdateAtIndex(opts *bind.CallOpts, quorumNumber uint8, quorumIndex uint32) (IIndexRegistryQuorumUpdate, error)

	RegistryCoordinator(opts *bind.CallOpts) (common.Address, error)

	TotalOperatorsForQuorum(opts *bind.CallOpts, quorumNumber uint8) (uint32, error)
}

ContractIndexRegistryCalls is an auto generated interface that defines the call methods available for an Ethereum contract.

type ContractIndexRegistryFilterer

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

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

func NewContractIndexRegistryFilterer

func NewContractIndexRegistryFilterer(address common.Address, filterer bind.ContractFilterer) (*ContractIndexRegistryFilterer, error)

NewContractIndexRegistryFilterer creates a new log filterer instance of ContractIndexRegistry, bound to a specific deployed contract.

func (*ContractIndexRegistryFilterer) FilterInitialized

func (_ContractIndexRegistry *ContractIndexRegistryFilterer) FilterInitialized(opts *bind.FilterOpts) (*ContractIndexRegistryInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*ContractIndexRegistryFilterer) FilterQuorumIndexUpdate

func (_ContractIndexRegistry *ContractIndexRegistryFilterer) FilterQuorumIndexUpdate(opts *bind.FilterOpts, operatorId [][32]byte) (*ContractIndexRegistryQuorumIndexUpdateIterator, error)

FilterQuorumIndexUpdate is a free log retrieval operation binding the contract event 0x6ee1e4f4075f3d067176140d34e87874244dd273294c05b2218133e49a2ba6f6.

Solidity: event QuorumIndexUpdate(bytes32 indexed operatorId, uint8 quorumNumber, uint32 newOperatorIndex)

func (*ContractIndexRegistryFilterer) ParseInitialized

func (_ContractIndexRegistry *ContractIndexRegistryFilterer) ParseInitialized(log types.Log) (*ContractIndexRegistryInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*ContractIndexRegistryFilterer) ParseQuorumIndexUpdate

func (_ContractIndexRegistry *ContractIndexRegistryFilterer) ParseQuorumIndexUpdate(log types.Log) (*ContractIndexRegistryQuorumIndexUpdate, error)

ParseQuorumIndexUpdate is a log parse operation binding the contract event 0x6ee1e4f4075f3d067176140d34e87874244dd273294c05b2218133e49a2ba6f6.

Solidity: event QuorumIndexUpdate(bytes32 indexed operatorId, uint8 quorumNumber, uint32 newOperatorIndex)

func (*ContractIndexRegistryFilterer) WatchInitialized

func (_ContractIndexRegistry *ContractIndexRegistryFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ContractIndexRegistryInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*ContractIndexRegistryFilterer) WatchQuorumIndexUpdate

func (_ContractIndexRegistry *ContractIndexRegistryFilterer) WatchQuorumIndexUpdate(opts *bind.WatchOpts, sink chan<- *ContractIndexRegistryQuorumIndexUpdate, operatorId [][32]byte) (event.Subscription, error)

WatchQuorumIndexUpdate is a free log subscription operation binding the contract event 0x6ee1e4f4075f3d067176140d34e87874244dd273294c05b2218133e49a2ba6f6.

Solidity: event QuorumIndexUpdate(bytes32 indexed operatorId, uint8 quorumNumber, uint32 newOperatorIndex)

type ContractIndexRegistryFilters

type ContractIndexRegistryFilters interface {
	FilterInitialized(opts *bind.FilterOpts) (*ContractIndexRegistryInitializedIterator, error)
	WatchInitialized(opts *bind.WatchOpts, sink chan<- *ContractIndexRegistryInitialized) (event.Subscription, error)
	ParseInitialized(log types.Log) (*ContractIndexRegistryInitialized, error)

	FilterQuorumIndexUpdate(opts *bind.FilterOpts, operatorId [][32]byte) (*ContractIndexRegistryQuorumIndexUpdateIterator, error)
	WatchQuorumIndexUpdate(opts *bind.WatchOpts, sink chan<- *ContractIndexRegistryQuorumIndexUpdate, operatorId [][32]byte) (event.Subscription, error)
	ParseQuorumIndexUpdate(log types.Log) (*ContractIndexRegistryQuorumIndexUpdate, error)
}

ContractIndexRegistryFilterer is an auto generated interface that defines the log filtering methods available for an Ethereum contract.

type ContractIndexRegistryInitialized

type ContractIndexRegistryInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

ContractIndexRegistryInitialized represents a Initialized event raised by the ContractIndexRegistry contract.

type ContractIndexRegistryInitializedIterator

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

ContractIndexRegistryInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the ContractIndexRegistry contract.

func (*ContractIndexRegistryInitializedIterator) Close

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

func (*ContractIndexRegistryInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractIndexRegistryInitializedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ContractIndexRegistryMethods

ContractIndexRegistryMethods is an auto generated interface around an Ethereum contract.

type ContractIndexRegistryQuorumIndexUpdate

type ContractIndexRegistryQuorumIndexUpdate struct {
	OperatorId       [32]byte
	QuorumNumber     uint8
	NewOperatorIndex uint32
	Raw              types.Log // Blockchain specific contextual infos
}

ContractIndexRegistryQuorumIndexUpdate represents a QuorumIndexUpdate event raised by the ContractIndexRegistry contract.

type ContractIndexRegistryQuorumIndexUpdateIterator

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

ContractIndexRegistryQuorumIndexUpdateIterator is returned from FilterQuorumIndexUpdate and is used to iterate over the raw logs and unpacked data for QuorumIndexUpdate events raised by the ContractIndexRegistry contract.

func (*ContractIndexRegistryQuorumIndexUpdateIterator) Close

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

func (*ContractIndexRegistryQuorumIndexUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractIndexRegistryQuorumIndexUpdateIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ContractIndexRegistryRaw

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

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

func (*ContractIndexRegistryRaw) Call

func (_ContractIndexRegistry *ContractIndexRegistryRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*ContractIndexRegistryRaw) Transact

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

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

func (*ContractIndexRegistryRaw) Transfer

func (_ContractIndexRegistry *ContractIndexRegistryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

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

type ContractIndexRegistrySession

type ContractIndexRegistrySession struct {
	Contract     *ContractIndexRegistry // Generic contract binding to set the session for
	CallOpts     bind.CallOpts          // Call options to use throughout this session
	TransactOpts bind.TransactOpts      // Transaction auth options to use throughout this session
}

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

func (*ContractIndexRegistrySession) CurrentOperatorIndex

func (_ContractIndexRegistry *ContractIndexRegistrySession) CurrentOperatorIndex(arg0 uint8, arg1 [32]byte) (uint32, error)

CurrentOperatorIndex is a free data retrieval call binding the contract method 0xe2e68580.

Solidity: function currentOperatorIndex(uint8 , bytes32 ) view returns(uint32)

func (*ContractIndexRegistrySession) DeregisterOperator

func (_ContractIndexRegistry *ContractIndexRegistrySession) DeregisterOperator(operatorId [32]byte, quorumNumbers []byte) (*types.Transaction, error)

DeregisterOperator is a paid mutator transaction binding the contract method 0xbd29b8cd.

Solidity: function deregisterOperator(bytes32 operatorId, bytes quorumNumbers) returns()

func (*ContractIndexRegistrySession) GetLatestOperatorUpdate

func (_ContractIndexRegistry *ContractIndexRegistrySession) GetLatestOperatorUpdate(quorumNumber uint8, operatorIndex uint32) (IIndexRegistryOperatorUpdate, error)

GetLatestOperatorUpdate is a free data retrieval call binding the contract method 0x12d1d74d.

Solidity: function getLatestOperatorUpdate(uint8 quorumNumber, uint32 operatorIndex) view returns((uint32,bytes32))

func (*ContractIndexRegistrySession) GetLatestQuorumUpdate

func (_ContractIndexRegistry *ContractIndexRegistrySession) GetLatestQuorumUpdate(quorumNumber uint8) (IIndexRegistryQuorumUpdate, error)

GetLatestQuorumUpdate is a free data retrieval call binding the contract method 0x8121906f.

Solidity: function getLatestQuorumUpdate(uint8 quorumNumber) view returns((uint32,uint32))

func (*ContractIndexRegistrySession) GetOperatorListAtBlockNumber

func (_ContractIndexRegistry *ContractIndexRegistrySession) GetOperatorListAtBlockNumber(quorumNumber uint8, blockNumber uint32) ([][32]byte, error)

GetOperatorListAtBlockNumber is a free data retrieval call binding the contract method 0x89026245.

Solidity: function getOperatorListAtBlockNumber(uint8 quorumNumber, uint32 blockNumber) view returns(bytes32[])

func (*ContractIndexRegistrySession) GetOperatorUpdateAtIndex

func (_ContractIndexRegistry *ContractIndexRegistrySession) GetOperatorUpdateAtIndex(quorumNumber uint8, operatorIndex uint32, arrayIndex uint32) (IIndexRegistryOperatorUpdate, error)

GetOperatorUpdateAtIndex is a free data retrieval call binding the contract method 0x2ed583e5.

Solidity: function getOperatorUpdateAtIndex(uint8 quorumNumber, uint32 operatorIndex, uint32 arrayIndex) view returns((uint32,bytes32))

func (*ContractIndexRegistrySession) GetQuorumUpdateAtIndex

func (_ContractIndexRegistry *ContractIndexRegistrySession) GetQuorumUpdateAtIndex(quorumNumber uint8, quorumIndex uint32) (IIndexRegistryQuorumUpdate, error)

GetQuorumUpdateAtIndex is a free data retrieval call binding the contract method 0xa48bb0ac.

Solidity: function getQuorumUpdateAtIndex(uint8 quorumNumber, uint32 quorumIndex) view returns((uint32,uint32))

func (*ContractIndexRegistrySession) InitializeQuorum

func (_ContractIndexRegistry *ContractIndexRegistrySession) InitializeQuorum(quorumNumber uint8) (*types.Transaction, error)

InitializeQuorum is a paid mutator transaction binding the contract method 0x26d941f2.

Solidity: function initializeQuorum(uint8 quorumNumber) returns()

func (*ContractIndexRegistrySession) OPERATORDOESNOTEXISTID

func (_ContractIndexRegistry *ContractIndexRegistrySession) OPERATORDOESNOTEXISTID() ([32]byte, error)

OPERATORDOESNOTEXISTID is a free data retrieval call binding the contract method 0xcaa3cd76.

Solidity: function OPERATOR_DOES_NOT_EXIST_ID() view returns(bytes32)

func (*ContractIndexRegistrySession) RegisterOperator

func (_ContractIndexRegistry *ContractIndexRegistrySession) RegisterOperator(operatorId [32]byte, quorumNumbers []byte) (*types.Transaction, error)

RegisterOperator is a paid mutator transaction binding the contract method 0x00bff04d.

Solidity: function registerOperator(bytes32 operatorId, bytes quorumNumbers) returns(uint32[])

func (*ContractIndexRegistrySession) RegistryCoordinator

func (_ContractIndexRegistry *ContractIndexRegistrySession) RegistryCoordinator() (common.Address, error)

RegistryCoordinator is a free data retrieval call binding the contract method 0x6d14a987.

Solidity: function registryCoordinator() view returns(address)

func (*ContractIndexRegistrySession) TotalOperatorsForQuorum

func (_ContractIndexRegistry *ContractIndexRegistrySession) TotalOperatorsForQuorum(quorumNumber uint8) (uint32, error)

TotalOperatorsForQuorum is a free data retrieval call binding the contract method 0xf3410922.

Solidity: function totalOperatorsForQuorum(uint8 quorumNumber) view returns(uint32)

type ContractIndexRegistryTransactor

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

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

func NewContractIndexRegistryTransactor

func NewContractIndexRegistryTransactor(address common.Address, transactor bind.ContractTransactor) (*ContractIndexRegistryTransactor, error)

NewContractIndexRegistryTransactor creates a new write-only instance of ContractIndexRegistry, bound to a specific deployed contract.

func (*ContractIndexRegistryTransactor) DeregisterOperator

func (_ContractIndexRegistry *ContractIndexRegistryTransactor) DeregisterOperator(opts *bind.TransactOpts, operatorId [32]byte, quorumNumbers []byte) (*types.Transaction, error)

DeregisterOperator is a paid mutator transaction binding the contract method 0xbd29b8cd.

Solidity: function deregisterOperator(bytes32 operatorId, bytes quorumNumbers) returns()

func (*ContractIndexRegistryTransactor) InitializeQuorum

func (_ContractIndexRegistry *ContractIndexRegistryTransactor) InitializeQuorum(opts *bind.TransactOpts, quorumNumber uint8) (*types.Transaction, error)

InitializeQuorum is a paid mutator transaction binding the contract method 0x26d941f2.

Solidity: function initializeQuorum(uint8 quorumNumber) returns()

func (*ContractIndexRegistryTransactor) RegisterOperator

func (_ContractIndexRegistry *ContractIndexRegistryTransactor) RegisterOperator(opts *bind.TransactOpts, operatorId [32]byte, quorumNumbers []byte) (*types.Transaction, error)

RegisterOperator is a paid mutator transaction binding the contract method 0x00bff04d.

Solidity: function registerOperator(bytes32 operatorId, bytes quorumNumbers) returns(uint32[])

type ContractIndexRegistryTransactorRaw

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

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

func (*ContractIndexRegistryTransactorRaw) Transact

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

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

func (*ContractIndexRegistryTransactorRaw) Transfer

func (_ContractIndexRegistry *ContractIndexRegistryTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

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

type ContractIndexRegistryTransactorSession

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

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

func (*ContractIndexRegistryTransactorSession) DeregisterOperator

func (_ContractIndexRegistry *ContractIndexRegistryTransactorSession) DeregisterOperator(operatorId [32]byte, quorumNumbers []byte) (*types.Transaction, error)

DeregisterOperator is a paid mutator transaction binding the contract method 0xbd29b8cd.

Solidity: function deregisterOperator(bytes32 operatorId, bytes quorumNumbers) returns()

func (*ContractIndexRegistryTransactorSession) InitializeQuorum

func (_ContractIndexRegistry *ContractIndexRegistryTransactorSession) InitializeQuorum(quorumNumber uint8) (*types.Transaction, error)

InitializeQuorum is a paid mutator transaction binding the contract method 0x26d941f2.

Solidity: function initializeQuorum(uint8 quorumNumber) returns()

func (*ContractIndexRegistryTransactorSession) RegisterOperator

func (_ContractIndexRegistry *ContractIndexRegistryTransactorSession) RegisterOperator(operatorId [32]byte, quorumNumbers []byte) (*types.Transaction, error)

RegisterOperator is a paid mutator transaction binding the contract method 0x00bff04d.

Solidity: function registerOperator(bytes32 operatorId, bytes quorumNumbers) returns(uint32[])

type ContractIndexRegistryTransacts

type ContractIndexRegistryTransacts interface {
	DeregisterOperator(opts *bind.TransactOpts, operatorId [32]byte, quorumNumbers []byte) (*types.Transaction, error)

	InitializeQuorum(opts *bind.TransactOpts, quorumNumber uint8) (*types.Transaction, error)

	RegisterOperator(opts *bind.TransactOpts, operatorId [32]byte, quorumNumbers []byte) (*types.Transaction, error)
}

ContractIndexRegistryTransacts is an auto generated interface that defines the transact methods available for an Ethereum contract.

type IIndexRegistryOperatorUpdate

type IIndexRegistryOperatorUpdate struct {
	FromBlockNumber uint32
	OperatorId      [32]byte
}

IIndexRegistryOperatorUpdate is an auto generated low-level Go binding around an user-defined struct.

type IIndexRegistryQuorumUpdate

type IIndexRegistryQuorumUpdate struct {
	FromBlockNumber uint32
	NumOperators    uint32
}

IIndexRegistryQuorumUpdate is an auto generated low-level Go binding around an user-defined struct.

Jump to

Keyboard shortcuts

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