FastBridge

Verified contract

Active on Base with 97,455 txns
Deployed by via 0xf429cdb7 at 12478103
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $2,575.53
ERC-20
Value $13,107.18
ERC-20
Value $0.12
ERC-20
Value $0.1
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
0xe1942d8d2fe81d06d95e72f1fc70a7e03f6c96712b2e73fe6311b326412cfa8a
0xa34ed6a6d07cd1a23024cc1f91f811a5029ba7674afc3a3be0e6786c58585a5e
0x8de82c208a3b3960a97a9a4dba14605e114046cfed3e61d9868cbb35b341bbad
0x380ab0ad37c01cbfe6005caddb58c4d9fcef441c95f62f5f892c189bfbf6a4d4
0xf05125035502069fd4bac9814f84133e6c6198ef189c506a9b32f51b3fd9ce25
0x000a0fe2cf9dc41935a411ed06e4a04986ffedb8c10ab7ac80cfe480a891d29a
0xefdb21686d113d3a4a5970f94e2128dc2dfa16629ae6fee99eccaf907d291b97
0x5076a65049d5b5f005cb5a4f1696bca73b69b948b2e16f04cdf11d6fca986614
0xef333d56f818d5abd825650ef8b3f1cf0763ff917e8268305dbd096ee4c74fb8
0x53f46f65887a4b4f3700430f227f68f6dd160a84041e14de7381fd620aaa6ae3

Functions
Getter at block 22729371
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
DISPUTE_PERIOD(view returns (uint256)
1800
FEE_BPS(view returns (uint256)
1000000
FEE_RATE_MAX(view returns (uint256)
10000
GOVERNOR_ROLE(view returns (bytes32)
0x7935bd0ae54bc31f548c14dba4d37c5c64b3f8ca900cb468fb8abd54d5894f55
GUARD_ROLE(view returns (bytes32)
0x043c983c49d46f0e102151eaf8085d4a2e6571d5df2d47b013f39bddfd4a639d
MIN_DEADLINE_PERIOD(view returns (uint256)
1800
REFUNDER_ROLE(view returns (bytes32)
0xdb9556138406326f00296e13ea2ad7db24ba82381212d816b1a40c23b466b327
REFUND_DELAY(view returns (uint256)
604800
RELAYER_ROLE(view returns (bytes32)
0xe2b7fb3b832174769106daebcfd6d1970523240dda11281102db9363b83b0dc4
chainGasAmount(view returns (uint256)
0
deployBlock(view returns (uint256)
12478103
nonce(view returns (uint256)
32543
protocolFeeRate(view returns (uint256)
0
Read-only
bridgeProofs(bytes32view returns (uint96 timestampaddress relayer)
bridgeRelays(bytes32view returns (bool)
bridgeStatuses(bytes32view returns (uint8)
canClaim(bytes32 transactionIdaddress relayerview returns (bool)
getBridgeTransaction(bytes requestpure returns (struct IFastBridgeBridgeTransaction)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
protocolFees(addressview returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
bridge(struct IFastBridgeBridgeParams paramspayable 
claim(bytes requestaddress to
dispute(bytes32 transactionId
grantRole(bytes32 roleaddress account
prove(bytes requestbytes32 destTxHash
refund(bytes request
relay(bytes requestpayable 
renounceRole(bytes32 roleaddress callerConfirmation
revokeRole(bytes32 roleaddress account
setChainGasAmount(uint256 newChainGasAmount
setProtocolFeeRate(uint256 newFeeRate
sweepProtocolFees(address tokenaddress recipient
Events
BridgeDepositClaimed(bytes32 indexed transactionIdaddress indexed relayeraddress indexed toaddress tokenuint256 amount
BridgeDepositRefunded(bytes32 indexed transactionIdaddress indexed toaddress tokenuint256 amount
BridgeProofDisputed(bytes32 indexed transactionIdaddress indexed relayer
BridgeProofProvided(bytes32 indexed transactionIdaddress indexed relayerbytes32 transactionHash
BridgeRelayed(bytes32 indexed transactionIdaddress indexed relayeraddress indexed touint32 originChainIdaddress originTokenaddress destTokenuint256 originAmountuint256 destAmountuint256 chainGasAmount
BridgeRequested(bytes32 indexed transactionIdaddress indexed senderbytes requestuint32 destChainIdaddress originTokenaddress destTokenuint256 originAmountuint256 destAmountbool sendChainGas
ChainGasAmountUpdated(uint256 oldChainGasAmountuint256 newChainGasAmount
FeeRateUpdated(uint256 oldFeeRateuint256 newFeeRate
FeesSwept(address tokenaddress recipientuint256 amount
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Constructor
constructor(address _owner
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AccessControlBadConfirmation(
AccessControlUnauthorizedAccount(address accountbytes32 neededRole
AddressEmptyCode(address target
AddressInsufficientBalance(address account
AmountIncorrect(
ChainIncorrect(
DeadlineExceeded(
DeadlineNotExceeded(
DeadlineTooShort(
DisputePeriodNotPassed(
DisputePeriodPassed(
FailedInnerCall(
MsgValueIncorrect(
SafeERC20FailedOperation(address token
SenderIncorrect(
StatusIncorrect(
TokenNotContract(
TransactionRelayed(
ZeroAddress(