Files
proxmox/docs/11-references/ALL_MAINNET_ROUTING_ENGINE.md
defiQUG fbda1b4beb
Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
docs: Ledger Live integration, contract deploy learnings, NEXT_STEPS updates
- ADD_CHAIN138_TO_LEDGER_LIVE: Ledger form done; public code review repo bis-innovations/LedgerLive; init/push commands
- CONTRACT_DEPLOYMENT_RUNBOOK: Chain 138 gas price 1 gwei, 36-addr check, TransactionMirror workaround
- CONTRACT_*: AddressMapper, MirrorManager deployed 2026-02-12; 36-address on-chain check
- NEXT_STEPS_FOR_YOU: Ledger done; steps completable now (no LAN); run-completable-tasks-from-anywhere
- MASTER_INDEX, OPERATOR_OPTIONAL, SMART_CONTRACTS_INVENTORY_SIMPLE: updates
- LEDGER_BLOCKCHAIN_INTEGRATION_COMPLETE: bis-innovations/LedgerLive reference

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 15:46:57 -08:00

2.3 KiB

ALL Mainnet Routing Engine — AlltraAdapter & AlltraCustomBridge

Documents how AlltraAdapter and AlltraCustomBridge fit into the cross-chain routing engine for ALL Mainnet (651940) → Tezos USDtz flows.

Overview

  • ALL Mainnet (chainId 651940): EVM blockchain, RPC https://mainnet-rpc.alltra.global
  • AlltraAdapter: Solidity contract bridging 651940 ↔ Ethereum (1)
  • AlltraCustomBridge: On-chain bridge component used when CCIP/LiFi do not support 651940

Routing Engine Integration

Bridge Capability Matrix

The dbis_core bridge capability matrix (bridge-capability-matrix.ts) includes:

Provider Source Destination Assets Status
AlltraAdapter 651940 1 USDC, USDT, AUSDC, AUSDT, WETH active
AlltraAdapter 1 651940 USDC, USDT, WETH active

Route Planner (ALL Mainnet → Tezos USDtz)

The route planner supports source_chain_id=651940 with this 4-hop path:

  1. ALL_MAINNET SWAP — source asset → AUSDC (0xa95EeD79f84E6A0151eaEb9d441F9Ffd50e8e881) via AlltraDEX / EnhancedSwapRouter
  2. ALL_MAINNET BRIDGE — AlltraAdapter: AUSDC → USDC on Ethereum
  3. HUB_EVM BRIDGE — Wrap Protocol (or Allbridge): USDC → Tezos
  4. TEZOS SWAP — USDC → USDtz via Plenty

Chain Label Mapping (TRPE / EO)

The Transaction Router + Policy Engine maps chain labels to IDs:

Label Chain ID
CHAIN138 138
ALL_MAINNET 651940
HUB_EVM 1
TEZOS 1729

Contract References

  • AlltraAdapter: smom-dbis-138/contracts/bridge/adapters/evm/AlltraAdapter.sol
  • Chain Registry: Uses chain type "EVM", identifier "ALL-Mainnet" for 651940

API Endpoints

  • POST /v1/routes/chain138-to-usdtz (multi-chain-execution): Accepts source_chain_id=651940
  • POST /api/v1/routes/chain138-to-usdtz (dbis_core): Same