Skip to content

Commit 80667a4

Browse files
committed
fix
1 parent bff4540 commit 80667a4

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

fly.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ kill_timeout = '5s'
1616
DEPLOYMENT_ENVIRONMENT = 'production'
1717
ENABLE_RESOURCE_MONITOR = 'false'
1818
ESTIMATES_LINEARQF_WORKER_POOL_SIZE = '10'
19-
INDEXED_CHAINS = 'mainnet,optimism,fantom,pgn-testnet,pgn-mainnet,arbitrum,polygon,sepolia,avalanche,avalanche-fuji,scroll,scroll-sepolia,base,zksync-era-mainnet,lukso-mainnet,lukso-testnet,celo-mainnet,celo-testnet,sei-mainnet'
19+
INDEXED_CHAINS = 'mainnet,optimism,fantom,pgn-testnet,pgn-mainnet,arbitrum,polygon,sepolia,avalanche,avalanche-fuji,scroll,scroll-sepolia,base,zksync-era-mainnet,lukso-mainnet,lukso-testnet,celo-mainnet,celo-testnet,sei-mainnet,metisAndromeda'
2020
LOG_LEVEL = 'debug'
2121
NODE_OPTIONS = '--max-old-space-size=4096'
2222
PORT = '8080'

src/config.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ type CoingeckoSupportedChainId =
1717
| 713715
1818
| 1329
1919
| 42
20-
| 42220;
20+
| 42220
21+
| 1880;
2122

2223
const CHAIN_DATA_VERSION = "71";
2324

@@ -1703,7 +1704,7 @@ const CHAINS: Chain[] = [
17031704
],
17041705
},
17051706
{
1706-
id: 42,
1707+
id: 1088,
17071708
name: "metisAndromeda",
17081709
rpc: rpcUrl
17091710
.default("https://andromeda.metis.io/?owner=1088")
@@ -1716,7 +1717,7 @@ const CHAINS: Chain[] = [
17161717
decimals: 18,
17171718
priceSource: {
17181719
chainId: 1,
1719-
address: "0x0000000000000000000000000000000000000000",
1720+
address: "0x9e32b13ce7f2e80a01932b42553652e053d6ed8e",
17201721
},
17211722
},
17221723
{
@@ -1725,7 +1726,7 @@ const CHAINS: Chain[] = [
17251726
decimals: 18,
17261727
priceSource: {
17271728
chainId: 1,
1728-
address: "0x0000000000000000000000000000000000000000",
1729+
address: "0x9e32b13ce7f2e80a01932b42553652e053d6ed8e",
17291730
},
17301731
},
17311732
],

src/prices/coinGecko.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ const platforms: { [key: number]: string } = {
1515
1329: "sei-network",
1616
42: "lukso",
1717
42220: "celo",
18+
1880: "metis",
1819
};
1920

2021
const nativeTokens: { [key: number]: string } = {
@@ -27,6 +28,7 @@ const nativeTokens: { [key: number]: string } = {
2728
1329: "sei-network",
2829
42: "lukso-token",
2930
42220: "celo",
31+
1880: "metis-token",
3032
};
3133

3234
type TimestampInMs = number;

0 commit comments

Comments
 (0)