Commit Graph

683 Commits

Author SHA1 Message Date
Georgios Konstantopoulos 8240b26a80
docs: add missing attribution to Gnosis for codegen & macros 2020-06-20 17:02:57 +03:00
Georgios Konstantopoulos 4ff466a593
fix intradoc links and add missing cargo metadata (#29) 2020-06-20 16:55:07 +03:00
Georgios Konstantopoulos ba5ae5a894
Add Celo support (#8)
* feat(types): add optional Celo support

* feat: add Celo feature flags to all crates

* test(provider): add get_transaction celo test

* test(signer): add send_transaction celo test

* test(contract): add deploy and call contract function celo test
2020-06-17 12:22:01 +03:00
Georgios Konstantopoulos 20493e0190
Fix Pending Transactions and EIP-155 (#22)
* fix(provider): ensure the Pending transaction calls the waker to get polled again

* feat(core): allow setting the blocktime in ganache

* test(provider): move pending txs test to integration tests + use block time

* fix(signers): make EIP-155 optional and fix sighash generation bug
2020-06-17 11:02:03 +03:00
Georgios Konstantopoulos 1a47e933ae
feat(signers): implement Serde and make Wallet API smaller (#20)
* feat(signers): implement Serde and make API smaller

* fix: add abigen as a dev-dependency feature
2020-06-17 09:38:04 +03:00
Georgios Konstantopoulos 570b45eb10
ABI Encoder v2 + ABI Spec v6.6 (#17)
* feat(core): update ethabi and enable more Toeknize impls

* feat(contract/abigen): implement simple AbiEncoderV2

* tests(ethers): add abigen example

* fix(core): fix abi tests

* chore: make clippy happy
2020-06-16 15:08:42 +03:00
Georgios Konstantopoulos d90b03da06
Add streamed logs to the provider (#9)
* feat(provider): implement Streamed logs

This utilizes eth_getFilterChanges. The stream struct must be instantiated with a factory that yields logs/hashes.
Consumers are expected to use the `FilterStream` trait in order to simplify their type definitions

* feat(provider): expose streaming methods

* test(provider): add new blocks/pending txs test

* feat(contract): allow events to be streamed

* test(contract): add integration test for streaming event logs

* perf(contract-factory): take abi and bytecode by value instead of reference

The abi, bytecode and the factory's deploy method now consume the structs instead of being passed by reference. While this means that
consumers might need to clone before using them, this gives us some more flexiblity around factories inside helper functions

* refactor(contract): use test helpers to reduce code dup

* chore: make clippy happy
2020-06-15 11:46:07 +03:00
Georgios Konstantopoulos 030fc671fe
docs(contract): expand contract docs 2020-06-10 21:20:47 +03:00
Georgios Konstantopoulos 6156c4bf90
feat(signers): join the transaction futures 2020-06-10 13:34:48 +03:00
Georgios Konstantopoulos 27ca5dd55a
simplify signers 2020-06-02 01:27:23 +03:00
Georgios Konstantopoulos 5170b7ec9f
use pure rust libsecp 2020-05-31 20:54:58 +03:00
Georgios Konstantopoulos a9643fc9f6
refactor ethers-types -> ethers-core 2020-05-31 19:01:34 +03:00
Georgios Konstantopoulos 0013edf0e1
refactor ethers-utils to be part of ethers-types 2020-05-31 18:31:13 +03:00
Georgios Konstantopoulos d4bc43ee5b
feat(types): add solc bindings 2020-05-31 18:10:13 +03:00
Georgios Konstantopoulos bdda7d0883
add deployer 2020-05-30 23:04:08 +03:00
Georgios Konstantopoulos bc523b6d60
refactor ethers-abi to be part of ethers-types 2020-05-28 12:04:12 +03:00
Georgios Konstantopoulos 7c465c2027
add some block tests 2020-05-28 00:48:48 +03:00
Georgios Konstantopoulos 453579e347
add test for utils 2020-05-28 00:03:15 +03:00
Georgios Konstantopoulos bd6fee59cb
feat: add ens support 2020-05-27 14:32:44 +03:00
Georgios Konstantopoulos f42aaf2588
refactor(ethers-contract): split to modules 2020-05-27 11:46:16 +03:00
Georgios Konstantopoulos 099fa5d7ef
progress 2020-05-27 01:41:27 +03:00
Georgios Konstantopoulos c46442dd12
complete refactor 2020-05-26 14:01:46 +03:00
Georgios Konstantopoulos 28dc014ae3
WIP 2020-05-26 13:44:35 +03:00
Georgios Konstantopoulos 6a73bab70d
wip 2020-05-26 13:37:17 +03:00
Georgios Konstantopoulos 2bec170968
WIP 2020-05-26 13:24:19 +03:00
Georgios Konstantopoulos e7c9e19409
wip 2020-05-26 12:52:15 +03:00
Georgios Konstantopoulos 3f313ede01
el refactor 2020-05-26 12:37:31 +03:00
Georgios Konstantopoulos d3b9b378c5
feat: add tokenization and improve contract API for events 2020-05-25 21:14:13 +03:00
Georgios Konstantopoulos 33b36bbc52
feat: add basic contract support 2020-05-25 18:35:38 +03:00
Georgios Konstantopoulos 1dd3c3dc89
WIP add contract abi 2020-05-25 13:05:00 +03:00
Georgios Konstantopoulos 548b24e518
feat: add fetching logs 2020-05-25 12:23:50 +03:00
Georgios Konstantopoulos 2b7c4ce7b4
cleanup 2020-05-24 19:43:47 +03:00
Georgios Konstantopoulos c085861b20
lock 2020-05-24 19:33:24 +03:00