contractSFFLOperatorSetUpdateRegistry

package
v0.0.0-...-2c9fc41 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ContractSFFLOperatorSetUpdateRegistryABI = ContractSFFLOperatorSetUpdateRegistryMetaData.ABI

ContractSFFLOperatorSetUpdateRegistryABI is the input ABI used to generate the binding from. Deprecated: Use ContractSFFLOperatorSetUpdateRegistryMetaData.ABI instead.

View Source
var ContractSFFLOperatorSetUpdateRegistryBin = ContractSFFLOperatorSetUpdateRegistryMetaData.Bin

ContractSFFLOperatorSetUpdateRegistryBin is the compiled bytecode used for deploying new contracts. Deprecated: Use ContractSFFLOperatorSetUpdateRegistryMetaData.Bin instead.

View Source
var ContractSFFLOperatorSetUpdateRegistryMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"constructor\",\"inputs\":[{\"name\":\"_registryCoordinator\",\"type\":\"address\",\"internalType\":\"contractIRegistryCoordinator\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"getOperatorSetUpdate\",\"inputs\":[{\"name\":\"operatorSetUpdateId\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"outputs\":[{\"name\":\"previousOperatorSet\",\"type\":\"tuple[]\",\"internalType\":\"structRollupOperators.Operator[]\",\"components\":[{\"name\":\"pubkey\",\"type\":\"tuple\",\"internalType\":\"structBN254.G1Point\",\"components\":[{\"name\":\"X\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"Y\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"weight\",\"type\":\"uint128\",\"internalType\":\"uint128\"}]},{\"name\":\"newOperatorSet\",\"type\":\"tuple[]\",\"internalType\":\"structRollupOperators.Operator[]\",\"components\":[{\"name\":\"pubkey\",\"type\":\"tuple\",\"internalType\":\"structBN254.G1Point\",\"components\":[{\"name\":\"X\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"Y\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"weight\",\"type\":\"uint128\",\"internalType\":\"uint128\"}]}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getOperatorSetUpdateCount\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"isOperatorWhitelisted\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"operatorSetUpdateIdToBlockNumber\",\"inputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint32\",\"internalType\":\"uint32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"recordOperatorSetUpdate\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"registryCoordinator\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractIRegistryCoordinator\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"setOperatorWhitelisting\",\"inputs\":[{\"name\":\"operator\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"isWhitelisted\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"event\",\"name\":\"Initialized\",\"inputs\":[{\"name\":\"version\",\"type\":\"uint8\",\"indexed\":false,\"internalType\":\"uint8\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"OperatorSetUpdatedAtBlock\",\"inputs\":[{\"name\":\"id\",\"type\":\"uint64\",\"indexed\":true,\"internalType\":\"uint64\"},{\"name\":\"timestamp\",\"type\":\"uint64\",\"indexed\":true,\"internalType\":\"uint64\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"OperatorWhitelistingUpdated\",\"inputs\":[{\"name\":\"operator\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"isWhitelisted\",\"type\":\"bool\",\"indexed\":false,\"internalType\":\"bool\"}],\"anonymous\":false}]",
	Bin: "0x60a060405234801561001057600080fd5b50604051610f17380380610f1783398101604081905261002f9161010a565b6001600160a01b03811660805261004461004a565b5061013a565b600054610100900460ff16156100b65760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60005460ff9081161015610108576000805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b60006020828403121561011c57600080fd5b81516001600160a01b038116811461013357600080fd5b9392505050565b608051610da06101776000396000818160e901528181610175015281816101fb0152818161028101528181610396015261057a0152610da06000f3fe608060405234801561001057600080fd5b506004361061006d5760003560e01c8063046a0654146100725780630ca192c71461009c5780632e8da829146100b15780636d14a987146100e457806389a652ce14610123578063af99fa0e1461013e578063bfe1073814610166575b600080fd5b610085610080366004610a21565b61016e565b604051610093929190610aaa565b60405180910390f35b6100af6100aa366004610af0565b610394565b005b6100d46100bf366004610b2e565b60026020526000908152604090205460ff1681565b6040519015158152602001610093565b61010b7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610093565b6001546040516001600160401b039091168152602001610093565b61015161014c366004610b4b565b610535565b60405163ffffffff9091168152602001610093565b6100af61056f565b60608060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663683048356040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101f59190610b64565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316639e9923c26040518163ffffffff1660e01b8152600401602060405180830381865afa158015610257573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061027b9190610b64565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316635df459466040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103019190610b64565b90506001600160401b0386161561036b5761036860016103218189610b97565b6001600160401b03168154811061033a5761033a610bbf565b90600052602060002090600891828204019190066004029054906101000a900463ffffffff1684848461073a565b94505b61038a6001876001600160401b03168154811061033a5761033a610bbf565b9350505050915091565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156103f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104169190610b64565b6001600160a01b0316336001600160a01b0316146104d65760405162461bcd60e51b815260206004820152606660248201527f5346464c4f70657261746f7253657455706461746552656769737472792e6f6e60448201527f6c79436f6f7264696e61746f724f776e65723a2063616c6c6572206973206e6f60648201527f7420746865206f776e6572206f6620746865207265676973747279436f6f726460848201526534b730ba37b960d11b60a482015260c4015b60405180910390fd5b6001600160a01b038216600081815260026020908152604091829020805460ff191685151590811790915591519182527f2b83db0a8941bdf64ef44d95a1a397fdbcb6fd1b93ed421b73d00ddcecf5c793910160405180910390a25050565b6001818154811061054557600080fd5b9060005260206000209060089182820401919006600402915054906101000a900463ffffffff1681565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146106335760405162461bcd60e51b815260206004820152605d60248201527f5346464c4f70657261746f7253657455706461746552656769737472792e6f6e60448201527f6c795265676973747279436f6f7264696e61746f723a2063616c6c657220697360648201527f206e6f742074686520726567697374727920636f6f7264696e61746f72000000608482015260a4016104cd565b6001546001600160401b0381161580159061069557504360016106568184610b97565b6001600160401b03168154811061066f5761066f610bbf565b6000918252602090912060088204015460079091166004026101000a900463ffffffff16145b1561069d5750565b426001600160401b0316816001600160401b03167fc48e61b12810d368042f781cfb732d0abb725377d90b600f78e0cec7dbd0c28d60405160405180910390a3506001805480820182556000919091527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf66008820401805460079092166004026101000a63ffffffff818102199093164390931602919091179055565b604051638902624560e01b815260006004820181905263ffffffff861660248301526060916001600160a01b03851690638902624590604401600060405180830381865afa158015610790573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107b89190810190610c1b565b9050600081516001600160401b038111156107d5576107d5610bd5565b60405190808252806020026020018201604052801561082957816020015b60408051608081018252600091810182815260608201839052815260208101919091528152602001906001900390816107f35790505b50905060005b8251811015610a1657600083828151811061084c5761084c610bbf565b602002602001015190506000866001600160a01b03166347b314e8836040518263ffffffff1660e01b815260040161088691815260200190565b602060405180830381865afa1580156108a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c79190610b64565b604051637ff81a8760e01b81526001600160a01b038083166004830152919250600091891690637ff81a8790602401606060405180830381865afa158015610913573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109379190610cc0565b5060405163fa28c62760e01b81526004810185905260006024820181905263ffffffff8e1660448301529192506001600160a01b038c169063fa28c62790606401602060405180830381865afa158015610995573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109b99190610d26565b90506040518060400160405280838152602001826001600160601b03166001600160801b03168152508686815181106109f4576109f4610bbf565b6020026020010181905250505050508080610a0e90610d4f565b91505061082f565b509695505050505050565b600060208284031215610a3357600080fd5b81356001600160401b0381168114610a4a57600080fd5b9392505050565b600081518084526020808501945080840160005b83811015610a9f578151805180518952840151848901528301516001600160801b0316604088015260609096019590820190600101610a65565b509495945050505050565b604081526000610abd6040830185610a51565b8281036020840152610acf8185610a51565b95945050505050565b6001600160a01b0381168114610aed57600080fd5b50565b60008060408385031215610b0357600080fd5b8235610b0e81610ad8565b915060208301358015158114610b2357600080fd5b809150509250929050565b600060208284031215610b4057600080fd5b8135610a4a81610ad8565b600060208284031215610b5d57600080fd5b5035919050565b600060208284031215610b7657600080fd5b8151610a4a81610ad8565b634e487b7160e01b600052601160045260246000fd5b60006001600160401b0383811690831681811015610bb757610bb7610b81565b039392505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715610c1357610c13610bd5565b604052919050565b60006020808385031215610c2e57600080fd5b82516001600160401b0380821115610c4557600080fd5b818501915085601f830112610c5957600080fd5b815181811115610c6b57610c6b610bd5565b8060051b9150610c7c848301610beb565b8181529183018401918481019088841115610c9657600080fd5b938501935b83851015610cb457845182529385019390850190610c9b565b98975050505050505050565b6000808284036060811215610cd457600080fd5b6040811215610ce257600080fd5b50604051604081018181106001600160401b0382111715610d0557610d05610bd5565b60409081528451825260208086015190830152939093015192949293505050565b600060208284031215610d3857600080fd5b81516001600160601b0381168114610a4a57600080fd5b6000600019821415610d6357610d63610b81565b506001019056fea2646970667358221220c83f0a5dd73f6b3f404f29c9e8cf82d0c35e2eecbc2a5c48bee1657e98a06e1964736f6c634300080c0033",
}

