Skip to main content
Helper to withdraw fees from DeBridgeGate and transfer them to a treasury.

Variables

debridgeGate

DeBridgeGate address

treasury

Treasury address

Functions

initialize

pause

unpause

setDebridgeGate

setTreasury

withdrawFee

Transfer collected fees for a token to the treasury.

Parameters:


withdrawNativeFee

Transfer collected fees for a native token to the treasury.

receive

getbDebridgeId

Calculates asset identifier.

Parameters:


getDebridgeId

Calculates asset identifier.

Parameters:


getChainId

Get current chain id.

_safeTransferETH

Transfer ETH to an address, revert if it fails.

Parameters:


version

Get this contract’s version