Skip to content

Commit

Permalink
Merge pull request #1966 from sushiswap/feat/skale-europa
Browse files Browse the repository at this point in the history
feat: create skale-europa list
  • Loading branch information
jiro-ono authored May 1, 2024
2 parents 556038e + 7dd066b commit d36ea58
Show file tree
Hide file tree
Showing 10 changed files with 63 additions and 2 deletions.
4 changes: 3 additions & 1 deletion lists/token-lists/default-token-list/internal/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ const filecoin = require("../tokens/filecoin.json");
const cronos = require("../tokens/cronos.json");
const zetachain = require("../tokens/zetachain.json");
const blast = require("../tokens/blast.json");
const skaleEuropa = require("../tokens/skale-europa.json")

module.exports = function buildList() {
const parsed = version.split(".");
Expand Down Expand Up @@ -109,7 +110,8 @@ module.exports = function buildList() {
...filecoin,
...cronos,
...zetachain,
...blast
...blast,
...skaleEuropa
]),
};
};
58 changes: 58 additions & 0 deletions lists/token-lists/default-token-list/tokens/skale-europa.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
[
{
"address": "0xD05C4be5f3be302d376518c9492EC0147Fa5A718",
"chainId": 2046399126,
"decimals": 18,
"logoURI": "https://raw.githubusercontent.com/sushiswap/list/master/logos/network/skale-europa/0xD05C4be5f3be302d376518c9492EC0147Fa5A718.jpg",
"name": "DAI Stablecoin",
"symbol": "DAI"
},
{
"address": "0xD2Aaa00700000000000000000000000000000000",
"chainId": 2046399126,
"decimals": 18,
"logoURI": "https://raw.githubusercontent.com/sushiswap/list/master/logos/network/skale-europa/0xD2Aaa00700000000000000000000000000000000.jpg",
"name": "ERC20 Ether Clone",
"symbol": "ETHC"
},
{
"address": "0x73d22d8a2D1f59Bf5Bcf62cA382481a2073FAF58",
"chainId": 2046399126,
"decimals": 18,
"logoURI": "https://raw.githubusercontent.com/sushiswap/list/master/logos/network/skale-europa/0x73d22d8a2D1f59Bf5Bcf62cA382481a2073FAF58.jpg",
"name": "Pax Dollar",
"symbol": "USDP"
},
{
"address": "0xE0595a049d02b7674572b0d59cd4880Db60EDC50",
"chainId": 2046399126,
"decimals": 18,
"logoURI": "https://raw.githubusercontent.com/sushiswap/list/master/logos/network/skale-europa/0xE0595a049d02b7674572b0d59cd4880Db60EDC50.jpg",
"name": "SKALE",
"symbol": "SKL"
},
{
"address": "0x1c0491E3396AD6a35f061c62387a95d7218FC515",
"chainId": 2046399126,
"decimals": 6,
"logoURI": "https://raw.githubusercontent.com/sushiswap/list/master/logos/network/skale-europa/0x1c0491E3396AD6a35f061c62387a95d7218FC515.jpg",
"name": "Tether USD",
"symbol": "USDT"
},
{
"address": "0x5F795bb52dAC3085f578f4877D450e2929D2F13d",
"chainId": 2046399126,
"decimals": 6,
"logoURI": "https://raw.githubusercontent.com/sushiswap/list/master/logos/network/skale-europa/0x5F795bb52dAC3085f578f4877D450e2929D2F13d.jpg",
"name": "USD Coin",
"symbol": "USDC"
},
{
"address": "0xcb011E86DF014a46F4e3AC3F3cbB114A4EB80870",
"chainId": 2046399126,
"decimals": 8,
"logoURI": "https://raw.githubusercontent.com/sushiswap/list/master/logos/network/skale-europa/0xcb011E86DF014a46F4e3AC3F3cbB114A4EB80870.jpg",
"name": "Wrapped WBTC",
"symbol": "WBTC"
}
]
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 | 534352 | 314 | 7000 | 81457> = {
const NETWORK_TO_CHAIN_ID: Record<string, ChainId | 8453 | 1116 | 11235 | 59144 | 324 | 534352 | 314 | 7000 | 81457 | 2046399126> = {
arbitrum: ChainId.ARBITRUM,
"arbitrum-nova": ChainId.ARBITRUM_NOVA,
avalanche: ChainId.AVALANCHE,
Expand Down Expand Up @@ -44,6 +44,7 @@ const NETWORK_TO_CHAIN_ID: Record<string, ChainId | 8453 | 1116 | 11235 | 59144
filecoin: 314, // ChainId.FILECOIN
zetachain: 7000, // ChainId.ZETACHAIN
blast: 81457, // ChainId.BLAST
"skale-europa": 2046399126, // ChainId.SKALE_EUROPA
};

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.
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 d36ea58

Please sign in to comment.