ContractSFFLOperatorSetUpdateRegistryMetaData contains all meta data concerning the ContractSFFLOperatorSetUpdateRegistry contract.

Functions

This section is empty.

Types

type BN254G1Point

type BN254G1Point struct {
	X *big.Int
	Y *big.Int
}

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

type ContractSFFLOperatorSetUpdateRegistry

type ContractSFFLOperatorSetUpdateRegistry struct {
	ContractSFFLOperatorSetUpdateRegistryCaller     // Read-only binding to the contract
	ContractSFFLOperatorSetUpdateRegistryTransactor // Write-only binding to the contract
	ContractSFFLOperatorSetUpdateRegistryFilterer   // Log filterer for contract events
}

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

func DeployContractSFFLOperatorSetUpdateRegistry

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

DeployContractSFFLOperatorSetUpdateRegistry deploys a new Ethereum contract, binding an instance of ContractSFFLOperatorSetUpdateRegistry to it.

func NewContractSFFLOperatorSetUpdateRegistry

func NewContractSFFLOperatorSetUpdateRegistry(address common.Address, backend bind.ContractBackend) (*ContractSFFLOperatorSetUpdateRegistry, error)

NewContractSFFLOperatorSetUpdateRegistry creates a new instance of ContractSFFLOperatorSetUpdateRegistry, bound to a specific deployed contract.

