Workers Auto Approve
Filled / Cancelled Qty Store
## 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 would like to have in memory store of the current state of order qty's as it relates to their filled and cancelled qty's
### Why Is this Needed?
*Summary*: Easier than querying for all states.
[comment]: # (Feature or Bug? i.e Type: Bug)
*Summary*: Create needed Store using [this](https://github.com/0xProject/0x-monorepo/blob/master/packages/0x.js/src/stores/order_filled_cancelled_lazy_store.ts) as an example.
There are a few differences to note compared to the implementation in 0x -
1. Our orders are segregated by MarketContract, so instead of a single address or contract (`ExchangeWrapper` in the example) we will need to store orders by _cancelledTakerAmount[MarketContractAddress][orderHash]
1. Taker / Maker amounts are the same thing, so we can just use `qty` instead of `takerAmount`. IE `filledQty` vs `filledTakerAmount` and `cancelledQty` vs `cancelledTakerAmount`
1. Currently the solidity only exposes a single call to get a combined cancelled and filled amount, see #46 for reference.
### Definition of Done
- [ ] Create OrderFilledCancelledLazyStore class
- [ ] Create all needed tests to support code written
#### Bounty Hunters - please give a proposed timeline for completion and brief plan for implementation in order for us to accept you to start work.
Setup your profile
Tell us a little about you:
No results found for
Type to search skills..
Required [[totalcharacter]] / 240
Are you currently looking for work?
[[ option.string ]]
Setup your profile
Our tools are based on the principles of earn (💰), learn (📖), and meet (💬).
Select the ones you are interested in. You can change it later in your settings.
I'm also an organization manager looking for a great community.
Enable your organization profile
Gitcoin products can help grow community around your brand. Create your tribe, events, and incentivize your community with bounties. Announce new and upcoming events using townsquare. Find top-quality hackers and fund them to work with you on a grant.
These are the organizations you own. If you don't see your organization here please be sure that information is public on your GitHub profile. Gitcoin will sync this information for you.
Select the products you are interested in:
Out of the box you will receive Tribes Lite for your organization. Please provide us with a contact email: