Development resources at your finger tips
Build with the coolest Web3 projects
Recurring funding for Open Source
Learn about Web3 & earn rewards
Show appreciation for each other
Meet fellow developers, designers, futurists and more. Collaborate and BUIDL awesome projects together.
Discover great web3 organizations, work on meaningful projects and build relationships with like minded people. Browse Tribes
Meet the top hunters and contributors from our community.
Hello, Gitcoiners & Gitcoinerettes! It’s happening again – happy blockchain times are coming to San Francisco 🎉, as the San Francisco…
Heya Gitcoiners & Gitcoinerettes! They say that July is the warmest month of the year (location depending), and we’re definitely getting ready fo…
Gitcoin is GDPR complaint. Learn more in
Gitcoin's Terms & Conditions.
Check out the Issue Explorer
Looking to fund some work? You can submit a new Funded Issue here.
## Before you `start work`
Please read our contribution [guidelines](https://docs.marketprotocol.io/#contributing) and if there is a bounty involved please also see [here](https://docs.marketprotocol.io/#gitcoin-and-bounties)
If you have ongoing work from other bounties with us where funding has not been released, please do not pick up a new issue. We would like to involve as many contributors as possible and parallelize the work flow as much as possible.
Please make sure to comment in the issue here immediately after starting work so we know your plans for implementation and a timeline.
Please also note that in order for work to be accepted, all code must be accompanied by test cases as well.
### User Story
As a developer I would like to be able to provide a few parameters and recieve the history of collateral deposits and withdrawals
### Why Is this Needed?
*Summary*: Many applications will need to display this information to users.
[comment]: # (Provide a summary of the solution and a task list on what needs to be fixed.)
*Summary*: Create needed functionality to return this information in a nice format
### Definition of Done
- [ ] implement getCollateralEvents() that accepts needed parameters for reasonable filters (adresses, block numbers, etc)
- [ ] return data in a nice format that can be dispalyed by dApp. See [here](https://github.com/MARKETProtocol/dApp/blob/72a122a0fa37d8b4c3acdcbcd1ebd8fefe944187/src/components/SimExchange/WalletComponents/Table.js#L42) for the current impementation that should eventually be replaced by this functionality.
- [ ] add needed testing for all code written.
### Additional Information
TypeChain provides some nice filtering using their watches and events.