Curtis Spencer
96dd34287e
feat(etherscan): source tree support ( #990 )
...
* Create a source tree of paths and their respective contents from the
ContractMetadata.
This is useful for file level analysis or writing the resulting files to disk.
* Test writing to disk via cargo test
* Test etherscan by uncommenting the ignore on
can_fetch_contract_source_tree_for_multi_entry_contract
and can_fetch_contract_source_tree_for_singleton_contract
2022-03-06 07:21:19 -08:00
Tomas Tauber
e7befcaaa0
feat(etherscan): account endpoints ( #939 )
...
* feat(etherscan): account endpoints
* a more restricted normal transaction response
* doc fix
* extended restricted types to other functions
2022-02-26 16:35:43 +02:00
Tomas Tauber
d5a1570fa2
feat(chain): add Cronos and Cronos testnet ( #926 )
2022-02-18 16:04:11 +02:00
Meet Mangukiya
1f0eb725a7
feat(ethers-core/Chain): make to_string and from_str inverse functions ( #903 )
2022-02-12 17:41:18 +02:00
0xTomoyo
75fbec0706
feat(chain): add arbitrum support ( #869 )
...
* feat: add arbitrum chainid & block explorer
* chore: update changelog
* feat: add arbitrum to is_legacy
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2022-02-05 16:36:21 +02:00
Georgios Konstantopoulos
415903b1fb
chore: fmt
2022-01-28 09:06:35 +02:00
Options Eskimo
f434e0f57f
feat(chain): add BSC and BSC testnet ( #831 )
...
* feat(chain): add BSC and BSC testnet
* docs(changelog): add note about new BSC known chains
2022-01-27 16:50:11 +02:00
Meet Mangukiya
91ff71ec62
Fantom chain ( #806 )
...
* feat(core): add fantom and fantom-testnet chains
* feat(etherscan): add fantom chains support
* chore: lint
2022-01-18 13:00:27 +02:00
Georgios Konstantopoulos
83e6588704
chore: cargo fmt
2021-12-26 22:56:00 +02:00
bayu ✦
3f095f415f
[draft] Add Optimism & OptimismKovan chains ( #737 )
...
* core: Add Optimism & OptimismKovan chains
* etherscan: Add ETHERSCAN_API_KEY to optimism network
2021-12-25 18:19:50 +02:00
Matthias Seitz
7da5b64cfd
feat: add moonbeam support ( #644 )
...
* feat: add moonbeam support
* typos
2021-12-03 10:05:38 -08:00
Georgios Konstantopoulos
24f9bd0f4f
chore: makes etherscan::Result pub(crate) ( #638 )
2021-12-02 02:54:16 +02:00
Alexey Shekhirin
dd2c589102
feat(etherscan, middleware): implement gas endpoints and use in oracle middleware ( #621 )
...
* feat(etherscan, middleware): implement gas-related endpoints and use them in gas oracle
* cleanup deps
* better comment
* revertme: add debug print
* Revert "revertme: add debug print"
This reverts commit 63993642c4
.
* make etherscan tests serial
* run each etherscan test at least 200ms
* 200ms -> 250ms
* Revert "200ms -> 250ms"
This reverts commit 29c7f6ed9a
.
* add separate etherscan key for celo tests
* 200ms -> 250ms
* add Chain::Sepolia to match
2021-11-27 09:54:20 +02:00
Ivan Porto Carrero
1d65c9394f
add support for polygon and avalanche ( #606 )
...
* add support for polygon and avalanche, include the block explorers
* add multicall addresses for polygon
2021-11-22 11:02:28 +02:00
Matthias Seitz
dcf20022c6
chore: add rustfmt.toml ( #537 )
...
* chore: add rustfmt.toml
* rustfmt
* chore: Update readme with fmt info
* ci: update ci
* chore: rustfmt
* rustfmt
* rustfmt
* ci: install libudev
* chore(clippy): make clippy happy
* chore(clippy): make clippy happy
* revert ci
* ci: install libudev
2021-10-29 14:29:35 +02:00
Georgios Konstantopoulos
c3dec4a798
chore(etherscan): expose modules
2021-10-25 15:40:29 +03:00
Alexey Shekhirin
cba1a85483
refactor(core, contract, etherscan): move Chain enum, use HashMap::from ( #524 )
...
* refactor(contract, etherscan): make use of HashMap::from
* feat(core): Chain enum
* rename unknown chain error
* reorg imports
2021-10-24 21:41:50 +03:00
Alexey Shekhirin
071a41605b
feat(etherscan): transaction endpoints ( #512 )
...
* feat(etherscan): transaction endpoints
* bump ethers-etherscan version to 0.1.1
* feat: replace anyhow::Result with thiserror strong types
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2021-10-17 13:01:20 +03:00
Matthias Seitz
6216b2e4a2
chore: remove unused && cargo fix ( #496 )
...
* chore: rm allows
* chore: cargo fix
2021-10-10 09:31:34 +01:00
Matthias Seitz
7d5ea2c1e3
feat: add etherscan client crate ( #486 )
...
* feat: add etherscan client crate
* fix: return response
* chore: rename evm version
2021-10-04 20:05:11 +01:00