d90b03da06
* 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 |
||
---|---|---|
.. | ||
call.rs | ||
contract.rs | ||
event.rs | ||
factory.rs | ||
lib.rs |