Skip to content

Commit

Permalink
add optimism chain
Browse files Browse the repository at this point in the history
  • Loading branch information
ackness committed Apr 7, 2023
1 parent 503b148 commit 34791a7
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Many Abis

![Version](https://img.shields.io/badge/many--abis-v0.1.5-green)
![Version](https://img.shields.io/badge/many--abis-v0.1.6-green)
![Pypi](https://img.shields.io/pypi/dm/many-abis)

![GitHub Org's stars](https://img.shields.io/github/stars/ackness/many_abis?style=social)
Expand Down
36 changes: 35 additions & 1 deletion many_abis/assets/utils/chains.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
}
},
"explorer": "https://snowtrace.io/",
"name": "Avalanche Network",
"name": "Avalanche C-Chain",
"rpc": [
"https://api.avax.network/ext/bc/C/rpc",
"https://avalanche.public-rpc.com",
Expand Down Expand Up @@ -524,5 +524,39 @@
"name": "Wrapped Matic",
"symbol": "WMATIC"
}
},
"optimism": {
"chain_id": 10,
"charts": {
"default": "https://dexscreener.com/polygon/{address}",
"dexscreener": "https://dexscreener.com/optimism/{address}"
},
"dex": {
"uniswap_v3": {
"factory_address": "0x1F98431c8aD98523631AE4a59f267346ea31F984",
"name": "Uniswap V3",
"router_address": "0xE592427A0AEce92De3Edee1F18E0157C05861564",
"website": "https://app.uniswap.org/#/swap"
}
},
"explorer": "https://optimistic.etherscan.io/",
"name": "Optimism Ethereum L2",
"rpc": [
"https://mainnet.optimism.io",
"https://rpc.ankr.com/optimism",
"https://1rpc.io/op",
"https://optimism.blockpi.network/v1/rpc/public",
"https://endpoints.omniatech.io/v1/op/mainnet/public"
],
"stable_coins": {
"DAI": "0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1",
"USDC": "0x7F5c764cBc14f9669B88837ca1490cCa17c31607",
"USDT": "0x94b008aA00579c1307B0EF2c499aD98a8ce58e58"
},
"weth": {
"address": "0x4200000000000000000000000000000000000006",
"name": "Wrapped Ether",
"symbol": "WETH"
}
}
}
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
package_dir={'many_abis': 'many_abis'},
package_data={'': [
'**/*.abi', '**/*.json']},
version='0.1.5',
version='0.1.6',
license='MIT',
description='A simple way to get different DEXs abis for block chains.',
long_description=long_description,
Expand Down

0 comments on commit 34791a7

Please sign in to comment.