Andrey Kuznetsov
279aea6323
feat(contract): add_calls and call_array for multicall ( #1941 )
2022-12-18 13:05:02 +02:00
DaniPopes
2d793edc94
fix(contract): multicall decode error ( #1907 )
...
* wip
* use empty bytes for reverts
* minor improvements
* fix test
* use is_empty
* docs
* clippy
* fix: rust-analyzer bug
* revert rename
2022-11-30 13:20:22 -08:00
Andrea Simeoni
845aa4920f
feat: Instantiate an event builder without a contract instance ( #1882 )
...
* Build an `Event` without requiring a contract instance
* Contract unit test
* Function to set Event address
* Example
* Typo to improve readability
* CHANGELOG
* cargo +nightly fmt
* FIX conflict
* review: applied Address alias
Co-authored-by: Andrea Simeoni <>
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2022-11-22 13:15:36 -08:00
Matthias Seitz
3b52c2fc7e
fix: improve overloaded param diff matching ( #1853 )
2022-11-11 14:25:31 -08:00
DaniPopes
debd6fec3d
chore: clippy ( #1812 )
...
* chore: clippy
* fmt
2022-11-07 15:43:11 -08:00
DaniPopes
0734fce48c
fix(contract, signers): cyclic deps ( #1730 )
...
* fix(signers): cyclic deps
* fix(contract): cyclic deps
* fix: feature
2022-09-24 12:41:04 -07:00
Matthias Seitz
0e7f46b03d
feat(abigen): subsitute structs in event bindings ( #1674 )
...
* fix(abigen): handle event defaults
* feat(abigen): subsitute structs in event bindings
* update changelog
* chore: rustfmt
* fix broken tests
* chore(clippy): make clippy happy
2022-09-07 09:14:13 -07:00
DaniPopes
72449c09e1
feat(contract): add extra Multicall helper methods ( #1666 )
...
* feat(contract): add extra Multicall helper methods
* docs: update CHANGELOG.md
* normalize helper methods' names
2022-09-05 09:54:49 -07:00
Matthias Seitz
6a86d4ff22
chore(clippy): make clippy happy ( #1659 )
2022-09-04 10:57:52 -07:00
Matthias Seitz
430c56ee4a
fix(abigen): only derive default of no arrays len > 32 ( #1653 )
...
* fix(abigen): only derive default of no arrays len > 32
* impl default
2022-08-31 08:24:21 -07:00
Matthias Seitz
792d415845
fix: set chain id explicitly ( #1647 )
2022-08-30 09:45:36 -07:00
Matthias Seitz
6e6d827f1f
test: add large tuple test ( #1642 )
2022-08-29 17:03:12 -07:00
DaniPopes
edc00054b1
feat(contract): update Multicall to Multicall3 ( #1584 )
...
* chore: update multicall_contract binding
* feat: update multicall_contract.rs to Multicall3
* fix multicall_contract.rs exports
* update test Multicall.sol contract
* feat: update Multicall to Multicall3
* update exports
* update tests
* perf: use aggregate3 when no value is being sent
* feat: handle revert data
* test: add multicall v2 and v3 tests
* fix: clippy
* docs: add documentation, improve comments
* docs: add more documentation
* fix: solidity minimum version for Multicall.sol
* fix: multicall_contract.rs imports
* docs: add explanation for previous commit
* docs
* docs
* fix: remove unused re-export, feature gate Multicall
* fix: address review
* chore: improve error handling
* chore: export MulticallError
* docs
2022-08-28 12:18:58 -07:00
Matthias Seitz
0b04ffe787
feat: add uint8 type ( #1639 )
...
* feat: add uint8 type
* update changelog
* derive default
* fix: failing test
2022-08-28 12:17:48 -07:00
Matthias Seitz
c51dcffec6
test: comment out etherscan abigen! test ( #1616 )
2022-08-19 08:18:03 -07:00
Matthias Seitz
27a184db45
feat: add EthError trait and derive ( #1549 )
...
* feat: add EthError trait and derive
* update changelog
2022-08-02 11:03:52 -07:00
Matthias Seitz
6bb25e5228
fix(abigen): resolve output struct types correctly ( #1546 )
...
* fix(abigen): resolve output struct types correctly
* chore(clippy): make clippy happy
2022-08-01 09:45:31 -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
Matthias Seitz
b354102073
fix: use fully qualified path for Result ( #1527 )
2022-07-28 11:06:06 -07:00
Matthias Seitz
6b713958d1
feat: bump abi/token tuple limit ( #1506 )
2022-07-26 08:27:19 -07:00
Matthias Seitz
d22fb2bd0b
test: update broken test and use it module for ethers-contract ( #1502 )
...
* refactor: make ethers-contract tests it module
* update failing test
* assert console is generated
* chore(clippy): make clippy happy
* update broken test
* move sol files back
* chore: rustfmt
* chore(clippy): make clippy happy
2022-07-24 14:41:06 -07:00