type ContractSFFLOperatorSetUpdateRegistryCaller

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

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

func NewContractSFFLOperatorSetUpdateRegistryCaller

func NewContractSFFLOperatorSetUpdateRegistryCaller(address common.Address, caller bind.ContractCaller) (*ContractSFFLOperatorSetUpdateRegistryCaller, error)

NewContractSFFLOperatorSetUpdateRegistryCaller creates a new read-only instance of ContractSFFLOperatorSetUpdateRegistry, bound to a specific deployed contract.

func (*ContractSFFLOperatorSetUpdateRegistryCaller) GetOperatorSetUpdate

func (_ContractSFFLOperatorSetUpdateRegistry *ContractSFFLOperatorSetUpdateRegistryCaller) GetOperatorSetUpdate(opts *bind.CallOpts, operatorSetUpdateId uint64) (struct {
	PreviousOperatorSet []RollupOperatorsOperator
	NewOperatorSet      []RollupOperatorsOperator
}, error)

GetOperatorSetUpdate is a free data retrieval call binding the contract method 0x046a0654.

Solidity: function getOperatorSetUpdate(uint64 operatorSetUpdateId) view returns(((uint256,uint256),uint128)[] previousOperatorSet, ((uint256,uint256),uint128)[] newOperatorSet)

func (*ContractSFFLOperatorSetUpdateRegistryCaller) GetOperatorSetUpdateCount

func (_ContractSFFLOperatorSetUpdateRegistry *ContractSFFLOperatorSetUpdateRegistryCaller) GetOperatorSetUpdateCount(opts *bind.CallOpts) (uint64, error)

GetOperatorSetUpdateCount is a free data retrieval call binding the contract method 0x89a652ce.

Solidity: function getOperatorSetUpdateCount() view returns(uint64)

