Skip to content

Commit bff4540

Browse files
committed
index metis
1 parent 326f2ba commit bff4540

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ DATABASE_URL=postgres://postgres:postgres@localhost:5432/grants_stack_indexer
3939
#CELO_TESTNET_RPC_URL=
4040
#LUKSO_MAINNET_RPC_URL=
4141
#LUKSO_TESTNET_RPC_URL
42+
# METIS_ANDROMEDA_RPC_URL
4243

4344
#COINGECKO_API_KEY=
4445
#IPFS_GATEWAY=

src/config.ts

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1702,6 +1702,47 @@ const CHAINS: Chain[] = [
17021702
},
17031703
],
17041704
},
1705+
{
1706+
id: 42,
1707+
name: "metisAndromeda",
1708+
rpc: rpcUrl
1709+
.default("https://andromeda.metis.io/?owner=1088")
1710+
.parse(process.env.METIS_ANDROMEDA_RPC_URL),
1711+
pricesFromTimestamp: Date.UTC(2024, 0, 1, 0, 0, 0),
1712+
tokens: [
1713+
{
1714+
code: "METIS",
1715+
address: "0x0000000000000000000000000000000000000000",
1716+
decimals: 18,
1717+
priceSource: {
1718+
chainId: 1,
1719+
address: "0x0000000000000000000000000000000000000000",
1720+
},
1721+
},
1722+
{
1723+
code: "METIS",
1724+
address: "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
1725+
decimals: 18,
1726+
priceSource: {
1727+
chainId: 1,
1728+
address: "0x0000000000000000000000000000000000000000",
1729+
},
1730+
},
1731+
],
1732+
subscriptions: [
1733+
// Allo V2
1734+
{
1735+
contractName: "AlloV2/Registry/V1",
1736+
address: "0x4aacca72145e1df2aec137e1f3c5e3d75db8b5f3",
1737+
fromBlock: 17860000,
1738+
},
1739+
{
1740+
contractName: "AlloV2/Allo/V1",
1741+
address: "0xB087535DB0df98fC4327136e897A5985E5Cfbd66",
1742+
fromBlock: 17860000,
1743+
},
1744+
],
1745+
},
17051746
];
17061747

17071748
export const getDecimalsForToken = (

0 commit comments

Comments
 (0)