Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ def cli():
"gnosis",
"ronin",
"solana",
"unichain",
],
nargs="+",
help="List of blockchains to extract data from",
Expand Down
9 changes: 7 additions & 2 deletions config/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ class Bridge(Enum):
},
"137": {
"name": "polygon",
"native_token": "MATIC",
"native_token_contract": "0x0000000000000000000000000000000000001010",
"native_token": "POL",
"native_token_contract": "0x0000000000000000000000000000000000000000",
},
"1": {
"name": "ethereum",
Expand Down Expand Up @@ -69,6 +69,11 @@ class Bridge(Enum):
"name": "ronin",
"native_token": "AXS",
},
"130": {
"name": "unichain",
"native_token": "WETH",
"native_token_contract": "0x4200000000000000000000000000000000000006",
},
"5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpKuc147dw2N9d": { # genesis hash for Solana
"name": "solana",
"native_token": "SOL",
Expand Down
14 changes: 13 additions & 1 deletion config/rpcs_base_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,18 @@ blockchains:
- "https://ronin.drpc.org"
- "https://api.roninchain.com/rpc"

- name: unichain
contract: "0x078d782b760474a361dda0af3839290b0ef57ad6"
topics:
- "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"
start_block: "0x1EDF248"
end_block: "0x1EDF250"
rpcs:
- "https://0xrpc.io/uni"
- "https://unichain.drpc.org"
- "https://unichain-rpc.publicnode.com"
- "https://rpc.poolz.finance/unichain"

- name: arbitrum
contract: "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1"
topics:
Expand Down Expand Up @@ -169,4 +181,4 @@ blockchains:

- name: solana
rpcs:
- "https://api.mainnet-beta.solana.com"
- "https://svc.blockdaemon.com/solana/mainnet/native"
Loading
Loading