L1BatchBridgeGateway

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x316f2701 at 19909403
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 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots

No balances found for "L1BatchBridgeGateway"

No transactions found for "L1BatchBridgeGateway"


Functions
Getter at block 21157388
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
KEEPER_ROLE(view returns (bytes32)
0xfc8737ab85eb45125971625a9ebdb75cc78e01d5c1fa80c4c6e5203f47bc4fab
counterpart(view returns (address)
0xa1a12158be6269d7580c63ec5e609cdc0ddd82bc
feeVault(view returns (address)
0x0000000000000000000000000000000000000000
messenger(view returns (address)
0x6774bcbd5cecef1336b5300fb5186a12ddd8b367
queue(view returns (address)
0x0d7e906bd9cafa154b048cfa766cc1e54e39af9b
router(view returns (address)
0xf8b1378579659d8f7ee5f3c929c2f3e332e41fd6
Read-only
batches(addressuint256view returns (uint128 amountuint64 startTimeuint64 numDepositsbytes32 hash)
configs(addressview returns (uint96 feeAmountPerTxuint96 minAmountPerTxuint16 maxTxsPerBatchuint24 maxDelayPerBatchuint24 safeBridgeGasLimit)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
tokens(addressview returns (uint128 pendinguint64 currentBatchIndexuint64 pendingBatchIndex)
State-modifying
depositERC20(address tokenuint96 amount
depositETH(payable 
executeBatchDeposit(address tokenpayable 
grantRole(bytes32 roleaddress account
initialize(address _feeVault
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setBatchConfig(address tokenstruct L1BatchBridgeGatewayBatchConfig newConfig
Events
BatchDeposit(address indexed calleraddress indexed l1Tokenuint256 indexed batchIndexaddress l2Token
Deposit(address indexed senderaddress indexed tokenuint256 indexed batchIndexuint256 amountuint256 fee
Initialized(uint8 version
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Constructor
constructor(address _counterpartaddress _routeraddress _messengeraddress _queue
Fallback and receive
receive(
Errors
ErrorCallerNotMessenger(
ErrorDepositAmountTooSmall(
ErrorIncorrectMethodForETHDeposit(
ErrorInsufficientMsgValueForBatchDepositFee(
ErrorInvalidBatchConfig(
ErrorNoPendingBatch(
ErrorTokenNotSupported(
ErrorTransferETHFailed(