L1CustomGateway
Verified contract
Implementation
Active on
Ethereum with 1 txns
Storage
Map
Table
Raw
Constants and immutables
3
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "L1CustomGateway"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 16206997 | 2 years ago | | | 0 | 0.0016558612 |
ABI
ABI objects
Getter at block 20864382
counterpartGateway() view returns (address)
0x096760f208390250649e3e8763348e783aef5562
inbox() view returns (address)
0x4dbd4fc535ac27206064b68ffcf827b0a60bab3f
owner() view returns (address)
0x78884725dfb890346bb26be37b510a9f5019c063
router() view returns (address)
0x72ce9c846789fdb6fc1f34ac4ad25dd9ef7031ef
whitelist() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
calculateL2TokenAddress(address l1ERC20) view returns (address)
encodeWithdrawal(uint256 _exitNum, address _initialDestination) pure returns (bytes32)
getExternalCall(uint256 _exitNum, address _initialDestination, bytes _initialData) view returns (address target, bytes data)
getOutboundCalldata(address _l1Token, address _from, address _to, uint256 _amount, bytes _data) view returns (bytes outboundCalldata)
l1ToL2Token(address) view returns (address)
redirectedExits(bytes32) view returns (bool isExit, address _newTo, bytes _newData)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events finalizeInboundTransfer(address _token, address _from, address _to, uint256 _amount, bytes _data) payable
forceRegisterTokenToL2(address[] _l1Addresses, address[] _l2Addresses, uint256 _maxGas, uint256 _gasPriceBid, uint256 _maxSubmissionCost) payable returns (uint256)
initialize(address _l1Counterpart, address _l1Router, address _inbox, address _owner)
outboundTransfer(address _l1Token, address _to, uint256 _amount, uint256 _maxGas, uint256 _gasPriceBid, bytes _data) payable returns (bytes res)
outboundTransferCustomRefund(address _l1Token, address _refundTo, address _to, uint256 _amount, uint256 _maxGas, uint256 _gasPriceBid, bytes _data) payable returns (bytes res)
postUpgradeInit()
registerTokenToL2(address _l2Address, uint256 _maxGas, uint256 _gasPriceBid, uint256 _maxSubmissionCost) payable returns (uint256)
registerTokenToL2(address _l2Address, uint256 _maxGas, uint256 _gasPriceBid, uint256 _maxSubmissionCost, address _creditBackAddress) payable returns (uint256)
setOwner(address newOwner)
transferExitAndCall(uint256 _exitNum, address _initialDestination, address _newDestination, bytes _newData, bytes _data)
DepositInitiated(address l1Token, address indexed _from, address indexed _to, uint256 indexed _sequenceNumber, uint256 _amount)
TokenSet(address indexed l1Address, address indexed l2Address)
TxToL2(address indexed _from, address indexed _to, uint256 indexed _seqNum, bytes _data)
WithdrawRedirected(address indexed from, address indexed to, uint256 indexed exitNum, bytes newData, bytes data, bool madeExternalCall)
WithdrawalFinalized(address l1Token, address indexed _from, address indexed _to, uint256 indexed _exitNum, uint256 _amount)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.