L1GatewayRouter

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x6fc3f89c at 13101490
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "L1GatewayRouter"

No transactions found for "L1GatewayRouter"


Functions
Getter at block 21295368
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 l1ERC20view returns (address)
getGateway(address _tokenview returns (address gateway)
getOutboundCalldata(address _tokenaddress _fromaddress _touint256 _amountbytes _dataview returns (bytes)
l1TokenToGateway(addressview returns (address)
State-modifying
finalizeInboundTransfer(address _tokenaddress _fromaddress _touint256 _amountbytes _datapayable returns (bytes)
initialize(address _owneraddress _defaultGatewayaddress _whitelistaddress _counterpartGatewayaddress _inbox
outboundTransfer(address _tokenaddress _touint256 _amountuint256 _maxGasuint256 _gasPriceBidbytes _datapayable returns (bytes)
postUpgradeInit(
setDefaultGateway(address newL1DefaultGatewayuint256 _maxGasuint256 _gasPriceBiduint256 _maxSubmissionCostpayable returns (uint256)
setGateway(address _gatewayuint256 _maxGasuint256 _gasPriceBiduint256 _maxSubmissionCostpayable returns (uint256)
setGateway(address _gatewayuint256 _maxGasuint256 _gasPriceBiduint256 _maxSubmissionCostaddress _creditBackAddresspayable returns (uint256)
setGateways(address[] _tokenaddress[] _gatewayuint256 _maxGasuint256 _gasPriceBiduint256 _maxSubmissionCostpayable returns (uint256)
setOwner(address newOwner
updateWhitelistSource(address newSource
Events
DefaultGatewayUpdated(address newDefaultGateway
GatewaySet(address indexed l1Tokenaddress indexed gateway
TransferRouted(address indexed tokenaddress indexed _userFromaddress indexed _userToaddress gateway
TxToL2(address indexed _fromaddress indexed _touint256 indexed _seqNumbytes _data
WhitelistSourceUpdated(address newSource
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.