This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* USDT0 Contract Addresses and Configuration | |
* Based on official USDT0 documentation: https://docs.usdt0.to/technical-documentation/developer | |
*/ | |
// LayerZero Endpoint IDs (EID) | |
export const LAYERZERO_EIDS = { | |
ETHEREUM: 30101, | |
ARBITRUM: 30110, | |
POLYGON: 30109, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Composed MultiHop Transfer Implementation following tron-exmaple.ts pattern | |
* Handles single-transaction multi-hop transfers: Tron → Arbitrum → Polygon | |
* Uses composed message pattern for seamless multi-hop transfers | |
* Uses TronWeb for Tron operations and ethers.js for EVM chains | |
* | |
* Based on LayerZero UI Bridge SDK pattern and USDT0 documentation | |
*/ | |