Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Split orders by referrer #65

Conversation

0xBunta
Copy link
Contributor

@0xBunta 0xBunta commented Jun 7, 2023

No description provided.

@0xhiroshi 0xhiroshi changed the title Feat/split orders by referrer feat: Split orders by referrer Jun 7, 2023
0xBunta and others added 5 commits June 8, 2023 15:03
Co-authored-by: Hiroshi <108636367+0xhiroshi@users.noreply.github.com>
…c/__tests__/aggregatorExecuteLooksRareV2.test.ts

Co-authored-by: Hiroshi <108636367+0xhiroshi@users.noreply.github.com>
@0xBunta 0xBunta merged commit 7601fe1 into LooksRare:feat/split-orders-by-referrer Jun 8, 2023
3 checks passed
0xhiroshi added a commit that referenced this pull request Jun 8, 2023
* chore: Referrer type add to MakerOrderFromAPI

* chore: Split looksRareV2 orders by referrer address inside transformListings

* refactor: Move order separation logic inside transformLooksRareV2Listing private function

* chore: add in referrer to transformLooksRareV2Listings

* test: Test fixes after referrer split

* test: Refactor tests to be fit for order split testing

* test: groups orders with different referrers into different TradeData

* test: group orders into TradData tests

* test: execute multiple orders

* fix: Push to tradeData instead of replace

* fix: Change looksRareTradeData name to looksRareV2Listings

* fix: Update spacing in comment in src/LooksRareAggregator.ts



* fix: makerOrderFromAPIs to makerOrdersFromAPI naming fix in Update src/__tests__/aggregatorExecuteLooksRareV2.test.ts



* fix: Variable makerOrdersFromAPI fix error

* fix: Set 0 as default value for none in tests

* fix: Remove referrerFromAPI declaration in tests

---------

Co-authored-by: Hiroshi <108636367+0xhiroshi@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants