This repository was archived by the owner on Dec 21, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
DataUnions: encapsulate contract handling, remove obsolete wrappers, improve validation, memberStats format #206
Merged
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
5eeb779
Inline DataUnionEndpoints public methods to DataUnion, move utility m…
teogeb 4c3fb70
Type annotations for StreamrClientOptions: many of the fields are req…
teogeb 9f9496e
Remove caching from fetchDataUnionMainnetAddress and fetchDataUnionSi…
teogeb bed15b8
Inline calculateDataUnionMainnetAddress and calculateDataUnionSidecha…
teogeb efae3a7
Calculate sidechain address outside of constructor
teogeb 3e935cd
Validate address parameters
teogeb c0019ad
Fix eslint
teogeb 34cd308
Convert Contracts to a class, move all ABI handling to Contracts.ts, …
teogeb 54412eb
Split DataUnionendPoints.test to stats.test and adminFee.test
teogeb 06e1b1e
Remove listeners after tests, no need to connect+disconnect as we don…
teogeb d402aeb
Placeholder types for test utility
teogeb 3b32897
Modified interface for getMemberStats():
teogeb 7e79876
Fix tests
teogeb 73f79b2
Fix test
teogeb b649e40
Change types for options.mainnet and options.sidechain
teogeb 00da9e7
Inline untilWithdrawIsComplete
teogeb f3bae13
Id and debug are client properties, not options
teogeb File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.