chore: fmt
This commit is contained in:
parent
5078008009
commit
415903b1fb
|
@ -97,17 +97,17 @@ impl Client {
|
||||||
let api_key = match chain {
|
let api_key = match chain {
|
||||||
Chain::Avalanche | Chain::AvalancheFuji => std::env::var("SNOWTRACE_API_KEY")?,
|
Chain::Avalanche | Chain::AvalancheFuji => std::env::var("SNOWTRACE_API_KEY")?,
|
||||||
Chain::Polygon | Chain::PolygonMumbai => std::env::var("POLYGONSCAN_API_KEY")?,
|
Chain::Polygon | Chain::PolygonMumbai => std::env::var("POLYGONSCAN_API_KEY")?,
|
||||||
Chain::Mainnet
|
Chain::Mainnet |
|
||||||
| Chain::Ropsten
|
Chain::Ropsten |
|
||||||
| Chain::Kovan
|
Chain::Kovan |
|
||||||
| Chain::Rinkeby
|
Chain::Rinkeby |
|
||||||
| Chain::Goerli
|
Chain::Goerli |
|
||||||
| Chain::Optimism
|
Chain::Optimism |
|
||||||
| Chain::OptimismKovan
|
Chain::OptimismKovan |
|
||||||
| Chain::Fantom
|
Chain::Fantom |
|
||||||
| Chain::FantomTestnet
|
Chain::FantomTestnet |
|
||||||
| Chain::BinanceSmartChain
|
Chain::BinanceSmartChain |
|
||||||
| Chain::BinanceSmartChainTestnet => std::env::var("ETHERSCAN_API_KEY")?,
|
Chain::BinanceSmartChainTestnet => std::env::var("ETHERSCAN_API_KEY")?,
|
||||||
|
|
||||||
Chain::XDai | Chain::Sepolia => String::default(),
|
Chain::XDai | Chain::Sepolia => String::default(),
|
||||||
Chain::Moonbeam | Chain::MoonbeamDev | Chain::Moonriver => {
|
Chain::Moonbeam | Chain::MoonbeamDev | Chain::Moonriver => {
|
||||||
|
|
Loading…
Reference in New Issue