Created
September 24, 2025 11:27
-
-
Save sedhu-orbitx/aeb9a10ed2da76c9a87fcccbe445011a to your computer and use it in GitHub Desktop.
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, | |
| TRON: 30420, // Legacy Mesh | |
| OPTIMISM: 30111, | |
| BERACHAIN: 30362, | |
| INK: 30339, | |
| UNICHAIN: 30320, | |
| CORN: 30331, | |
| SEI: 30280, | |
| FLARE: 30295, | |
| HYPEREVM: 30367, | |
| ROOTSTOCK: 30333, | |
| XLAYER: 30274, | |
| } as const; | |
| // USDT0 Contract Addresses | |
| export const USDT0_CONTRACTS = { | |
| // Ethereum Mainnet (EID: 30101) | |
| ETHEREUM: { | |
| OAdapterUpgradeable: '0x6C96dE32CEa08842dcc4058c14d3aaAD7Fa41dee', | |
| Safe: '0x4DFF9b5b0143E642a3F63a5bcf2d1C328e600bf8', | |
| }, | |
| // Arbitrum One (EID: 30110) - Legacy Mesh Hub | |
| ARBITRUM: { | |
| ArbitrumExtensionV2: '0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9', | |
| OUpgradeable: '0x14E4A1B13bf7F943c8ff7C51fb60FA964A298D92', | |
| UsdtOFT: '0x77652D5aba086137b595875263FC200182919B92', // Legacy Mesh | |
| MultiHopComposer: '0x759BA420bF1ded1765F18C2DC3Fc57A1964A2Ad1', // Automated multi-hop transfers | |
| Safe: '0x4DFF9b5b0143E642a3F63a5bcf2d1C328e600bf8', | |
| }, | |
| // Polygon PoS (EID: 30109) | |
| POLYGON: { | |
| UChildUSDT0: '0xc2132D05D31c914a87C6611C10748AEb04B58e8F', | |
| OUpgradeable: '0x6BA10300f0DC58B7a1e4c0e41f5daBb7D7829e13', | |
| Safe: '0x4DFF9b5b0143E642a3F63a5bcf2d1C328e600bf8', | |
| }, | |
| // Tron Mainnet (EID: 30420) - Legacy Mesh | |
| TRON: { | |
| UsdtOFT: 'TFG4wBaDQ8sHWWP1ACeSGnoNR6RRzevLPt', | |
| }, | |
| } as const; | |
| // USDT Contract Addresses | |
| export const USDT_CONTRACTS = { | |
| TRON: 'TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t', // USDT on Tron | |
| ETHEREUM: '0xdAC17F958D2ee523a2206206994597C13D831ec7', // USDT on Ethereum | |
| ARBITRUM: '0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9', // USDT on Arbitrum | |
| POLYGON: '0xc2132D05D31c914a87C6611C10748AEb04B58e8F', // USDT on Polygon (same as USDT0) | |
| } as const; | |
| // Network RPC URLs | |
| export const RPC_URLS = { | |
| TRON: 'https://api.trongrid.io', | |
| ARBITRUM: 'https://arb1.arbitrum.io/rpc', | |
| POLYGON: 'https://polygon-rpc.com', | |
| ETHEREUM: 'https://eth.llamarpc.com', | |
| } as const; | |
| // USDT Decimals | |
| export const USDT_DECIMALS = 6; | |
| // Gas Configuration | |
| export const GAS_CONFIG = { | |
| GAS_LIMIT: 1000000, | |
| MAX_FEE_PER_GAS: '20000000000', // 20 gwei | |
| MAX_PRIORITY_FEE_PER_GAS: '2000000000', // 2 gwei | |
| } as const; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment