Skip to content

Commit b1acc54

Browse files
committed
docs(layerzero): clarify EndpointDollar fee flow and fix anchor
- Restore lead-in clause for the bullet list (was orphaned after removing 'transparent for end users') - Make wrap requirement explicit in the EndpointDollar reference section so readers skimming this block know the wrap step is mandatory - Fix broken anchor: #bridge-from-tempo-via-stargate -> #bridge-from-tempo (section was renamed in #399) Co-Authored-By: Uddhav <255779543+letstokenize@users.noreply.github.com>
1 parent 8d18e6e commit b1acc54

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎src/pages/guide/bridge-layerzero.mdx‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -528,8 +528,10 @@ Tempo has no native gas token, so there is no `msg.value`. Standard LayerZero en
528528

529529
**LZEndpointDollar** ([`0x0cEb237E109eE22374a567c6b09F373C73FA4cBb`](https://explore.tempo.xyz/address/0x0cEb237E109eE22374a567c6b09F373C73FA4cBb)) is an adapter contract that routes LayerZero messaging fees through a TIP-20 stablecoin instead of `msg.value`. It wraps the standard `EndpointV2` so that OFT contracts can function on Tempo without modification.
530530

531-
- **Bridging to Tempo** - fees are paid in native gas on the source chain (ETH, MATIC, AVAX, etc.) as normal.
532-
- **Bridging from Tempo** - `LZEndpointDollar` deducts the messaging fee from a TIP-20 stablecoin. No `msg.value` is needed. See [Bridge from Tempo via Stargate](#bridge-from-tempo-via-stargate) for the wrapping steps required to prepare the fee token.
531+
How fees flow:
532+
533+
- **Bridging to Tempo** - fees are paid in native gas on the source chain (ETH, MATIC, AVAX, etc.) as normal. No interaction with `LZEndpointDollar` is required.
534+
- **Bridging from Tempo** - `LZEndpointDollar` deducts the messaging fee from an LZD token (a wrapped TIP-20 stablecoin) instead of `msg.value`. Before calling `sendToken` / `send`, you must wrap USDC.e into LZD and approve LZD to the OFT contract. See [Bridge from Tempo](#bridge-from-tempo) for the exact steps.
533535

534536
## Further reading
535537

0 commit comments

Comments
 (0)