Ames
0116130b87
Fix to round-trip serialize and deserialize optional address ( #2057 )
...
* Test serde round-trip address
* Fix serde round-trip address
* fix fmt lint
Co-authored-by: Ames <git@sys.cornishes.net>
2023-01-22 13:08:43 -08:00
Yiannis M
50ef8a78f9
feat(etherscan): Allow `ClientBuilder` to create `Client` without API key ( #2067 )
...
Etherscan allows 1 request per 5 seconds if the API key is not defined
2023-01-22 13:08:33 -08:00
Matthias Seitz
ea8c231834
fix: ensure urls have trailing / ( #2069 )
...
* fix: ensure urls have trailing /
* chore: rustfmt
2023-01-22 13:08:17 -08:00
Georgios Konstantopoulos
f2099a8eaa
chore: fix clippy ( #2059 )
2023-01-16 18:11:27 -08:00
Peter Davies
801a638a89
etherscan: fix deserializing contract creation NormalTransaction objects ( #2029 )
...
* etherscan: fix deserializing contract creation NormalTransaction objects
* Improve tests
2023-01-09 07:12:33 +02:00
Chris Cordle
c684220144
feat: Add arbitrum nova api and chain id 42170 ( #2020 )
...
* Add arbitrum nova api and chain id
* chore: fmt
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-01-06 11:32:54 +02:00
DaniPopes
1baf88138f
fix(etherscan): source code serde ( #1962 )
2022-12-22 20:58:35 +02:00
joshieDo
92e726921a
chore: add celo chain ( #1932 )
...
* add celo chain
* add missing chain case
* clippy & fmt
2022-12-07 21:37:11 -08:00
DaniPopes
fb88215a87
fix: rustdoc errors ( #1808 )
...
* fix: rustdoc warnings
* fix: partially re-run abigen for multicall_contract
* fix
* fix test
* fix: rustdoc nightly warnings
2022-11-07 15:43:23 -08:00
DaniPopes
debd6fec3d
chore: clippy ( #1812 )
...
* chore: clippy
* fmt
2022-11-07 15:43:11 -08:00
Alejandro Banzas
50c7ff1d8e
adding chiado support ( #1811 )
2022-10-31 09:01:34 -07:00
Matthias Seitz
676f039230
chore(clippy): make clippy happy ( #1778 )
2022-10-11 10:49:05 -07:00
DaniPopes
d2c9db5ae9
fix(core, etherscan): RawAbi and Abi ( #1757 )
2022-09-29 11:15:04 -07:00
DaniPopes
62beb6cf53
feat(etherscan): parse SourceCode field ( #1747 )
...
* wip
* feat(etherscan): parse SourceCode field
* feat: add project builder method
* chore: dependencies
* docs
* refactor: impls
* refactor: create verify submodule
* refactor: use untagged enum
* test: add more assertions
* docs
* feat: add more utility methods
* feat: deserialize ABI and improve SourceCode deserialization
* fix: lookup_compiler_version
* refactor: source tree methods
* docs
* chore: add solc feature
* fix: test
* chore: use only optional dependency
* chore: re-add dev-dependency
2022-09-29 08:07:50 -07:00
Matthias Seitz
d655d22125
feat: add arbitrum-goerli ( #1734 )
2022-09-24 12:39:35 -07:00
Matthias Seitz
fa55ee8c3f
chore: add cloudflare test case ( #1721 )
2022-09-19 10:51:24 -07:00
Matthias Seitz
63f1742357
feat(etherscan): add blocked by cloudflare error ( #1703 )
2022-09-15 12:44:52 -07:00
Matthias Seitz
6b4007f619
chore(etherscan): log response data on error ( #1698 )
2022-09-14 09:43:10 -07:00
Matthias Seitz
6a86d4ff22
chore(clippy): make clippy happy ( #1659 )
2022-09-04 10:57:52 -07:00
Danilo Tuler
ea8bcd11be
feat: add support for Optimism Goerli ( #1641 )
2022-08-30 09:45:43 -07:00
Jacob
b71e6ad00b
ethers-etherscan: derive debug, clone and copy ( #1634 )
...
* ethers-etherscan: derive debug, clone and copy
Derive Debug, Clone and Copy on all appropriate Structs and Enums.
* Update changelog
2022-08-24 12:50:29 -07:00
Jacob
ff66008cbe
Fix 'get_transactions' response. ( #1632 )
...
* Fix 'get_transactions' response.
* Add some explanation to GenesisOption.
* One-line-ifying
* Update changelog
2022-08-23 09:17:00 -07:00
Bjerg
92b51b6d9f
fix: sanitize absolute paths from etherscan ( #1603 )
2022-08-17 14:15:00 -07:00
Matthias Seitz
1af17deeb5
feat(etherscan): add invalid api key error type ( #1600 )
2022-08-15 10:30:30 -07:00
Matthias Seitz
8105d8be9b
chore(etherscan): add set cache helper ( #1589 )
2022-08-11 16:43:46 -07:00
Matthias Seitz
922b23fad6
feat: add etherscan urls function ( #1582 )
2022-08-09 14:50:18 -07:00
Matthias Seitz
45f8c2e9ae
chore: add aurora etherscan endpoints ( #1572 )
2022-08-08 10:30:23 -07:00
Matthias Seitz
c75608eda1
ci: rm pinned nightly ( #1541 )
...
* ci: rm pinned nightly
* chore(clippy): make clippy happy
2022-07-31 19:00:31 -07:00
Marcelo Fornet
c7563a5f64
Add support to Aurora network ( #1535 )
...
* Add support to Aurora network
Documentation about aurora chain:
https://doc.aurora.dev/getting-started/network-endpoints
* Update changelog
* Format code using rustfmt.toml
2022-07-30 12:42:04 -07:00
Matthias Seitz
81a2a5ed68
fix(etherscan): support stringified numbers in response ( #1524 )
...
* fix(etherscan): support stringified numbers in response
* feat: add helper function
* improve string parsing
* chore(clippy): make clippy happy
2022-07-28 11:06:56 -07:00
Hari
3766c2b47c
feat(etherscan): erc1155 token transfer events endpoint ( #1503 )
...
Added the function `get_erc1155_transfer_events` and the corresponding struct `ERC1155TokenTransferEvent`.
2022-07-26 08:28:09 -07:00
Matthias Seitz
12292dd920
test: add avalanche test ( #1494 )
2022-07-24 03:19:19 +02:00
sea-edge
7566c3d71e
For fix test code, Added morden to chainid as a Mock-like value. ( #1472 )
2022-07-10 14:28:39 -07:00
sea-edge
d12c98d0cc
feat: add Sepolia endpoint ( #1467 )
...
- https://docs.etherscan.io/getting-started/endpoint-urls
2022-07-09 15:20:14 -07:00
Matthias Seitz
1ce2310874
feat: add evmos support ( #1398 )
2022-06-22 13:09:05 -04:00
Matthias Seitz
c2f5a87b63
chore: add moonbase chain id ( #1397 )
2022-06-21 13:44:42 -04:00
Matthias Seitz
0abc3ca39a
feat: add anvil hardhat chain id ( #1356 )
...
* feat: add anvil hardhat chain id
* chore: cover anvil hh
2022-06-08 03:29:00 -07:00
Roman Krasiuk
f4712fa47c
feat(etherscan): additional chain apis ( #1343 )
...
* xdai
* sokol
* poa & rsk
* oasis chains
* fix test
* test
2022-06-03 09:16:35 -07:00
Matthias Seitz
89bc6420bb
test: replace ganache with anvil ( #1286 )
...
* ci: install anvil
* test: use anvil instead of ganache
* ci: fix anvil ver
* ci: re-enable example tests
* test: remove unnecessary assertions
* test: enable anvil launch test
* docs: typo
* test: fix anvil chain id
* ci: install ganache
Ganache is needed for the Ganache tests
* chore: remove legacy feature from some examples
* ci: correctly build examples
* test: use correct account balance for anvil
* chore: remove sub_id == 1 check
this was only possible in ganache because it gives serial
sub ids, but in every other reasonable client the ids are generated
randomly, so we cannot test for its value
* test: ensure txs are different
There is a bug in Ganache's mempool which accepts duplicate transactions (here with the same nonce), whereas here we pre-set all the nonces so that they end up having a different transaction hash.
* test: ignore ganache tests
* fix: terzor api changes
* ci(examples): install Anvil, remove geth/ganache
* test(provider): Anvil instead of Geth
some tests start to fail now
* fix: revert usage of Anvil in ipc tests
Anvil does not support IPC yet
* fix: update examples script
* ci: use anvil for wasm example
* replace last ganache usage
Co-authored-by: Oliver Nordbjerg <hi@notbjerg.me>
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2022-06-01 08:22:39 -07:00
Tomas Tauber
991d538bd0
feat(etherscan): added Cronos testnet ( #1276 )
2022-05-17 10:57:48 -07:00
Roman Krasiuk
dc199f3b75
feat(etherscan): lookup solc build metadata ( #1242 )
...
* lookup solc version build meta
* accept Version as an arg
* add docs
* remove redundant lifetime
* rm regex
2022-05-09 10:44:32 -07:00
Matthias Seitz
c7765e1721
feat(etherscan): add moonbeam urls ( #1232 )
2022-05-06 11:34:09 -07:00
Matthias Seitz
ce3ebaefa0
chore(clippy): make clippy happy ( #1230 )
2022-05-06 08:15:49 -07:00
Matthias Seitz
b34c034bc4
chore(etherscan): update VerifyArgs ( #1212 )
2022-05-03 16:40:41 -07:00
Matthias Seitz
281913b187
feat(etherscan): add ClientBuilder type ( #1193 )
...
* style: clean up order
* feat(etherscan): add client builder
* fix: set correct field
2022-04-29 04:25:52 -07:00
Matthias Seitz
2b2ec1101a
fix: proper fantom api urls ( #1170 )
...
* fix: proper fantom api urls
* Update ethers-etherscan/Cargo.toml
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
* chore: remove dbg
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2022-04-23 01:42:12 -07:00
James Prestwich
9206efa46c
fixes: correct etherscan url address, remove double quotes in solc error ( #1130 )
2022-04-10 09:04:43 -07:00
pyk
247f08f1a9
feat(solc): Add standard-json-input ( #1126 )
...
* Add standard-json-input
* remove debugging
* Update the error message
* Remove unnecessary changes
* Refactor
* make clippy happy
* Return CompilerInput instead of String
2022-04-08 17:18:39 -07:00
Bjerg
8f9832d1a6
fix: correctly check cache expiry ( #1114 )
2022-04-05 23:42:40 -07:00
Bjerg
c436d19a9c
feat(etherscan): add caching ( #1108 )
...
* feat(etherscan): add caching
* feat: write to cache if not exists
* fix: flush `BufWriter`
* fix: fix serialization
* fix: read cache without truncating the file
* chore: remove comments
* feat: rate limit errors
* test: fix tests
* test: fix tests
* fix: don't fail if cache doesn't exist
* fix: catch all rate limits
* feat: add ttl
* feat: also cache when contracts are not verified
* chore: clippy
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2022-04-05 19:01:44 -07:00