FastBridge

Verified contract

Active on Ethereum with 62,912 txns
Deployed by via 0x580eb975 at 19420668
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $6,563.25
ERC-20
Value $5,915.24
0x6414d86679aa2ff8a0a0a323a0a7cf8414882f9be33e7571c58a66171871dfea
0xe586a60d1d45593ffd1267640856c8eef74a5c0045ba3c27e2bc0a2617fde294
0xd06c56ad161ebeb8ea77cc8326d3875cb85d99c015c40545fa2fac8f5dca04dc
0xdcda86cc135d41692511c6240a5529b374bbf195423d90c96f7de0583bb08b56
0x6d8d88cbf90609617b751aab168f90c9cdd1e4f70d494a9d49e2a6dc987bc15d
0xa5a0ab0fa5d8ede154983949bb4baf39668862119f2bbcc7c9859ab8c8b52261
0x45af788c2176ff96db8140030e897deb31cba8d7ef4ea64c03409420ca2c719c
0x542b60100927e6d9cd3c80e896f80533f264f0ccc5c168e427458e629ba5da10
0xfe8276001a859e964e39f3cbd84e7abf8eb9e8806c203578c68b0659dd85bdb1
0xe48f841ea6c01891d5d23f44e36af238c9c2d049a504ccff628c28ad086da2ea

Functions
Getter at block 21161954
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)
19420668
nonce(view returns (uint256)
16515
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(