Skip to content

Commit

Permalink
@daimo/common,contract v0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dcposch committed Oct 17, 2024
1 parent 4aff604 commit 82b9137
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/daimo-common/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/daimo-contract/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 2 additions & 0 deletions packages/daimo-contract/src/chainExplorer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
7 changes: 1 addition & 6 deletions packages/daimo-contract/src/foreignToken.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 ---------------------
Expand Down

0 comments on commit 82b9137

Please sign in to comment.