func (*ContractSFFLOperatorSetUpdateRegistryCaller) IsOperatorWhitelisted

func (_ContractSFFLOperatorSetUpdateRegistry *ContractSFFLOperatorSetUpdateRegistryCaller) IsOperatorWhitelisted(opts *bind.CallOpts, arg0 common.Address) (bool, error)

IsOperatorWhitelisted is a free data retrieval call binding the contract method 0x2e8da829.

Solidity: function isOperatorWhitelisted(address ) view returns(bool)

func (*ContractSFFLOperatorSetUpdateRegistryCaller) OperatorSetUpdateIdToBlockNumber

func (_ContractSFFLOperatorSetUpdateRegistry *ContractSFFLOperatorSetUpdateRegistryCaller) OperatorSetUpdateIdToBlockNumber(opts *bind.CallOpts, arg0 *big.Int) (uint32, error)

OperatorSetUpdateIdToBlockNumber is a free data retrieval call binding the contract method 0xaf99fa0e.

Solidity: function operatorSetUpdateIdToBlockNumber(uint256 ) view returns(uint32)

func (*ContractSFFLOperatorSetUpdateRegistryCaller) RegistryCoordinator

func (_ContractSFFLOperatorSetUpdateRegistry *ContractSFFLOperatorSetUpdateRegistryCaller) 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)

type ContractSFFLOperatorSetUpdateRegistryCallerRaw

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

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

func (*ContractSFFLOperatorSetUpdateRegistryCallerRaw) Call

func (_ContractSFFLOperatorSetUpdateRegistry *ContractSFFLOperatorSetUpdateRegistryCallerRaw) 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 ContractSFFLOperatorSetUpdateRegistryCallerSession

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

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

func (*ContractSFFLOperatorSetUpdateRegistryCallerSession) GetOperatorSetUpdate

func (_ContractSFFLOperatorSetUpdateRegistry *ContractSFFLOperatorSetUpdateRegistryCallerSession) GetOperatorSetUpdate(operatorSetUpdateId uint64) (struct {
	PreviousOperatorSet []RollupOperatorsOperator
	NewOperatorSet      []RollupOperatorsOperator
}, error)

GetOperatorSetUpdate is a free data retrieval call binding the contract method 0x046a0654.

Solidity: function getOperatorSetUpdate(uint64 operatorSetUpdateId) view returns(((uint256,uint256),uint128)[] previousOperatorSet, ((uint256,uint256),uint128)[] newOperatorSet)

func (*ContractSFFLOperatorSetUpdateRegistryCallerSession) GetOperatorSetUpdateCount

func (_ContractSFFLOperatorSetUpdateRegistry *ContractSFFLOperatorSetUpdateRegistryCallerSession) GetOperatorSetUpdateCount() (uint64, error)

GetOperatorSetUpdateCount is a free data retrieval call binding the contract method 0x89a652ce.

Solidity: function getOperatorSetUpdateCount() view returns(uint64)

func (*ContractSFFLOperatorSetUpdateRegistryCallerSession) IsOperatorWhitelisted

func (_ContractSFFLOperatorSetUpdateRegistry *ContractSFFLOperatorSetUpdateRegistryCallerSession) IsOperatorWhitelisted(arg0 common.Address) (bool, error)

IsOperatorWhitelisted is a free data retrieval call binding the contract method 0x2e8da829.

Solidity: function isOperatorWhitelisted(address ) view returns(bool)

func (*ContractSFFLOperatorSetUpdateRegistryCallerSession) OperatorSetUpdateIdToBlockNumber

func (_ContractSFFLOperatorSetUpdateRegistry *ContractSFFLOperatorSetUpdateRegistryCallerSession) OperatorSetUpdateIdToBlockNumber(arg0 *big.Int) (uint32, error)

OperatorSetUpdateIdToBlockNumber is a free data retrieval call binding the contract method 0xaf99fa0e.

Solidity: function operatorSetUpdateIdToBlockNumber(uint256 ) view returns(uint32)

func (*ContractSFFLOperatorSetUpdateRegistryCallerSession) RegistryCoordinator

func (_ContractSFFLOperatorSetUpdateRegistry *ContractSFFLOperatorSetUpdateRegistryCallerSession) RegistryCoordinator() (common.Address, error)

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

