Overview
DeBridgeToken is the ERC-20 implementation for wrapped assets (deTokens) that represent native tokens from other blockchains. Each deToken is 1:1 backed by collateral locked on its native chain. Contract Location:contracts/periphery/DeBridgeToken.sol
Token Properties
Token name (e.g., “deBridge Ethereum”)
Token symbol (e.g., “deETH”)
Decimal places (matches original token)
Chain ID where the original asset exists
Original token address on the source chain
ERC-20 Functions
DeBridgeToken implements the standard ERC-20 interface:transfer(address to, uint256 amount)approve(address spender, uint256 amount)transferFrom(address from, address to, uint256 amount)balanceOf(address account)allowance(address owner, address spender)
Bridge-Specific Functions
mint
Mints new wrapped tokens when assets are locked on the native chain.burn
Burns wrapped tokens when sending assets back to native chain.Token Lifecycle
Naming Convention
Wrapped tokens follow the pattern:- Name: “deBridge [Original Token Name]”
- Symbol: “de[Original Symbol]”
- USDC from Ethereum → “deBridge USDC” (deUSDC)
- WBTC from Ethereum → “deBridge Wrapped Bitcoin” (deWBTC)
- Native ETH → “deBridge Ethereum” (deETH)
Upgradeability
DeBridgeTokens use a beacon proxy pattern, allowing the implementation to be upgraded for all tokens simultaneously.
Integration Example
Using deTokens
Permit Support
DeBridgeToken supports EIP-2612 permit for gasless approvals:Gasless Approval
Related Documentation
Asset Transfers
Learn about lock-and-mint mechanism
Token Deployer
How deTokens are created