L1_ERC20_Bridge

Verified contract

Active on Ethereum with 20 txns
Deployed by via 0xb6b6a5d4 at 13476113
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $74
0x28ba12bb36a9e4a3b0dd191f5d2e67f63fa5bf5818d7ce6ba835a8b014eb35f3
0x89818cd9bcb39e67727f71ac3a488079114bb882ea20a71a77e7d828e7a06e75
0x34cea0a4a53e26f066904610aa0b48e539bce1c7164c1e866f1a3f13ef453187
0x0f5d3ba91f5431b84279f268e513b71b8e75801fa5cc3824eab8ccb89b1be344
0x0b6729270e5fe2829f02a61bc8a1a26398819eecbef79887de9d47a193b5e9ab
0x38bf29da5c21336de97cb85025aebb6083e1fab8e34ff49fc321fc51f3852187
0x3fa15164b46900c26083a82a53d3a61743f90563b5de8ea6336c853a2caaed8b
0x13411731076d82ecbed64774a10be135e8b2f9e44851b5c61e1c087ba23f46c4
0xe7f4cf1bcbcc2d072218cfe46c168d25b3bf62ec8d0a30b76ea6824ece980383
0x2009ee33b56c4534896a37868fd7b0b87c8f01aa29e725d68c6bd2247c65cef8

Functions
Getter at block 21249039
CHALLENGE_AMOUNT_DIVISOR(view returns (uint256)
10
TIME_SLOT_SIZE(view returns (uint256)
14400
challengePeriod(view returns (uint256)
86400
challengeResolutionPeriod(view returns (uint256)
1209600
getChainId(view returns (uint256 chainId)
1
governance(view returns (address)
0xf56e305024b195383245a075737d16dbdb8487fb
l1CanonicalToken(view returns (address)
0x2260fac5e5542a773aa44fbcfedf7c193bc2c599
minTransferRootBondDelay(view returns (uint256)
900
Read-only
chainBalance(uint256view returns (uint256)
crossDomainMessengerWrappers(uint256view returns (address)
getBondForTransferAmount(uint256 amountpure returns (uint256)
getBondedWithdrawalAmount(address bonderbytes32 transferIdview returns (uint256)
getChallengeAmountForTransferAmount(uint256 amountpure returns (uint256)
getCredit(address bonderview returns (uint256)
getDebitAndAdditionalDebit(address bonderview returns (uint256)
getIsBonder(address maybeBonderview returns (bool)
getRawDebit(address bonderview returns (uint256)
getTimeSlot(uint256 timepure returns (uint256)
getTransferId(uint256 chainIdaddress recipientuint256 amountbytes32 transferNonceuint256 bonderFeeuint256 amountOutMinuint256 deadlinepure returns (bytes32)
getTransferRoot(bytes32 rootHashuint256 totalAmountview returns (struct BridgeTransferRoot)
getTransferRootId(bytes32 rootHashuint256 totalAmountpure returns (bytes32)
isChainIdPaused(uint256view returns (bool)
isTransferIdSpent(bytes32 transferIdview returns (bool)
timeSlotToAmountBonded(uint256addressview returns (uint256)
transferBonds(bytes32view returns (address bonderuint256 createdAtuint256 totalAmountuint256 challengeStartTimeaddress challengerbool challengeResolved)
transferRootCommittedAt(uint256bytes32view returns (uint256)
State-modifying
addBonder(address bonder
bondTransferRoot(bytes32 rootHashuint256 destinationChainIduint256 totalAmount
bondWithdrawal(address recipientuint256 amountbytes32 transferNonceuint256 bonderFee
challengeTransferBond(bytes32 rootHashuint256 originalAmountuint256 destinationChainIdpayable 
confirmTransferRoot(uint256 originChainIdbytes32 rootHashuint256 destinationChainIduint256 totalAmountuint256 rootCommittedAt
removeBonder(address bonder
rescueTransferRoot(bytes32 rootHashuint256 originalAmountaddress recipient
resolveChallenge(bytes32 rootHashuint256 originalAmountuint256 destinationChainId
sendToL2(uint256 chainIdaddress recipientuint256 amountuint256 amountOutMinuint256 deadlineaddress relayeruint256 relayerFeepayable 
setChainIdDepositsPaused(uint256 chainIdbool isPaused
setChallengePeriod(uint256 _challengePeriod
setChallengeResolutionPeriod(uint256 _challengeResolutionPeriod
setCrossDomainMessengerWrapper(uint256 chainIdaddress _crossDomainMessengerWrapper
setGovernance(address _newGovernance
setMinTransferRootBondDelay(uint256 _minTransferRootBondDelay
settleBondedWithdrawal(address bonderbytes32 transferIdbytes32 rootHashuint256 transferRootTotalAmountuint256 transferIdTreeIndexbytes32[] siblingsuint256 totalLeaves
settleBondedWithdrawals(address bonderbytes32[] transferIdsuint256 totalAmount
stake(address bonderuint256 amountpayable 
unstake(uint256 amount
withdraw(address recipientuint256 amountbytes32 transferNonceuint256 bonderFeeuint256 amountOutMinuint256 deadlinebytes32 rootHashuint256 transferRootTotalAmountuint256 transferIdTreeIndexbytes32[] siblingsuint256 totalLeaves
Events
BonderAdded(address indexed newBonder
BonderRemoved(address indexed previousBonder
ChallengeResolved(bytes32 indexed transferRootIdbytes32 indexed rootHashuint256 originalAmount
MultipleWithdrawalsSettled(address indexed bonderbytes32 indexed rootHashuint256 totalBondsSettled
Stake(address indexed accountuint256 amount
TransferBondChallenged(bytes32 indexed transferRootIdbytes32 indexed rootHashuint256 originalAmount
TransferRootBonded(bytes32 indexed rootuint256 amount
TransferRootConfirmed(uint256 indexed originChainIduint256 indexed destinationChainIdbytes32 indexed rootHashuint256 totalAmount
TransferRootSet(bytes32 indexed rootHashuint256 totalAmount
TransferSentToL2(uint256 indexed chainIdaddress indexed recipientuint256 amountuint256 amountOutMinuint256 deadlineaddress indexed relayeruint256 relayerFee
Unstake(address indexed accountuint256 amount
WithdrawalBondSettled(address indexed bonderbytes32 indexed transferIdbytes32 indexed rootHash
WithdrawalBonded(bytes32 indexed transferIduint256 amount
Withdrew(bytes32 indexed transferIdaddress indexed recipientuint256 amountbytes32 transferNonce
Constructor
constructor(address _l1CanonicalTokenaddress[] bondersaddress _governance
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.