l1

package
v0.5.24 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EventHashL1CrossDomainMessengerSentMessage    = crypto.Keccak256Hash([]byte("SentMessage(address,address,bytes,uint256,uint256)"))
	EventHashL1CrossDomainMessengerRelayedMessage = crypto.Keccak256Hash([]byte("RelayedMessage(bytes32)"))

	EventHashL1StandardBridgeERC20DepositInitiated    = crypto.Keccak256Hash([]byte("ERC20DepositInitiated(address,address,address,address,uint256,bytes)"))
	EventHashL1StandardBridgeERC20WithdrawalFinalized = crypto.Keccak256Hash([]byte("ERC20WithdrawalFinalized(address,address,address,address,uint256,bytes)"))

	EventHashOptimismPortalWithdrawalProven    = crypto.Keccak256Hash([]byte("WithdrawalProven(bytes32,address,address)"))
	EventHashOptimismPortalWithdrawalFinalized = crypto.Keccak256Hash([]byte("WithdrawalFinalized(bytes32,bool)"))
)
View Source
var ContractMap = map[uint64]*struct {
	AddressL1CrossDomainMessengerProxy common.Address
	AddressL1StandardBridgeProxy       common.Address
	AddressOptimismPortalProxy         common.Address
	AddressGovernanceTokenProxy        common.Address
}{
	11155111: {
		AddressL1CrossDomainMessengerProxy: common.HexToAddress("0xf2aAAd7F0ec62f582891F9558dF5F953FEEcC1DA"),
		AddressL1StandardBridgeProxy:       common.HexToAddress("0xdDD29bb63B0839FB1cE0eE439Ff027738595D07B"),
		AddressOptimismPortalProxy:         common.HexToAddress("0xcBD77E8E1E7F06B25baDe67142cdE82652Da7b57"),
		AddressGovernanceTokenProxy:        common.HexToAddress("0x3Ef1D5be1E2Ce46c583a0c8e511f015706A0ab23"),
	},
	1: {
		AddressL1CrossDomainMessengerProxy: common.HexToAddress("0x892CAa506c86C5101f5eC11C6f09589c9dC8A85C"),
		AddressL1StandardBridgeProxy:       common.HexToAddress("0x4cbab69108Aa72151EDa5A3c164eA86845f18438"),
		AddressOptimismPortalProxy:         common.HexToAddress("0x6A12432491bbbE8d3babf75F759766774C778Db4"),
		AddressGovernanceTokenProxy:        common.HexToAddress("0xc98D64DA73a6616c42117b582e832812e7B8D57F"),
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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