This PR adds support for Sablier v2.1 (Core v1.1 and Periphery v1.1). It does this in a backwards compatible way, such that v2.0 will continue working side by side.
The trick (thanks to this issue) was to aggregate the two ABIs. While Solidity contracts cannot contain, in the same file, two Events with similar name but different parameters, ABIs can. This will cause the graph-tooling to assign a numeric naming scheme to the events.
[x] Refactor protocol
[x] Refactor merkle-streamer
[x] Test all events in protocol
[x] Test all events in merkle-streamer
[x] Add versioning for the Stream and Contract entities
This PR adds support for Sablier v2.1 (Core v1.1 and Periphery v1.1). It does this in a backwards compatible way, such that v2.0 will continue working side by side.
The trick (thanks to this issue) was to aggregate the two ABIs. While Solidity contracts cannot contain, in the same file, two Events with similar name but different parameters, ABIs can. This will cause the graph-tooling to assign a numeric naming scheme to the events.
protocol
merkle-streamer
protocol
merkle-streamer
Stream
andContract
entities