Documentation
¶
Overview ¶
Copyright 2022 Nethermind
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- Variables
- func LidoSupportedNetworksMevBoost() []string
- func NetworkSupportedByLidoMevBoost(network string) ([]string, bool)
- func RelaysURI(network string) ([]string, error)
- type Mevboostrelaylist
- type MevboostrelaylistAllowedListUpdated
- type MevboostrelaylistAllowedListUpdatedIterator
- type MevboostrelaylistCaller
- func (_Mevboostrelaylist *MevboostrelaylistCaller) GetAllowedListVersion(opts *bind.CallOpts) (*big.Int, error)
- func (_Mevboostrelaylist *MevboostrelaylistCaller) GetManager(opts *bind.CallOpts) (common.Address, error)
- func (_Mevboostrelaylist *MevboostrelaylistCaller) GetOwner(opts *bind.CallOpts) (common.Address, error)
- func (_Mevboostrelaylist *MevboostrelaylistCaller) GetRelayByUri(opts *bind.CallOpts, relay_uri string) (Struct0, error)
- func (_Mevboostrelaylist *MevboostrelaylistCaller) GetRelays(opts *bind.CallOpts) ([]Struct0, error)
- func (_Mevboostrelaylist *MevboostrelaylistCaller) GetRelaysAmount(opts *bind.CallOpts) (*big.Int, error)
- type MevboostrelaylistCallerRaw
- type MevboostrelaylistCallerSession
- func (_Mevboostrelaylist *MevboostrelaylistCallerSession) GetAllowedListVersion() (*big.Int, error)
- func (_Mevboostrelaylist *MevboostrelaylistCallerSession) GetManager() (common.Address, error)
- func (_Mevboostrelaylist *MevboostrelaylistCallerSession) GetOwner() (common.Address, error)
- func (_Mevboostrelaylist *MevboostrelaylistCallerSession) GetRelayByUri(relay_uri string) (Struct0, error)
- func (_Mevboostrelaylist *MevboostrelaylistCallerSession) GetRelays() ([]Struct0, error)
- func (_Mevboostrelaylist *MevboostrelaylistCallerSession) GetRelaysAmount() (*big.Int, error)
- type MevboostrelaylistERC20Recovered
- type MevboostrelaylistERC20RecoveredIterator
- type MevboostrelaylistFilterer
- func (_Mevboostrelaylist *MevboostrelaylistFilterer) FilterAllowedListUpdated(opts *bind.FilterOpts, allowed_list_version []*big.Int) (*MevboostrelaylistAllowedListUpdatedIterator, error)
- func (_Mevboostrelaylist *MevboostrelaylistFilterer) FilterERC20Recovered(opts *bind.FilterOpts, token []common.Address, recipient []common.Address) (*MevboostrelaylistERC20RecoveredIterator, error)
- func (_Mevboostrelaylist *MevboostrelaylistFilterer) FilterManagerChanged(opts *bind.FilterOpts, new_manager []common.Address) (*MevboostrelaylistManagerChangedIterator, error)
- func (_Mevboostrelaylist *MevboostrelaylistFilterer) FilterOwnerChanged(opts *bind.FilterOpts, new_owner []common.Address) (*MevboostrelaylistOwnerChangedIterator, error)
- func (_Mevboostrelaylist *MevboostrelaylistFilterer) FilterRelayAdded(opts *bind.FilterOpts, uri_hash []string) (*MevboostrelaylistRelayAddedIterator, error)
- func (_Mevboostrelaylist *MevboostrelaylistFilterer) FilterRelayRemoved(opts *bind.FilterOpts, uri_hash []string) (*MevboostrelaylistRelayRemovedIterator, error)
- func (_Mevboostrelaylist *MevboostrelaylistFilterer) ParseAllowedListUpdated(log types.Log) (*MevboostrelaylistAllowedListUpdated, error)
- func (_Mevboostrelaylist *MevboostrelaylistFilterer) ParseERC20Recovered(log types.Log) (*MevboostrelaylistERC20Recovered, error)
- func (_Mevboostrelaylist *MevboostrelaylistFilterer) ParseManagerChanged(log types.Log) (*MevboostrelaylistManagerChanged, error)
- func (_Mevboostrelaylist *MevboostrelaylistFilterer) ParseOwnerChanged(log types.Log) (*MevboostrelaylistOwnerChanged, error)
- func (_Mevboostrelaylist *MevboostrelaylistFilterer) ParseRelayAdded(log types.Log) (*MevboostrelaylistRelayAdded, error)
- func (_Mevboostrelaylist *MevboostrelaylistFilterer) ParseRelayRemoved(log types.Log) (*MevboostrelaylistRelayRemoved, error)
- func (_Mevboostrelaylist *MevboostrelaylistFilterer) WatchAllowedListUpdated(opts *bind.WatchOpts, sink chan<- *MevboostrelaylistAllowedListUpdated, ...) (event.Subscription, error)
- func (_Mevboostrelaylist *MevboostrelaylistFilterer) WatchERC20Recovered(opts *bind.WatchOpts, sink chan<- *MevboostrelaylistERC20Recovered, ...) (event.Subscription, error)
- func (_Mevboostrelaylist *MevboostrelaylistFilterer) WatchManagerChanged(opts *bind.WatchOpts, sink chan<- *MevboostrelaylistManagerChanged, ...) (event.Subscription, error)
- func (_Mevboostrelaylist *MevboostrelaylistFilterer) WatchOwnerChanged(opts *bind.WatchOpts, sink chan<- *MevboostrelaylistOwnerChanged, ...) (event.Subscription, error)
- func (_Mevboostrelaylist *MevboostrelaylistFilterer) WatchRelayAdded(opts *bind.WatchOpts, sink chan<- *MevboostrelaylistRelayAdded, ...) (event.Subscription, error)
- func (_Mevboostrelaylist *MevboostrelaylistFilterer) WatchRelayRemoved(opts *bind.WatchOpts, sink chan<- *MevboostrelaylistRelayRemoved, ...) (event.Subscription, error)
- type MevboostrelaylistManagerChanged
- type MevboostrelaylistManagerChangedIterator
- type MevboostrelaylistOwnerChanged
- type MevboostrelaylistOwnerChangedIterator
- type MevboostrelaylistRaw
- func (_Mevboostrelaylist *MevboostrelaylistRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Mevboostrelaylist *MevboostrelaylistRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Mevboostrelaylist *MevboostrelaylistRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type MevboostrelaylistRelayAdded
- type MevboostrelaylistRelayAddedIterator
- type MevboostrelaylistRelayRemoved
- type MevboostrelaylistRelayRemovedIterator
- type MevboostrelaylistSession
- func (_Mevboostrelaylist *MevboostrelaylistSession) AddRelay(uri string, operator string, is_mandatory bool, description string) (*types.Transaction, error)
- func (_Mevboostrelaylist *MevboostrelaylistSession) ChangeOwner(owner common.Address) (*types.Transaction, error)
- func (_Mevboostrelaylist *MevboostrelaylistSession) DismissManager() (*types.Transaction, error)
- func (_Mevboostrelaylist *MevboostrelaylistSession) Fallback(calldata []byte) (*types.Transaction, error)
- func (_Mevboostrelaylist *MevboostrelaylistSession) GetAllowedListVersion() (*big.Int, error)
- func (_Mevboostrelaylist *MevboostrelaylistSession) GetManager() (common.Address, error)
- func (_Mevboostrelaylist *MevboostrelaylistSession) GetOwner() (common.Address, error)
- func (_Mevboostrelaylist *MevboostrelaylistSession) GetRelayByUri(relay_uri string) (Struct0, error)
- func (_Mevboostrelaylist *MevboostrelaylistSession) GetRelays() ([]Struct0, error)
- func (_Mevboostrelaylist *MevboostrelaylistSession) GetRelaysAmount() (*big.Int, error)
- func (_Mevboostrelaylist *MevboostrelaylistSession) RecoverErc20(token common.Address, amount *big.Int, recipient common.Address) (*types.Transaction, error)
- func (_Mevboostrelaylist *MevboostrelaylistSession) RemoveRelay(uri string) (*types.Transaction, error)
- func (_Mevboostrelaylist *MevboostrelaylistSession) SetManager(manager common.Address) (*types.Transaction, error)
- type MevboostrelaylistTransactor
- func (_Mevboostrelaylist *MevboostrelaylistTransactor) AddRelay(opts *bind.TransactOpts, uri string, operator string, is_mandatory bool, ...) (*types.Transaction, error)
- func (_Mevboostrelaylist *MevboostrelaylistTransactor) ChangeOwner(opts *bind.TransactOpts, owner common.Address) (*types.Transaction, error)
- func (_Mevboostrelaylist *MevboostrelaylistTransactor) DismissManager(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Mevboostrelaylist *MevboostrelaylistTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)
- func (_Mevboostrelaylist *MevboostrelaylistTransactor) RecoverErc20(opts *bind.TransactOpts, token common.Address, amount *big.Int, ...) (*types.Transaction, error)
- func (_Mevboostrelaylist *MevboostrelaylistTransactor) RemoveRelay(opts *bind.TransactOpts, uri string) (*types.Transaction, error)
- func (_Mevboostrelaylist *MevboostrelaylistTransactor) SetManager(opts *bind.TransactOpts, manager common.Address) (*types.Transaction, error)
- type MevboostrelaylistTransactorRaw
- type MevboostrelaylistTransactorSession
- func (_Mevboostrelaylist *MevboostrelaylistTransactorSession) AddRelay(uri string, operator string, is_mandatory bool, description string) (*types.Transaction, error)
- func (_Mevboostrelaylist *MevboostrelaylistTransactorSession) ChangeOwner(owner common.Address) (*types.Transaction, error)
- func (_Mevboostrelaylist *MevboostrelaylistTransactorSession) DismissManager() (*types.Transaction, error)
- func (_Mevboostrelaylist *MevboostrelaylistTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)
- func (_Mevboostrelaylist *MevboostrelaylistTransactorSession) RecoverErc20(token common.Address, amount *big.Int, recipient common.Address) (*types.Transaction, error)
- func (_Mevboostrelaylist *MevboostrelaylistTransactorSession) RemoveRelay(uri string) (*types.Transaction, error)
- func (_Mevboostrelaylist *MevboostrelaylistTransactorSession) SetManager(manager common.Address) (*types.Transaction, error)
- type Relay
- type Struct0
Constants ¶
This section is empty.
Variables ¶
var MevboostrelaylistABI = MevboostrelaylistMetaData.ABI
MevboostrelaylistABI is the input ABI used to generate the binding from. Deprecated: Use MevboostrelaylistMetaData.ABI instead.
var MevboostrelaylistBin = MevboostrelaylistMetaData.Bin
MevboostrelaylistBin is the compiled bytecode used for deploying new contracts. Deprecated: Use MevboostrelaylistMetaData.Bin instead.
var MevboostrelaylistMetaData = &bind.MetaData{
ABI: "[{\"name\":\"RelayAdded\",\"inputs\":[{\"name\":\"uri_hash\",\"type\":\"string\",\"indexed\":true},{\"name\":\"relay\",\"type\":\"tuple\",\"components\":[{\"name\":\"uri\",\"type\":\"string\"},{\"name\":\"operator\",\"type\":\"string\"},{\"name\":\"is_mandatory\",\"type\":\"bool\"},{\"name\":\"description\",\"type\":\"string\"}],\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"RelayRemoved\",\"inputs\":[{\"name\":\"uri_hash\",\"type\":\"string\",\"indexed\":true},{\"name\":\"uri\",\"type\":\"string\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"AllowedListUpdated\",\"inputs\":[{\"name\":\"allowed_list_version\",\"type\":\"uint256\",\"indexed\":true}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"OwnerChanged\",\"inputs\":[{\"name\":\"new_owner\",\"type\":\"address\",\"indexed\":true}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"ManagerChanged\",\"inputs\":[{\"name\":\"new_manager\",\"type\":\"address\",\"indexed\":true}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"ERC20Recovered\",\"inputs\":[{\"name\":\"token\",\"type\":\"address\",\"indexed\":true},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"recipient\",\"type\":\"address\",\"indexed\":true}],\"anonymous\":false,\"type\":\"event\"},{\"stateMutability\":\"nonpayable\",\"type\":\"constructor\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\"}],\"outputs\":[]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_relays_amount\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_owner\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_manager\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_relays\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"tuple[]\",\"components\":[{\"name\":\"uri\",\"type\":\"string\"},{\"name\":\"operator\",\"type\":\"string\"},{\"name\":\"is_mandatory\",\"type\":\"bool\"},{\"name\":\"description\",\"type\":\"string\"}]}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_relay_by_uri\",\"inputs\":[{\"name\":\"relay_uri\",\"type\":\"string\"}],\"outputs\":[{\"name\":\"\",\"type\":\"tuple\",\"components\":[{\"name\":\"uri\",\"type\":\"string\"},{\"name\":\"operator\",\"type\":\"string\"},{\"name\":\"is_mandatory\",\"type\":\"bool\"},{\"name\":\"description\",\"type\":\"string\"}]}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_allowed_list_version\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"add_relay\",\"inputs\":[{\"name\":\"uri\",\"type\":\"string\"},{\"name\":\"operator\",\"type\":\"string\"},{\"name\":\"is_mandatory\",\"type\":\"bool\"},{\"name\":\"description\",\"type\":\"string\"}],\"outputs\":[]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"remove_relay\",\"inputs\":[{\"name\":\"uri\",\"type\":\"string\"}],\"outputs\":[]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"change_owner\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\"}],\"outputs\":[]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"set_manager\",\"inputs\":[{\"name\":\"manager\",\"type\":\"address\"}],\"outputs\":[]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"dismiss_manager\",\"inputs\":[],\"outputs\":[]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"recover_erc20\",\"inputs\":[{\"name\":\"token\",\"type\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\"},{\"name\":\"recipient\",\"type\":\"address\"}],\"outputs\":[]},{\"stateMutability\":\"nonpayable\",\"type\":\"fallback\"}]",
Bin: "0x60206115ff6000396000518060a01c6115fa57604052346115fa5760405161007e5760126060527f7a65726f206f776e65722061646472657373000000000000000000000000000060805260605060605180608001601f826000031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b60405160005561156361009661000039611563610000f36003361161000c57611181565b60003560e01c346115515763312c3165811861003657600436186115515760025460405260206040f35b630ac298dc811861005557600436186115515760005460405260206040f35b639e4a0fc4811861007457600436186115515760015460405260206040f35b6304e469ea81186102545760043618611551576020806040528060400160006002548083528060051b6000826028811161155157801561024057905b828160051b60208801015260648102600301836020880101608080825280820183548082526001850160208301600083601f0160051c6020811161155157801561010c57905b808401548160051b8401526001018181186100f6575b50505050508051806020830101601f82600003163682375050601f19601f825160200101169050810190508060208301526021830181830181548082526001830160208301600083601f0160051c6020811161155157801561018057905b808401548160051b84015260010181811861016a575b50505050508051806020830101601f82600003163682375050601f19601f825160200101169050905081019050604283015460408301528060608301526043830181830181548082526001830160208301600083601f0160051c6020811161155157801561020057905b808401548160051b8401526001018181186101ea575b50505050508051806020830101601f82600003163682375050601f19601f82516020010116905090508101905090509050830192506001018181186100b0575b505082016020019150509050810190506040f35b63f5f33c7b81186104b457604436106115515760043560040161040081351161155157803580611120526020820181816111403750505061112051806040528060608261114060045afa50506102ab611560611187565b61156051611540526115405119610322576015611560527f6e6f2072656c61792077697468207468652055524900000000000000000000006115805261156050611560518061158001601f826000031636823750506308c379a061152052602061154052601f19601f61156051011660440161153cfd5b6020806115605260646115405160025481101561155157026003018161156001608080825280820183548082526001850160208301600083601f0160051c6020811161155157801561038657905b808401548160051b840152600101818118610370575b50505050508051806020830101601f82600003163682375050601f19601f825160200101169050810190508060208301526021830181830181548082526001830160208301600083601f0160051c602081116115515780156103fa57905b808401548160051b8401526001018181186103e4575b50505050508051806020830101601f82600003163682375050601f19601f825160200101169050905081019050604283015460408301528060608301526043830181830181548082526001830160208301600083601f0160051c6020811161155157801561047a57905b808401548160051b840152600101818118610464575b50505050508051806020830101601f82600003163682375050601f19601f8251602001011690509050810190509050905081019050611560f35b6376650ad381186104d4576004361861155157610fa35460405260206040f35b632e21ecef81186109805760e43610611551576004356004016104008135116115515780358061112052602082018181611140375050506024356004016104008135116115515780358061154052602082018181611560375050506044358060011c611551576119605260643560040161040081351161155157803580611980526020820181816119a03750505061056a6112ed565b6000611da052611da08051602082012090506111205161114020186105ef57601b6121c0527f72656c617920555249206d757374206e6f7420626520656d70747900000000006121e0526121c0506121c051806121e001601f826000031636823750506308c379a06121805260206121a052601f19601f6121c051011660440161219cfd5b6027600254111561066057601c611da0527f616c7265616479206d6178206e756d626572206f662072656c61797300000000611dc052611da050611da05180611dc001601f826000031636823750506308c379a0611d60526020611d8052601f19601f611da0510116604401611d7cfd5b61112051806040528060608261114060045afa5050610680611dc0611187565b611dc051611da052611da051191561071d576021611dc0527f72656c61792077697468207468652055524920616c7265616479206578697374611de0527f7300000000000000000000000000000000000000000000000000000000000000611e0052611dc050611dc05180611de001601f826000031636823750506308c379a0611d80526020611da052601f19601f611dc0510116604401611d9cfd5b6111205180611dc05280611de08261114060045afa505061154051806121e052806122008261156060045afa5050611960516126005261198051806126205280612640826119a060045afa505060025460278111611551576001810160025560648102600301611dc05180825560018201600082601f0160051c602081116115515780156107bf57905b8060051b611de00151818401556001018181186107a7575b505050506121e05180602183015560016021830101600082601f0160051c6020811161155157801561080557905b8060051b6122000151818401556001018181186107ed575b505050506126005160428201556126205180604383015560016043830101600082601f0160051c6020811161155157801561085457905b8060051b61264001518184015560010181811861083c575b505050505050610862611374565b61112051611140207feee5faa84d45af657ab405cdbf2c6a8a6d466e83fa694a358fee5ff84431d0bf602080612a405280612a40016080808252808201611dc05180825260208201818183611de060045afa5050508051806020830101601f82600003163682375050601f19601f825160200101169050810190508060208301528082016121e0518082526020820181818361220060045afa5050508051806020830101601f82600003163682375050601f19601f82516020010116905081019050612600516040830152806060830152808201612620518082526020820181818361264060045afa5050508051806020830101601f82600003163682375050601f19601f82516020010116905081019050905081019050612a40a2005b63f5a70a808118610ca45760443610611551576004356004016104008135116115515780358061112052602082018181611140375050506109bf6112ed565b600061154052611540805160208201209050611120516111402018610a4457601b611960527f72656c617920555249206d757374206e6f7420626520656d70747900000000006119805261196050611960518061198001601f826000031636823750506308c379a061192052602061194052601f19601f61196051011660440161193cfd5b6002546115405261112051806040528060608261114060045afa5050610a6b611580611187565b6115805161156052611540516115605110610ae6576015611580527f6e6f2072656c61792077697468207468652055524900000000000000000000006115a0526115805061158051806115a001601f826000031636823750506308c379a061154052602061156052601f19601f61158051011660440161155cfd5b61154051600181038181116115515790506115605114610c1257606461156051600254811015611551570260030160646115405160018103818111611551579050600254811015611551570260030180548083556001820160018401600083601f0160051c60208111611551578015610b6e57905b8084015481840155600101818118610b5b575b50505050506021810180548060218501556001820160016021860101600083601f0160051c60208111611551578015610bb657905b8084015481840155600101818118610ba3575b505050505050604281015460428301556043810180548060438501556001820160016043860101600083601f0160051c60208111611551578015610c0957905b8084015481840155600101818118610bf6575b50505050505050505b6001600254801561155157038060025550610c2b611374565b61112051611140207fef756634af7ee7210f786ec0f91930afa63fda84d9ff6493ae681c332055dadb602080611580528061158001611120518082526020820181818361114060045afa5050508051806020830101601f82600003163682375050601f19601f82516020010116905081019050611580a2005b63253c8bd48118610dca5760243618611551576004358060a01c61155157608052610ccd6113ba565b608051610d3157601260a0527f7a65726f206f776e65722061646472657373000000000000000000000000000060c05260a05060a0518060c001601f826000031636823750506308c379a06060526020608052601f19601f60a0510116604401607cfd5b60005460805118610d9957600a60a0527f73616d65206f776e65720000000000000000000000000000000000000000000060c05260a05060a0518060c001601f826000031636823750506308c379a06060526020608052601f19601f60a0510116604401607cfd5b6080516000556080517fa2ea9883a321a3e97b8266c2b078bfeec6d50c711ed71f874a90d500ae2eaf36600060a0a2005b639aece83e8118610ef05760243618611551576004358060a01c61155157608052610df36113ba565b608051610e5757601460a0527f7a65726f206d616e61676572206164647265737300000000000000000000000060c05260a05060a0518060c001601f826000031636823750506308c379a06060526020608052601f19601f60a0510116604401607cfd5b60015460805118610ebf57600c60a0527f73616d65206d616e61676572000000000000000000000000000000000000000060c05260a05060a0518060c001601f826000031636823750506308c379a06060526020608052601f19601f60a0510116604401607cfd5b6080516001556080517f198db6e425fb8aafd1823c6ca50be2d51e5764571a5ae0f0f21c6812e45def0b600060a0a2005b63417a02b48118610f9e576004361861155157610f0b6113ba565b600154610f6f57600e6080527f6e6f206d616e616765722073657400000000000000000000000000000000000060a0526080506080518060a001601f826000031636823750506308c379a06040526020606052601f19601f6080510116604401605cfd5b600060015560007f198db6e425fb8aafd1823c6ca50be2d51e5764571a5ae0f0f21c6812e45def0b60006080a2005b63edd885b4811861117f5760643618611551576004358060a01c611551576101e0526044358060a01c6115515761020052610fd76113ba565b6101e051611045576012610220527f7a65726f20746f6b656e206164647265737300000000000000000000000000006102405261022050610220518061024001601f826000031636823750506308c379a06101e052602061020052601f19601f6102205101166044016101fcfd5b610200516110b3576016610220527f7a65726f20726563697069656e742061646472657373000000000000000000006102405261022050610220518061024001601f826000031636823750506308c379a06101e052602061020052601f19601f6102205101166044016101fcfd5b6101e0513b611122576011610220527f656f6120746f6b656e20616464726573730000000000000000000000000000006102405261022050610220518061024001601f826000031636823750506308c379a06101e052602061020052601f19601f6102205101166044016101fcfd5b6024351561117d576101e05160405261020051606052602435608052611146611423565b610200516101e0517f8619312ed4eff1cf9f0116e6db2f49d9570a86f0350d1c5ad1bd0f7b0cf9e132602435610220526020610220a35b005b505b60006000fd5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610460526000610480526000600254602881116115515780156112e257905b606481026003018054806104a05260018201600082601f0160051c6020811161155157801561120a57905b808301548160051b6104c001526001018181186111f2575b50505050602181018054806108c05260018201600082601f0160051c6020811161155157801561124e57905b808301548160051b6108e00152600101818118611236575b50505050506042810154610ce05260438101805480610d005260018201600082601f0160051c6020811161155157801561129c57905b808301548160051b610d200152600101818118611284575b5050505050506040516060206104a0516104c020186112c25761048051610460526112e2565b6104805160018101818110611551579050610480526001018181186111c7575b505061046051815250565b60005433186112fd576001611311565b600154331861130e57331515611311565b60005b61137257601f6040527f6d73672e73656e646572206e6f74206f776e6572206f72206d616e616765720060605260405060405180606001601f826000031636823750506308c379a06000526020602052601f19601f6040510116604401601cfd5b565b610fa35460018101818110611551579050604052604051610fa3556040517f49f5627aa055ec3fcd474f99c8b7799b798c04af7b9f215305512c867e5a183960006060a2565b6000543318156114215760146040527f6d73672e73656e646572206e6f74206f776e657200000000000000000000000060605260405060405180606001601f826000031636823750506308c379a06000526020602052601f19601f6040510116604401601cfd5b565b6000600460e0527fa9059cbb000000000000000000000000000000000000000000000000000000006101005260e08051602082018361014001815181525050808301925050506060518161014001526020810190506080518161014001526020810190508061012052610120505060206101c06101205161014060006040515af16114b3573d600060003e3d6000fd5b3d602081183d60201002186101a0526101a080518060a05260208201805160c05250505060a0511561154f5760c05160a05160200360031b1c61154f57601560e0527f6572633230207472616e73666572206661696c656400000000000000000000006101005260e05060e0518061010001601f826000031636823750506308c379a060a052602060c052601f19601f60e051011660440160bcfd5b565b600080fda165767970657283000306000b005b600080fd",
}
MevboostrelaylistMetaData contains all meta data concerning the Mevboostrelaylist contract.
Functions ¶
func LidoSupportedNetworksMevBoost ¶
func LidoSupportedNetworksMevBoost() []string
func RelaysURI ¶
RelaysURI : This function is responsible for :- retrieving a list of relays URI from the MEV-Boost Allowed List contract for a given network. params :- network (string): The name of the network (e.g., "mainnet", "holesky"). returns :- a. []string List of relays URI b. error Error if any
Types ¶
type Mevboostrelaylist ¶ added in v1.6.0
type Mevboostrelaylist struct { MevboostrelaylistCaller // Read-only binding to the contract MevboostrelaylistTransactor // Write-only binding to the contract MevboostrelaylistFilterer // Log filterer for contract events }
Mevboostrelaylist is an auto generated Go binding around an Ethereum contract.
func DeployMevboostrelaylist ¶ added in v1.6.0
func DeployMevboostrelaylist(auth *bind.TransactOpts, backend bind.ContractBackend, owner common.Address) (common.Address, *types.Transaction, *Mevboostrelaylist, error)
DeployMevboostrelaylist deploys a new Ethereum contract, binding an instance of Mevboostrelaylist to it.
func NewMevboostrelaylist ¶ added in v1.6.0
func NewMevboostrelaylist(address common.Address, backend bind.ContractBackend) (*Mevboostrelaylist, error)
NewMevboostrelaylist creates a new instance of Mevboostrelaylist, bound to a specific deployed contract.
type MevboostrelaylistAllowedListUpdated ¶ added in v1.6.0
type MevboostrelaylistAllowedListUpdated struct { AllowedListVersion *big.Int Raw types.Log // Blockchain specific contextual infos }
MevboostrelaylistAllowedListUpdated represents a AllowedListUpdated event raised by the Mevboostrelaylist contract.
type MevboostrelaylistAllowedListUpdatedIterator ¶ added in v1.6.0
type MevboostrelaylistAllowedListUpdatedIterator struct { Event *MevboostrelaylistAllowedListUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MevboostrelaylistAllowedListUpdatedIterator is returned from FilterAllowedListUpdated and is used to iterate over the raw logs and unpacked data for AllowedListUpdated events raised by the Mevboostrelaylist contract.
func (*MevboostrelaylistAllowedListUpdatedIterator) Close ¶ added in v1.6.0
func (it *MevboostrelaylistAllowedListUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MevboostrelaylistAllowedListUpdatedIterator) Error ¶ added in v1.6.0
func (it *MevboostrelaylistAllowedListUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MevboostrelaylistAllowedListUpdatedIterator) Next ¶ added in v1.6.0
func (it *MevboostrelaylistAllowedListUpdatedIterator) Next() bool
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 MevboostrelaylistCaller ¶ added in v1.6.0
type MevboostrelaylistCaller struct {
// contains filtered or unexported fields
}
MevboostrelaylistCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewMevboostrelaylistCaller ¶ added in v1.6.0
func NewMevboostrelaylistCaller(address common.Address, caller bind.ContractCaller) (*MevboostrelaylistCaller, error)
NewMevboostrelaylistCaller creates a new read-only instance of Mevboostrelaylist, bound to a specific deployed contract.
func (*MevboostrelaylistCaller) GetAllowedListVersion ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistCaller) GetAllowedListVersion(opts *bind.CallOpts) (*big.Int, error)
GetAllowedListVersion is a free data retrieval call binding the contract method 0x76650ad3.
Solidity: function get_allowed_list_version() view returns(uint256)
func (*MevboostrelaylistCaller) GetManager ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistCaller) GetManager(opts *bind.CallOpts) (common.Address, error)
GetManager is a free data retrieval call binding the contract method 0x9e4a0fc4.
Solidity: function get_manager() view returns(address)
func (*MevboostrelaylistCaller) GetOwner ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistCaller) GetOwner(opts *bind.CallOpts) (common.Address, error)
GetOwner is a free data retrieval call binding the contract method 0x0ac298dc.
Solidity: function get_owner() view returns(address)
func (*MevboostrelaylistCaller) GetRelayByUri ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistCaller) GetRelayByUri(opts *bind.CallOpts, relay_uri string) (Struct0, error)
GetRelayByUri is a free data retrieval call binding the contract method 0xf5f33c7b.
Solidity: function get_relay_by_uri(string relay_uri) view returns((string,string,bool,string))
func (*MevboostrelaylistCaller) GetRelays ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistCaller) GetRelays(opts *bind.CallOpts) ([]Struct0, error)
GetRelays is a free data retrieval call binding the contract method 0x04e469ea.
Solidity: function get_relays() view returns((string,string,bool,string)[])
func (*MevboostrelaylistCaller) GetRelaysAmount ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistCaller) GetRelaysAmount(opts *bind.CallOpts) (*big.Int, error)
GetRelaysAmount is a free data retrieval call binding the contract method 0x312c3165.
Solidity: function get_relays_amount() view returns(uint256)
type MevboostrelaylistCallerRaw ¶ added in v1.6.0
type MevboostrelaylistCallerRaw struct {
Contract *MevboostrelaylistCaller // Generic read-only contract binding to access the raw methods on
}
MevboostrelaylistCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*MevboostrelaylistCallerRaw) Call ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistCallerRaw) 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 MevboostrelaylistCallerSession ¶ added in v1.6.0
type MevboostrelaylistCallerSession struct { Contract *MevboostrelaylistCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
MevboostrelaylistCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*MevboostrelaylistCallerSession) GetAllowedListVersion ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistCallerSession) GetAllowedListVersion() (*big.Int, error)
GetAllowedListVersion is a free data retrieval call binding the contract method 0x76650ad3.
Solidity: function get_allowed_list_version() view returns(uint256)
func (*MevboostrelaylistCallerSession) GetManager ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistCallerSession) GetManager() (common.Address, error)
GetManager is a free data retrieval call binding the contract method 0x9e4a0fc4.
Solidity: function get_manager() view returns(address)
func (*MevboostrelaylistCallerSession) GetOwner ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistCallerSession) GetOwner() (common.Address, error)
GetOwner is a free data retrieval call binding the contract method 0x0ac298dc.
Solidity: function get_owner() view returns(address)
func (*MevboostrelaylistCallerSession) GetRelayByUri ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistCallerSession) GetRelayByUri(relay_uri string) (Struct0, error)
GetRelayByUri is a free data retrieval call binding the contract method 0xf5f33c7b.
Solidity: function get_relay_by_uri(string relay_uri) view returns((string,string,bool,string))
func (*MevboostrelaylistCallerSession) GetRelays ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistCallerSession) GetRelays() ([]Struct0, error)
GetRelays is a free data retrieval call binding the contract method 0x04e469ea.
Solidity: function get_relays() view returns((string,string,bool,string)[])
func (*MevboostrelaylistCallerSession) GetRelaysAmount ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistCallerSession) GetRelaysAmount() (*big.Int, error)
GetRelaysAmount is a free data retrieval call binding the contract method 0x312c3165.
Solidity: function get_relays_amount() view returns(uint256)
type MevboostrelaylistERC20Recovered ¶ added in v1.6.0
type MevboostrelaylistERC20Recovered struct { Token common.Address Amount *big.Int Recipient common.Address Raw types.Log // Blockchain specific contextual infos }
MevboostrelaylistERC20Recovered represents a ERC20Recovered event raised by the Mevboostrelaylist contract.
type MevboostrelaylistERC20RecoveredIterator ¶ added in v1.6.0
type MevboostrelaylistERC20RecoveredIterator struct { Event *MevboostrelaylistERC20Recovered // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MevboostrelaylistERC20RecoveredIterator is returned from FilterERC20Recovered and is used to iterate over the raw logs and unpacked data for ERC20Recovered events raised by the Mevboostrelaylist contract.
func (*MevboostrelaylistERC20RecoveredIterator) Close ¶ added in v1.6.0
func (it *MevboostrelaylistERC20RecoveredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MevboostrelaylistERC20RecoveredIterator) Error ¶ added in v1.6.0
func (it *MevboostrelaylistERC20RecoveredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MevboostrelaylistERC20RecoveredIterator) Next ¶ added in v1.6.0
func (it *MevboostrelaylistERC20RecoveredIterator) Next() bool
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 MevboostrelaylistFilterer ¶ added in v1.6.0
type MevboostrelaylistFilterer struct {
// contains filtered or unexported fields
}
MevboostrelaylistFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewMevboostrelaylistFilterer ¶ added in v1.6.0
func NewMevboostrelaylistFilterer(address common.Address, filterer bind.ContractFilterer) (*MevboostrelaylistFilterer, error)
NewMevboostrelaylistFilterer creates a new log filterer instance of Mevboostrelaylist, bound to a specific deployed contract.
func (*MevboostrelaylistFilterer) FilterAllowedListUpdated ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistFilterer) FilterAllowedListUpdated(opts *bind.FilterOpts, allowed_list_version []*big.Int) (*MevboostrelaylistAllowedListUpdatedIterator, error)
FilterAllowedListUpdated is a free log retrieval operation binding the contract event 0x49f5627aa055ec3fcd474f99c8b7799b798c04af7b9f215305512c867e5a1839.
Solidity: event AllowedListUpdated(uint256 indexed allowed_list_version)
func (*MevboostrelaylistFilterer) FilterERC20Recovered ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistFilterer) FilterERC20Recovered(opts *bind.FilterOpts, token []common.Address, recipient []common.Address) (*MevboostrelaylistERC20RecoveredIterator, error)
FilterERC20Recovered is a free log retrieval operation binding the contract event 0x8619312ed4eff1cf9f0116e6db2f49d9570a86f0350d1c5ad1bd0f7b0cf9e132.
Solidity: event ERC20Recovered(address indexed token, uint256 amount, address indexed recipient)
func (*MevboostrelaylistFilterer) FilterManagerChanged ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistFilterer) FilterManagerChanged(opts *bind.FilterOpts, new_manager []common.Address) (*MevboostrelaylistManagerChangedIterator, error)
FilterManagerChanged is a free log retrieval operation binding the contract event 0x198db6e425fb8aafd1823c6ca50be2d51e5764571a5ae0f0f21c6812e45def0b.
Solidity: event ManagerChanged(address indexed new_manager)
func (*MevboostrelaylistFilterer) FilterOwnerChanged ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistFilterer) FilterOwnerChanged(opts *bind.FilterOpts, new_owner []common.Address) (*MevboostrelaylistOwnerChangedIterator, error)
FilterOwnerChanged is a free log retrieval operation binding the contract event 0xa2ea9883a321a3e97b8266c2b078bfeec6d50c711ed71f874a90d500ae2eaf36.
Solidity: event OwnerChanged(address indexed new_owner)
func (*MevboostrelaylistFilterer) FilterRelayAdded ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistFilterer) FilterRelayAdded(opts *bind.FilterOpts, uri_hash []string) (*MevboostrelaylistRelayAddedIterator, error)
FilterRelayAdded is a free log retrieval operation binding the contract event 0xeee5faa84d45af657ab405cdbf2c6a8a6d466e83fa694a358fee5ff84431d0bf.
Solidity: event RelayAdded(string indexed uri_hash, (string,string,bool,string) relay)
func (*MevboostrelaylistFilterer) FilterRelayRemoved ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistFilterer) FilterRelayRemoved(opts *bind.FilterOpts, uri_hash []string) (*MevboostrelaylistRelayRemovedIterator, error)
FilterRelayRemoved is a free log retrieval operation binding the contract event 0xef756634af7ee7210f786ec0f91930afa63fda84d9ff6493ae681c332055dadb.
Solidity: event RelayRemoved(string indexed uri_hash, string uri)
func (*MevboostrelaylistFilterer) ParseAllowedListUpdated ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistFilterer) ParseAllowedListUpdated(log types.Log) (*MevboostrelaylistAllowedListUpdated, error)
ParseAllowedListUpdated is a log parse operation binding the contract event 0x49f5627aa055ec3fcd474f99c8b7799b798c04af7b9f215305512c867e5a1839.
Solidity: event AllowedListUpdated(uint256 indexed allowed_list_version)
func (*MevboostrelaylistFilterer) ParseERC20Recovered ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistFilterer) ParseERC20Recovered(log types.Log) (*MevboostrelaylistERC20Recovered, error)
ParseERC20Recovered is a log parse operation binding the contract event 0x8619312ed4eff1cf9f0116e6db2f49d9570a86f0350d1c5ad1bd0f7b0cf9e132.
Solidity: event ERC20Recovered(address indexed token, uint256 amount, address indexed recipient)
func (*MevboostrelaylistFilterer) ParseManagerChanged ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistFilterer) ParseManagerChanged(log types.Log) (*MevboostrelaylistManagerChanged, error)
ParseManagerChanged is a log parse operation binding the contract event 0x198db6e425fb8aafd1823c6ca50be2d51e5764571a5ae0f0f21c6812e45def0b.
Solidity: event ManagerChanged(address indexed new_manager)
func (*MevboostrelaylistFilterer) ParseOwnerChanged ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistFilterer) ParseOwnerChanged(log types.Log) (*MevboostrelaylistOwnerChanged, error)
ParseOwnerChanged is a log parse operation binding the contract event 0xa2ea9883a321a3e97b8266c2b078bfeec6d50c711ed71f874a90d500ae2eaf36.
Solidity: event OwnerChanged(address indexed new_owner)
func (*MevboostrelaylistFilterer) ParseRelayAdded ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistFilterer) ParseRelayAdded(log types.Log) (*MevboostrelaylistRelayAdded, error)
ParseRelayAdded is a log parse operation binding the contract event 0xeee5faa84d45af657ab405cdbf2c6a8a6d466e83fa694a358fee5ff84431d0bf.
Solidity: event RelayAdded(string indexed uri_hash, (string,string,bool,string) relay)
func (*MevboostrelaylistFilterer) ParseRelayRemoved ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistFilterer) ParseRelayRemoved(log types.Log) (*MevboostrelaylistRelayRemoved, error)
ParseRelayRemoved is a log parse operation binding the contract event 0xef756634af7ee7210f786ec0f91930afa63fda84d9ff6493ae681c332055dadb.
Solidity: event RelayRemoved(string indexed uri_hash, string uri)
func (*MevboostrelaylistFilterer) WatchAllowedListUpdated ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistFilterer) WatchAllowedListUpdated(opts *bind.WatchOpts, sink chan<- *MevboostrelaylistAllowedListUpdated, allowed_list_version []*big.Int) (event.Subscription, error)
WatchAllowedListUpdated is a free log subscription operation binding the contract event 0x49f5627aa055ec3fcd474f99c8b7799b798c04af7b9f215305512c867e5a1839.
Solidity: event AllowedListUpdated(uint256 indexed allowed_list_version)
func (*MevboostrelaylistFilterer) WatchERC20Recovered ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistFilterer) WatchERC20Recovered(opts *bind.WatchOpts, sink chan<- *MevboostrelaylistERC20Recovered, token []common.Address, recipient []common.Address) (event.Subscription, error)
WatchERC20Recovered is a free log subscription operation binding the contract event 0x8619312ed4eff1cf9f0116e6db2f49d9570a86f0350d1c5ad1bd0f7b0cf9e132.
Solidity: event ERC20Recovered(address indexed token, uint256 amount, address indexed recipient)
func (*MevboostrelaylistFilterer) WatchManagerChanged ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistFilterer) WatchManagerChanged(opts *bind.WatchOpts, sink chan<- *MevboostrelaylistManagerChanged, new_manager []common.Address) (event.Subscription, error)
WatchManagerChanged is a free log subscription operation binding the contract event 0x198db6e425fb8aafd1823c6ca50be2d51e5764571a5ae0f0f21c6812e45def0b.
Solidity: event ManagerChanged(address indexed new_manager)
func (*MevboostrelaylistFilterer) WatchOwnerChanged ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistFilterer) WatchOwnerChanged(opts *bind.WatchOpts, sink chan<- *MevboostrelaylistOwnerChanged, new_owner []common.Address) (event.Subscription, error)
WatchOwnerChanged is a free log subscription operation binding the contract event 0xa2ea9883a321a3e97b8266c2b078bfeec6d50c711ed71f874a90d500ae2eaf36.
Solidity: event OwnerChanged(address indexed new_owner)
func (*MevboostrelaylistFilterer) WatchRelayAdded ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistFilterer) WatchRelayAdded(opts *bind.WatchOpts, sink chan<- *MevboostrelaylistRelayAdded, uri_hash []string) (event.Subscription, error)
WatchRelayAdded is a free log subscription operation binding the contract event 0xeee5faa84d45af657ab405cdbf2c6a8a6d466e83fa694a358fee5ff84431d0bf.
Solidity: event RelayAdded(string indexed uri_hash, (string,string,bool,string) relay)
func (*MevboostrelaylistFilterer) WatchRelayRemoved ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistFilterer) WatchRelayRemoved(opts *bind.WatchOpts, sink chan<- *MevboostrelaylistRelayRemoved, uri_hash []string) (event.Subscription, error)
WatchRelayRemoved is a free log subscription operation binding the contract event 0xef756634af7ee7210f786ec0f91930afa63fda84d9ff6493ae681c332055dadb.
Solidity: event RelayRemoved(string indexed uri_hash, string uri)
type MevboostrelaylistManagerChanged ¶ added in v1.6.0
type MevboostrelaylistManagerChanged struct { NewManager common.Address Raw types.Log // Blockchain specific contextual infos }
MevboostrelaylistManagerChanged represents a ManagerChanged event raised by the Mevboostrelaylist contract.
type MevboostrelaylistManagerChangedIterator ¶ added in v1.6.0
type MevboostrelaylistManagerChangedIterator struct { Event *MevboostrelaylistManagerChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MevboostrelaylistManagerChangedIterator is returned from FilterManagerChanged and is used to iterate over the raw logs and unpacked data for ManagerChanged events raised by the Mevboostrelaylist contract.
func (*MevboostrelaylistManagerChangedIterator) Close ¶ added in v1.6.0
func (it *MevboostrelaylistManagerChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MevboostrelaylistManagerChangedIterator) Error ¶ added in v1.6.0
func (it *MevboostrelaylistManagerChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MevboostrelaylistManagerChangedIterator) Next ¶ added in v1.6.0
func (it *MevboostrelaylistManagerChangedIterator) Next() bool
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 MevboostrelaylistOwnerChanged ¶ added in v1.6.0
type MevboostrelaylistOwnerChanged struct { NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
MevboostrelaylistOwnerChanged represents a OwnerChanged event raised by the Mevboostrelaylist contract.
type MevboostrelaylistOwnerChangedIterator ¶ added in v1.6.0
type MevboostrelaylistOwnerChangedIterator struct { Event *MevboostrelaylistOwnerChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MevboostrelaylistOwnerChangedIterator is returned from FilterOwnerChanged and is used to iterate over the raw logs and unpacked data for OwnerChanged events raised by the Mevboostrelaylist contract.
func (*MevboostrelaylistOwnerChangedIterator) Close ¶ added in v1.6.0
func (it *MevboostrelaylistOwnerChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MevboostrelaylistOwnerChangedIterator) Error ¶ added in v1.6.0
func (it *MevboostrelaylistOwnerChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MevboostrelaylistOwnerChangedIterator) Next ¶ added in v1.6.0
func (it *MevboostrelaylistOwnerChangedIterator) Next() bool
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 MevboostrelaylistRaw ¶ added in v1.6.0
type MevboostrelaylistRaw struct {
Contract *Mevboostrelaylist // Generic contract binding to access the raw methods on
}
MevboostrelaylistRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*MevboostrelaylistRaw) Call ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistRaw) 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 (*MevboostrelaylistRaw) Transact ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MevboostrelaylistRaw) Transfer ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistRaw) 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 MevboostrelaylistRelayAdded ¶ added in v1.6.0
type MevboostrelaylistRelayAdded struct { UriHash common.Hash Relay Struct0 Raw types.Log // Blockchain specific contextual infos }
MevboostrelaylistRelayAdded represents a RelayAdded event raised by the Mevboostrelaylist contract.
type MevboostrelaylistRelayAddedIterator ¶ added in v1.6.0
type MevboostrelaylistRelayAddedIterator struct { Event *MevboostrelaylistRelayAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MevboostrelaylistRelayAddedIterator is returned from FilterRelayAdded and is used to iterate over the raw logs and unpacked data for RelayAdded events raised by the Mevboostrelaylist contract.
func (*MevboostrelaylistRelayAddedIterator) Close ¶ added in v1.6.0
func (it *MevboostrelaylistRelayAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MevboostrelaylistRelayAddedIterator) Error ¶ added in v1.6.0
func (it *MevboostrelaylistRelayAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MevboostrelaylistRelayAddedIterator) Next ¶ added in v1.6.0
func (it *MevboostrelaylistRelayAddedIterator) Next() bool
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 MevboostrelaylistRelayRemoved ¶ added in v1.6.0
type MevboostrelaylistRelayRemoved struct { UriHash common.Hash Uri string Raw types.Log // Blockchain specific contextual infos }
MevboostrelaylistRelayRemoved represents a RelayRemoved event raised by the Mevboostrelaylist contract.
type MevboostrelaylistRelayRemovedIterator ¶ added in v1.6.0
type MevboostrelaylistRelayRemovedIterator struct { Event *MevboostrelaylistRelayRemoved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MevboostrelaylistRelayRemovedIterator is returned from FilterRelayRemoved and is used to iterate over the raw logs and unpacked data for RelayRemoved events raised by the Mevboostrelaylist contract.
func (*MevboostrelaylistRelayRemovedIterator) Close ¶ added in v1.6.0
func (it *MevboostrelaylistRelayRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MevboostrelaylistRelayRemovedIterator) Error ¶ added in v1.6.0
func (it *MevboostrelaylistRelayRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MevboostrelaylistRelayRemovedIterator) Next ¶ added in v1.6.0
func (it *MevboostrelaylistRelayRemovedIterator) Next() bool
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 MevboostrelaylistSession ¶ added in v1.6.0
type MevboostrelaylistSession struct { Contract *Mevboostrelaylist // 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 }
MevboostrelaylistSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*MevboostrelaylistSession) AddRelay ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistSession) AddRelay(uri string, operator string, is_mandatory bool, description string) (*types.Transaction, error)
AddRelay is a paid mutator transaction binding the contract method 0x2e21ecef.
Solidity: function add_relay(string uri, string operator, bool is_mandatory, string description) returns()
func (*MevboostrelaylistSession) ChangeOwner ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistSession) ChangeOwner(owner common.Address) (*types.Transaction, error)
ChangeOwner is a paid mutator transaction binding the contract method 0x253c8bd4.
Solidity: function change_owner(address owner) returns()
func (*MevboostrelaylistSession) DismissManager ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistSession) DismissManager() (*types.Transaction, error)
DismissManager is a paid mutator transaction binding the contract method 0x417a02b4.
Solidity: function dismiss_manager() returns()
func (*MevboostrelaylistSession) Fallback ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistSession) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() returns()
func (*MevboostrelaylistSession) GetAllowedListVersion ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistSession) GetAllowedListVersion() (*big.Int, error)
GetAllowedListVersion is a free data retrieval call binding the contract method 0x76650ad3.
Solidity: function get_allowed_list_version() view returns(uint256)
func (*MevboostrelaylistSession) GetManager ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistSession) GetManager() (common.Address, error)
GetManager is a free data retrieval call binding the contract method 0x9e4a0fc4.
Solidity: function get_manager() view returns(address)
func (*MevboostrelaylistSession) GetOwner ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistSession) GetOwner() (common.Address, error)
GetOwner is a free data retrieval call binding the contract method 0x0ac298dc.
Solidity: function get_owner() view returns(address)
func (*MevboostrelaylistSession) GetRelayByUri ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistSession) GetRelayByUri(relay_uri string) (Struct0, error)
GetRelayByUri is a free data retrieval call binding the contract method 0xf5f33c7b.
Solidity: function get_relay_by_uri(string relay_uri) view returns((string,string,bool,string))
func (*MevboostrelaylistSession) GetRelays ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistSession) GetRelays() ([]Struct0, error)
GetRelays is a free data retrieval call binding the contract method 0x04e469ea.
Solidity: function get_relays() view returns((string,string,bool,string)[])
func (*MevboostrelaylistSession) GetRelaysAmount ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistSession) GetRelaysAmount() (*big.Int, error)
GetRelaysAmount is a free data retrieval call binding the contract method 0x312c3165.
Solidity: function get_relays_amount() view returns(uint256)
func (*MevboostrelaylistSession) RecoverErc20 ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistSession) RecoverErc20(token common.Address, amount *big.Int, recipient common.Address) (*types.Transaction, error)
RecoverErc20 is a paid mutator transaction binding the contract method 0xedd885b4.
Solidity: function recover_erc20(address token, uint256 amount, address recipient) returns()
func (*MevboostrelaylistSession) RemoveRelay ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistSession) RemoveRelay(uri string) (*types.Transaction, error)
RemoveRelay is a paid mutator transaction binding the contract method 0xf5a70a80.
Solidity: function remove_relay(string uri) returns()
func (*MevboostrelaylistSession) SetManager ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistSession) SetManager(manager common.Address) (*types.Transaction, error)
SetManager is a paid mutator transaction binding the contract method 0x9aece83e.
Solidity: function set_manager(address manager) returns()
type MevboostrelaylistTransactor ¶ added in v1.6.0
type MevboostrelaylistTransactor struct {
// contains filtered or unexported fields
}
MevboostrelaylistTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewMevboostrelaylistTransactor ¶ added in v1.6.0
func NewMevboostrelaylistTransactor(address common.Address, transactor bind.ContractTransactor) (*MevboostrelaylistTransactor, error)
NewMevboostrelaylistTransactor creates a new write-only instance of Mevboostrelaylist, bound to a specific deployed contract.
func (*MevboostrelaylistTransactor) AddRelay ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistTransactor) AddRelay(opts *bind.TransactOpts, uri string, operator string, is_mandatory bool, description string) (*types.Transaction, error)
AddRelay is a paid mutator transaction binding the contract method 0x2e21ecef.
Solidity: function add_relay(string uri, string operator, bool is_mandatory, string description) returns()
func (*MevboostrelaylistTransactor) ChangeOwner ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistTransactor) ChangeOwner(opts *bind.TransactOpts, owner common.Address) (*types.Transaction, error)
ChangeOwner is a paid mutator transaction binding the contract method 0x253c8bd4.
Solidity: function change_owner(address owner) returns()
func (*MevboostrelaylistTransactor) DismissManager ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistTransactor) DismissManager(opts *bind.TransactOpts) (*types.Transaction, error)
DismissManager is a paid mutator transaction binding the contract method 0x417a02b4.
Solidity: function dismiss_manager() returns()
func (*MevboostrelaylistTransactor) Fallback ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() returns()
func (*MevboostrelaylistTransactor) RecoverErc20 ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistTransactor) RecoverErc20(opts *bind.TransactOpts, token common.Address, amount *big.Int, recipient common.Address) (*types.Transaction, error)
RecoverErc20 is a paid mutator transaction binding the contract method 0xedd885b4.
Solidity: function recover_erc20(address token, uint256 amount, address recipient) returns()
func (*MevboostrelaylistTransactor) RemoveRelay ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistTransactor) RemoveRelay(opts *bind.TransactOpts, uri string) (*types.Transaction, error)
RemoveRelay is a paid mutator transaction binding the contract method 0xf5a70a80.
Solidity: function remove_relay(string uri) returns()
func (*MevboostrelaylistTransactor) SetManager ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistTransactor) SetManager(opts *bind.TransactOpts, manager common.Address) (*types.Transaction, error)
SetManager is a paid mutator transaction binding the contract method 0x9aece83e.
Solidity: function set_manager(address manager) returns()
type MevboostrelaylistTransactorRaw ¶ added in v1.6.0
type MevboostrelaylistTransactorRaw struct {
Contract *MevboostrelaylistTransactor // Generic write-only contract binding to access the raw methods on
}
MevboostrelaylistTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*MevboostrelaylistTransactorRaw) Transact ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MevboostrelaylistTransactorRaw) Transfer ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistTransactorRaw) 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 MevboostrelaylistTransactorSession ¶ added in v1.6.0
type MevboostrelaylistTransactorSession struct { Contract *MevboostrelaylistTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
MevboostrelaylistTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*MevboostrelaylistTransactorSession) AddRelay ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistTransactorSession) AddRelay(uri string, operator string, is_mandatory bool, description string) (*types.Transaction, error)
AddRelay is a paid mutator transaction binding the contract method 0x2e21ecef.
Solidity: function add_relay(string uri, string operator, bool is_mandatory, string description) returns()
func (*MevboostrelaylistTransactorSession) ChangeOwner ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistTransactorSession) ChangeOwner(owner common.Address) (*types.Transaction, error)
ChangeOwner is a paid mutator transaction binding the contract method 0x253c8bd4.
Solidity: function change_owner(address owner) returns()
func (*MevboostrelaylistTransactorSession) DismissManager ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistTransactorSession) DismissManager() (*types.Transaction, error)
DismissManager is a paid mutator transaction binding the contract method 0x417a02b4.
Solidity: function dismiss_manager() returns()
func (*MevboostrelaylistTransactorSession) Fallback ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() returns()
func (*MevboostrelaylistTransactorSession) RecoverErc20 ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistTransactorSession) RecoverErc20(token common.Address, amount *big.Int, recipient common.Address) (*types.Transaction, error)
RecoverErc20 is a paid mutator transaction binding the contract method 0xedd885b4.
Solidity: function recover_erc20(address token, uint256 amount, address recipient) returns()
func (*MevboostrelaylistTransactorSession) RemoveRelay ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistTransactorSession) RemoveRelay(uri string) (*types.Transaction, error)
RemoveRelay is a paid mutator transaction binding the contract method 0xf5a70a80.
Solidity: function remove_relay(string uri) returns()
func (*MevboostrelaylistTransactorSession) SetManager ¶ added in v1.6.0
func (_Mevboostrelaylist *MevboostrelaylistTransactorSession) SetManager(manager common.Address) (*types.Transaction, error)
SetManager is a paid mutator transaction binding the contract method 0x9aece83e.
Solidity: function set_manager(address manager) returns()
type Relay ¶
type Relay struct { Uri string `yaml:"Uri"` Operator string `yaml:"Operator"` IsMandatory bool `yaml:"IsMandatory"` Description string `yaml:"Description"` }
Relay : Struct represent data of MEV-Boost Relay