L1SharedBridge

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xb0fbd7be at 20591407
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots

No balances found for "L1SharedBridge"

No transactions found for "L1SharedBridge"


Functions
Getter at block 21204042
BRIDGE_HUB(view returns (address)
0x303a465b659cbb0ab36ee643ea362c509eeb5213
ERA_CHAIN_ID(view returns (uint256)
324
ERA_DIAMOND_PROXY(view returns (address)
0x32400084c286cf3e17e7b677ea9583e60a000324
L1_WETH_TOKEN(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
admin(view returns (address)
0x0000000000000000000000000000000000000000
legacyBridge(view returns (address)
0x0000000000000000000000000000000000000000
owner(view returns (address)
0x0000000000000000000000000000000000000000
paused(view returns (bool)
false
pendingAdmin(view returns (address)
0x0000000000000000000000000000000000000000
pendingOwner(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
chainBalance(uint256 chainIdaddress l1Tokenview returns (uint256 balance)
depositHappened(uint256 chainIdbytes32 l2DepositTxHashview returns (bytes32 depositDataHash)
isWithdrawalFinalized(uint256 chainIduint256 l2BatchNumberuint256 l2ToL1MessageNumberview returns (bool isFinalized)
l2BridgeAddress(uint256 chainIdview returns (address l2Bridge)
State-modifying
acceptAdmin(
acceptOwnership(
bridgehubConfirmL2Transaction(uint256 _chainIdbytes32 _txDataHashbytes32 _txHash
bridgehubDeposit(uint256 _chainIdaddress _prevMsgSenderuint256 _l2Valuebytes _datapayable returns (struct L2TransactionRequestTwoBridgesInner request)
bridgehubDepositBaseToken(uint256 _chainIdaddress _prevMsgSenderaddress _l1Tokenuint256 _amountpayable 
claimFailedDeposit(uint256 _chainIdaddress _depositSenderaddress _l1Tokenuint256 _amountbytes32 _l2TxHashuint256 _l2BatchNumberuint256 _l2MessageIndexuint16 _l2TxNumberInBatchbytes32[] _merkleProof
claimFailedDepositLegacyErc20Bridge(address _depositSenderaddress _l1Tokenuint256 _amountbytes32 _l2TxHashuint256 _l2BatchNumberuint256 _l2MessageIndexuint16 _l2TxNumberInBatchbytes32[] _merkleProof
depositLegacyErc20Bridge(address _prevMsgSenderaddress _l2Receiveraddress _l1Tokenuint256 _amountuint256 _l2TxGasLimituint256 _l2TxGasPerPubdataByteaddress _refundRecipientpayable returns (bytes32 l2TxHash)
finalizeWithdrawal(uint256 _chainIduint256 _l2BatchNumberuint256 _l2MessageIndexuint16 _l2TxNumberInBatchbytes _messagebytes32[] _merkleProof
finalizeWithdrawalLegacyErc20Bridge(uint256 _l2BatchNumberuint256 _l2MessageIndexuint16 _l2TxNumberInBatchbytes _messagebytes32[] _merkleProofreturns (address l1Receiveraddress l1Tokenuint256 amount)
initialize(address _owner
initializeChainGovernance(uint256 _chainIdaddress _l2BridgeAddress
pause(
receiveEth(uint256 _chainIdpayable 
reinitializeChainGovernance(uint256 _chainIdaddress _l2BridgeAddress
renounceOwnership(
safeTransferFundsFromLegacy(address _tokenaddress _targetuint256 _targetChainIduint256 _gasPerToken
setEraLegacyBridgeLastDepositTime(uint256 _eraLegacyBridgeLastDepositBatchuint256 _eraLegacyBridgeLastDepositTxNumber
setEraPostDiamondUpgradeFirstBatch(uint256 _eraPostDiamondUpgradeFirstBatch
setEraPostLegacyBridgeUpgradeFirstBatch(uint256 _eraPostLegacyBridgeUpgradeFirstBatch
setL1Erc20Bridge(address _legacyBridge
setPendingAdmin(address _newPendingAdmin
transferFundsFromLegacy(address _tokenaddress _targetuint256 _targetChainId
transferOwnership(address newOwner
unpause(
Events
BridgehubDepositBaseTokenInitiated(uint256 indexed chainIdaddress indexed fromaddress l1Tokenuint256 amount
BridgehubDepositFinalized(uint256 indexed chainIdbytes32 indexed txDataHashbytes32 indexed l2DepositTxHash
BridgehubDepositInitiated(uint256 indexed chainIdbytes32 indexed txDataHashaddress indexed fromaddress toaddress l1Tokenuint256 amount
ClaimedFailedDepositSharedBridge(uint256 indexed chainIdaddress indexed toaddress indexed l1Tokenuint256 amount
Initialized(uint8 version
LegacyDepositInitiated(uint256 indexed chainIdbytes32 indexed l2DepositTxHashaddress indexed fromaddress toaddress l1Tokenuint256 amount
NewAdmin(address indexed oldAdminaddress indexed newAdmin
NewPendingAdmin(address indexed oldPendingAdminaddress indexed newPendingAdmin
OwnershipTransferStarted(address indexed previousOwneraddress indexed newOwner
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Paused(address account
Unpaused(address account
WithdrawalFinalizedSharedBridge(uint256 indexed chainIdaddress indexed toaddress indexed l1Tokenuint256 amount
Constructor
constructor(address _l1WethAddressaddress _bridgehubuint256 _eraChainIdaddress _eraDiamondProxy
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.