From 82b913710384695f3d34a3b907258ae0a1e113ba Mon Sep 17 00:00:00 2001 From: DC Date: Thu, 17 Oct 2024 01:43:56 -0700 Subject: [PATCH] @daimo/common,contract v0.3.1 --- packages/daimo-common/package.json | 2 +- packages/daimo-contract/package.json | 2 +- packages/daimo-contract/src/chainExplorer.ts | 2 ++ packages/daimo-contract/src/foreignToken.ts | 7 +------ 4 files changed, 5 insertions(+), 8 deletions(-) diff --git a/packages/daimo-common/package.json b/packages/daimo-common/package.json index aa0c7fe13..395ebfc41 100644 --- a/packages/daimo-common/package.json +++ b/packages/daimo-common/package.json @@ -1,6 +1,6 @@ { "name": "@daimo/common", - "version": "0.3.0", + "version": "0.3.1", "description": "Daimo shared models and utilities", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/daimo-contract/package.json b/packages/daimo-contract/package.json index bfa645935..196c6e9b7 100644 --- a/packages/daimo-contract/package.json +++ b/packages/daimo-contract/package.json @@ -1,6 +1,6 @@ { "name": "@daimo/contract", - "version": "0.3.0", + "version": "0.3.1", "description": "Daimo contracts, ABIs, and generated Typescript types", "types": "./dist/index.d.ts", "main": "./dist/index.js", diff --git a/packages/daimo-contract/src/chainExplorer.ts b/packages/daimo-contract/src/chainExplorer.ts index 496f2141b..23e74fba0 100644 --- a/packages/daimo-contract/src/chainExplorer.ts +++ b/packages/daimo-contract/src/chainExplorer.ts @@ -29,6 +29,8 @@ export function getChainExplorerByChainId(chainId: number): string | undefined { return "https://amoy.polygonscan.com"; case 43113: return "https://testnet.snowtrace.io"; + case 59144: + return "https://lineascan.build"; default: return undefined; } diff --git a/packages/daimo-contract/src/foreignToken.ts b/packages/daimo-contract/src/foreignToken.ts index 16a5a359d..6ecc16847 100644 --- a/packages/daimo-contract/src/foreignToken.ts +++ b/packages/daimo-contract/src/foreignToken.ts @@ -477,12 +477,7 @@ export const lineaBridgedUSDC: ForeignToken = { logoURI: TokenLogo.USDC, }; -// TODO: Include Linea ETH and WETH when swapping on Linea is supported. -const lineaTokens = [ - //lineaETH, - // lineaWETH, - lineaBridgedUSDC, -]; +const lineaTokens = [lineaETH, lineaWETH, lineaBridgedUSDC]; // // --------------------- Native Token Utils ---------------------