DeBridgeGate
Verified contract
Implementation
Active on
Ethereum with 1 txns
Storage
Map
Table
Raw
Constants and immutables
9
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
9 additional
variables
Balances ($0.00)
No balances found for "DeBridgeGate"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 14894797 | 2 years ago | | | 0 | 0.020538511 |
ABI
ABI objects
Getter at block 21275722
BPS_DENOMINATOR() view returns (uint256)
10000
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
DEPLOY_PREFIX() view returns (uint256)
2
GOVMONITORING_ROLE() view returns (bytes32)
0x2b36fa99e118fa8485d488becf749a974743fbeb6a7aa57e663893bf5d69a3c1
SUBMISSION_PREFIX() view returns (uint256)
1
callProxy() view returns (address)
0x0000000000000000000000000000000000000000
deBridgeTokenDeployer() view returns (address)
0x0000000000000000000000000000000000000000
defiController() view returns (address)
0x0000000000000000000000000000000000000000
excessConfirmations() view returns (uint8)
10
feeContractUpdater() view returns (address)
0x0000000000000000000000000000000000000000
feeProxy() view returns (address)
0x0000000000000000000000000000000000000000
flashFeeBps() view returns (uint256)
0
getChainId() view returns (uint256 cid)
1
globalFixedNativeFee() view returns (uint256)
0
globalTransferFeeBps() view returns (uint16)
0
lockedClaim() view returns (uint256)
0
nonce() view returns (uint256)
0
paused() view returns (bool)
false
signatureVerifier() view returns (address)
0x0000000000000000000000000000000000000000
version() pure returns (uint256)
410
weth() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
wethGate() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
feeDiscount(address) view returns (uint16 discountFixBps, uint16 discountTransferBps)
getAmountThreshold(bytes32) view returns (uint256)
getChainFromConfig(uint256) view returns (uint256 fixedNativeFee, bool isSupported, uint16 transferFeeBps)
getChainToConfig(uint256) view returns (uint256 fixedNativeFee, bool isSupported, uint16 transferFeeBps)
getDebridge(bytes32) view returns (uint256 chainId, uint256 maxAmount, uint256 balance, uint256 lockedInStrategies, address tokenAddress, uint16 minReservesBps, bool exist)
getDebridgeChainAssetFixedFee(bytes32 _debridgeId, uint256 _chainId) view returns (uint256)
getDebridgeFeeInfo(bytes32) view returns (uint256 collectedFees, uint256 withdrawnFees)
getDebridgeId(uint256 _chainId, address _tokenAddress) pure returns (bytes32)
getDefiAvaliableReserves(address _tokenAddress) view returns (uint256)
getDeployId(bytes32 _debridgeId, string _name, string _symbol, uint8 _decimals) pure returns (bytes32)
getNativeInfo(address) view returns (uint256 nativeChainId, bytes nativeAddress)
getRoleAdmin(bytes32 role) view returns (bytes32)
getSubmissionIdFrom(bytes32 _debridgeId, uint256 _chainIdFrom, uint256 _amount, address _receiver, uint256 _nonce, struct IDeBridgeGateSubmissionAutoParamsFrom _autoParams, bool _hasAutoParams, address _sender) view returns (bytes32)
getbDebridgeId(uint256 _chainId, bytes _tokenAddress) pure returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
isBlockedSubmission(bytes32) view returns (bool)
isSubmissionUsed(bytes32) view returns (bool)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events autoUpdateFixedNativeFee(uint256 _globalFixedNativeFee)
blockSubmission(bytes32[] _submissionIds, bool isBlocked)
claim(bytes32 _debridgeId, uint256 _amount, uint256 _chainIdFrom, address _receiver, uint256 _nonce, bytes _signatures, bytes _autoParams)
deployNewAsset(bytes _nativeTokenAddress, uint256 _nativeChainId, string _name, string _symbol, uint8 _decimals, bytes _signatures)
flash(address _tokenAddress, address _receiver, uint256 _amount, bytes _data)
grantRole(bytes32 role, address account)
initialize(uint8 _excessConfirmations, address _weth)
pause()
renounceRole(bytes32 role, address account)
requestReserves(address _tokenAddress, uint256 _amount)
returnReserves(address _tokenAddress, uint256 _amount)
revokeRole(bytes32 role, address account)
send(address _tokenAddress, uint256 _amount, uint256 _chainIdTo, bytes _receiver, bytes _permit, bool _useAssetFee, uint32 _referralCode, bytes _autoParams) payable
setCallProxy(address _callProxy)
setChainSupport(uint256 _chainId, bool _isSupported, bool _isChainFrom)
setDeBridgeTokenDeployer(address _deBridgeTokenDeployer)
setDefiController(address _defiController)
setFeeContractUpdater(address _value)
setFeeProxy(address _feeProxy)
setSignatureVerifier(address _verifier)
setWethGate(address _wethGate)
unpause()
updateAsset(bytes32 _debridgeId, uint256 _maxAmount, uint16 _minReservesBps, uint256 _amountThreshold)
updateAssetFixedFees(bytes32 _debridgeId, uint256[] _supportedChainIds, uint256[] _assetFeesInfo)
updateChainSupport(uint256[] _chainIds, struct IDeBridgeGateChainSupportInfo[] _chainSupportInfo, bool _isChainFrom)
updateExcessConfirmations(uint8 _excessConfirmations)
updateFeeDiscount(address _address, uint16 _discountFixBps, uint16 _discountTransferBps)
updateFlashFee(uint256 _flashFeeBps)
updateGlobalFee(uint256 _globalFixedNativeFee, uint16 _globalTransferFeeBps)
withdrawFee(bytes32 _debridgeId)
AutoRequestExecuted(bytes32 submissionId, bool indexed success, address callProxy)
Blocked(bytes32 submissionId)
CallProxyUpdated(address callProxy)
ChainSupportUpdated(uint256 chainId, bool isSupported, bool isChainFrom)
ChainsSupportUpdated(uint256 chainIds, struct IDeBridgeGateChainSupportInfo chainSupportInfo, bool isChainFrom)
Claimed(bytes32 submissionId, bytes32 indexed debridgeId, uint256 amount, address indexed receiver, uint256 nonce, uint256 indexed chainIdFrom, bytes autoParams, bool isNativeToken)
FixedNativeFeeAutoUpdated(uint256 globalFixedNativeFee)
FixedNativeFeeUpdated(uint256 globalFixedNativeFee, uint256 globalTransferFeeBps)
Flash(address sender, address indexed tokenAddress, address indexed receiver, uint256 amount, uint256 paid)
MonitoringClaimEvent(bytes32 submissionId, uint256 lockedOrMintedAmount, uint256 totalSupply)
MonitoringSendEvent(bytes32 submissionId, uint256 nonce, uint256 lockedOrMintedAmount, uint256 totalSupply)
PairAdded(bytes32 debridgeId, address tokenAddress, bytes nativeAddress, uint256 indexed nativeChainId, uint256 maxAmount, uint16 minReservesBps)
Paused(address account)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
Sent(bytes32 submissionId, bytes32 indexed debridgeId, uint256 amount, bytes receiver, uint256 nonce, uint256 indexed chainIdTo, uint32 referralCode, struct IDeBridgeGateFeeParams feeParams, bytes autoParams, address nativeSender)
Unblocked(bytes32 submissionId)
Unpaused(address account)
WithdrawnFee(bytes32 debridgeId, uint256 fee)
This contract contains no constructor objects.
receive()
AdminBadRole()
AssetAlreadyExist()
DebridgeNotFound()
DefiControllerBadRole()
EthTransferFailed()
FeeContractUpdaterBadRole()
FeeProxyBadRole()
FlashFeeNotPaid()
GovMonitoringBadRole()
InvalidTokenToSend()
NotEnoughReserves()
NotSupportedFixedFee()
ProposedFeeTooHigh()
SignatureInvalidV()
SubmissionBlocked()
SubmissionUsed()
TransferAmountNotCoverFees()
TransferAmountTooHigh()
WrongArgument()
WrongArgumentLength()
WrongAutoArgument()
WrongChainFrom()
WrongChainTo()
ZeroAddress()