[#12813] Remove POA network from the list
This commit is contained in:
parent
099bcf8a17
commit
7d0944cfd1
|
@ -26,7 +26,6 @@
|
||||||
:testnet {:id 3 :name "Ropsten"}
|
:testnet {:id 3 :name "Ropsten"}
|
||||||
:rinkeby {:id 4 :name "Rinkeby"}
|
:rinkeby {:id 4 :name "Rinkeby"}
|
||||||
:xdai {:id 100 :name "xDai"}
|
:xdai {:id 100 :name "xDai"}
|
||||||
:poa {:id 99 :name "POA"}
|
|
||||||
:goerli {:id 5 :name "Goerli"}
|
:goerli {:id 5 :name "Goerli"}
|
||||||
:bsc {:id BSC-mainnet-chain-id
|
:bsc {:id BSC-mainnet-chain-id
|
||||||
:name "BSC"}
|
:name "BSC"}
|
||||||
|
@ -57,7 +56,6 @@
|
||||||
|
|
||||||
(defn sidechain? [id]
|
(defn sidechain? [id]
|
||||||
(contains? #{(chain-keyword->chain-id :xdai)
|
(contains? #{(chain-keyword->chain-id :xdai)
|
||||||
(chain-keyword->chain-id :poa)
|
|
||||||
(chain-keyword->chain-id :bsc)} id))
|
(chain-keyword->chain-id :bsc)} id))
|
||||||
|
|
||||||
(defn network-with-upstream-rpc? [network]
|
(defn network-with-upstream-rpc? [network]
|
||||||
|
|
|
@ -28,10 +28,6 @@
|
||||||
:symbol :ETH
|
:symbol :ETH
|
||||||
:symbol-display :ETHri
|
:symbol-display :ETHri
|
||||||
:decimals 18}
|
:decimals 18}
|
||||||
:poa {:name "POA"
|
|
||||||
:symbol :ETH
|
|
||||||
:symbol-display :POA
|
|
||||||
:decimals 18}
|
|
||||||
:xdai {:name "xDAI"
|
:xdai {:name "xDAI"
|
||||||
:symbol :ETH
|
:symbol :ETH
|
||||||
:symbol-display :xDAI
|
:symbol-display :xDAI
|
||||||
|
|
|
@ -89,8 +89,7 @@
|
||||||
:mainnet #{:SNT}
|
:mainnet #{:SNT}
|
||||||
:rinkeby #{:MOKSHA
|
:rinkeby #{:MOKSHA
|
||||||
:KDO}
|
:KDO}
|
||||||
:xdai #{}
|
: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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAloYA4a9rBHIAAAAASUVORK5CYII="
|
||||||
|
|
|
@ -110,12 +110,6 @@
|
||||||
:DataDir "/ethereum/xdai_rpc"
|
:DataDir "/ethereum/xdai_rpc"
|
||||||
:UpstreamConfig {:Enabled true
|
:UpstreamConfig {:Enabled true
|
||||||
:URL "https://dai.poa.network"}}}
|
:URL "https://dai.poa.network"}}}
|
||||||
{:id "poa_rpc",
|
|
||||||
:name "POA Network",
|
|
||||||
:config {:NetworkId (ethereum/chain-keyword->chain-id :poa)
|
|
||||||
:DataDir "/ethereum/poa_rpc"
|
|
||||||
:UpstreamConfig {:Enabled true
|
|
||||||
:URL "https://core.poa.network"}}}
|
|
||||||
{:id "bsc_rpc",
|
{:id "bsc_rpc",
|
||||||
:chain-explorer-link "https://bscscan.com/address/",
|
:chain-explorer-link "https://bscscan.com/address/",
|
||||||
:name "BSC Network",
|
:name "BSC Network",
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
(defn- format-price-resp [resp mainnet?]
|
(defn- format-price-resp [resp mainnet?]
|
||||||
;;NOTE(this check is to allow value conversion for sidechains with native currencies listed on cryptocompare
|
;;NOTE(this check is to allow value conversion for sidechains with native currencies listed on cryptocompare
|
||||||
;; under a symbol different than display symbol. Specific use case xDAI and POA.
|
;; under a symbol different than display symbol. Specific use case xDAI.
|
||||||
(if mainnet?
|
(if mainnet?
|
||||||
(when-let [RAW (:RAW (types/json->clj resp))]
|
(when-let [RAW (:RAW (types/json->clj resp))]
|
||||||
(into {} (for [[from entries] RAW]
|
(into {} (for [[from entries] RAW]
|
||||||
|
|
Loading…
Reference in New Issue