DaniPopes
733c5d3dfd
fix(contract): relax Middleware trait bound for getters ( #1728 )
...
* wip
* fix(contract): relax Middleware trait bound for getters
* chore: clippy
* move
* fix: multicall
2022-09-23 17:32:24 -07:00
dependabot[bot]
139b4ae818
chore(deps): bump once_cell from 1.14.0 to 1.15.0 ( #1725 )
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.14.0 to 1.15.0.
- [Release notes](https://github.com/matklad/once_cell/releases )
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.14.0...v1.15.0 )
---
updated-dependencies:
- dependency-name: once_cell
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-21 09:57:22 -07:00
DaniPopes
db75e3628e
feat(core): add utility methods to NameOrAddress ( #1720 )
...
* feat: NameOrAddress impls
* feat: add to_addr to TypedTransaction
* fix: use NameOrAddress for ens
* chore: clippy
* dont clone
2022-09-19 10:51:04 -07:00
DaniPopes
3926749213
docs: add MSRV ( #1712 )
2022-09-18 08:45:45 -07:00
DaniPopes
c341f31fc4
chore: add abigen to default features ( #1684 )
...
* chore: add abigen to default features
* docs: update CHANGELOG.md
2022-09-09 16:19:29 -07:00
Matthias Seitz
513ed588ca
chore: export abi related types ( #1677 )
...
* chore: export abi related types
* feat: expose function
2022-09-08 09:07:38 -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
dependabot[bot]
96cc8242ee
chore(deps): bump once_cell from 1.13.1 to 1.14.0 ( #1669 )
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.13.1 to 1.14.0.
- [Release notes](https://github.com/matklad/once_cell/releases )
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.13.1...v1.14.0 )
---
updated-dependencies:
- dependency-name: once_cell
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-05 09:55:30 -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
Danilo Tuler
ea8bcd11be
feat: add support for Optimism Goerli ( #1641 )
2022-08-30 09:45:43 -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
Clifton King
b1124441ec
feat(abigen): descriptive deserialization errors ( #1633 )
...
* feat(abigen): descriptive deserialization errors
* update changelog
* map_err -> wrap_err
2022-08-23 17:54:56 -07:00
Nicolas Gotchac
68fba606c2
Don't auto-generate an AccessList when sending/filling a tx ( #1619 )
...
Add an optionnal `block` parameter to the gas estimation method
2022-08-19 14:33:12 -07:00
Matthias Seitz
c51dcffec6
test: comment out etherscan abigen! test ( #1616 )
2022-08-19 08:18:03 -07:00
dependabot[bot]
4655c44481
chore(deps): bump once_cell from 1.13.0 to 1.13.1 ( #1606 )
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.13.0 to 1.13.1.
- [Release notes](https://github.com/matklad/once_cell/releases )
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.13.0...v1.13.1 )
---
updated-dependencies:
- dependency-name: once_cell
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-17 14:13:59 -07:00
Matthias Seitz
43b8bb5251
fix(abigen): use correct str Regex ( #1566 )
2022-08-04 10:03:43 -07:00
Matthias Seitz
52ead7c645
chore(abigen): reexport filter ( #1565 )
2022-08-04 10:03:25 -07:00
Matthias Seitz
e6c1927a1c
feat(abigen): add contract filter ( #1564 )
...
* feat(abigen): add contract filter
* refactor: move to top of file
* add tests
* update changelog
2022-08-04 08:22:00 -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
1f69ec7679
revert: add back dev-deps ( #1532 )
...
* Revert "disable dev deps"
This reverts commit 97bdcb9d82
.
* fix: add back removed dev-deps
2022-07-28 17:36:22 -07:00
Georgios Konstantopoulos
1ef7735e3d
MBlockerge branch 'master' of github.com:gakonst/ethers-rs
2022-07-28 11:45:59 -07:00
Matthias Seitz
b354102073
fix: use fully qualified path for Result ( #1527 )
2022-07-28 11:06:06 -07:00
Georgios Konstantopoulos
6f22e67044
(cargo-release) version 0.17.0
2022-07-28 10:58:50 -07:00
Georgios Konstantopoulos
3fce0cca25
(cargo-release) version 0.17.0
2022-07-28 10:58:50 -07:00
Georgios Konstantopoulos
842c321678
(cargo-release) version 0.17.0
2022-07-28 10:58:50 -07:00
Georgios Konstantopoulos
2b7d035324
(cargo-release) version 0.17.0
2022-07-28 10:58:49 -07:00
Georgios Konstantopoulos
8d3e796b47
(cargo-release) version 0.17.0
2022-07-28 10:58:49 -07:00
Georgios Konstantopoulos
de2ed3391d
(cargo-release) version 0.17.0
2022-07-28 10:58:49 -07:00
Georgios Konstantopoulos
97bdcb9d82
disable dev deps
2022-07-28 10:57:38 -07:00
Clifton King
c418f4ef34
fix(abigen): abigen feature required for bindings ( #1508 )
...
* fix(abigen): abigen feature required for bindings
traits such as ethers::contract::EthDisplay require abigen
* update changelog
* abigen now uses re-exported version of serde_json
2022-07-26 08:28:39 -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
Clifton King
aa008727ee
fix(abigen): contract names can be reserve words ( #1498 )
...
* fix(abigen): contract names can be reserve words
* update changelog
* clippy warning
* module names consistent with other safe_*
* update refs to generated abis
* move reserved words tests to their own fn
* added note to changelog re: module name changes
2022-07-24 03:18:24 +02:00
Matthias Seitz
a958b4fd28
fix(eip712): improve argument parsing ( #1485 )
...
* fix(eip712): improve argument parsing
* use reexported serde_json
* chore: rustfmt
* fix: add missing salt
2022-07-20 00:09:11 -07:00
James Prestwich
13ce18fd3b
feature: allow event builder to stream with meta ( #1483 )
...
* feature: allow event builder to stream with meta
* doc: improve rustdoc
* feature: subscribe_with_meta
* chore: fmt
2022-07-17 11:26:16 -07:00
Matthias Seitz
841b75430e
chore(deps): bump pin-project to silence new clippy lints ( #1464 )
2022-07-06 13:22:55 -07:00
dependabot[bot]
dc01d0c9ed
chore(deps): bump once_cell from 1.12.0 to 1.13.0 ( #1453 )
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/matklad/once_cell/releases )
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.12.0...v1.13.0 )
---
updated-dependencies:
- dependency-name: once_cell
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-05 08:54:50 -07:00
jole
b287fcca4d
Generate structs for the return data of abigen-erated contracts ( #1440 )
...
* convert some helper functions
* use said helpers
* more
* don't derive EthCall on return structs
* move return structs to separate function
* remove unused
* remove duplicate code
* reduce code duplication
also use an iterator instead of a presized vector
* comments
* stuck
* fix wrong field
* rename
* don't generate structs for no-output functions
* cosmetic changes
* test: decode and verify result
* more testing
unnamed output (tuple struct)
no output (doesn't exist) -> can't verify this in code though
* Update ethers-contract/ethers-contract-abigen/src/contract/methods.rs
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
* remove dbg print
oops :(
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2022-07-04 11:54:02 -07:00
Matthias Seitz
c31eec5008
docs(contract): improve EventStream docs ( #1450 )
2022-07-04 11:47:11 -07:00
Matthias Seitz
7c6462be02
chore(core): convenience impls for Bytes ( #1421 )
...
* chore(core): convenience impls for Bytes
* update asserts
2022-06-28 09:30:59 -07:00
Matthias Seitz
f17f900d01
fix(abigen): remove redundant index adjustment for many overloads ( #1419 )
2022-06-27 11:52:06 -07:00
Matthias Seitz
659ac061b2
refactor(abigen): replace ethabi::Reader ( #1417 )
...
* feat: add human readable function parser
* clippy fix
* revert bad clippy
* refactor(abigen): replace ethabi::Reader
* fix: add token to tuple token parsing
2022-06-26 17:26:43 -07:00
Matthias Seitz
2524663674
fix(abigen): use abi signature attribute if provided ( #1409 )
2022-06-23 02:53:24 -04:00