FastBridge

Verified contract

Active on Base with 87,691 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 $14,637.39
ERC-20
Value $15,530.3
ERC-20
Value $0.19
ERC-20
Value $0.02
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
0x66b40059b769df726c1c8e38a582c7b985f6d267168a6aec347fa83d7b7d83e6
0x4665b179d91bc0a9a0d2c4eeb34810acd729415a62730446d781e65a3e9fcae6
0x21dd0bc7b937211715f5d391bc7ee7527f010392c94c91a7eb67bd06ec3a3198
0x302e9bd19f4ee9e07d74312be7f5118b6b2f292a2df780f43a274b17f2235100
0x6e03c3b1ef97e9b9e3827c18c063bf2fea28eb058428f7df8b3eaad7def8c4aa
0xac31d2f3f86b36f55c9f375cc68bce1a34ea193c33b4c021f49632689402a178
0xef693ae4ee13565b0a3495c9a0b62c75fb200dcdd32c166b111e607f5c58683e
0x29962fdad3d474c6994d790686504a0ab9fad836b39d4e05872554983d7890ff
0x1233ea842919fcf1081eb78ad547b7b2f284cefd94721781b0f1c9862de4201f
0x0e6478b95a08bc288a13c910cab3b4e0df12c3c37caea86dc481446996b0a8f9

Functions
Getter at block 21739748
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)
29539
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(