Solidity: function registryCoordinator() view returns(address)

type ContractSFFLOperatorSetUpdateRegistryFilterer

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

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

func NewContractSFFLOperatorSetUpdateRegistryFilterer

func NewContractSFFLOperatorSetUpdateRegistryFilterer(address common.Address, filterer bind.ContractFilterer) (*ContractSFFLOperatorSetUpdateRegistryFilterer, error)

NewContractSFFLOperatorSetUpdateRegistryFilterer creates a new log filterer instance of ContractSFFLOperatorSetUpdateRegistry, bound to a specific deployed contract.

func (*ContractSFFLOperatorSetUpdateRegistryFilterer) FilterInitialized

func (_ContractSFFLOperatorSetUpdateRegistry *ContractSFFLOperatorSetUpdateRegistryFilterer) FilterInitialized(opts *bind.FilterOpts) (*ContractSFFLOperatorSetUpdateRegistryInitializedIterator, error)

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

Solidity: event Initialized(uint8 version)

func (*ContractSFFLOperatorSetUpdateRegistryFilterer) FilterOperatorSetUpdatedAtBlock

func (_ContractSFFLOperatorSetUpdateRegistry *ContractSFFLOperatorSetUpdateRegistryFilterer) FilterOperatorSetUpdatedAtBlock(opts *bind.FilterOpts, id []uint64, timestamp []uint64) (*ContractSFFLOperatorSetUpdateRegistryOperatorSetUpdatedAtBlockIterator, error)

FilterOperatorSetUpdatedAtBlock is a free log retrieval operation binding the contract event 0xc48e61b12810d368042f781cfb732d0abb725377d90b600f78e0cec7dbd0c28d.

Solidity: event OperatorSetUpdatedAtBlock(uint64 indexed id, uint64 indexed timestamp)

func (*ContractSFFLOperatorSetUpdateRegistryFilterer) FilterOperatorWhitelistingUpdated

func (_ContractSFFLOperatorSetUpdateRegistry *ContractSFFLOperatorSetUpdateRegistryFilterer) FilterOperatorWhitelistingUpdated(opts *bind.FilterOpts, operator []common.Address) (*ContractSFFLOperatorSetUpdateRegistryOperatorWhitelistingUpdatedIterator, error)

FilterOperatorWhitelistingUpdated is a free log retrieval operation binding the contract event 0x2b83db0a8941bdf64ef44d95a1a397fdbcb6fd1b93ed421b73d00ddcecf5c793.

Solidity: event OperatorWhitelistingUpdated(address indexed operator, bool isWhitelisted)

func (*ContractSFFLOperatorSetUpdateRegistryFilterer) ParseInitialized

func (_ContractSFFLOperatorSetUpdateRegistry *ContractSFFLOperatorSetUpdateRegistryFilterer) ParseInitialized(log types.Log) (*ContractSFFLOperatorSetUpdateRegistryInitialized, error)

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

Solidity: event Initialized(uint8 version)

func (*ContractSFFLOperatorSetUpdateRegistryFilterer) ParseOperatorSetUpdatedAtBlock

func (_ContractSFFLOperatorSetUpdateRegistry *ContractSFFLOperatorSetUpdateRegistryFilterer) ParseOperatorSetUpdatedAtBlock(log types.Log) (*ContractSFFLOperatorSetUpdateRegistryOperatorSetUpdatedAtBlock, error)

ParseOperatorSetUpdatedAtBlock is a log parse operation binding the contract event 0xc48e61b12810d368042f781cfb732d0abb725377d90b600f78e0cec7dbd0c28d.

Solidity: event OperatorSetUpdatedAtBlock(uint64 indexed id, uint64 indexed timestamp)

func (*ContractSFFLOperatorSetUpdateRegistryFilterer) ParseOperatorWhitelistingUpdated

func (_ContractSFFLOperatorSetUpdateRegistry *ContractSFFLOperatorSetUpdateRegistryFilterer) ParseOperatorWhitelistingUpdated(log types.Log) (*ContractSFFLOperatorSetUpdateRegistryOperatorWhitelistingUpdated, error)

ParseOperatorWhitelistingUpdated is a log parse operation binding the contract event 0x2b83db0a8941bdf64ef44d95a1a397fdbcb6fd1b93ed421b73d00ddcecf5c793.

