Jelajahi Sumber

fix(contract_manager) Update chains and tokens (#2101)

Jayant Krishnamurthy 1 tahun lalu
induk
melakukan
f14cfaaf56

+ 1 - 0
README.md

@@ -93,6 +93,7 @@ If you don't use nix at all, then install the required system packages:
   `package.json`; you can experiment with
   [corepack](https://nodejs.org/api/corepack.html) to manage your pnpm version
   for you.
+- [turbo](https://turbo.build/repo/docs/getting-started/installation)
 
 #### Common tasks
 

+ 6 - 0
contract_manager/store/chains/EvmChains.yaml

@@ -154,6 +154,7 @@
   rpcUrl: https://rpc.ankr.com/bsc
   networkId: 56
   type: EvmChain
+  nativeToken: BNB
 - id: eos
   mainnet: true
   rpcUrl: https://api.evm.eosnetwork.com
@@ -413,6 +414,7 @@
   rpcUrl: https://mainnet.mode.network/
   networkId: 34443
   type: EvmChain
+  nativeToken: MODE
 - id: bttc_testnet
   mainnet: false
   rpcUrl: https://pre-rpc.bt.io
@@ -423,6 +425,7 @@
   rpcUrl: https://rpc.bt.io
   networkId: 199
   type: EvmChain
+  nativeToken: BTT
 - id: zksync_sepolia
   mainnet: false
   rpcUrl: https://sepolia.era.zksync.dev/
@@ -519,6 +522,7 @@
   rpcUrl: https://rpc.blast.io
   networkId: 81457
   type: EvmChain
+  nativeToken: ETH
 - id: merlin_testnet
   mainnet: false
   rpcUrl: https://testnet-rpc.merlinchain.io/
@@ -564,6 +568,7 @@
   rpcUrl: https://rpc.hekla.taiko.xyz/
   networkId: 167009
   type: EvmChain
+  nativeToken: ETH
 - id: orange_testnet
   mainnet: false
   rpcUrl: https://subnets.avax.network/orangetest/testnet/rpc
@@ -604,6 +609,7 @@
   rpcUrl: https://opbnb-mainnet-rpc.bnbchain.org
   networkId: 204
   type: EvmChain
+  nativeToken: BNB
 - id: opbnb_testnet
   mainnet: false
   rpcUrl: https://opbnb-testnet-rpc.bnbchain.org

+ 12 - 0
contract_manager/store/tokens/Tokens.yaml

@@ -42,3 +42,15 @@
   pythId: 9b4503710cc8c53f75c30e6e4fda1a7064680ef2e0ee97acd2e3a7c37b3c830c
   decimals: 18
   type: token
+- id: BNB
+  pythId: 2f95862b045670cd22bee3114c39763a4a08beeb663b145d283c31d7d1101c4f
+  decimals: 18
+  type: token
+- id: MODE
+  pythId: 0386e113cc716a7c6a55decd97b19c90ce080d9f2f5255ac78a0e26889446d1e
+  decimals: 18
+  type: token
+- id: BTT
+  pythId: 097d687437374051c75160d648800f021086bc8edf469f11284491fda8192315
+  decimals: 18
+  type: token