DBridge

Verified contract

Active on Ethereum with 22,684 txns
Deployed by via 0xb4311262 at 18539929
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $25,488,468.22
ERC-20
--
0x8017760afb221b0825692ece7117305a91a4957e1b619b2dd25d3f46521d034b
0xd010097c3b0572e51a199fc7193eea520fd7605811566ffb5daf16a4fe53f173
0x9f0fcf79f9c12e35ba1ad5470bbf1dee51c8e5ff9e2d7dfcad69d99c3921ceed
0x466e86087090cbb50c3b7bca342e6920c1b374b876221b135c8a1e6b730a550d
0x1acf1e6561b2bbc7190ee19735160b8608f47d7521f6917cd14414de4bfdcd9f
0x0d4f1a64763642b4ae855a2338ef89f62cea472375f95a4e1f9b6afeafae7ab1
0x2bfb640b5db54188c5ccf561fb64c37939575fa320f874de2b854b21fa55cd76
0x852fdd9d8061784a8583245086eb35b7b1d120ac314981d6b6e14757588e8883
0x4b4f188029fef2ec52ba20553bdfcdde787978df51257ef8ac9c4b363ae05335
0x2949a1ce75f3b24250b10ec14b9ff20f32b0d71dbe36a714106c196fc86f572b

Functions
Getter at block 21227043
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
GOVERNOR_ROLE(view returns (bytes32)
0x7935bd0ae54bc31f548c14dba4d37c5c64b3f8ca900cb468fb8abd54d5894f55
RELAYER_ROLE(view returns (bytes32)
0xe2b7fb3b832174769106daebcfd6d1970523240dda11281102db9363b83b0dc4
domainHash(view returns (bytes32)
0xef2dfa72dd8590c7d331f8c9b73a02f2d71dbb91d4e65207c55804afa24f5152
paused(view returns (bool)
false
Read-only
bridgeTxn(bytes32view returns (uint256 bridgeIndexuint8 txnTypeaddress senderuint256 chainIdaddress tokenAddressuint256 amountbool isWithdrawedbool isVerifiedByRelayer)
getBridgeTokenAddress(address tokenAddressuint256 chainIdview returns (address bridgeTokenAddress)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
supportedTokens(addressview returns (uint256 platformFeebool isAvailablebool isMintableBurnable)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
addBridge(struct DBridgeVoteData voteDatapayable 
addSupportedChain(address tokenAddressuint256 chainIdaddress bridgeTokenAddress
addToken(address tokenAddressuint256 tokenPlatformFeebool isMintableBurnableToken
bridge(struct DBridgeWithdrawData withdrawData
confirmBridge(struct DBridgeVoteData voteDatapayable 
deposit(uint256 chainIdaddress tokenAddressuint256 amountreturns (bytes32 bridgeId)
enableDisableToken(address tokenAddressbool isEnable
grantRole(bytes32 roleaddress account
pause(
renounceRole(bytes32 roleaddress callerConfirmation
revokeRole(bytes32 roleaddress account
unpause(
updateTokenPlatformFee(address tokenAddressuint256 newPlatformFee
withdraw(bytes32 bridgeIdpayable 
Events
Bridge(bytes32 indexed bridgeIduint256 sourceChainIdaddress receiveraddress tokenAddressuint256 amountaddress[] validators
Confirmation(bytes32 indexed bridgeIduint256 sourceChainIdaddress receiveraddress tokenAddressuint256 amountaddress confirmer
Deposit(bytes32 indexed bridgeIduint256 indexed bridgeIndexaddress senderuint256 chainIdaddress tokenAddressuint256 amount
Paused(address account
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Unpaused(address account
Withdraw(bytes32 indexed bridgeIdaddress indexed receiveraddress bridgeTokenAddressuint256 amount
Constructor
constructor(string namestring versionaddress exchangePoolAddressaddress rewarTokenAddressuint256 _baseVoteFeeuint256 _rewardFee
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AccessControlBadConfirmation(
AccessControlUnauthorizedAccount(address accountbytes32 neededRole
AddressEmptyCode(address target
AddressInsufficientBalance(address account
ECDSAInvalidSignature(
ECDSAInvalidSignatureLength(uint256 length
ECDSAInvalidSignatureS(bytes32 s
EnforcedPause(
ExpectedPause(
FailedInnerCall(
SafeERC20FailedOperation(address token