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.
Heya Gitcoiners & Gitcoinerettes! They say that July is the warmest month of the year (location depending), and we’re definitely getting ready fo…
Howdy, Gitcoiners! This month we’re running hackathons, we launched Grants Round 6 (which we just tweaked big time btw), we’re building, we’re improv…
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 user I need the ability to find the qty of an order that is no longer available.
### Why Is this Needed?
*Summary*: Better tracking of order state for order books
[comment]: # (Provide a summary of the solution and a task list on what needs to be fixed.)
*Summary*: Add `getQtyFilledOrCancelledFromOrderAsync` method to Order.ts. See `getQtyFilledOrCancelledFromOrder` in MarketContract.sol [here](https://github.com/MARKETProtocol/MARKETProtocol/blob/39144c424dfb4f034a53415e1532d492716e8e4a/contracts/MarketContract.sol#L311) for the corresponding solidity call.
### Definition of Done
- [ ] Create needed method for `getQtyFilledOrCancelledFromOrderAsync` in Order.ts
- [ ] Add needed functions to Market.ts to allow access to the function call through the main entry point
- [ ] Add testing to cover all code written (this is harder than the implementation itself)
#### This task will probably need for whomever picks it up to do a little research into our whitepaper and our [solidity repo](https://github.com/MARKETProtocol/MARKETProtocol) as well. Please only pick this issue up if your willing to put in the work and get the tests running. We are adding some extra ETH here for the bounty to facilitate the needed research and time spent. Some experience with TypeScript is helpful, and even more helpful would be experience with 0x or financial markets and orders.
#### We will accept bounty hunters who explain why the believe they are able to successfully complete this task and a timeline to do so.