ethers-rs/ethers-contract/tests
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
..
common fix(abigen): use abi signature attribute if provided (#1409) 2022-06-23 02:53:24 -04:00
solidity-contracts Generate structs for the return data of abigen-erated contracts (#1440) 2022-07-04 11:54:02 -07:00
abigen.rs Generate structs for the return data of abigen-erated contracts (#1440) 2022-07-04 11:54:02 -07:00
contract.rs fix(abigen): use abi signature attribute if provided (#1409) 2022-06-23 02:53:24 -04:00