DTC OFT Bridge Test UI (Linea ↔ Base)
Canonical DTC is on
Linea
(adapter locks/unlocks). On
Base
, DTC is minted/burned via OFT. This UI adds a
buffer
to
msg.value
to avoid LayerZero
NotEnoughNative()
reverts.
Wallet:
—
Chain:
—
Sender:
—
Spender:
—
DstEid:
—
1) Controls
Direction
Linea → Base
Base → Linea
Recipient (optional, default = your wallet)
Amount (DTC)
Slippage (bps) for minAmount (e.g. 50 = 0.50%)
LZ Gas (for options) — keep 200000 for now
Buffer % added to msg.value (fixes NotEnoughNative)
Connect
Quote Native Fee
Approve (if needed)
Send
Balance:
—
Allowance:
—
Peer(dstEid):
—
Native fee:
—
msg.value (buffered):
—
Debug RPCs (optional, but useful to extract revert bytes). Paste your Alchemy/Infura/QuickNode HTTPS endpoints:
Debug RPC (Linea)
Debug RPC (Base)
Simulate (Debug RPC eth_call)
2) Log
Tip: if you see selector
0x9f704120
, that’s
NotEnoughNative(msgValue)
→ increase Buffer %.