Solidity: event OperatorWhitelistingUpdated(address indexed operator, bool isWhitelisted)

func (*ContractSFFLOperatorSetUpdateRegistryFilterer) WatchInitialized

func (_ContractSFFLOperatorSetUpdateRegistry *ContractSFFLOperatorSetUpdateRegistryFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ContractSFFLOperatorSetUpdateRegistryInitialized) (event.Subscription, error)

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

Solidity: event Initialized(uint8 version)

func (*ContractSFFLOperatorSetUpdateRegistryFilterer) WatchOperatorSetUpdatedAtBlock

func (_ContractSFFLOperatorSetUpdateRegistry *ContractSFFLOperatorSetUpdateRegistryFilterer) WatchOperatorSetUpdatedAtBlock(opts *bind.WatchOpts, sink chan<- *ContractSFFLOperatorSetUpdateRegistryOperatorSetUpdatedAtBlock, id []uint64, timestamp []uint64) (event.Subscription, error)

WatchOperatorSetUpdatedAtBlock is a free log subscription operation binding the contract event 0xc48e61b12810d368042f781cfb732d0abb725377d90b600f78e0cec7dbd0c28d.

Solidity: event OperatorSetUpdatedAtBlock(uint64 indexed id, uint64 indexed timestamp)

func (*ContractSFFLOperatorSetUpdateRegistryFilterer) WatchOperatorWhitelistingUpdated

func (_ContractSFFLOperatorSetUpdateRegistry *ContractSFFLOperatorSetUpdateRegistryFilterer) WatchOperatorWhitelistingUpdated(opts *bind.WatchOpts, sink chan<- *ContractSFFLOperatorSetUpdateRegistryOperatorWhitelistingUpdated, operator []common.Address) (event.Subscription, error)

WatchOperatorWhitelistingUpdated is a free log subscription operation binding the contract event 0x2b83db0a8941bdf64ef44d95a1a397fdbcb6fd1b93ed421b73d00ddcecf5c793.

Solidity: event OperatorWhitelistingUpdated(address indexed operator, bool isWhitelisted)

type ContractSFFLOperatorSetUpdateRegistryInitialized

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

ContractSFFLOperatorSetUpdateRegistryInitialized represents a Initialized event raised by the ContractSFFLOperatorSetUpdateRegistry contract.

type ContractSFFLOperatorSetUpdateRegistryInitializedIterator

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

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

func (*ContractSFFLOperatorSetUpdateRegistryInitializedIterator) Close

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

func (*ContractSFFLOperatorSetUpdateRegistryInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractSFFLOperatorSetUpdateRegistryInitializedIterator) 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 ContractSFFLOperatorSetUpdateRegistryOperatorSetUpdatedAtBlock

type ContractSFFLOperatorSetUpdateRegistryOperatorSetUpdatedAtBlock struct {
	Id        uint64
	Timestamp uint64
	Raw       types.Log // Blockchain specific contextual infos
}

ContractSFFLOperatorSetUpdateRegistryOperatorSetUpdatedAtBlock represents a OperatorSetUpdatedAtBlock event raised by the ContractSFFLOperatorSetUpdateRegistry contract.

type ContractSFFLOperatorSetUpdateRegistryOperatorSetUpdatedAtBlockIterator

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

ContractSFFLOperatorSetUpdateRegistryOperatorSetUpdatedAtBlockIterator is returned from FilterOperatorSetUpdatedAtBlock and is used to iterate over the raw logs and unpacked data for OperatorSetUpdatedAtBlock events raised by the ContractSFFLOperatorSetUpdateRegistry contract.

func (*ContractSFFLOperatorSetUpdateRegistryOperatorSetUpdatedAtBlockIterator) Close

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

func (*ContractSFFLOperatorSetUpdateRegistryOperatorSetUpdatedAtBlockIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractSFFLOperatorSetUpdateRegistryOperatorSetUpdatedAtBlockIterator) 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 ContractSFFLOperatorSetUpdateRegistryOperatorWhitelistingUpdated

type ContractSFFLOperatorSetUpdateRegistryOperatorWhitelistingUpdated struct {
	Operator      common.Address
	IsWhitelisted bool
	Raw           types.Log // Blockchain specific contextual infos
}

