L1GatewayRouter
Verified contract
Implementation
Active on
Ethereum with 0 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 "L1GatewayRouter"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "L1GatewayRouter"
ABI
ABI objects
Getter at block 21244834
counterpartGateway() view returns (address)
0x0000000000000000000000000000000000000000
defaultGateway() view returns (address)
0x0000000000000000000000000000000000000000
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)
getGateway(address _token) view returns (address gateway)
getOutboundCalldata(address _token, address _from, address _to, uint256 _amount, bytes _data) view returns (bytes)
l1TokenToGateway(address) view returns (address)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events finalizeInboundTransfer(address, address, address, uint256, bytes) payable
initialize(address _owner, address _defaultGateway, address, address _counterpartGateway, address _inbox)
outboundTransfer(address _token, address _to, uint256 _amount, uint256 _maxGas, uint256 _gasPriceBid, bytes _data) payable returns (bytes)
outboundTransferCustomRefund(address _token, address _refundTo, address _to, uint256 _amount, uint256 _maxGas, uint256 _gasPriceBid, bytes _data) payable returns (bytes)
postUpgradeInit()
setDefaultGateway(address newL1DefaultGateway, uint256 _maxGas, uint256 _gasPriceBid, uint256 _maxSubmissionCost) payable returns (uint256)
setGateway(address _gateway, uint256 _maxGas, uint256 _gasPriceBid, uint256 _maxSubmissionCost) payable returns (uint256)
setGateway(address _gateway, uint256 _maxGas, uint256 _gasPriceBid, uint256 _maxSubmissionCost, address _creditBackAddress) payable returns (uint256)
setGateways(address[] _token, address[] _gateway, uint256 _maxGas, uint256 _gasPriceBid, uint256 _maxSubmissionCost) payable returns (uint256)
setOwner(address newOwner)
updateWhitelistSource(address newSource)
DefaultGatewayUpdated(address newDefaultGateway)
GatewaySet(address indexed l1Token, address indexed gateway)
TransferRouted(address indexed token, address indexed _userFrom, address indexed _userTo, address gateway)
TxToL2(address indexed _from, address indexed _to, uint256 indexed _seqNum, bytes _data)
WhitelistSourceUpdated(address newSource)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.