diff --git a/package.json b/package.json index e0917d9..3ef56b4 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,7 @@ ] }, "dependencies": { - "@lifi/types": "17.83.0" + "@lifi/types": "17.85.0" }, "devDependencies": { "@commitlint/cli": "^19.7.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c79ea59..fcaa57e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,8 +9,8 @@ importers: .: dependencies: '@lifi/types': - specifier: 17.83.0 - version: 17.83.0 + specifier: 17.85.0 + version: 17.85.0 devDependencies: '@commitlint/cli': specifier: ^19.7.1 @@ -440,8 +440,8 @@ packages: '@jridgewell/trace-mapping@0.3.31': resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==} - '@lifi/types@17.83.0': - resolution: {integrity: sha512-o5oFqRgapXeGbN6jYsdRipLpD/UlR4DJdxNyLlHA2hmjeKp9q7Cq8X4VFwnp8lMUXjGZJI6mtL6iWogkhaZXHA==} + '@lifi/types@17.85.0': + resolution: {integrity: sha512-EueQyqhyvZbHygkyxj9EPAhUwn69ViRn9zJ56UnZlXsHlOZ/NdNVWxUwrVFVuRt/8qkdZH35R/1vE+SOxFHCNw==} '@mysten/bcs@1.9.2': resolution: {integrity: sha512-kBk5xrxV9OWR7i+JhL/plQrgQ2/KJhB2pB5gj+w6GXhbMQwS3DPpOvi/zN0Tj84jwPvHMllpEl0QHj6ywN7/eQ==} @@ -3141,7 +3141,7 @@ snapshots: '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.5.5 - '@lifi/types@17.83.0': {} + '@lifi/types@17.85.0': {} '@mysten/bcs@1.9.2': dependencies: diff --git a/src/chains/foundry.ts b/src/chains/foundry.ts index e0ae304..0922711 100644 --- a/src/chains/foundry.ts +++ b/src/chains/foundry.ts @@ -82,6 +82,7 @@ export const foundryChainNameMap: Record = { [ChainId.ZEROG]: '0g', [ChainId.PHR]: 'pharos', [ChainId.SOM]: 'somnia', + [ChainId.OUT]: 'outlaw', [ChainId.ARC]: 'arc', [ChainId.OPST]: 'optimismsepolia', [ChainId.BAST]: 'basesepolia', diff --git a/src/chains/supportedChains.evm.ts b/src/chains/supportedChains.evm.ts index f7381fc..e6871ef 100644 --- a/src/chains/supportedChains.evm.ts +++ b/src/chains/supportedChains.evm.ts @@ -2174,6 +2174,31 @@ export const supportedEVMChains: EVMChain[] = [ }, }, + // 4663 - Outlaw + { + key: ChainKey.OUT, + chainType: ChainType.EVM, + name: 'Outlaw', + coin: CoinKey.ETH, + id: ChainId.OUT, + mainnet: true, + logoURI: + 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/outlaw.svg', + multicallAddress: multicallAddresses[ChainId.OUT], + relayerSupported: false, + metamask: { + chainId: prefixChainId(ChainId.OUT), + blockExplorerUrls: ['https://8crv4vmq6tiu1yqr.blockscout.com/'], + chainName: 'Outlaw', + nativeCurrency: { + name: 'Ether', + symbol: 'ETH', + decimals: 18, + }, + rpcUrls: ['https://out-rpc.transferto.xyz/'], + }, + }, + // 5042 - Arc { key: ChainKey.ARC, diff --git a/src/coins/coins.ts b/src/coins/coins.ts index 47a0e8c..4c0538f 100644 --- a/src/coins/coins.ts +++ b/src/coins/coins.ts @@ -212,6 +212,10 @@ export const basicCoins: BasicCoin[] = [ decimals: 18, name: 'Ether (Spot)', }, + [ChainId.OUT]: { + address: '0x0000000000000000000000000000000000000000', + decimals: 18, + }, }, }, // > MATIC @@ -2147,6 +2151,10 @@ export const basicCoins: BasicCoin[] = [ address: '0x1f4b7011Ee3d53969bb67F59428a9ec0477856E9', decimals: 18, }, + [ChainId.OUT]: { + address: '0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73', + decimals: 18, + }, }, }, @@ -3572,6 +3580,20 @@ export const basicCoins: BasicCoin[] = [ }, }, + // USDG (Global Dollar) + { + key: CoinKey.USDG, + name: 'Global Dollar', + logoURI: 'https://s2.coinmarketcap.com/static/img/coins/64x64/33793.png', + verified: true, + chains: { + [ChainId.OUT]: { + address: '0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168', + decimals: 18, + }, + }, + }, + { key: CoinKey.ZEROG, name: '0G', @@ -4679,6 +4701,16 @@ export const wrappedTokens: { [ChainId: string]: StaticToken } = { logoURI: 'https://static.debank.com/image/uni_token/logo_url/uni/48bfb74adddd170e936578aec422836d.png', }, + [ChainId.OUT]: { + address: '0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73', + symbol: 'WETH', + decimals: 18, + chainId: ChainId.OUT, + coinKey: CoinKey.WETH, + name: 'Wrapped Ether', + logoURI: + 'https://static.debank.com/image/uni_token/logo_url/uni/48bfb74adddd170e936578aec422836d.png', + }, } export const findDefaultCoin = (coinKey: CoinKey): Coin => { const coin = defaultCoins.find((coin) => coin.key === coinKey) diff --git a/src/multicall.ts b/src/multicall.ts index 6089b73..09be825 100644 --- a/src/multicall.ts +++ b/src/multicall.ts @@ -89,6 +89,7 @@ export const multicallAddresses: { [ChainId: number]: string } = { [ChainId.ZEROG]: '0xcA11bde05977b3631167028862bE2a173976CA11', [ChainId.PHR]: '0xcA11bde05977b3631167028862bE2a173976CA11', [ChainId.SOM]: '0x5e44F178E8cF9B2F5409B6f18ce936aB817C5a11', + [ChainId.OUT]: '0xcA11bde05977b3631167028862bE2a173976CA11', [ChainId.ARC]: '0xcA11bde05977b3631167028862bE2a173976CA11', [ChainId.OPST]: '0xcA11bde05977b3631167028862bE2a173976CA11', [ChainId.BAST]: '0xcA11bde05977b3631167028862bE2a173976CA11',