ContractSFFLOperatorSetUpdateRegistryOperatorWhitelistingUpdated represents a OperatorWhitelistingUpdated event raised by the ContractSFFLOperatorSetUpdateRegistry contract.

type ContractSFFLOperatorSetUpdateRegistryOperatorWhitelistingUpdatedIterator

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

ContractSFFLOperatorSetUpdateRegistryOperatorWhitelistingUpdatedIterator is returned from FilterOperatorWhitelistingUpdated and is used to iterate over the raw logs and unpacked data for OperatorWhitelistingUpdated events raised by the ContractSFFLOperatorSetUpdateRegistry contract.

func (*ContractSFFLOperatorSetUpdateRegistryOperatorWhitelistingUpdatedIterator) Close

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

func (*ContractSFFLOperatorSetUpdateRegistryOperatorWhitelistingUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractSFFLOperatorSetUpdateRegistryOperatorWhitelistingUpdatedIterator) 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 ContractSFFLOperatorSetUpdateRegistryRaw

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

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

func (*ContractSFFLOperatorSetUpdateRegistryRaw) Call

func (_ContractSFFLOperatorSetUpdateRegistry *ContractSFFLOperatorSetUpdateRegistryRaw) 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 (*ContractSFFLOperatorSetUpdateRegistryRaw) Transact

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

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

func (*ContractSFFLOperatorSetUpdateRegistryRaw) Transfer

func (_ContractSFFLOperatorSetUpdateRegistry *ContractSFFLOperatorSetUpdateRegistryRaw) 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 ContractSFFLOperatorSetUpdateRegistrySession

type ContractSFFLOperatorSetUpdateRegistrySession struct {
	Contract     *ContractSFFLOperatorSetUpdateRegistry // 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
}

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

func (*ContractSFFLOperatorSetUpdateRegistrySession) GetOperatorSetUpdate

func (_ContractSFFLOperatorSetUpdateRegistry *ContractSFFLOperatorSetUpdateRegistrySession) GetOperatorSetUpdate(operatorSetUpdateId uint64) (struct {
	PreviousOperatorSet []RollupOperatorsOperator
	NewOperatorSet      []RollupOperatorsOperator
}, error)

GetOperatorSetUpdate is a free data retrieval call binding the contract method 0x046a0654.

Solidity: function getOperatorSetUpdate(uint64 operatorSetUpdateId) view returns(((uint256,uint256),uint128)[] previousOperatorSet, ((uint256,uint256),uint128)[] newOperatorSet)

func (*ContractSFFLOperatorSetUpdateRegistrySession) GetOperatorSetUpdateCount

func (_ContractSFFLOperatorSetUpdateRegistry *ContractSFFLOperatorSetUpdateRegistrySession) GetOperatorSetUpdateCount() (uint64, error)

GetOperatorSetUpdateCount is a free data retrieval call binding the contract method 0x89a652ce.

Solidity: function getOperatorSetUpdateCount() view returns(uint64)

func (*ContractSFFLOperatorSetUpdateRegistrySession) IsOperatorWhitelisted

func (_ContractSFFLOperatorSetUpdateRegistry *ContractSFFLOperatorSetUpdateRegistrySession) IsOperatorWhitelisted(arg0 common.Address) (bool, error)

IsOperatorWhitelisted is a free data retrieval call binding the contract method 0x2e8da829.

Solidity: function isOperatorWhitelisted(address ) view returns(bool)

func (*ContractSFFLOperatorSetUpdateRegistrySession) OperatorSetUpdateIdToBlockNumber

func (_ContractSFFLOperatorSetUpdateRegistry *ContractSFFLOperatorSetUpdateRegistrySession) OperatorSetUpdateIdToBlockNumber(arg0 *big.Int) (uint32, error)

OperatorSetUpdateIdToBlockNumber is a free data retrieval call binding the contract method 0xaf99fa0e.

Solidity: function operatorSetUpdateIdToBlockNumber(uint256 ) view returns(uint32)

func (*ContractSFFLOperatorSetUpdateRegistrySession) RecordOperatorSetUpdate

func (_ContractSFFLOperatorSetUpdateRegistry *ContractSFFLOperatorSetUpdateRegistrySession) RecordOperatorSetUpdate() (*types.Transaction, error)

