Documentation ¶
Index ¶
- Variables
- type ContractOperatorStateRetriever
- func DeployContractOperatorStateRetriever(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ContractOperatorStateRetriever, error)
- func NewContractOperatorStateRetriever(address common.Address, backend bind.ContractBackend) (*ContractOperatorStateRetriever, error)
- type ContractOperatorStateRetrieverCaller
- func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverCaller) GetBatchOperatorFromId(opts *bind.CallOpts, registryCoordinator common.Address, ...) ([]common.Address, error)
- func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverCaller) GetBatchOperatorId(opts *bind.CallOpts, registryCoordinator common.Address, ...) ([][32]byte, error)
- func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverCaller) GetCheckSignaturesIndices(opts *bind.CallOpts, registryCoordinator common.Address, ...) (OperatorStateRetrieverCheckSignaturesIndices, error)
- func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverCaller) GetOperatorState(opts *bind.CallOpts, registryCoordinator common.Address, quorumNumbers []byte, ...) ([][]OperatorStateRetrieverOperator, error)
- func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverCaller) GetOperatorState0(opts *bind.CallOpts, registryCoordinator common.Address, operatorId [32]byte, ...) (*big.Int, [][]OperatorStateRetrieverOperator, error)
- func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverCaller) GetQuorumBitmapsAtBlockNumber(opts *bind.CallOpts, registryCoordinator common.Address, ...) ([]*big.Int, error)
- type ContractOperatorStateRetrieverCallerRaw
- type ContractOperatorStateRetrieverCallerSession
- func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverCallerSession) GetBatchOperatorFromId(registryCoordinator common.Address, operatorIds [][32]byte) ([]common.Address, error)
- func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverCallerSession) GetBatchOperatorId(registryCoordinator common.Address, operators []common.Address) ([][32]byte, error)
- func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverCallerSession) GetCheckSignaturesIndices(registryCoordinator common.Address, referenceBlockNumber uint32, ...) (OperatorStateRetrieverCheckSignaturesIndices, error)
- func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverCallerSession) GetOperatorState(registryCoordinator common.Address, quorumNumbers []byte, blockNumber uint32) ([][]OperatorStateRetrieverOperator, error)
- func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverCallerSession) GetOperatorState0(registryCoordinator common.Address, operatorId [32]byte, blockNumber uint32) (*big.Int, [][]OperatorStateRetrieverOperator, error)
- func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverCallerSession) GetQuorumBitmapsAtBlockNumber(registryCoordinator common.Address, operatorIds [][32]byte, blockNumber uint32) ([]*big.Int, error)
- type ContractOperatorStateRetrieverCalls
- type ContractOperatorStateRetrieverFilterer
- type ContractOperatorStateRetrieverFilters
- type ContractOperatorStateRetrieverMethods
- type ContractOperatorStateRetrieverRaw
- func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ContractOperatorStateRetrieverSession
- func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverSession) GetBatchOperatorFromId(registryCoordinator common.Address, operatorIds [][32]byte) ([]common.Address, error)
- func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverSession) GetBatchOperatorId(registryCoordinator common.Address, operators []common.Address) ([][32]byte, error)
- func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverSession) GetCheckSignaturesIndices(registryCoordinator common.Address, referenceBlockNumber uint32, ...) (OperatorStateRetrieverCheckSignaturesIndices, error)
- func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverSession) GetOperatorState(registryCoordinator common.Address, quorumNumbers []byte, blockNumber uint32) ([][]OperatorStateRetrieverOperator, error)
- func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverSession) GetOperatorState0(registryCoordinator common.Address, operatorId [32]byte, blockNumber uint32) (*big.Int, [][]OperatorStateRetrieverOperator, error)
- func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverSession) GetQuorumBitmapsAtBlockNumber(registryCoordinator common.Address, operatorIds [][32]byte, blockNumber uint32) ([]*big.Int, error)
- type ContractOperatorStateRetrieverTransactor
- type ContractOperatorStateRetrieverTransactorRaw
- func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ContractOperatorStateRetrieverTransactorSession
- type ContractOperatorStateRetrieverTransacts
- type OperatorStateRetrieverCheckSignaturesIndices
- type OperatorStateRetrieverOperator
Constants ¶
This section is empty.
Variables ¶
var ContractOperatorStateRetrieverABI = ContractOperatorStateRetrieverMetaData.ABI
ContractOperatorStateRetrieverABI is the input ABI used to generate the binding from. Deprecated: Use ContractOperatorStateRetrieverMetaData.ABI instead.
var ContractOperatorStateRetrieverBin = ContractOperatorStateRetrieverMetaData.Bin
ContractOperatorStateRetrieverBin is the compiled bytecode used for deploying new contracts. Deprecated: Use ContractOperatorStateRetrieverMetaData.Bin instead.
var ContractOperatorStateRetrieverMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"contractIRegistryCoordinator\",\"name\":\"registryCoordinator\",\"type\":\"address\"},{\"internalType\":\"bytes32[]\",\"name\":\"operatorIds\",\"type\":\"bytes32[]\"}],\"name\":\"getBatchOperatorFromId\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"operators\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIRegistryCoordinator\",\"name\":\"registryCoordinator\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"operators\",\"type\":\"address[]\"}],\"name\":\"getBatchOperatorId\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"operatorIds\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIRegistryCoordinator\",\"name\":\"registryCoordinator\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"referenceBlockNumber\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"quorumNumbers\",\"type\":\"bytes\"},{\"internalType\":\"bytes32[]\",\"name\":\"nonSignerOperatorIds\",\"type\":\"bytes32[]\"}],\"name\":\"getCheckSignaturesIndices\",\"outputs\":[{\"components\":[{\"internalType\":\"uint32[]\",\"name\":\"nonSignerQuorumBitmapIndices\",\"type\":\"uint32[]\"},{\"internalType\":\"uint32[]\",\"name\":\"quorumApkIndices\",\"type\":\"uint32[]\"},{\"internalType\":\"uint32[]\",\"name\":\"totalStakeIndices\",\"type\":\"uint32[]\"},{\"internalType\":\"uint32[][]\",\"name\":\"nonSignerStakeIndices\",\"type\":\"uint32[][]\"}],\"internalType\":\"structOperatorStateRetriever.CheckSignaturesIndices\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIRegistryCoordinator\",\"name\":\"registryCoordinator\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"quorumNumbers\",\"type\":\"bytes\"},{\"internalType\":\"uint32\",\"name\":\"blockNumber\",\"type\":\"uint32\"}],\"name\":\"getOperatorState\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"operatorId\",\"type\":\"bytes32\"},{\"internalType\":\"uint96\",\"name\":\"stake\",\"type\":\"uint96\"}],\"internalType\":\"structOperatorStateRetriever.Operator[][]\",\"name\":\"\",\"type\":\"tuple[][]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIRegistryCoordinator\",\"name\":\"registryCoordinator\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"operatorId\",\"type\":\"bytes32\"},{\"internalType\":\"uint32\",\"name\":\"blockNumber\",\"type\":\"uint32\"}],\"name\":\"getOperatorState\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"operatorId\",\"type\":\"bytes32\"},{\"internalType\":\"uint96\",\"name\":\"stake\",\"type\":\"uint96\"}],\"internalType\":\"structOperatorStateRetriever.Operator[][]\",\"name\":\"\",\"type\":\"tuple[][]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIRegistryCoordinator\",\"name\":\"registryCoordinator\",\"type\":\"address\"},{\"internalType\":\"bytes32[]\",\"name\":\"operatorIds\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint32\",\"name\":\"blockNumber\",\"type\":\"uint32\"}],\"name\":\"getQuorumBitmapsAtBlockNumber\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
Bin: "0x6080604052600436101561001257600080fd5b60003560e01c806331b36bd914610d185780633563b0d114610c7e5780634d2b57fe14610b3d5780634f739f74146104855780635c155662146102c35763cefdc1d41461005e57600080fd5b346102be5760603660031901126102be57610077610e6f565b60243590610083610f3d565b916040926100db8451926100978685610eb6565b60018452601f198601366020860137806100b0856110c2565b5285516361c8a12f60e11b81526001600160a01b0386169490926000918491829187600484016116c8565b0381875afa9182156102b35763ffffffff610103602094606493600091610290575b506110c2565b511691875195869384926304ec635160e01b8452600484015263ffffffff8716602484015260448301525afa91821561028557600092610254575b506001600160c01b03821691600083805b610218575061ffff169261016284610f22565b9361016f87519586610eb6565b80855261017e601f1991610f22565b0136602086013760009260005b855185108061020d575b156101e4576001811b84166001600160c01b03166101bc575b6101b7906116b9565b61018b565b9360016101b79160ff60f81b8760f81b1660001a6101da828a611135565b53019490506101ae565b87836102096101f4858a8c611146565b83519384938452806020850152830190610f50565b0390f35b506101008110610195565b600019810181811161023e5761ffff9116911661ffff811461023e57600101908061014f565b634e487b7160e01b600052601160045260246000fd5b61027791925060203d60201161027e575b61026f8183610eb6565b81019061168e565b903861013e565b503d610265565b84513d6000823e3d90fd5b6102ad91503d806000833e6102a58183610eb6565b8101906115dc565b386100fd565b86513d6000823e3d90fd5b600080fd5b346102be5760603660031901126102be576102dc610e6f565b6024356001600160401b0381116102be576102fb903690600401610ff9565b610303610f3d565b6040516361c8a12f60e11b815290926001600160a01b03166000828061032d8688600484016116c8565b0381845afa91821561041757600092610468575b5082519361036761035186610ed7565b9561035f6040519788610eb6565b808752610ed7565b602086019490601f190136863760005b81518110156104235761038a81836110e5565b519060208463ffffffff61039e848a6110e5565b516040516304ec635160e01b8152600481019690965263ffffffff92831660248701521616604484015282606481885afa8015610417576001926000916103f9575b50828060c01b03166103f2828a6110e5565b5201610377565b610411915060203d811161027e5761026f8183610eb6565b896103e0565b6040513d6000823e3d90fd5b85876040519182916020830190602084525180915260408301919060005b81811061044f575050500390f35b8251845285945060209384019390920191600101610441565b61047e9192503d806000833e6102a58183610eb6565b9084610341565b346102be5760803660031901126102be5761049e610e6f565b6024359063ffffffff8216908183036102be57604435906001600160401b0382116102be57366023830112156102be578160040135936001600160401b0385116102be57602483019260248636920101116102be57606435926001600160401b0384116102be57366023850112156102be578360040135956001600160401b0387116102be5760248501938760051b9560248736920101116102be57610542611597565b50604051636830483560e01b81526001600160a01b03919091169290602081600481875afa90811561041757600091610b1e575b5061057f611597565b604080516361c8a12f60e11b8152600481018b90526024810191909152604481018b905290976001600160fb1b038b116102be5781606481836000948c848401378101030181885afa90811561041757600091610b03575b50875260018060a01b031691604051986340e03a8160e11b8a528860048b0152604060248b015260008a8061061060448201868861165d565b0381875afa998a156104175760009a610ae6575b5060408801998a5261063582610ed7565b966106436040519889610eb6565b82885261065f601f1961065585610ed7565b0160208a01611118565b6060890197885260005b60ff81168481101561095a57898984868e61069d8660009661068a85611090565b90519061069783836110e5565b526110e5565b508c85945b83861061071e575050505050506106b881611090565b9060005b8c8282106106ee5760ff959492506106dc939150519061069783836110e5565b501660ff811461023e57600101610669565b9063ffffffff61070b8261070588600196516110e5565b516110e5565b511661071782866110e5565b52016106bc565b63ffffffff61073f87610737816020986107799a61167e565b3595516110e5565b516040516304ec635160e01b8152600481019590955263ffffffff9283166024860152161660448301529092839190829081906064820190565b03915afa9081156104175760009161093c575b506001600160c01b031680156108ab57600180916107ab868b8d6116ad565b3560f81c1c16146107c4575b60010184868e8c8e6106a2565b908a60206107d384898961167e565b356107df868b8d6116ad565b60405163dd9846b960e01b815260048101929092523560f81c602482015263ffffffff929092166044830152816064818d5afa908115610417578d8591600093610851575b509163ffffffff610840856107056001979561084997516110e5565b911690526116b9565b9190506107b7565b929150506020823d82116108a3575b8161086d60209383610eb6565b810103126108a05750818d63ffffffff61084060019561070589610893610849986115cb565b9750955050955050610824565b80fd5b3d9150610860565b60405162461bcd60e51b815260206004820152605c60248201527f4f70657261746f7253746174655265747269657665722e676574436865636b5360448201527f69676e617475726573496e64696365733a206f70657261746f72206d7573742060648201527f6265207265676973746572656420617420626c6f636b6e756d62657200000000608482015260a490fd5b610954915060203d811161027e5761026f8183610eb6565b3861078c565b8a8a8d8f8860048b60208f60405193848092632efa2ca360e11b82525afa908115610417576000936109b3938593610ab5575b506040519687948593849363354952a360e21b855260406004860152604485019161165d565b602483019190915203916001600160a01b03165afa91821561041757610a3292610a1f91600091610a9a575b509085949392916020610a0c970190815260405196879660208852516080602089015260a0880190611056565b9051868203601f19016040880152611056565b9051848203601f19016060860152611056565b905190601f19838203016080840152815180825260208201916020808360051b8301019401926000915b838310610a695786860387f35b919395509193602080610a88600193601f198682030187528951611056565b97019301930190928695949293610a5c565b610aaf91503d806000833e6102a58183610eb6565b866109df565b610ad891935060203d602011610adf575b610ad08183610eb6565b8101906110f9565b918961098d565b503d610ac6565b610afc919a503d806000833e6102a58183610eb6565b988a610624565b610b1891503d806000833e6102a58183610eb6565b8a6105d7565b610b37915060203d602011610adf57610ad08183610eb6565b89610576565b346102be5760403660031901126102be57610b56610e6f565b6024356001600160401b0381116102be57610b75903690600401610ff9565b8051610b99610b8382610ed7565b91610b916040519384610eb6565b808352610ed7565b602082019290601f19013684376001600160a01b039093169260005b8151811015610c3057610bc881836110e5565b519060405191630a5aec1960e21b83526004830152602082602481895afa801561041757600192600091610c12575b50610c0282866110e5565b90838060a01b0316905201610bb5565b610c2a915060203d8111610adf57610ad08183610eb6565b87610bf7565b83836040519182916020830190602084525180915260408301919060005b818110610c5c575050500390f35b82516001600160a01b0316845285945060209384019390920191600101610c4e565b346102be5760603660031901126102be57610c97610e6f565b6024356001600160401b0381116102be57366023820112156102be57806004013591610cc283610f22565b610ccf6040519182610eb6565b83815236602485850101116102be576000602085610209966024610d0497018386013783010152610cfe610f3d565b91611146565b604051918291602083526020830190610f50565b346102be5760403660031901126102be57610d31610e6f565b602435906001600160401b0382116102be57366023830112156102be578160040135610d5c81610ed7565b92610d6a6040519485610eb6565b8184526024602085019260051b820101903682116102be57602401915b818310610e4f578385610d9a8151611090565b6001600160a01b039092169160005b8251811015610e39576001600160a01b03610dc482856110e5565b516040516309aa152760e11b815291166004820152602081602481885afa90811561041757600091610e07575b5090600191610e0082856110e5565b5201610da9565b906020823d8211610e31575b81610e2060209383610eb6565b810103126108a05750516001610df1565b3d9150610e13565b6040516020808252819061020990820185610eee565b82356001600160a01b03811681036102be57815260209283019201610d87565b600435906001600160a01b03821682036102be57565b606081019081106001600160401b03821117610ea057604052565b634e487b7160e01b600052604160045260246000fd5b90601f801991011681019081106001600160401b03821117610ea057604052565b6001600160401b038111610ea05760051b60200190565b906020808351928381520192019060005b818110610f0c5750505090565b8251845260209384019390920191600101610eff565b6001600160401b038111610ea057601f01601f191660200190565b6044359063ffffffff821682036102be57565b9080602083519182815201916020808360051b8301019401926000915b838310610f7c57505050505090565b9091929394601f19828203018352855190602080835192838152019201906000905b808210610fbd5750505060208060019297019301930191939290610f6d565b909192602060606001926001600160601b0360408851868060a01b03815116845285810151868501520151166040820152019401920190610f9e565b9080601f830112156102be57813561101081610ed7565b9261101e6040519485610eb6565b81845260208085019260051b8201019283116102be57602001905b8282106110465750505090565b8135815260209182019101611039565b906020808351928381520192019060005b8181106110745750505090565b825163ffffffff16845260209384019390920191600101611067565b9061109a82610ed7565b6110a76040519182610eb6565b82815280926110b8601f1991610ed7565b0190602036910137565b8051156110cf5760200190565b634e487b7160e01b600052603260045260246000fd5b80518210156110cf5760209160051b010190565b908160209103126102be57516001600160a01b03811681036102be5790565b60005b82811061112757505050565b60608282015260200161111b565b9081518110156110cf570160200190565b604051636830483560e01b81526001600160a01b03909116939092909190602084600481885afa93841561041757600094611576575b50604051634f4c91e160e11b815293602085600481895afa94851561041757600095611529575b50602060049660405197888092632efa2ca360e11b82525afa95861561041757600096611508575b509192908351926112056111de85610ed7565b946111ec6040519687610eb6565b8086526111fb601f1991610ed7565b0160208601611118565b6000945b80518610156114fd5761121c8682611135565b51604051638902624560e01b815260f89190911c6004820181905263ffffffff851660248301529790946000866044816001600160a01b0386165afa95861561041757600096611462575b50855161127381610ed7565b906112816040519283610eb6565b808252611290601f1991610ed7565b0160005b8181106114365750506112a789896110e5565b526112b288886110e5565b5060005b8651811015611425578a60206112cc838a6110e5565b516040516308f6629d60e31b8152600481019190915291829060249082906001600160a01b03165afa90811561041757600091611407575b5086611310838a6110e5565b5160208d61131e868d6110e5565b5160405163fa28c62760e01b8152600481019190915260ff91909116602482015263ffffffff939093166044840152826064816001600160a01b038c165afa918215610417576000926113bd575b509280926001600160601b036113b6936001966040519361138c85610e85565b888060a01b0316845260208401521660408201526113aa8d8d6110e5565b519061069783836110e5565b50016112b6565b6020929192813d82116113ff575b816113d860209383610eb6565b810103126113fb5751906001600160601b03821682036108a0575090600161136c565b5080fd5b3d91506113cb565b61141f915060203d8111610adf57610ad08183610eb6565b38611304565b509097506001909601959350611209565b60209060405161144581610e85565b600081526000838201526000604082015282828601015201611294565b9590953d8083833e6114748183610eb6565b8101906020818303126114f5578051906001600160401b0382116114f9570181601f820112156114f5578051906114aa82610ed7565b936114b86040519586610eb6565b82855260208086019360051b8301019384116108a05750602001905b8282106114e5575050509438611267565b81518152602091820191016114d4565b8280fd5b8380fd5b505050935091505090565b61152291965060203d602011610adf57610ad08183610eb6565b94386111cb565b6020969596813d60201161156e575b8161154560209383610eb6565b8101031261156a5751956001600160a01b03871687036108a0575093949360206111a3565b8680fd5b3d9150611538565b61159091945060203d602011610adf57610ad08183610eb6565b923861117c565b60405190608082018281106001600160401b03821117610ea057604052606080838181528160208201528160408201520152565b519063ffffffff821682036102be57565b6020818303126102be578051906001600160401b0382116102be57019080601f830112156102be57815161160f81610ed7565b9261161d6040519485610eb6565b81845260208085019260051b8201019283116102be57602001905b8282106116455750505090565b60208091611652846115cb565b815201910190611638565b908060209392818452848401376000828201840152601f01601f1916010190565b91908110156110cf5760051b0190565b908160209103126102be57516001600160c01b03811681036102be5790565b908210156110cf570190565b600019811461023e5760010190565b60409063ffffffff6116e594931681528160208201520190610eee565b9056fea26469706673582212201f3c06fe31c0a29486a2a0a4f8fb79e051a02287deda5f1381cf2da0cb9a8b9864736f6c634300081a0033",
}
ContractOperatorStateRetrieverMetaData contains all meta data concerning the ContractOperatorStateRetriever contract.
Functions ¶
This section is empty.
Types ¶
type ContractOperatorStateRetriever ¶
type ContractOperatorStateRetriever struct { ContractOperatorStateRetrieverCaller // Read-only binding to the contract ContractOperatorStateRetrieverTransactor // Write-only binding to the contract ContractOperatorStateRetrieverFilterer // Log filterer for contract events }
ContractOperatorStateRetriever is an auto generated Go binding around an Ethereum contract.
func DeployContractOperatorStateRetriever ¶
func DeployContractOperatorStateRetriever(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ContractOperatorStateRetriever, error)
DeployContractOperatorStateRetriever deploys a new Ethereum contract, binding an instance of ContractOperatorStateRetriever to it.
func NewContractOperatorStateRetriever ¶
func NewContractOperatorStateRetriever(address common.Address, backend bind.ContractBackend) (*ContractOperatorStateRetriever, error)
NewContractOperatorStateRetriever creates a new instance of ContractOperatorStateRetriever, bound to a specific deployed contract.
type ContractOperatorStateRetrieverCaller ¶
type ContractOperatorStateRetrieverCaller struct {
// contains filtered or unexported fields
}
ContractOperatorStateRetrieverCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewContractOperatorStateRetrieverCaller ¶
func NewContractOperatorStateRetrieverCaller(address common.Address, caller bind.ContractCaller) (*ContractOperatorStateRetrieverCaller, error)
NewContractOperatorStateRetrieverCaller creates a new read-only instance of ContractOperatorStateRetriever, bound to a specific deployed contract.
func (*ContractOperatorStateRetrieverCaller) GetBatchOperatorFromId ¶
func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverCaller) GetBatchOperatorFromId(opts *bind.CallOpts, registryCoordinator common.Address, operatorIds [][32]byte) ([]common.Address, error)
GetBatchOperatorFromId is a free data retrieval call binding the contract method 0x4d2b57fe.
Solidity: function getBatchOperatorFromId(address registryCoordinator, bytes32[] operatorIds) view returns(address[] operators)
func (*ContractOperatorStateRetrieverCaller) GetBatchOperatorId ¶
func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverCaller) GetBatchOperatorId(opts *bind.CallOpts, registryCoordinator common.Address, operators []common.Address) ([][32]byte, error)
GetBatchOperatorId is a free data retrieval call binding the contract method 0x31b36bd9.
Solidity: function getBatchOperatorId(address registryCoordinator, address[] operators) view returns(bytes32[] operatorIds)
func (*ContractOperatorStateRetrieverCaller) GetCheckSignaturesIndices ¶
func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverCaller) GetCheckSignaturesIndices(opts *bind.CallOpts, registryCoordinator common.Address, referenceBlockNumber uint32, quorumNumbers []byte, nonSignerOperatorIds [][32]byte) (OperatorStateRetrieverCheckSignaturesIndices, error)
GetCheckSignaturesIndices is a free data retrieval call binding the contract method 0x4f739f74.
Solidity: function getCheckSignaturesIndices(address registryCoordinator, uint32 referenceBlockNumber, bytes quorumNumbers, bytes32[] nonSignerOperatorIds) view returns((uint32[],uint32[],uint32[],uint32[][]))
func (*ContractOperatorStateRetrieverCaller) GetOperatorState ¶
func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverCaller) GetOperatorState(opts *bind.CallOpts, registryCoordinator common.Address, quorumNumbers []byte, blockNumber uint32) ([][]OperatorStateRetrieverOperator, error)
GetOperatorState is a free data retrieval call binding the contract method 0x3563b0d1.
Solidity: function getOperatorState(address registryCoordinator, bytes quorumNumbers, uint32 blockNumber) view returns((address,bytes32,uint96)[][])
func (*ContractOperatorStateRetrieverCaller) GetOperatorState0 ¶
func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverCaller) GetOperatorState0(opts *bind.CallOpts, registryCoordinator common.Address, operatorId [32]byte, blockNumber uint32) (*big.Int, [][]OperatorStateRetrieverOperator, error)
GetOperatorState0 is a free data retrieval call binding the contract method 0xcefdc1d4.
Solidity: function getOperatorState(address registryCoordinator, bytes32 operatorId, uint32 blockNumber) view returns(uint256, (address,bytes32,uint96)[][])
func (*ContractOperatorStateRetrieverCaller) GetQuorumBitmapsAtBlockNumber ¶
func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverCaller) GetQuorumBitmapsAtBlockNumber(opts *bind.CallOpts, registryCoordinator common.Address, operatorIds [][32]byte, blockNumber uint32) ([]*big.Int, error)
GetQuorumBitmapsAtBlockNumber is a free data retrieval call binding the contract method 0x5c155662.
Solidity: function getQuorumBitmapsAtBlockNumber(address registryCoordinator, bytes32[] operatorIds, uint32 blockNumber) view returns(uint256[])
type ContractOperatorStateRetrieverCallerRaw ¶
type ContractOperatorStateRetrieverCallerRaw struct {
Contract *ContractOperatorStateRetrieverCaller // Generic read-only contract binding to access the raw methods on
}
ContractOperatorStateRetrieverCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ContractOperatorStateRetrieverCallerRaw) Call ¶
func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverCallerRaw) 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 ContractOperatorStateRetrieverCallerSession ¶
type ContractOperatorStateRetrieverCallerSession struct { Contract *ContractOperatorStateRetrieverCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ContractOperatorStateRetrieverCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ContractOperatorStateRetrieverCallerSession) GetBatchOperatorFromId ¶
func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverCallerSession) GetBatchOperatorFromId(registryCoordinator common.Address, operatorIds [][32]byte) ([]common.Address, error)
GetBatchOperatorFromId is a free data retrieval call binding the contract method 0x4d2b57fe.
Solidity: function getBatchOperatorFromId(address registryCoordinator, bytes32[] operatorIds) view returns(address[] operators)
func (*ContractOperatorStateRetrieverCallerSession) GetBatchOperatorId ¶
func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverCallerSession) GetBatchOperatorId(registryCoordinator common.Address, operators []common.Address) ([][32]byte, error)
GetBatchOperatorId is a free data retrieval call binding the contract method 0x31b36bd9.
Solidity: function getBatchOperatorId(address registryCoordinator, address[] operators) view returns(bytes32[] operatorIds)
func (*ContractOperatorStateRetrieverCallerSession) GetCheckSignaturesIndices ¶
func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverCallerSession) GetCheckSignaturesIndices(registryCoordinator common.Address, referenceBlockNumber uint32, quorumNumbers []byte, nonSignerOperatorIds [][32]byte) (OperatorStateRetrieverCheckSignaturesIndices, error)
GetCheckSignaturesIndices is a free data retrieval call binding the contract method 0x4f739f74.
Solidity: function getCheckSignaturesIndices(address registryCoordinator, uint32 referenceBlockNumber, bytes quorumNumbers, bytes32[] nonSignerOperatorIds) view returns((uint32[],uint32[],uint32[],uint32[][]))
func (*ContractOperatorStateRetrieverCallerSession) GetOperatorState ¶
func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverCallerSession) GetOperatorState(registryCoordinator common.Address, quorumNumbers []byte, blockNumber uint32) ([][]OperatorStateRetrieverOperator, error)
GetOperatorState is a free data retrieval call binding the contract method 0x3563b0d1.
Solidity: function getOperatorState(address registryCoordinator, bytes quorumNumbers, uint32 blockNumber) view returns((address,bytes32,uint96)[][])
func (*ContractOperatorStateRetrieverCallerSession) GetOperatorState0 ¶
func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverCallerSession) GetOperatorState0(registryCoordinator common.Address, operatorId [32]byte, blockNumber uint32) (*big.Int, [][]OperatorStateRetrieverOperator, error)
GetOperatorState0 is a free data retrieval call binding the contract method 0xcefdc1d4.
Solidity: function getOperatorState(address registryCoordinator, bytes32 operatorId, uint32 blockNumber) view returns(uint256, (address,bytes32,uint96)[][])
func (*ContractOperatorStateRetrieverCallerSession) GetQuorumBitmapsAtBlockNumber ¶
func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverCallerSession) GetQuorumBitmapsAtBlockNumber(registryCoordinator common.Address, operatorIds [][32]byte, blockNumber uint32) ([]*big.Int, error)
GetQuorumBitmapsAtBlockNumber is a free data retrieval call binding the contract method 0x5c155662.
Solidity: function getQuorumBitmapsAtBlockNumber(address registryCoordinator, bytes32[] operatorIds, uint32 blockNumber) view returns(uint256[])
type ContractOperatorStateRetrieverCalls ¶
type ContractOperatorStateRetrieverCalls interface { GetBatchOperatorFromId(opts *bind.CallOpts, registryCoordinator common.Address, operatorIds [][32]byte) ([]common.Address, error) GetBatchOperatorId(opts *bind.CallOpts, registryCoordinator common.Address, operators []common.Address) ([][32]byte, error) GetCheckSignaturesIndices(opts *bind.CallOpts, registryCoordinator common.Address, referenceBlockNumber uint32, quorumNumbers []byte, nonSignerOperatorIds [][32]byte) (OperatorStateRetrieverCheckSignaturesIndices, error) GetOperatorState(opts *bind.CallOpts, registryCoordinator common.Address, quorumNumbers []byte, blockNumber uint32) ([][]OperatorStateRetrieverOperator, error) GetOperatorState0(opts *bind.CallOpts, registryCoordinator common.Address, operatorId [32]byte, blockNumber uint32) (*big.Int, [][]OperatorStateRetrieverOperator, error) GetQuorumBitmapsAtBlockNumber(opts *bind.CallOpts, registryCoordinator common.Address, operatorIds [][32]byte, blockNumber uint32) ([]*big.Int, error) }
ContractOperatorStateRetrieverCalls is an auto generated interface that defines the call methods available for an Ethereum contract.
type ContractOperatorStateRetrieverFilterer ¶
type ContractOperatorStateRetrieverFilterer struct {
// contains filtered or unexported fields
}
ContractOperatorStateRetrieverFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewContractOperatorStateRetrieverFilterer ¶
func NewContractOperatorStateRetrieverFilterer(address common.Address, filterer bind.ContractFilterer) (*ContractOperatorStateRetrieverFilterer, error)
NewContractOperatorStateRetrieverFilterer creates a new log filterer instance of ContractOperatorStateRetriever, bound to a specific deployed contract.
type ContractOperatorStateRetrieverFilters ¶
type ContractOperatorStateRetrieverFilters interface { }
ContractOperatorStateRetrieverFilterer is an auto generated interface that defines the log filtering methods available for an Ethereum contract.
type ContractOperatorStateRetrieverMethods ¶
type ContractOperatorStateRetrieverMethods interface { ContractOperatorStateRetrieverCalls ContractOperatorStateRetrieverTransacts ContractOperatorStateRetrieverFilters }
ContractOperatorStateRetrieverMethods is an auto generated interface around an Ethereum contract.
type ContractOperatorStateRetrieverRaw ¶
type ContractOperatorStateRetrieverRaw struct {
Contract *ContractOperatorStateRetriever // Generic contract binding to access the raw methods on
}
ContractOperatorStateRetrieverRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ContractOperatorStateRetrieverRaw) Call ¶
func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverRaw) 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 (*ContractOperatorStateRetrieverRaw) Transact ¶
func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ContractOperatorStateRetrieverRaw) Transfer ¶
func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverRaw) 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 ContractOperatorStateRetrieverSession ¶
type ContractOperatorStateRetrieverSession struct { Contract *ContractOperatorStateRetriever // 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 }
ContractOperatorStateRetrieverSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ContractOperatorStateRetrieverSession) GetBatchOperatorFromId ¶
func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverSession) GetBatchOperatorFromId(registryCoordinator common.Address, operatorIds [][32]byte) ([]common.Address, error)
GetBatchOperatorFromId is a free data retrieval call binding the contract method 0x4d2b57fe.
Solidity: function getBatchOperatorFromId(address registryCoordinator, bytes32[] operatorIds) view returns(address[] operators)
func (*ContractOperatorStateRetrieverSession) GetBatchOperatorId ¶
func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverSession) GetBatchOperatorId(registryCoordinator common.Address, operators []common.Address) ([][32]byte, error)
GetBatchOperatorId is a free data retrieval call binding the contract method 0x31b36bd9.
Solidity: function getBatchOperatorId(address registryCoordinator, address[] operators) view returns(bytes32[] operatorIds)
func (*ContractOperatorStateRetrieverSession) GetCheckSignaturesIndices ¶
func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverSession) GetCheckSignaturesIndices(registryCoordinator common.Address, referenceBlockNumber uint32, quorumNumbers []byte, nonSignerOperatorIds [][32]byte) (OperatorStateRetrieverCheckSignaturesIndices, error)
GetCheckSignaturesIndices is a free data retrieval call binding the contract method 0x4f739f74.
Solidity: function getCheckSignaturesIndices(address registryCoordinator, uint32 referenceBlockNumber, bytes quorumNumbers, bytes32[] nonSignerOperatorIds) view returns((uint32[],uint32[],uint32[],uint32[][]))
func (*ContractOperatorStateRetrieverSession) GetOperatorState ¶
func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverSession) GetOperatorState(registryCoordinator common.Address, quorumNumbers []byte, blockNumber uint32) ([][]OperatorStateRetrieverOperator, error)
GetOperatorState is a free data retrieval call binding the contract method 0x3563b0d1.
Solidity: function getOperatorState(address registryCoordinator, bytes quorumNumbers, uint32 blockNumber) view returns((address,bytes32,uint96)[][])
func (*ContractOperatorStateRetrieverSession) GetOperatorState0 ¶
func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverSession) GetOperatorState0(registryCoordinator common.Address, operatorId [32]byte, blockNumber uint32) (*big.Int, [][]OperatorStateRetrieverOperator, error)
GetOperatorState0 is a free data retrieval call binding the contract method 0xcefdc1d4.
Solidity: function getOperatorState(address registryCoordinator, bytes32 operatorId, uint32 blockNumber) view returns(uint256, (address,bytes32,uint96)[][])
func (*ContractOperatorStateRetrieverSession) GetQuorumBitmapsAtBlockNumber ¶
func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverSession) GetQuorumBitmapsAtBlockNumber(registryCoordinator common.Address, operatorIds [][32]byte, blockNumber uint32) ([]*big.Int, error)
GetQuorumBitmapsAtBlockNumber is a free data retrieval call binding the contract method 0x5c155662.
Solidity: function getQuorumBitmapsAtBlockNumber(address registryCoordinator, bytes32[] operatorIds, uint32 blockNumber) view returns(uint256[])
type ContractOperatorStateRetrieverTransactor ¶
type ContractOperatorStateRetrieverTransactor struct {
// contains filtered or unexported fields
}
ContractOperatorStateRetrieverTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewContractOperatorStateRetrieverTransactor ¶
func NewContractOperatorStateRetrieverTransactor(address common.Address, transactor bind.ContractTransactor) (*ContractOperatorStateRetrieverTransactor, error)
NewContractOperatorStateRetrieverTransactor creates a new write-only instance of ContractOperatorStateRetriever, bound to a specific deployed contract.
type ContractOperatorStateRetrieverTransactorRaw ¶
type ContractOperatorStateRetrieverTransactorRaw struct {
Contract *ContractOperatorStateRetrieverTransactor // Generic write-only contract binding to access the raw methods on
}
ContractOperatorStateRetrieverTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ContractOperatorStateRetrieverTransactorRaw) Transact ¶
func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ContractOperatorStateRetrieverTransactorRaw) Transfer ¶
func (_ContractOperatorStateRetriever *ContractOperatorStateRetrieverTransactorRaw) 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 ContractOperatorStateRetrieverTransactorSession ¶
type ContractOperatorStateRetrieverTransactorSession struct { Contract *ContractOperatorStateRetrieverTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ContractOperatorStateRetrieverTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type ContractOperatorStateRetrieverTransacts ¶
type ContractOperatorStateRetrieverTransacts interface { }
ContractOperatorStateRetrieverTransacts is an auto generated interface that defines the transact methods available for an Ethereum contract.
type OperatorStateRetrieverCheckSignaturesIndices ¶
type OperatorStateRetrieverCheckSignaturesIndices struct { NonSignerQuorumBitmapIndices []uint32 QuorumApkIndices []uint32 TotalStakeIndices []uint32 NonSignerStakeIndices [][]uint32 }
OperatorStateRetrieverCheckSignaturesIndices is an auto generated low-level Go binding around an user-defined struct.