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.
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.
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.
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 ¶
- Constants
- func ConnectClient(network string) (*ethclient.Client, error)
- func ContractAddressByNetwork(contractName, network string) (string, error)
- func DeployedAddresses(contractName string) address
- func FeeRecipient(network string) (string, bool)
- func LidoSupportedNetworks() []string
- func LidoWithdrawalSupportedNetworks() []string
- func NetworkSupportedByLidoWithdrawal(network string) bool
- func WithdrawalAddress(network string) (string, bool)
Constants ¶
const ( // Contract names CSModule = "csmodule" CSAccounting = "sepolia" CSFeeDistributor = "gnosis" MEVBoostRelayAllowedList = "mevboostrelayallowedlist" )
Variables ¶
This section is empty.
Functions ¶
func ContractAddressByNetwork ¶ added in v1.5.0
func DeployedAddresses ¶ added in v1.5.0
func DeployedAddresses(contractName string) address
func FeeRecipient ¶
FeeRecipient returns the fee recipient address for the given network
func LidoSupportedNetworks ¶
func LidoSupportedNetworks() []string
LidoSupportedNetworks returns the supported networks for Lido
func LidoWithdrawalSupportedNetworks ¶
func LidoWithdrawalSupportedNetworks() []string
LidoWithdrawalSupportedNetworks returns the supported networks for Lido withdrawal
func NetworkSupportedByLidoWithdrawal ¶
NetworkSupportedByLidoWithdrawal checks if the given network is supported by Lido
func WithdrawalAddress ¶
WithdrawalAddress returns the withdrawal address for the given network
Types ¶
This section is empty.