L1CustomGateway
Verified contract
Implementation
Active on
Ethereum with 1 txns
Storage
Map
Table
Raw
Constants and immutables
1
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) |
---|---|---|---|---|---|---|---|
Transfer | 13499786 | 3 years ago | | | 0.0049919247 | 0.0026187940 |
ABI
ABI objects
Getter at block 21215931
counterpartGateway() view returns (address)
0x0000000000000000000000000000000000000000
gasReserveIfCallRevert() pure returns (uint256)
30000
inbox() view returns (address)
0x0000000000000000000000000000000000000000
owner() view returns (address)
0x0000000000000000000000000000000000000000
router() view returns (address)
0x0000000000000000000000000000000000000000
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)
State-modifying
Events finalizeInboundTransfer(address _token, address _from, address _to, uint256 _amount, bytes _data) payable returns (bytes)
forceRegisterTokenToL2(address[] _l1Addresses, address[] _l2Addresses, uint256 _maxGas, uint256 _gasPriceBid, uint256 _maxSubmissionCost) payable returns (uint256)
inboundEscrowAndCall(address _l2Address, uint256 _amount, address _from, address _to, bytes _data)
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)
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)
transferExitAndCall(uint256 _exitNum, address _initialDestination, address _newDestination, bytes _newData, bytes _data)
updateWhitelistSource(address newSource)
DepositInitiated(address l1Token, address indexed _from, address indexed _to, uint256 indexed _sequenceNumber, uint256 _amount)
TokenSet(address indexed l1Address, address indexed l2Address)
TransferAndCallTriggered(bool success, address indexed _from, address indexed _to, uint256 _amount, bytes callHookData)
TxToL2(address indexed _from, address indexed _to, uint256 indexed _seqNum, bytes _data)
WhitelistSourceUpdated(address newSource)
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.