Skip to content

Commit

Permalink
Merge pull request #1387 from sushiswap/feat/scroll-list
Browse files Browse the repository at this point in the history
feat: create scroll list
  • Loading branch information
jiro-ono authored Oct 18, 2023
2 parents 3d4ad79 + 09012aa commit bccf1fa
Show file tree
Hide file tree
Showing 9 changed files with 55 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lists/token-lists/default-token-list/internal/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ const core = require("../tokens/core.json");
const haqq = require("../tokens/haqq.json");
const zksyncEra = require("../tokens/zksync-era.json");
const linea = require("../tokens/linea.json");
const scroll = require("../tokens/scroll.json");

module.exports = function buildList() {
const parsed = version.split(".");
Expand Down Expand Up @@ -100,6 +101,7 @@ module.exports = function buildList() {
...haqq,
...zksyncEra,
...linea,
...scroll
]),
};
};
51 changes: 51 additions & 0 deletions lists/token-lists/default-token-list/tokens/scroll.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
[
{
"address": "0x5300000000000000000000000000000000000004",
"chainId": 534352,
"decimals": 18,
"logoURI": "https://raw.githubusercontent.com/sushiswap/list/master/logos/network/scroll/0x5300000000000000000000000000000000000004.jpg",
"name": "Wrapped Ether",
"symbol": "WETH"
},
{
"address": "0x3C1BCa5a656e69edCD0D4E36BEbb3FcDAcA60Cf1",
"chainId": 534352,
"decimals": 8,
"logoURI": "https://raw.githubusercontent.com/sushiswap/list/master/logos/network/scroll/0x3C1BCa5a656e69edCD0D4E36BEbb3FcDAcA60Cf1.jpg",
"name": "Wrapped BTC",
"symbol": "WBTC"
},
{
"address": "0xf55BEC9cafDbE8730f096Aa55dad6D22d44099Df",
"chainId": 534352,
"decimals": 6,
"logoURI": "https://raw.githubusercontent.com/sushiswap/list/master/logos/network/scroll/0xf55BEC9cafDbE8730f096Aa55dad6D22d44099Df.jpg",
"name": "Tether USD",
"symbol": "USDT"
},
{
"address": "0x06eFdBFf2a14a7c8E15944D1F4A48F9F95F663A4",
"chainId": 534352,
"decimals": 6,
"logoURI": "https://raw.githubusercontent.com/sushiswap/list/master/logos/network/scroll/0x06eFdBFf2a14a7c8E15944D1F4A48F9F95F663A4.jpg",
"name": "USD Coin",
"symbol": "USDC"
},
{
"address": "0xcA77eB3fEFe3725Dc33bccB54eDEFc3D9f764f97",
"chainId": 534352,
"decimals": 18,
"logoURI": "https://raw.githubusercontent.com/sushiswap/list/master/logos/network/scroll/0xcA77eB3fEFe3725Dc33bccB54eDEFc3D9f764f97.jpg",
"name": "Dai Stablecoin",
"symbol": "DAI"
},
{
"address": "0xEB466342C4d449BC9f53A865D5Cb90586f405215",
"chainId": 534352,
"decimals": 6,
"logoURI": "https://raw.githubusercontent.com/sushiswap/list/master/logos/network/scroll/0xEB466342C4d449BC9f53A865D5Cb90586f405215.jpg",
"name": "Axelar Wrapped USDC",
"symbol": "axlUSDC"
}
]

3 changes: 2 additions & 1 deletion logos/token-logos/internal/syncCDN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import * as cloudinary from "cloudinary";

const BASE_DIR = "https://cdn.sushi.com/image/upload";

const NETWORK_TO_CHAIN_ID: Record<string, ChainId | 8453 | 1116 | 11235 | 59144 | 324> = {
const NETWORK_TO_CHAIN_ID: Record<string, ChainId | 8453 | 1116 | 11235 | 59144 | 324 | 534352> = {
arbitrum: ChainId.ARBITRUM,
"arbitrum-nova": ChainId.ARBITRUM_NOVA,
avalanche: ChainId.AVALANCHE,
Expand Down Expand Up @@ -40,6 +40,7 @@ const NETWORK_TO_CHAIN_ID: Record<string, ChainId | 8453 | 1116 | 11235 | 59144
thundercore: ChainId.THUNDERCORE,
xdai: ChainId.GNOSIS,
"zksync-era": 324,
scroll: 534352
};

syncCDN();
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit bccf1fa

Please sign in to comment.