Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
- 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>
1.9 KiB
1.9 KiB
WETH9/WETH10 & Oracle Quick Reference
Last Updated: 2026-01-31
Document Version: 1.0
Status: Active Documentation
Date: 2026-01-26
Quick lookup for fixes and configuration
✅ WETH9/WETH10 Decimals - FIXED
Token Information
| Token | Address | Decimals | Status |
|---|---|---|---|
| WETH9 | 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 |
18 | ✅ Fixed in token lists |
| WETH10 | 0xf4BB2e28688e89fCcE3c0580D37d36A7672E8A9f |
18 | ✅ Correct |
Quick Fix for Users
- Remove token from MetaMask (if already imported)
- Re-import with decimals set to 18
- Or use token list (recommended)
💰 Oracle Price Feed
Oracle Contract
- Address:
0x3304b747e565a97ec8ac220b0b6a1f6ffdb837e6 - Price Feed: ETH/USD
- Decimals: 8
- Update Frequency: 60 seconds
Quick Verification
# Get latest price
cast call 0x3304b747e565a97ec8ac220b0b6a1f6ffdb837e6 \
"latestRoundData()" \
--rpc-url https://rpc-http-pub.d-bis.org
JavaScript Query
const oracle = new ethers.Contract(
'0x3304b747e565a97ec8ac220b0b6a1f6ffdb837e6',
['function latestRoundData() external view returns (uint80, int256, uint256, uint256, uint80)'],
provider
);
const [, answer] = await oracle.latestRoundData();
const price = Number(answer) / 1e8; // Convert from 8 decimals
console.log(`ETH/USD: $${price}`);
⚠️ Important Notes
- MetaMask Limitation: MetaMask doesn't automatically query oracle contracts
- CoinGecko Required: For native MetaMask USD display, tokens need CoinGecko listing
- dApp Solution: Query oracle directly in dApps to display USD values
📚 Full Documentation
- Complete Fix Guide:
FIX_WETH9_WETH10_DECIMALS_AND_ORACLE.md - Oracle Setup:
ORACLE_PRICE_FEED_SETUP.md
Last Updated: 2026-01-26