Documentation ¶
Index ¶
Constants ¶
View Source
const ( UserDepositSourceDomain = 0 L1InfoDepositSourceDomain = 1 )
Variables ¶
View Source
var ( DepositEventABI = "TransactionDeposited(address,address,uint256,bytes)" DepositEventABIHash = crypto.Keccak256Hash([]byte(DepositEventABI)) DepositEventVersion0 = common.Hash{} )
View Source
var ( L1BedrockStartHeight = big.NewInt(0) L2BedrockStartHeight = big.NewInt(0) LegacyStateCommitmentChain = common.HexToAddress("0x0000000000000000000000000000000000000000") LegacyCanonicalTransactionChain = common.HexToAddress("0x0000000000000000000000000000000000000000") OptimismPortalProxy = common.Address{} L1CrossDomainMessengerProxy = common.Address{} L1StandardBridgeProxy = common.Address{} L2OutputOracleProxy = common.Address{} L2ToL1MessagePasser = common.HexToAddress("0x4200000000000000000000000000000000000016") L2CrossDomainMessenger = common.HexToAddress("0x4200000000000000000000000000000000000007") L2StandardBridge = common.HexToAddress("0x4200000000000000000000000000000000000010") MNTWithdrawEventSignature = "0x74bbfec0d26a17c2367408038090a9a4e1cd1671129dc8fdf57f146a499fe3d5" ETHWithdrawEventSignature = "0x2849b43074093a05396b6f2a937dee8565b15a48a7b3d4bffb732a5017380af5" ERC20WithdrawEventSignature = "0x7ff126db8024424bbfd9826e8ab82ff59136289ea440b04b39a0df1b03b9cabf" IsMainnet = true )
Functions ¶
func InitAddress ¶
func InitAddress(isMainNet bool)
Types ¶
type DepositTx ¶
type L1InfoDepositSource ¶
func (*L1InfoDepositSource) SourceHash ¶
func (dep *L1InfoDepositSource) SourceHash() common.Hash
type UserDepositSource ¶
func (*UserDepositSource) SourceHash ¶
func (dep *UserDepositSource) SourceHash() common.Hash
Click to show internal directories.
Click to hide internal directories.