RecordOperatorSetUpdate is a paid mutator transaction binding the contract method 0xbfe10738.

Solidity: function recordOperatorSetUpdate() returns()

func (*ContractSFFLOperatorSetUpdateRegistrySession) RegistryCoordinator

func (_ContractSFFLOperatorSetUpdateRegistry *ContractSFFLOperatorSetUpdateRegistrySession) RegistryCoordinator() (common.Address, error)

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

Solidity: function registryCoordinator() view returns(address)

func (*ContractSFFLOperatorSetUpdateRegistrySession) SetOperatorWhitelisting

func (_ContractSFFLOperatorSetUpdateRegistry *ContractSFFLOperatorSetUpdateRegistrySession) SetOperatorWhitelisting(operator common.Address, isWhitelisted bool) (*types.Transaction, error)

SetOperatorWhitelisting is a paid mutator transaction binding the contract method 0x0ca192c7.

Solidity: function setOperatorWhitelisting(address operator, bool isWhitelisted) returns()

type ContractSFFLOperatorSetUpdateRegistryTransactor

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

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

func NewContractSFFLOperatorSetUpdateRegistryTransactor

func NewContractSFFLOperatorSetUpdateRegistryTransactor(address common.Address, transactor bind.ContractTransactor) (*ContractSFFLOperatorSetUpdateRegistryTransactor, error)

NewContractSFFLOperatorSetUpdateRegistryTransactor creates a new write-only instance of ContractSFFLOperatorSetUpdateRegistry, bound to a specific deployed contract.

func (*ContractSFFLOperatorSetUpdateRegistryTransactor) RecordOperatorSetUpdate

func (_ContractSFFLOperatorSetUpdateRegistry *ContractSFFLOperatorSetUpdateRegistryTransactor) RecordOperatorSetUpdate(opts *bind.TransactOpts) (*types.Transaction, error)

RecordOperatorSetUpdate is a paid mutator transaction binding the contract method 0xbfe10738.

Solidity: function recordOperatorSetUpdate() returns()

func (*ContractSFFLOperatorSetUpdateRegistryTransactor) SetOperatorWhitelisting

func (_ContractSFFLOperatorSetUpdateRegistry *ContractSFFLOperatorSetUpdateRegistryTransactor) SetOperatorWhitelisting(opts *bind.TransactOpts, operator common.Address, isWhitelisted bool) (*types.Transaction, error)

SetOperatorWhitelisting is a paid mutator transaction binding the contract method 0x0ca192c7.

Solidity: function setOperatorWhitelisting(address operator, bool isWhitelisted) returns()

type ContractSFFLOperatorSetUpdateRegistryTransactorRaw

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

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

func (*ContractSFFLOperatorSetUpdateRegistryTransactorRaw) Transact

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

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

func (*ContractSFFLOperatorSetUpdateRegistryTransactorRaw) Transfer

func (_ContractSFFLOperatorSetUpdateRegistry *ContractSFFLOperatorSetUpdateRegistryTransactorRaw) 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 ContractSFFLOperatorSetUpdateRegistryTransactorSession

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

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

func (*ContractSFFLOperatorSetUpdateRegistryTransactorSession) RecordOperatorSetUpdate

func (_ContractSFFLOperatorSetUpdateRegistry *ContractSFFLOperatorSetUpdateRegistryTransactorSession) RecordOperatorSetUpdate() (*types.Transaction, error)

RecordOperatorSetUpdate is a paid mutator transaction binding the contract method 0xbfe10738.

Solidity: function recordOperatorSetUpdate() returns()

func (*ContractSFFLOperatorSetUpdateRegistryTransactorSession) SetOperatorWhitelisting

func (_ContractSFFLOperatorSetUpdateRegistry *ContractSFFLOperatorSetUpdateRegistryTransactorSession) SetOperatorWhitelisting(operator common.Address, isWhitelisted bool) (*types.Transaction, error)

SetOperatorWhitelisting is a paid mutator transaction binding the contract method 0x0ca192c7.

Solidity: function setOperatorWhitelisting(address operator, bool isWhitelisted) returns()

type RollupOperatorsOperator

type RollupOperatorsOperator struct {
	Pubkey BN254G1Point
	Weight *big.Int
}

RollupOperatorsOperator 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